1. 06 5月, 2009 1 次提交
    • T
      ocfs2: Don't printk the error when listing too many xattrs. · a46fa684
      Tao Ma 提交于
      Currently the kernel defines XATTR_LIST_MAX as 65536
      in include/linux/limits.h.  This is the largest buffer that is used for
      listing xattrs.
      
      But with ocfs2 xattr tree, we actually have no limit for the number.  If
      filesystem has more names than can fit in the buffer, the kernel
      logs will be pollluted with something like this when listing:
      
      (27738,0):ocfs2_iterate_xattr_buckets:3158 ERROR: status = -34
      (27738,0):ocfs2_xattr_tree_list_index_block:3264 ERROR: status = -34
      
      So don't print "ERROR" message as this is not an ocfs2 error.
      Signed-off-by: NTao Ma <tao.ma@oracle.com>
      Signed-off-by: NJoel Becker <joel.becker@oracle.com>
      a46fa684
  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
反馈
建议
客服 返回
顶部