Message ID | alpine.DEB.2.22.394.2102191807040.21109@hadrien (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | usb: usbip: fix odd_ptr_err.cocci warnings | expand |
--- a/drivers/usb/usbip/usbip_common.c +++ b/drivers/usb/usbip/usbip_common.c @@ -775,7 +775,7 @@ int usbip_prepare_threads(struct usbip_t } tx = kthread_create(tx_fn, ud, tx_name); if (IS_ERR(tx)) { - err = PTR_ERR(rx); + err = PTR_ERR(tx); goto out_rx; } uti->tcp_socket = socket;