Re: [PATCH] usb: max-3421: Use driver data instead of maintaining a list of bound devices

From
Uwe Kleine-König <hidden>
Date
2021-10-18 20:28:42
Reply to
Greg Kroah-Hartman, 2021-10-18
Hello Greg,

On Mon, Oct 18, 2021 at 04:55:38PM +0200, Greg Kroah-Hartman wrote:
On Mon, Oct 18, 2021 at 02:00:55PM +0200, Uwe Kleine-König wrote:
quoted
@@ -1881,10 +1877,8 @@ max3421_probe(struct spi_device *spi)
 		goto error;
 	}
 	set_bit(HCD_FLAG_POLL_RH, &hcd->flags);
-	max3421_hcd = hcd_to_max3421(hcd);
I don't think you should have deleted this line :(

Did you test this?
Only compile tested (and the warning the kernel robot found didn't
happen in my amd64 build).

I'll respin this patch.

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | https://www.pengutronix.de/ |

Attachments

Thread (6 messages) 6 messages, 4 authors, last reply 2021-10-19
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help