summaryrefslogtreecommitdiff
path: root/net/mac80211/debugfs_key.c
diff options
context:
space:
mode:
authorDavid Rivshin <drivshin@allworx.com>2016-02-13 03:45:36 +0300
committerDavid S. Miller <davem@davemloft.net>2016-02-17 18:50:15 +0300
commitd148bbd37a52b030b131ac5408c0f8293325ca0b (patch)
treecd60a5a2d833d92b3027ce55e2ee03c563ab4289 /net/mac80211/debugfs_key.c
parentcd772de358d6e001d308292c542f7908511287a4 (diff)
downloadlinux-d148bbd37a52b030b131ac5408c0f8293325ca0b.tar.xz
drivers: net: cpsw-phy-sel: add dev_warn() for unsupported PHY mode
The cpsw-phy-sel driver supports only MII, RMII, and RGMII PHY modes, and silently handled any other values as if MII was specified. In a case where the PHY mode was incorrectly specified, or a bug elsewhere, there would be no indication of a problem. If MII was the correct mode, then this will go unnoticed, otherwise the symptom will be a failure to transmit/receive data over the RMII/RGMII link. Add a dev_warn() to make this condition obvious and provide a breadcrumb to follow. Cc: Mugunthan V N <mugunthanvnm@ti.com> Signed-off-by: David Rivshin <drivshin@allworx.com> Acked-by: Mugunthan V N <mugunthanvnm@ti.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mac80211/debugfs_key.c')
0 files changed, 0 insertions, 0 deletions