Thread (2 messages) 2 messages, 2 authors, 2019-01-19

Re: [PATCH net v2] net: phy: phy driver features are mandatory

flat view

From: David Miller <davem@davemloft.net>
Date: 2019-01-19 18:04:50
Also in: lkml

From: Camelia Groza <redacted>
Date: Thu, 17 Jan 2019 14:22:36 +0200
Since phy driver features became a link_mode bitmap, phy drivers that
don't have a list of features configured will cause the kernel to crash
when probed.

Prevent the phy driver from registering if the features field is missing.

Fixes: 719655a14971 ("net: phy: Replace phy driver features u32 with link_mode bitmap")
Reported-by: Scott Wood <oss@buserror.net>
Signed-off-by: Camelia Groza <redacted>
---
v2: Print the name of the driver that has missing features.

This patch should be merged to 4.20 stable.
Applied and queued up for -stable.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help