[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180307.153951.773176072651421059.davem@davemloft.net>
Date: Wed, 07 Mar 2018 15:39:51 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: johan@...nel.org
Cc: oliver@...kum.org, linux-usb@...r.kernel.org,
netdev@...r.kernel.org
Subject: Re: [PATCH net-next 2/2] net: cdc_eem: clean up bind error path
From: Johan Hovold <johan@...nel.org>
Date: Wed, 7 Mar 2018 10:46:58 +0100
> Drop bogus call to usb_driver_release_interface() from an error path in
> the usbnet bind() callback, which is called during interface probe. At
> this point the interface is not bound and usb_driver_release_interface()
> returns early.
>
> Also remove the bogus call to clear the interface data, which is owned
> by the usbnet driver and would not even have been set by the time bind()
> is called.
>
> Signed-off-by: Johan Hovold <johan@...nel.org>
Applied.
Powered by blists - more mailing lists