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
@@ -214,8 +214,8 @@ el2_probe1(struct net_device *dev, int ioaddr)
|
||||
iobase_reg = inb(ioaddr+0x403);
|
||||
membase_reg = inb(ioaddr+0x404);
|
||||
/* ASIC location registers should be 0 or have only a single bit set. */
|
||||
if ( (iobase_reg & (iobase_reg - 1))
|
||||
|| (membase_reg & (membase_reg - 1))) {
|
||||
if ((iobase_reg & (iobase_reg - 1)) ||
|
||||
(membase_reg & (membase_reg - 1))) {
|
||||
retval = -ENODEV;
|
||||
goto out1;
|
||||
}
|
||||
@@ -291,8 +291,8 @@ el2_probe1(struct net_device *dev, int ioaddr)
|
||||
writel(0xba5eba5e, mem_base);
|
||||
for (i = sizeof(test_val); i < EL2_MEMSIZE; i+=sizeof(test_val)) {
|
||||
writel(test_val, mem_base + i);
|
||||
if (readl(mem_base) != 0xba5eba5e
|
||||
|| readl(mem_base + i) != test_val) {
|
||||
if (readl(mem_base) != 0xba5eba5e ||
|
||||
readl(mem_base + i) != test_val) {
|
||||
pr_warning("3c503: memory failure or memory address conflict.\n");
|
||||
dev->mem_start = 0;
|
||||
ei_status.name = "3c503-PIO";
|
||||
@@ -397,9 +397,10 @@ el2_open(struct net_device *dev)
|
||||
unsigned long cookie = probe_irq_on();
|
||||
outb_p(0x04 << ((*irqp == 9) ? 2 : *irqp), E33G_IDCFR);
|
||||
outb_p(0x00, E33G_IDCFR);
|
||||
if (*irqp == probe_irq_off(cookie) /* It's a good IRQ line! */
|
||||
&& ((retval = request_irq(dev->irq = *irqp,
|
||||
eip_interrupt, 0, dev->name, dev)) == 0))
|
||||
if (*irqp == probe_irq_off(cookie) && /* It's a good IRQ line! */
|
||||
((retval = request_irq(dev->irq = *irqp,
|
||||
eip_interrupt, 0,
|
||||
dev->name, dev)) == 0))
|
||||
break;
|
||||
} else {
|
||||
if (retval != -EBUSY)
|
||||
|
Reference in New Issue
Block a user