Re: [PATCH net-next v1 1/1] usbnet: add devlink support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jan 27, 2022 at 12:07:42PM +0100, Oleksij Rempel wrote:
> @@ -2137,9 +2183,10 @@ static void usbnet_async_cmd_cb(struct urb *urb)
>  	struct usb_ctrlrequest *req = (struct usb_ctrlrequest *)urb->context;
>  	int status = urb->status;
>  
> -	if (status < 0)
> +	if (status < 0) {
>  		dev_dbg(&urb->dev->dev, "%s failed with %d",
>  			__func__, status);
> +	}
>  
>  	kfree(req);
>  	usb_free_urb(urb);

Also watch out for not-needed changes in your patch submissions.

greg k-h



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux