summaryrefslogtreecommitdiffstats
path: root/drivers/pcmcia/sa1111_badge4.c
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2020-06-17 21:53:26 +0200
committerDominik Brodowski <linux@dominikbrodowski.net>2020-12-05 09:31:37 +0100
commitf15480e947d45959f0bcfba7318d369eebe47a59 (patch)
tree0e591b5990fe56b72548433711d1d0e24b77610d /drivers/pcmcia/sa1111_badge4.c
parentMerge tag 'for-5.10/dm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/gi... (diff)
downloadlinux-f15480e947d45959f0bcfba7318d369eebe47a59.tar.xz
linux-f15480e947d45959f0bcfba7318d369eebe47a59.zip
pcmcia/electra_cf: Fix some return values in 'electra_cf_probe()' in case of error
'status' is known to be 0 at this point. It must be set to a meaningful value in order to return an error code if one of the 'of_get_property()' call fails. Return -EINVAL in such a case. Fixes: 2b571a066a2f("pcmcia: CompactFlash driver for PA Semi Electra boards") Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Acked-by: Olof Johansson <olof@lixom.net> Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'drivers/pcmcia/sa1111_badge4.c')
0 files changed, 0 insertions, 0 deletions