[PATCH net] net: phy: add missing phy driver features

2019-01-17 Thread Camelia Groza
The phy drivers for CS4340 and TN2020 are missing their features attributes. Add them. Fixes: 719655a14971 ("net: phy: Replace phy driver features u32 with link_mode bitmap") Reported-by: Scott Wood Signed-off-by: Camelia Groza --- This patch should be merged to 4.20 stable. --- d

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

2019-01-17 Thread Camelia Groza
atures u32 with link_mode bitmap") Reported-by: Scott Wood Signed-off-by: Camelia Groza --- v2: Print the name of the driver that has missing features. This patch should be merged to 4.20 stable. --- drivers/net/phy/phy_device.c | 5 + include/linux/phy.h | 4 ++-- 2 files change

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

2019-01-15 Thread Camelia Groza
atures u32 with link_mode bitmap") Reported-by: Scott Wood Signed-off-by: Camelia Groza --- This patch should be merged to 4.20 stable. --- drivers/net/phy/phy_device.c | 3 +++ include/linux/phy.h | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/net/phy

[PATCH net] net: phy: guard against accessing a NULL features bitmap

2019-01-11 Thread Camelia Groza
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. Fixes: 719655a14971 ("net: phy: Replace phy driver features u32 with link_mode bitmap") Reported-by: Scott Wood Signed-off-by

[PATCH] fnic: use simple_open instead of fnic_trace_ctrl_open

2013-07-11 Thread Camelia Groza
This removes the open coded fnic_trace_ctrl_open() function and replaces file operations references to the function with simple_open() instead. Found using coccinelle. Signed-off-by: Camelia Groza --- drivers/scsi/fnic/fnic_debugfs.c | 19 +-- 1 file changed, 1 insertion

[PATCH] inet: fix spacing in assignment

2013-07-10 Thread Camelia Groza
Found using checkpatch.pl Signed-off-by: Camelia Groza --- net/ipv4/inet_hashtables.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/ipv4/inet_hashtables.c b/net/ipv4/inet_hashtables.c index 6af375a..7bd8983 100644 --- a/net/ipv4/inet_hashtables.c +++ b/net/ipv4