Thread (3 messages) flat view 3 messages, 3 authors, 2021-08-18

Re: [PATCH] net: usb: pegasus: fixes of set_register(s) return value evaluation;

From: Greg KH <gregkh@linuxfoundation.org>
Date: 2021-08-17 16:06:16
Also in: stable

On Tue, Aug 17, 2021 at 05:06:13PM +0300, Petko Manolov wrote:
  - 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;
  - explicitly check for negative value in pegasus_set_wol(), even if
    usb_control_msg_send() never return positive number we'd still be in sync
    with the rest of the driver style;

Signed-off-by: Petko Manolov <redacted>
---
 drivers/net/usb/pegasus.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
<formletter>

This is not the correct way to submit patches for inclusion in the
stable kernel tree.  Please read:
    https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html
for how to do this properly.

</formletter>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help