diff options
| author | Camelia Groza <[email protected]> | 2019-01-17 12:22:36 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2019-01-19 18:03:08 +0000 |
| commit | 3e64cf7a435ed0500e3adaa8aada2272d3ae8abc (patch) | |
| tree | e7999c0a0af25273008032ee1b13d1ad64f20aee /drivers/fpga/fpga-mgr.c | |
| parent | isdn: avm: Fix string plus integer warning from Clang (diff) | |
| download | kernel-3e64cf7a435ed0500e3adaa8aada2272d3ae8abc.tar.gz kernel-3e64cf7a435ed0500e3adaa8aada2272d3ae8abc.zip | |
net: phy: phy driver features are mandatory
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 <[email protected]>
Signed-off-by: Camelia Groza <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions
