From: Peng Li Date: Tue, 25 May 2021 14:07:58 +0000 (+0800) Subject: net: wan: add spaces required around that ':' and '+' X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=30cbb0107e98308a5cb1a27b4c8d4049c07290aa;p=linux.git net: wan: add spaces required around that ':' and '+' This patch adds spaces required around that ':' and '+'. Signed-off-by: Peng Li Signed-off-by: Guangbin Huang Signed-off-by: David S. Miller --- diff --git a/drivers/net/wan/n2.c b/drivers/net/wan/n2.c index 76ef808c27697..bdb6dc2409bcd 100644 --- a/drivers/net/wan/n2.c +++ b/drivers/net/wan/n2.c @@ -195,7 +195,8 @@ static int n2_open(struct net_device *dev) { port_t *port = dev_to_port(dev); int io = port->card->io; - u8 mcr = inb(io + N2_MCR) | (port->phy_node ? TX422_PORT1:TX422_PORT0); + u8 mcr = inb(io + N2_MCR) | + (port->phy_node ? TX422_PORT1 : TX422_PORT0); int result; result = hdlc_open(dev); @@ -216,7 +217,8 @@ static int n2_close(struct net_device *dev) { port_t *port = dev_to_port(dev); int io = port->card->io; - u8 mcr = inb(io+N2_MCR) | (port->phy_node ? TX422_PORT1 : TX422_PORT0); + u8 mcr = inb(io + N2_MCR) | + (port->phy_node ? TX422_PORT1 : TX422_PORT0); sca_close(dev); mcr |= port->phy_node ? DTR_PORT1 : DTR_PORT0; /* set DTR OFF */