summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2015-01-19 14:41:12 (GMT)
committerJames Bottomley <JBottomley@Odin.com>2015-05-25 15:46:24 (GMT)
commitdee0586e15d5d5796dd76bdc0ecfb7df7c5ee1c8 (patch)
tree818e7ca9d4371c2e402470e2e8be08d8eef22497 /security
parentef10b16948bc0db51a0140be5109ad73b170a011 (diff)
downloadlinux-dee0586e15d5d5796dd76bdc0ecfb7df7c5ee1c8.tar.xz
sd: fix an error return in probe()
If device_add() fails then it should return the error code but instead the current code returns success. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: Tomas Henzl <thenzl@redhat.com> Signed-off-by: James Bottomley <JBottomley@Odin.com>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions