summaryrefslogtreecommitdiff
path: root/include/linux/memory.h
diff options
context:
space:
mode:
authorNishka Dasgupta <nishkadg.linux@gmail.com>2019-08-09 10:53:44 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-08-12 16:37:15 +0200
commitb013c5b8ddacdf966392b6197289721a6e4d4ac9 (patch)
treea9d331da2ba2166e683e37fbf2f5280256d2db50 /include/linux/memory.h
parented5d2eaf5f5d59aac17343acebe27b1929e5dcac (diff)
staging: rtl8712: r8712_update_attrib(): Change return values and type
Change return values of r8712_update_attrib from _SUCCESS and _FAIL to 0 and -ENOMEM or -EINVAL respectively. Modify call site to check for the new failure conditions. Also modify the return type from sint to int. Signed-off-by: Nishka Dasgupta <nishkadg.linux@gmail.com> Link: https://lore.kernel.org/r/20190809052353.5308-2-nishkadg.linux@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/memory.h')
0 files changed, 0 insertions, 0 deletions