1. 31 Mar, 2008 37 commits
  2. 30 Mar, 2008 3 commits
    • Mark Lord's avatar
      fix uevent action-string regression · a9edadbf
      Mark Lord authored
      Mark Lord wrote:
      >
      > On boot, syslog is flooded with "uevent: unsupported action-string;" messages.
      ..
      > Mar 28 14:43:29 shrimp kernel: tty ptyqd: uevent: unsupported
      > action-string; this will be ignored in a future kernel version
      > Mar 28 14:43:29 shrimp kernel: tty ptyqe: uevent: unsupported
      > action-string; this will be ignored in a future kernel version
      > Mar 28 14:43:29 shrimp kernel: tty ptyqf: uevent: unsupported
      > action-string; this will be ignored in a future kernel version
      > Mar 28 14:43:29 shrimp kernel: tty ptyr0: uevent: unsupported
      > action-string; this will be ignored in a future kernel version
      ..
      
      These messages are a regression compared with 2.6.24, which did not
      flood the syslog with them.
      
      The actual underlying problem was introduced in 2.6.23, when somebody
      made the string parsing no longer accept nul-terminated strings as a
      valid input to store_uevent().
      
      Eg.  "add\0" was valid prior to 2.6.23, where the code regressed to
      require "add" without the '\0'.
      
      This patch fixes the 2.6.23 / 2.6.24 regressions, by having the code
      once again tolerate the trailing '\0', if present.
      
      According to GregKH, this mainly affects older Ubuntu systems, such as
      the one I have here that requires this fix.
      Signed-off-by: default avatarMark Lord <mlord@pobox.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      a9edadbf
    • Björn Steinbrink's avatar
      evdev: Release eventual input device grabs when getting disconnected · eb08b6b9
      Björn Steinbrink authored
      When getting disconnected we need to release eventual grabs on the
      underlying input device as we also release the input device itself.
      Otherwise, we would try to release the grab when the client that
      requested it closes its handle, accessing the input device which
      might already be freed.
      Signed-off-by: default avatarBjörn Steinbrink <B.Steinbrink@gmx.de>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      eb08b6b9
    • Adrian Bunk's avatar
      sound/oss/ac97_codec.c: restore MODULE_LICENSE · d6e4218e
      Adrian Bunk authored
      I accidentally removed the module license from sound/oss/ac97_codec.c in
      commit 83bad1d7 ("scheduled OSS driver
      removal")
      
      Spotted by Roland <devzero@web.de>.
      Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      d6e4218e