1. 04 5月, 2009 1 次提交
  2. 03 5月, 2009 36 次提交
  3. 02 5月, 2009 3 次提交
    • H
      m32r: use __stringify() macro in assembler.h · 9cd67243
      Hirokazu Takata 提交于
      Replace #x with __stringify(x).
      Also, #ifndef __STR is removed and undefine __STR macro at the beginning.
      
      The __STR() macro is still remained, because the assembler.h might be
      included from assembly codes as well as C codes.
      Signed-off-by: NHirokazu Takata <takata@linux-m32r.org>
      9cd67243
    • H
      m32r: build fix for __stringify macro · 9c88b06d
      Hirokazu Takata 提交于
      This patch fixes the following build error of 2.6.30-rc3-git2:
      
            AS      arch/m32r/kernel/head.o
          In file included from /include/linux/init.h:7,
                           from /arch/m32r/kernel/head.S:11:
          /include/linux/stringify.h:9: error: syntax error in macro parameter list
          /include/linux/stringify.h:10: error: syntax error in macro parameter list
      
      This build error was caused at __HEAD macro in arch/m32r/kernel/head.S,
      which uses __stringify() macro.
      
      Remove -traditional option from EXTRA_AFLAGS for the m32r,
      because the __stringify() macro depends on the gcc's variadic macro
      extension function, due to commit:
      
          Make __stringify support variable argument macros too
          commit: 8f7c2c37Signed-off-by: NHirokazu Takata <takata@linux-m32r.org>
      9c88b06d
    • J
      HID: fix oops in hid_check_keys_pressed() · e5288eb5
      Jiri Kosina 提交于
      If the device is not claimed by hid-input (i.e devices driver by userspace
      hiddev/hidraw-based drivers, or completely detached from HID
      and driver by libusb), we must not check the hid->inptus, as it
      is not guaranteed to be initialized, as this is performed only for devices
      handled by hid-input.
      Reported-by: NGuillaume Chazarain <guichaz@gmail.com>
      Tested-by: NGuillaume Chazarain <guichaz@gmail.com>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      e5288eb5