aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wan
diff options
context:
space:
mode:
authorPeng Li <lipeng321@huawei.com>2021-06-16 15:23:29 +0800
committerDavid S. Miller <davem@davemloft.net>2021-06-16 00:52:33 -0700
commit77282db510d9fe4d77c1d79fb4563d5368e1d2b2 (patch)
tree4e291a8f3c65be4f69c1de148fa9a56721b73036 /drivers/net/wan
parentnet: cosa: add blank line after declarations (diff)
downloadlinux-dev-77282db510d9fe4d77c1d79fb4563d5368e1d2b2.tar.xz
linux-dev-77282db510d9fe4d77c1d79fb4563d5368e1d2b2.zip
net: cosa: fix the code style issue about "foo* bar"
Fix the checkpatch error as "foo* bar" should be "foo *bar". Signed-off-by: Peng Li <lipeng321@huawei.com> Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wan')
-rw-r--r--drivers/net/wan/cosa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wan/cosa.c b/drivers/net/wan/cosa.c
index 372dffc2d355..c051c6120e30 100644
--- a/drivers/net/wan/cosa.c
+++ b/drivers/net/wan/cosa.c
@@ -337,7 +337,7 @@ static void debug_status_in(struct cosa_data *cosa, int status);
static void debug_status_out(struct cosa_data *cosa, int status);
#endif
-static inline struct channel_data* dev_to_chan(struct net_device *dev)
+static inline struct channel_data *dev_to_chan(struct net_device *dev)
{
return (struct channel_data *)dev_to_hdlc(dev)->priv;
}