module_param: make bool parameters really bool (net & drivers/net)
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 19 Dec 2011 14:08:01 +0000 (14:08 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Dec 2011 03:27:29 +0000 (22:27 -0500)
commiteb93992207dadb946a3b5cf4544957dc924a6f58
tree8d840ea0e0e5eb3cf6207a2608d434475a9076b4
parent3db1cd5c05f35fb43eb134df6f321de4e63141f2
module_param: make bool parameters really bool (net & drivers/net)

module_param(bool) used to counter-intuitively take an int.  In
fddd5201 (mid-2009) we allowed bool or int/unsigned int using a messy
trick.

It's time to remove the int/unsigned int option.  For this version
it'll simply give a warning, but it'll break next kernel version.

(Thanks to Joe Perches for suggesting coccinelle for 0/1 -> true/false).

Cc: "David S. Miller" <davem@davemloft.net>
Cc: netdev@vger.kernel.org
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
52 files changed:
drivers/net/caif/caif_serial.c
drivers/net/caif/caif_spi.c
drivers/net/can/vcan.c
drivers/net/ethernet/amd/amd8111e.h
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
drivers/net/ethernet/dlink/de600.c
drivers/net/ethernet/mellanox/mlx4/fw.c
drivers/net/ethernet/mellanox/mlx4/main.c
drivers/net/ethernet/via/via-rhine.c
drivers/net/irda/donauboe.c
drivers/net/irda/smsc-ircc2.c
drivers/net/usb/pegasus.c
drivers/net/usb/smsc75xx.c
drivers/net/usb/smsc95xx.c
drivers/net/virtio_net.c
drivers/net/wan/sbni.c
drivers/net/wan/sealevel.c
drivers/net/wireless/ath/ath5k/ath5k.h
drivers/net/wireless/ath/ath5k/base.c
drivers/net/wireless/ath/carl9170/main.c
drivers/net/wireless/iwmc3200wifi/main.c
drivers/net/wireless/mwl8k.c
drivers/net/wireless/orinoco/main.c
drivers/net/wireless/p54/main.c
drivers/net/wireless/rt2x00/rt2500usb.c
drivers/net/wireless/rt2x00/rt2800pci.c
drivers/net/wireless/rt2x00/rt2800usb.c
drivers/net/wireless/rt2x00/rt61pci.c
drivers/net/wireless/rt2x00/rt73usb.c
drivers/net/wireless/rtlwifi/wifi.h
include/net/bluetooth/l2cap.h
include/net/sctp/structs.h
net/bluetooth/bnep/core.c
net/bluetooth/hci_event.c
net/bluetooth/hci_sock.c
net/bluetooth/l2cap_core.c
net/bluetooth/rfcomm/core.c
net/bluetooth/sco.c
net/dccp/ccids/ccid2.c
net/dccp/ccids/ccid3.c
net/dccp/ccids/lib/tfrc.c
net/dccp/ccids/lib/tfrc.h
net/dccp/dccp.h
net/dccp/proto.c
net/ipv4/netfilter/ipt_ULOG.c
net/ipv4/netfilter/iptable_filter.c
net/ipv6/netfilter/ip6table_filter.c
net/irda/irlan/irlan_common.c
net/netfilter/nf_conntrack_acct.c
net/netfilter/nf_conntrack_ftp.c
net/netfilter/nf_conntrack_h323_main.c
net/netfilter/nf_conntrack_timestamp.c