Xu Jia 6880149e5a applicom: fix some err codes returned by ac_ioctl
When cmd > 6 or copy_to_user() fail, The variable 'ret' would not be
returned back. Fix the 'ret' set but not used.

Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Xu Jia <xujia39@huawei.com>
Link: https://lore.kernel.org/r/20210324072031.941791-1-xujia39@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-03-28 14:50:49 +02:00
..
2021-03-07 13:24:44 -08:00
2018-06-05 11:24:55 -07:00
2020-01-30 06:58:33 +01:00
2020-03-19 07:41:02 +01:00
2021-02-22 17:45:02 -08:00
2021-02-24 10:25:37 -08:00