diff options
author | 2019-06-26 11:39:38 +0530 | |
---|---|---|
committer | 2019-07-01 10:44:06 +0200 | |
commit | e1b5fe7412b00e248dc948cadfdbfd9c008bc87c (patch) | |
tree | f4082e49e64f6e90a94e99104839439736bf3640 /tools/perf/scripts/python | |
parent | staging: rtl8712: _r8712_free_sta_priv(): Change return type (diff) | |
download | linux-dev-e1b5fe7412b00e248dc948cadfdbfd9c008bc87c.tar.xz linux-dev-e1b5fe7412b00e248dc948cadfdbfd9c008bc87c.zip |
staging: rtl8712: _r8712_init_sta_priv(): Change return values
Add check for the return value of function _r8712_init_sta_priv at call
site.
Change return values of the function from _SUCCESS/_FAIL to 0/-ENOMEM
respectively.
Change return type of the function from u32 to int to enable return of
-ENOMEM.
Signed-off-by: Nishka Dasgupta <nishkadg.linux@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions