]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
staging: unisys: iochannel fix spacing around operators
authorErik Arfvidson <erik.arfvidson@unisys.com>
Tue, 17 Nov 2015 18:34:50 +0000 (13:34 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Nov 2015 22:25:36 +0000 (14:25 -0800)
This patch fixes check warning from checkpatch.pl in the macro definition
CHECK: spaces preferred around that '+' (ctx:VxV)

Signed-off-by: Erik Arfvidson <erik.arfvidson@unisys.com>
Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/include/iochannel.h

index ec04576fe20c3354f49fe03409d540e32d59c6a0..36664ccc08df2b9bd9df8c28d4610acdd8cd2cba 100644 (file)
@@ -366,7 +366,8 @@ struct net_pkt_xmtdone {
  */
 #define RCVPOST_BUF_SIZE 4032
 #define MAX_NET_RCV_CHAIN \
-       ((ETH_MAX_MTU+ETH_HEADER_SIZE + RCVPOST_BUF_SIZE-1) / RCVPOST_BUF_SIZE)
+       ((ETH_MAX_MTU + ETH_HEADER_SIZE + RCVPOST_BUF_SIZE - 1) \
+       / RCVPOST_BUF_SIZE)
 
 struct net_pkt_rcvpost {
            /* rcv buf size must be large enough to include ethernet data len +