aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/mv88e6xxx/chip.c
diff options
context:
space:
mode:
authorNishka Dasgupta <nishkadg.linux@gmail.com>2019-08-08 12:10:12 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-08-08 19:58:15 +0200
commit3f411e8c99e3354adc10350d0e2ee14914fd1961 (patch)
tree22f6ea3f10e5fd65b5ae301feb6959dd84d4d1d9 /drivers/net/dsa/mv88e6xxx/chip.c
parentstaging: rtl8712: Remove while loop and check_cmd_fifo() (diff)
downloadlinux-dev-3f411e8c99e3354adc10350d0e2ee14914fd1961.tar.xz
linux-dev-3f411e8c99e3354adc10350d0e2ee14914fd1961.zip
staging: rtl8712: r8712_xmit_classifier(): Change return values and type
Change return values of r8712_xmit_classifier from _SUCCESS and _FAIL to 0 and -EINVAL respectively. 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> Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com> Link: https://lore.kernel.org/r/20190808064012.12661-10-nishkadg.linux@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/dsa/mv88e6xxx/chip.c')
0 files changed, 0 insertions, 0 deletions