OSDN Git Service

net: sealevel: fix the code style issue about "foo* bar"
authorPeng Li <lipeng321@huawei.com>
Sun, 30 May 2021 06:24:27 +0000 (14:24 +0800)
committerJakub Kicinski <kuba@kernel.org>
Tue, 1 Jun 2021 05:14:03 +0000 (22:14 -0700)
Fix the checkpatch error as "(foo*)" should be "(foo *)".

Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/wan/sealevel.c

index 829e9bc..465c9ac 100644 (file)
@@ -46,7 +46,7 @@ struct slvl_board
  *     Network driver support routines
  */
 
-static inline struct slvl_devicedev_to_chan(struct net_device *dev)
+static inline struct slvl_device *dev_to_chan(struct net_device *dev)
 {
        return (struct slvl_device *)dev_to_hdlc(dev)->priv;
 }