]> git.baikalelectronics.ru Git - kernel.git/commit
net: usb: pegasus: fixes of set_register(s) return value evaluation;
authorPetko Manolov <petko.manolov@konsulko.com>
Fri, 20 Aug 2021 06:57:53 +0000 (09:57 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Aug 2021 13:57:05 +0000 (14:57 +0100)
commitffc9c3ebb4af870a121da99826e9ccb63dc8b3d7
treea68547de86f511153ee4c0908b3e4f50a5300e43
parent7e78c597c3ebfd0cb329aa09a838734147e4f117
net: usb: pegasus: fixes of set_register(s) return value evaluation;

- restore the behavior in enable_net_traffic() to avoid regressions - Jakub
    Kicinski;
  - hurried up and removed redundant assignment in pegasus_open() before yet
    another checker complains;

Fixes: 8a160e2e9aeb ("net: usb: pegasus: Check the return value of get_geristers() and friends;")
Reported-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Petko Manolov <petko.manolov@konsulko.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/pegasus.c