aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-debug.h
diff options
context:
space:
mode:
authorHarshit Mogalapalli <[email protected]>2023-04-05 23:31:18 -0700
committerDavid S. Miller <[email protected]>2023-04-07 08:17:54 +0100
commit8ce07be703456acb00e83d99f3b8036252c33b02 (patch)
tree48e980e01004b757428635cd325cdd826e3daab2 /drivers/usb/cdns3/cdns3-debug.h
parentf2afccfefe7be1f7346564fe619277110d341f9b (diff)
niu: Fix missing unwind goto in niu_alloc_channels()
Smatch reports: drivers/net/ethernet/sun/niu.c:4525 niu_alloc_channels() warn: missing unwind goto? If niu_rbr_fill() fails, then we are directly returning 'err' without freeing the channels. Fix this by changing direct return to a goto 'out_err'. Fixes: a3138df9f20e ("[NIU]: Add Sun Neptune ethernet driver.") Signed-off-by: Harshit Mogalapalli <[email protected]> Reviewed-by: Simon Horman <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions