OSDN Git Service

mlxbf_gige: fix white space in mlxbf_gige_eth_ioctl
authorDavid Thompson <davthompson@nvidia.com>
Thu, 12 Jan 2023 20:26:09 +0000 (15:26 -0500)
committerJakub Kicinski <kuba@kernel.org>
Sat, 14 Jan 2023 05:59:09 +0000 (21:59 -0800)
This patch fixes the white space issue raised by checkpatch:
CHECK: Alignment should match open parenthesis
+static int mlxbf_gige_eth_ioctl(struct net_device *netdev,
+                              struct ifreq *ifr, int cmd)

Signed-off-by: David Thompson <davthompson@nvidia.com>
Signed-off-by: Asmaa Mnebhi <asmaa@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mellanox/mlxbf_gige/mlxbf_gige_main.c

index 32d7030..694de95 100644 (file)
@@ -205,7 +205,7 @@ static int mlxbf_gige_stop(struct net_device *netdev)
 }
 
 static int mlxbf_gige_eth_ioctl(struct net_device *netdev,
-                              struct ifreq *ifr, int cmd)
+                               struct ifreq *ifr, int cmd)
 {
        if (!(netif_running(netdev)))
                return -EINVAL;