2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-25 05:34:00 +08:00
linux-next/drivers/net/ethernet/3com
Nickolai Zeldovich 13b6d2e6c2 3c574_cs: fix operator precedence between << and &
The code to print the FIFO size in tc574_config computes it as:

  8 << config & Ram_size

which evaluates the '<<' first, but the actual intent is to evaluate the
'&' first.  Add parentheses to enforce desired evaluation order.

Signed-off-by: Nickolai Zeldovich <nickolai@csail.mit.edu>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-01-17 15:04:30 -05:00
..
3c59x.c drivers/net: fix up function prototypes after __dev* removals 2012-12-07 14:22:22 -05:00
3c501.c drivers/net/ethernet: Fix (nearly-)kernel-doc comments for various functions 2012-07-10 23:13:46 -07:00
3c501.h
3c509.c drivers/net: fix up function prototypes after __dev* removals 2012-12-07 14:22:22 -05:00
3c515.c netdev: ethernet dev_alloc_skb to netdev_alloc_skb 2012-02-08 18:46:38 -05:00
3c574_cs.c 3c574_cs: fix operator precedence between << and & 2013-01-17 15:04:30 -05:00
3c589_cs.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
Kconfig 3com: make 3c59x depend on HAS_IOPORT 2012-12-05 15:36:35 -05:00
Makefile
typhoon.c typhoon: remove __dev* attributes 2012-12-03 11:16:20 -08:00
typhoon.h