summaryrefslogtreecommitdiff
path: root/tools/pcmcia
diff options
context:
space:
mode:
authorpiaojun <piaojun@huawei.com>2018-07-11 03:43:49 +0300
committerDominique Martinet <dominique.martinet@cea.fr>2018-08-13 03:21:44 +0300
commitb87d1d26521ef9f2e42bb182184d1427b4e07b26 (patch)
treeae0a00a53c298b9a159fe76efc024a501493e925 /tools/pcmcia
parent64ad31f3284060d59850da6d573ddbab542365cf (diff)
downloadlinux-b87d1d26521ef9f2e42bb182184d1427b4e07b26.tar.xz
9p/net/protocol.c: return -ENOMEM when kmalloc() failed
We should return -ENOMEM to upper user when kmalloc failed to indicate accurate errno. Link: http://lkml.kernel.org/r/5B4552C5.60000@huawei.com Signed-off-by: Jun Piao <piaojun@huawei.com> Reviewed-by: Yiwen Jiang <jiangyiwen@huawei.com> Reviewed-by: Andrew Morton <akpm@linux-foundation.org> Cc: Eric Van Hensbergen <ericvh@gmail.com> Cc: Ron Minnich <rminnich@sandia.gov> Cc: Latchesar Ionkov <lucho@ionkov.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Dominique Martinet <dominique.martinet@cea.fr>
Diffstat (limited to 'tools/pcmcia')
0 files changed, 0 insertions, 0 deletions