drivers/net: Move && and || to end of previous line
Only files where David Miller is the primary git-signer. wireless, wimax, ixgbe, etc are not modified. Compile tested x86 allyesconfig only Not all files compiled (not x86 compatible) Added a few > 80 column lines, which I ignored. Existing checkpatch complaints ignored. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
3454f83583
commit
8e95a2026f
@@ -2117,19 +2117,19 @@ static int cxgb_extension_ioctl(struct net_device *dev, void __user *useraddr)
|
||||
if (t.qset_idx >= SGE_QSETS)
|
||||
return -EINVAL;
|
||||
if (!in_range(t.intr_lat, 0, M_NEWTIMER) ||
|
||||
!in_range(t.cong_thres, 0, 255) ||
|
||||
!in_range(t.txq_size[0], MIN_TXQ_ENTRIES,
|
||||
MAX_TXQ_ENTRIES) ||
|
||||
!in_range(t.txq_size[1], MIN_TXQ_ENTRIES,
|
||||
MAX_TXQ_ENTRIES) ||
|
||||
!in_range(t.txq_size[2], MIN_CTRL_TXQ_ENTRIES,
|
||||
MAX_CTRL_TXQ_ENTRIES) ||
|
||||
!in_range(t.fl_size[0], MIN_FL_ENTRIES,
|
||||
MAX_RX_BUFFERS)
|
||||
|| !in_range(t.fl_size[1], MIN_FL_ENTRIES,
|
||||
MAX_RX_JUMBO_BUFFERS)
|
||||
|| !in_range(t.rspq_size, MIN_RSPQ_ENTRIES,
|
||||
MAX_RSPQ_ENTRIES))
|
||||
!in_range(t.cong_thres, 0, 255) ||
|
||||
!in_range(t.txq_size[0], MIN_TXQ_ENTRIES,
|
||||
MAX_TXQ_ENTRIES) ||
|
||||
!in_range(t.txq_size[1], MIN_TXQ_ENTRIES,
|
||||
MAX_TXQ_ENTRIES) ||
|
||||
!in_range(t.txq_size[2], MIN_CTRL_TXQ_ENTRIES,
|
||||
MAX_CTRL_TXQ_ENTRIES) ||
|
||||
!in_range(t.fl_size[0], MIN_FL_ENTRIES,
|
||||
MAX_RX_BUFFERS) ||
|
||||
!in_range(t.fl_size[1], MIN_FL_ENTRIES,
|
||||
MAX_RX_JUMBO_BUFFERS) ||
|
||||
!in_range(t.rspq_size, MIN_RSPQ_ENTRIES,
|
||||
MAX_RSPQ_ENTRIES))
|
||||
return -EINVAL;
|
||||
|
||||
if ((adapter->flags & FULL_INIT_DONE) && t.lro > 0)
|
||||
|
Reference in New Issue
Block a user