dect
/
linux-2.6
Archived
13
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/drivers/net/ethernet/sfc
Rusty Russell 3db1cd5c05 net: fix assignment of 0/1 to bool variables.
DaveM said:
   Please, this kind of stuff rots forever and not using bool properly
   drives me crazy.

Joe Perches <joe@perches.com> gave me the spatch script:

	@@
	bool b;
	@@
	-b = 0
	+b = false
	@@
	bool b;
	@@
	-b = 1
	+b = true

I merely installed coccinelle, read the documentation and took credit.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-12-19 22:27:29 -05:00
..
Kconfig
Makefile
bitfield.h
efx.c Merge branch 'for-davem' of git://git.kernel.org/pub/scm/linux/kernel/git/bwh/sfc-next 2011-12-16 15:23:22 -05:00
efx.h sfc: Remove device ID macros only used once 2011-12-06 22:07:54 +00:00
enum.h
ethtool.c ethtool: Centralise validation of ETHTOOL_{G, S}RXFHINDIR parameters 2011-12-16 13:52:47 -05:00
falcon.c net: fix assignment of 0/1 to bool variables. 2011-12-19 22:27:29 -05:00
falcon_boards.c
falcon_xmac.c
filter.c
filter.h
io.h
mac.h
mcdi.c
mcdi.h
mcdi_mac.c
mcdi_pcol.h
mcdi_phy.c
mdio_10g.c
mdio_10g.h
mtd.c net: fix assignment of 0/1 to bool variables. 2011-12-19 22:27:29 -05:00
net_driver.h net: introduce and use netdev_features_t for device features sets 2011-11-16 17:43:10 -05:00
nic.c
nic.h
phy.h
qt202x_phy.c
regs.h
rx.c sfc: Use skb_fill_page_desc() to simplify passing of page buffers to GRO 2011-12-16 19:45:01 +00:00
selftest.c sfc: Use kcalloc instead of kzalloc to allocate array 2011-12-04 01:32:06 -05:00
selftest.h
siena.c net: fix assignment of 0/1 to bool variables. 2011-12-19 22:27:29 -05:00
spi.h
tenxpress.c
tx.c sfc: Use kcalloc instead of kzalloc to allocate array 2011-12-04 01:32:06 -05:00
txc43128_phy.c
workarounds.h