OSDN Git Service

net: hostess_sv11: fix the code style issue about "foo* bar"
authorPeng Li <lipeng321@huawei.com>
Fri, 18 Jun 2021 02:32:18 +0000 (10:32 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Jun 2021 18:42:39 +0000 (11:42 -0700)
Fix the checkpatch error as "foo* bar" should be "foo *bar".

Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wan/hostess_sv11.c

index 6c05c4c..a18c09d 100644 (file)
@@ -48,7 +48,7 @@ static int dma;
  *     Network driver support routines
  */
 
-static inline struct z8530_devdev_to_sv(struct net_device *dev)
+static inline struct z8530_dev *dev_to_sv(struct net_device *dev)
 {
        return (struct z8530_dev *)dev_to_hdlc(dev)->priv;
 }