aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/xilinx-spi.c
diff options
context:
space:
mode:
authorDongliang Mu <[email protected]>2021-07-14 09:13:22 +0000
committerDavid S. Miller <[email protected]>2021-07-15 19:36:21 +0000
commita6ecfb39ba9d7316057cea823b196b734f6b18ca (patch)
tree9bbbdb515ab944442e815e2a425568f6ed4a8bb0 /drivers/fpga/xilinx-spi.c
parentqed: fix possible unpaired spin_{un}lock_bh in _qed_mcp_cmd_and_union() (diff)
downloadkernel-a6ecfb39ba9d7316057cea823b196b734f6b18ca.tar.gz
kernel-a6ecfb39ba9d7316057cea823b196b734f6b18ca.zip
usb: hso: fix error handling code of hso_create_net_device
The current error handling code of hso_create_net_device is hso_free_net_device, no matter which errors lead to. For example, WARNING in hso_free_net_device [1]. Fix this by refactoring the error handling code of hso_create_net_device by handling different errors by different code. [1] https://syzkaller.appspot.com/bug?id=66eff8d49af1b28370ad342787413e35bbe76efe Reported-by: [email protected] Fixes: 5fcfb6d0bfcd ("hso: fix bailout in error case of probe") Signed-off-by: Dongliang Mu <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/fpga/xilinx-spi.c')
0 files changed, 0 insertions, 0 deletions