summary refs log tree commit diff
path: root/drivers/misc/xilinx_sdfec.c
diff options
context:
space:
mode:
authorJunlin Yang <yangjunlin@yulong.com>2021-06-19 19:28:54 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-06-24 15:47:13 +0200
commit7487257cea875a2ee0aab088ee1dd92cd77698d4 (patch)
tree9c23cc451d528e772d99fb39050e51f5c331e422 /drivers/misc/xilinx_sdfec.c
parent75020f2df6e431f0916972f3f816346dcaa0187f (diff)
downloadlinux-7487257cea875a2ee0aab088ee1dd92cd77698d4.tar.gz
misc: vmw_vmci: return the correct errno code
When kzalloc failed, should return -ENOMEM rather than -EINVAL.

Signed-off-by: Junlin Yang <yangjunlin@yulong.com>
Link: https://lore.kernel.org/r/20210619112854.1720-1-angkery@163.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/xilinx_sdfec.c')
0 files changed, 0 insertions, 0 deletions