浏览代码

[CIFS] quiet sparse compile warning

Jeff's patchset introduced trivial sparse warning on new cifs toupper routine

Signed-off-by: Steve French <smfrench@gmail.com>
CC: Jeff Layton <jlayton@redhat.com>
Steve French 12 年之前
父节点
当前提交
77993be3f3
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      fs/cifs/winucase.c

+ 2 - 0
fs/cifs/winucase.c

@@ -31,6 +31,8 @@
 
 
 #include <linux/nls.h>
 #include <linux/nls.h>
 
 
+wchar_t cifs_toupper(wchar_t in);  /* quiet sparse */
+
 static const wchar_t t2_00[256] = {
 static const wchar_t t2_00[256] = {
 	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
 	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
 	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
 	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,