diff options
author | Ajay Singh <ajay.kathat@microchip.com> | 2020-01-23 12:50:47 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-01-23 19:16:12 +0100 |
commit | 7a80aa23d0f0f52478339840577137f556bf9121 (patch) | |
tree | 7f1348bf90f4a2c7e5fd0d537a197611ea4ff489 /kernel/bpf/arraymap.c | |
parent | 0443b3f4436321e1098fdf74432c8867016339da (diff) |
staging: wilc1000: return zero on success and non-zero on function failure
Some of the HIF layer API's return zero for failure and non-zero for
success condition. Now, modified the functions to return zero for success
and non-zero for failure as its recommended approach suggested in [1].
1. https://lore.kernel.org/driverdev-devel/20191113183322.a54mh2w6dulklgsd@kili.mountain/
Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Link: https://lore.kernel.org/r/20200123182129.4053-1-ajay.kathat@microchip.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/bpf/arraymap.c')
0 files changed, 0 insertions, 0 deletions