aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel/igc/igc_base.c
diff options
context:
space:
mode:
authorXu Yang <[email protected]>2023-07-05 17:52:31 +0800
committerGreg Kroah-Hartman <[email protected]>2023-07-27 10:37:30 +0200
commit7f2327666a9080e428166964e37548b0168cd5e9 (patch)
treeffab86602268089677b178285fd98e4f1d4b6996 /drivers/net/ethernet/intel/igc/igc_base.c
parentb32b8f2b9542d8039f5468303a6ca78c1b5611a5 (diff)
usb: misc: ehset: fix wrong if condition
A negative number from ret means the host controller had failed to send usb message and 0 means succeed. Therefore, the if logic is wrong here and this patch will fix it. Fixes: f2b42379c576 ("usb: misc: ehset: Rework test mode entry") Cc: stable <[email protected]> Signed-off-by: Xu Yang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_base.c')
0 files changed, 0 insertions, 0 deletions