Commit 6487fab0 authored by Peng Li's avatar Peng Li Committed by David S. Miller

net: ixp4xx_hss: fix the code style issue about "foo* bar"

Fix the checkpatch error as "foo* bar" and should be "foo *bar",
and "(foo*)" should be "(foo *)".
Signed-off-by: default avatarPeng Li <lipeng321@huawei.com>
Signed-off-by: default avatarGuangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 6f2016ed
...@@ -332,7 +332,7 @@ static const struct { ...@@ -332,7 +332,7 @@ static const struct {
* utility functions * utility functions
****************************************************************************/ ****************************************************************************/
static inline struct port* dev_to_port(struct net_device *dev) static inline struct port *dev_to_port(struct net_device *dev)
{ {
return dev_to_hdlc(dev)->priv; return dev_to_hdlc(dev)->priv;
} }
...@@ -351,9 +351,9 @@ static inline void memcpy_swab32(u32 *dest, u32 *src, int cnt) ...@@ -351,9 +351,9 @@ static inline void memcpy_swab32(u32 *dest, u32 *src, int cnt)
* HSS access * HSS access
****************************************************************************/ ****************************************************************************/
static void hss_npe_send(struct port *port, struct msg *msg, const char* what) static void hss_npe_send(struct port *port, struct msg *msg, const char *what)
{ {
u32 *val = (u32*)msg; u32 *val = (u32 *)msg;
if (npe_send_message(port->npe, msg, what)) { if (npe_send_message(port->npe, msg, what)) {
pr_crit("HSS-%i: unable to send command [%08X:%08X] to %s\n", pr_crit("HSS-%i: unable to send command [%08X:%08X] to %s\n",
......
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