Commit d00208b6 authored by Dorothea Ehrl's avatar Dorothea Ehrl Committed by Greg Kroah-Hartman

staging/qlge: add blank lines after declarations

This patch fixes "WARNING: Missing a blank line after declarations" by
checkpatch.pl.
Signed-off-by: default avatarDorothea Ehrl <dorothea.ehrl@fau.de>
Co-developed-by: default avatarVanessa Hack <vanessa.hack@fau.de>
Signed-off-by: default avatarVanessa Hack <vanessa.hack@fau.de>
Link: https://lore.kernel.org/r/20191127123052.16424-2-dorothea.ehrl@fau.deSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f41e1a0a
...@@ -332,6 +332,7 @@ static void ql_update_stats(struct ql_adapter *qdev) ...@@ -332,6 +332,7 @@ static void ql_update_stats(struct ql_adapter *qdev)
static void ql_get_strings(struct net_device *dev, u32 stringset, u8 *buf) static void ql_get_strings(struct net_device *dev, u32 stringset, u8 *buf)
{ {
int index; int index;
switch (stringset) { switch (stringset) {
case ETH_SS_TEST: case ETH_SS_TEST:
memcpy(buf, *ql_gstrings_test, QLGE_TEST_LEN * ETH_GSTRING_LEN); memcpy(buf, *ql_gstrings_test, QLGE_TEST_LEN * ETH_GSTRING_LEN);
...@@ -412,6 +413,7 @@ static void ql_get_drvinfo(struct net_device *ndev, ...@@ -412,6 +413,7 @@ static void ql_get_drvinfo(struct net_device *ndev,
struct ethtool_drvinfo *drvinfo) struct ethtool_drvinfo *drvinfo)
{ {
struct ql_adapter *qdev = netdev_priv(ndev); struct ql_adapter *qdev = netdev_priv(ndev);
strlcpy(drvinfo->driver, qlge_driver_name, sizeof(drvinfo->driver)); strlcpy(drvinfo->driver, qlge_driver_name, sizeof(drvinfo->driver));
strlcpy(drvinfo->version, qlge_driver_version, strlcpy(drvinfo->version, qlge_driver_version,
sizeof(drvinfo->version)); sizeof(drvinfo->version));
...@@ -703,12 +705,14 @@ static int ql_set_pauseparam(struct net_device *netdev, ...@@ -703,12 +705,14 @@ static int ql_set_pauseparam(struct net_device *netdev,
static u32 ql_get_msglevel(struct net_device *ndev) static u32 ql_get_msglevel(struct net_device *ndev)
{ {
struct ql_adapter *qdev = netdev_priv(ndev); struct ql_adapter *qdev = netdev_priv(ndev);
return qdev->msg_enable; return qdev->msg_enable;
} }
static void ql_set_msglevel(struct net_device *ndev, u32 value) static void ql_set_msglevel(struct net_device *ndev, u32 value)
{ {
struct ql_adapter *qdev = netdev_priv(ndev); struct ql_adapter *qdev = netdev_priv(ndev);
qdev->msg_enable = value; qdev->msg_enable = value;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment