diff options
| author | Nishka Dasgupta <nishkadg.linux@gmail.com> | 2019-08-09 10:53:46 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-08-12 16:37:15 +0200 |
| commit | 0d478943e3c5b3f07e48cfa6e9a0d6a0e546dab2 (patch) | |
| tree | 6c77a8f45105bbaa3e92d257e1d019611fd2b29b /include/linux/reset | |
| parent | b013c5b8ddacdf966392b6197289721a6e4d4ac9 (diff) | |
staging: rtl8712: make_wlanhdr(): Change return values and type
Change return values of make_wlanhdr from _SUCCESS/_FAIL to 0/-EINVAL.
Modify call site to check for non-zero return values instead of _FAIL.
Change return type from sint to int.
Signed-off-by: Nishka Dasgupta <nishkadg.linux@gmail.com>
Link: https://lore.kernel.org/r/20190809052353.5308-4-nishkadg.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/reset')
0 files changed, 0 insertions, 0 deletions
