diff options
author | 2021-06-19 19:28:54 +0800 | |
---|---|---|
committer | 2021-06-24 15:47:13 +0200 | |
commit | 7487257cea875a2ee0aab088ee1dd92cd77698d4 (patch) | |
tree | 9c23cc451d528e772d99fb39050e51f5c331e422 /drivers/misc/ibmasm/remote.h | |
parent | siox: Simplify error handling via dev_err_probe() (diff) | |
download | linux-dev-7487257cea875a2ee0aab088ee1dd92cd77698d4.tar.xz linux-dev-7487257cea875a2ee0aab088ee1dd92cd77698d4.zip |
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/ibmasm/remote.h')
0 files changed, 0 insertions, 0 deletions