module_param: make bool parameters really bool (drivers & misc)
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 12 Jan 2012 23:02:20 +0000 (09:32 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 12 Jan 2012 23:02:20 +0000 (09:32 +1030)
commit90ab5ee94171b3e28de6bb42ee30b527014e0be7
treefcf89889f6e881f2b231d3d20287c08174ce4b54
parent476bc0015bf09dad39d36a8b19f76f0c181d1ec9
module_param: make bool parameters really bool (drivers & misc)

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.

Acked-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
283 files changed:
drivers/accessibility/braille/braille_console.c
drivers/acpi/acpica/acglobal.h
drivers/acpi/apei/ghes.c
drivers/acpi/apei/hest.c
drivers/acpi/dock.c
drivers/acpi/pci_slot.c
drivers/acpi/video.c
drivers/ata/sata_nv.c
drivers/ata/sata_sil24.c
drivers/atm/he.c
drivers/block/drbd/drbd_int.h
drivers/block/drbd/drbd_main.c
drivers/block/paride/bpck6.c
drivers/block/paride/pd.c
drivers/block/paride/pf.c
drivers/block/paride/pg.c
drivers/block/paride/pt.c
drivers/block/xd.c
drivers/bluetooth/btusb.c
drivers/bluetooth/hci_bcsp.c
drivers/bluetooth/hci_ldisc.c
drivers/cdrom/cdrom.c
drivers/char/agp/amd64-agp.c
drivers/char/agp/sis-agp.c
drivers/char/i8k.c
drivers/char/ipmi/ipmi_si_intf.c
drivers/char/lp.c
drivers/char/nwflash.c
drivers/char/pcmcia/synclink_cs.c
drivers/char/random.c
drivers/char/tpm/tpm_tis.c
drivers/edac/r82600_edac.c
drivers/firewire/sbp2.c
drivers/hid/hid-prodikeys.c
drivers/hwmon/abituguru.c
drivers/hwmon/abituguru3.c
drivers/hwmon/acpi_power_meter.c
drivers/hwmon/adm1021.c
drivers/hwmon/ads7828.c
drivers/hwmon/dme1737.c
drivers/hwmon/it87.c
drivers/hwmon/lm93.c
drivers/hwmon/max1668.c
drivers/hwmon/w83627hf.c
drivers/hwmon/w83781d.c
drivers/hwmon/w83791d.c
drivers/hwmon/w83792d.c
drivers/hwmon/w83793.c
drivers/hwmon/w83795.c
drivers/hwmon/w83l786ng.c
drivers/i2c/busses/i2c-highlander.c
drivers/i2c/busses/i2c-ibm_iic.c
drivers/i2c/busses/i2c-sis630.c
drivers/i2c/busses/i2c-viapro.c
drivers/ide/ali14xx.c
drivers/ide/cmd640.c
drivers/ide/dtc2278.c
drivers/ide/gayle.c
drivers/ide/ht6560b.c
drivers/ide/ide-4drives.c
drivers/ide/ide-acpi.c
drivers/ide/ide-pci-generic.c
drivers/ide/qd65xx.c
drivers/ide/umc8672.c
drivers/infiniband/hw/ehca/ehca_classes.h
drivers/infiniband/hw/ehca/ehca_main.c
drivers/infiniband/hw/nes/nes.c
drivers/input/joystick/xpad.c
drivers/input/misc/wistron_btns.c
drivers/input/mouse/psmouse-base.c
drivers/input/mouse/synaptics_i2c.c
drivers/input/serio/hp_sdc.c
drivers/input/touchscreen/eeti_ts.c
drivers/input/touchscreen/htcpen.c
drivers/input/touchscreen/ucb1400_ts.c
drivers/input/touchscreen/usbtouchscreen.c
drivers/isdn/hardware/avm/b1dma.c
drivers/isdn/hardware/avm/c4.c
drivers/isdn/sc/init.c
drivers/leds/leds-clevo-mail.c
drivers/leds/leds-ss4200.c
drivers/macintosh/ams/ams-core.c
drivers/macintosh/ams/ams-input.c
drivers/macintosh/therm_adt746x.c
drivers/media/dvb/dvb-usb/af9005.c
drivers/media/dvb/dvb-usb/af9005.h
drivers/media/radio/radio-gemtek.c
drivers/media/radio/radio-miropcm20.c
drivers/media/rc/lirc_dev.c
drivers/media/rc/mceusb.c
drivers/media/rc/streamzap.c
drivers/media/rc/winbond-cir.c
drivers/media/video/c-qcam.c
drivers/media/video/cs5345.c
drivers/media/video/cs53l32a.c
drivers/media/video/cx18/cx18-driver.c
drivers/media/video/cx25821/cx25821-alsa.c
drivers/media/video/cx88/cx88-alsa.c
drivers/media/video/gspca/m5602/m5602_core.c
drivers/media/video/gspca/m5602/m5602_mt9m111.h
drivers/media/video/gspca/m5602/m5602_ov7660.h
drivers/media/video/gspca/m5602/m5602_ov9650.h
drivers/media/video/gspca/m5602/m5602_po1030.h
drivers/media/video/gspca/m5602/m5602_s5k4aa.h
drivers/media/video/gspca/m5602/m5602_s5k83a.h
drivers/media/video/gspca/stv06xx/stv06xx.c
drivers/media/video/hdpvr/hdpvr-core.c
drivers/media/video/ivtv/ivtv-driver.c
drivers/media/video/ivtv/ivtvfb.c
drivers/media/video/marvell-ccic/mcam-core.c
drivers/media/video/msp3400-driver.c
drivers/media/video/msp3400-driver.h
drivers/media/video/omap/omap_vout.c
drivers/media/video/omap/omap_vout_vrfb.c
drivers/media/video/ov7670.c
drivers/media/video/saa7115.c
drivers/media/video/stk-webcam.c
drivers/media/video/tm6000/tm6000-alsa.c
drivers/media/video/tvp514x.c
drivers/media/video/tvp7002.c
drivers/media/video/upd64083.c
drivers/media/video/via-camera.c
drivers/media/video/zoran/zoran_device.c
drivers/media/video/zoran/zr36060.c
drivers/memstick/host/jmb38x_ms.c
drivers/memstick/host/r592.c
drivers/memstick/host/tifm_ms.c
drivers/misc/iwmc3200top/main.c
drivers/mmc/core/core.c
drivers/mmc/core/core.h
drivers/mmc/host/tifm_sd.c
drivers/mmc/host/vub300.c
drivers/mtd/nand/pxa3xx_nand.c
drivers/mtd/nand/r852.c
drivers/parport/parport_ip32.c
drivers/pci/hotplug/acpi_pcihp.c
drivers/pci/hotplug/acpiphp_core.c
drivers/pci/hotplug/acpiphp_ibm.c
drivers/pci/hotplug/cpcihp_zt5550.c
drivers/pci/hotplug/cpqphp_core.c
drivers/pci/hotplug/ibmphp_core.c
drivers/pci/hotplug/pci_hotplug_core.c
drivers/pci/hotplug/pciehp.h
drivers/pci/hotplug/pciehp_core.c
drivers/pci/hotplug/pcihp_skeleton.c
drivers/pci/hotplug/rpaphp.h
drivers/pci/hotplug/rpaphp_core.c
drivers/pci/hotplug/shpchp.h
drivers/pci/hotplug/shpchp_core.c
drivers/pci/pcie/aer/aer_inject.c
drivers/pci/pcie/aer/aerdrv_core.c
drivers/pcmcia/yenta_socket.c
drivers/platform/x86/compal-laptop.c
drivers/platform/x86/intel_oaktrail.c
drivers/platform/x86/msi-laptop.c
drivers/platform/x86/samsung-laptop.c
drivers/platform/x86/thinkpad_acpi.c
drivers/platform/x86/wmi.c
drivers/power/ds2760_battery.c
drivers/s390/char/raw3270.c
drivers/s390/char/vmwatchdog.c
drivers/scsi/aha1542.c
drivers/scsi/dc395x.c
drivers/scsi/nsp32.c
drivers/scsi/pcmcia/nsp_cs.c
drivers/staging/comedi/comedi_fops.c
drivers/staging/comedi/comedi_fops.h
drivers/staging/media/go7007/snd-go7007.c
drivers/staging/media/lirc/lirc_bt829.c
drivers/staging/media/lirc/lirc_igorplugusb.c
drivers/staging/media/lirc/lirc_parallel.c
drivers/staging/media/lirc/lirc_serial.c
drivers/staging/media/lirc/lirc_sir.c
drivers/staging/media/lirc/lirc_zilog.c
drivers/staging/quatech_usb2/quatech_usb2.c
drivers/staging/serqt_usb2/serqt_usb2.c
drivers/staging/speakup/speakup.h
drivers/staging/speakup/synth.c
drivers/staging/vme/bridges/vme_tsi148.c
drivers/tty/rocket.c
drivers/tty/synclink.c
drivers/tty/synclinkmp.c
drivers/usb/atm/speedtch.c
drivers/usb/atm/ueagle-atm.c
drivers/usb/core/devio.c
drivers/usb/core/hub.c
drivers/usb/core/usb.c
drivers/usb/gadget/amd5536udc.c
drivers/usb/gadget/ether.c
drivers/usb/gadget/file_storage.c
drivers/usb/gadget/net2272.c
drivers/usb/gadget/net2280.c
drivers/usb/gadget/omap_udc.c
drivers/usb/gadget/pch_udc.c
drivers/usb/gadget/serial.c
drivers/usb/gadget/zero.c
drivers/usb/host/ehci-hcd.c
drivers/usb/host/ohci-hcd.c
drivers/usb/host/oxu210hp-hcd.c
drivers/usb/host/u132-hcd.c
drivers/usb/host/uhci-hcd.c
drivers/usb/misc/ftdi-elan.c
drivers/usb/misc/iowarrior.c
drivers/usb/musb/cppi_dma.c
drivers/usb/musb/musb_core.c
drivers/usb/serial/aircable.c
drivers/usb/serial/ark3116.c
drivers/usb/serial/belkin_sa.c
drivers/usb/serial/ch341.c
drivers/usb/serial/cp210x.c
drivers/usb/serial/cyberjack.c
drivers/usb/serial/cypress_m8.c
drivers/usb/serial/digi_acceleport.c
drivers/usb/serial/empeg.c
drivers/usb/serial/ftdi_sio.c
drivers/usb/serial/funsoft.c
drivers/usb/serial/garmin_gps.c
drivers/usb/serial/io_edgeport.c
drivers/usb/serial/io_ti.c
drivers/usb/serial/ipaq.c
drivers/usb/serial/ipw.c
drivers/usb/serial/ir-usb.c
drivers/usb/serial/iuu_phoenix.c
drivers/usb/serial/keyspan.c
drivers/usb/serial/keyspan_pda.c
drivers/usb/serial/kl5kusb105.c
drivers/usb/serial/mct_u232.c
drivers/usb/serial/mos7720.c
drivers/usb/serial/mos7840.c
drivers/usb/serial/navman.c
drivers/usb/serial/omninet.c
drivers/usb/serial/opticon.c
drivers/usb/serial/option.c
drivers/usb/serial/oti6858.c
drivers/usb/serial/pl2303.c
drivers/usb/serial/qcserial.c
drivers/usb/serial/safe_serial.c
drivers/usb/serial/sierra.c
drivers/usb/serial/spcp8x5.c
drivers/usb/serial/ssu100.c
drivers/usb/serial/symbolserial.c
drivers/usb/serial/ti_usb_3410_5052.c
drivers/usb/serial/usb-serial.c
drivers/usb/serial/usb_wwan.c
drivers/usb/serial/visor.c
drivers/usb/serial/whiteheat.c
drivers/video/aty/atyfb_base.c
drivers/video/aty/radeon_base.c
drivers/video/cirrusfb.c
drivers/video/hgafb.c
drivers/video/intelfb/intelfbdrv.c
drivers/video/logo/logo.c
drivers/video/neofb.c
drivers/video/omap/omapfb_main.c
drivers/video/omap2/dss/core.c
drivers/video/omap2/dss/dsi.c
drivers/video/omap2/dss/dss.h
drivers/video/omap2/omapfb/omapfb-main.c
drivers/video/omap2/omapfb/omapfb.h
drivers/video/pm2fb.c
drivers/video/pm3fb.c
drivers/video/riva/fbdev.c
drivers/video/smscufx.c
drivers/video/sstfb.c
drivers/video/tdfxfb.c
drivers/video/udlfb.c
drivers/video/uvesafb.c
drivers/video/vfb.c
drivers/watchdog/f71808e_wdt.c
drivers/watchdog/mpc8xxx_wdt.c
drivers/xen/xen-pciback/conf_space.c
drivers/xen/xen-pciback/xenbus.c
fs/lockd/mon.c
fs/nfs/client.c
fs/nfs/inode.c
include/acpi/acpixf.h
include/acpi/apei.h
include/linux/console.h
include/linux/lockd/lockd.h
include/linux/mmc/host.h
security/apparmor/include/apparmor.h
security/apparmor/lsm.c
virt/kvm/iommu.c