aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/unisys
diff options
context:
space:
mode:
authorErik Arfvidson <erik.arfvidson@unisys.com>2015-11-17 13:34:50 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-11-17 14:25:36 -0800
commitc06a278344ad5024e44d962ce9aa2ed945f0d1cf (patch)
tree85d3deb374963e598e064923d92fe3c14a3eed95 /drivers/staging/unisys
parentstaging: unisys: iochannel.h remove redundant comments (diff)
downloadlinux-dev-c06a278344ad5024e44d962ce9aa2ed945f0d1cf.tar.xz
linux-dev-c06a278344ad5024e44d962ce9aa2ed945f0d1cf.zip
staging: unisys: iochannel fix spacing around operators
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>
Diffstat (limited to 'drivers/staging/unisys')
-rw-r--r--drivers/staging/unisys/include/iochannel.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/unisys/include/iochannel.h b/drivers/staging/unisys/include/iochannel.h
index ec04576fe20c..36664ccc08df 100644
--- a/drivers/staging/unisys/include/iochannel.h
+++ b/drivers/staging/unisys/include/iochannel.h
@@ -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 +