summaryrefslogtreecommitdiffstats
path: root/drivers/pcmcia/sa11xx_base.h
diff options
context:
space:
mode:
authorIra Weiny <ira.weiny@intel.com>2019-11-15 04:06:34 +0100
committerDan Williams <dan.j.williams@intel.com>2019-11-15 04:06:34 +0100
commitab84b77afc95fc038d71aba80aa4440bcbd67663 (patch)
tree6b47a3d956988ac20e9de2a5ecc7adde86cc2240 /drivers/pcmcia/sa11xx_base.h
parentLinux 5.4-rc5 (diff)
downloadlinux-ab84b77afc95fc038d71aba80aa4440bcbd67663.tar.xz
linux-ab84b77afc95fc038d71aba80aa4440bcbd67663.zip
libnvdimm/namsepace: Don't set claim_class on error
Don't leave claim_class set to an invalid value if an error occurs in btt_claim_class(). While we are here change the return type of __holder_class_store() to be clear about the values it is returning. This was found via code inspection. Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: Vishal Verma <vishal.l.verma@intel.com> Signed-off-by: Ira Weiny <ira.weiny@intel.com> Link: https://lore.kernel.org/r/20190925211348.14082-1-ira.weiny@intel.com Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/pcmcia/sa11xx_base.h')
0 files changed, 0 insertions, 0 deletions