1. 13 1月, 2012 4 次提交
    • R
      lirc_parallel: fix module parameter description. · f17dda94
      Rusty Russell 提交于
      Cut and paste bug.
      
      Cc: Mauro Carvalho Chehab <mchehab@redhat.com>
      Cc: devel@driverdev.osuosl.org
      Signed-off-by: NRusty Russell <rusty@rustcorp.com.au>
      f17dda94
    • R
      module_param: avoid bool abuse, add bint for special cases. · 69116f27
      Rusty Russell 提交于
      For historical reasons, we allow module_param(bool) to take an int (or
      an unsigned int).  That's going away.
      
      A few drivers really want an int: they set it to -1 and a parameter
      will set it to 0 or 1.  This sucks: reading them from sysfs will give
      'Y' for both -1 and 1, but if we change it to an int, then the users
      might be broken (if they did "param" instead of "param=1").
      
      Use a new 'bint' parser for them.
      
      (ntfs has a different problem: it needs an int for debug_msgs because
      it's also exposed via sysctl.)
      
      Cc: Steve Glendinning <steve.glendinning@smsc.com>
      Cc: Jean Delvare <khali@linux-fr.org>
      Cc: Guenter Roeck <guenter.roeck@ericsson.com>
      Cc: Hoang-Nam Nguyen <hnguyen@de.ibm.com>
      Cc: Christoph Raisch <raisch@de.ibm.com>
      Cc: Roland Dreier <roland@kernel.org>
      Cc: Sean Hefty <sean.hefty@intel.com>
      Cc: Hal Rosenstock <hal.rosenstock@gmail.com>
      Cc: linux390@de.ibm.com
      Cc: Anton Altaparmakov <anton@tuxera.com>
      Cc: Jaroslav Kysela <perex@perex.cz>
      Cc: Takashi Iwai <tiwai@suse.de>
      Cc: lm-sensors@lm-sensors.org
      Cc: linux-rdma@vger.kernel.org
      Cc: linux-s390@vger.kernel.org
      Cc: linux-ntfs-dev@lists.sourceforge.net
      Cc: alsa-devel@alsa-project.org
      Acked-by: Takashi Iwai <tiwai@suse.de> (For the sound part)
      Acked-by: Guenter Roeck <guenter.roeck@ericsson.com> (For the hwmon driver)
      Signed-off-by: NRusty Russell <rusty@rustcorp.com.au>
      69116f27
    • R
      module_param: check type correctness for module_param_array · bafeafea
      Rusty Russell 提交于
      module_param_array(), unlike its non-array cousins, didn't check the type
      of the variable.  Fixing this found two bugs.
      
      Cc: Luca Risolia <luca.risolia@studio.unibo.it>
      Cc: Mauro Carvalho Chehab <mchehab@infradead.org>
      Cc: Eric Piel <eric.piel@tremplin-utc.net>
      Cc: linux-media@vger.kernel.org
      Signed-off-by: NRusty Russell <rusty@rustcorp.com.au>
      bafeafea
    • L
      brcmsmac: fix reading of PCI sprom contents · 61bd5e56
      Linus Torvalds 提交于
      It appears that you can only read the sprom contents with aligned 16-bit
      reads: anything else causes at least some versions of the broadcom
      chipset to abort the PCI transaction, returning 0xff.
      
      This apparently doesn't trigger very often, because most setups don't
      use an external srom chip, and the OTP sprom loading doesn't have this
      issue.  But at least the current 11" Macbook Air does trigger it, and
      wireless communications were broken as a result.
      Acked-by: NArend van Spriel <arend@broadcom.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      61bd5e56
  2. 12 1月, 2012 27 次提交
  3. 11 1月, 2012 9 次提交