]> git.baikalelectronics.ru Git - kernel.git/commit
[CIFS] Fix endian error comparing authusers when cifsacl enabled
authorSteve French <sfrench@us.ibm.com>
Fri, 27 May 2011 15:19:12 +0000 (15:19 +0000)
committerSteve French <sfrench@us.ibm.com>
Fri, 27 May 2011 15:19:12 +0000 (15:19 +0000)
commit4bfef7f7e713ea121ac0f6614d8cd2f321525e73
tree1e390d83133414f08cf15490027c50f02c257d1a
parent524cb46893fca2f1e3af2adb51863787cf1f8025
[CIFS] Fix endian error comparing authusers when cifsacl enabled

Fix sparse warning:
 CHECK   fs/cifs/cifsacl.c
fs/cifs/cifsacl.c:41:36: warning: incorrect type in initializer
(different base types)
fs/cifs/cifsacl.c:41:36:    expected restricted __le32
fs/cifs/cifsacl.c:41:36:    got int
fs/cifs/cifsacl.c:461:52: warning: restricted __le32 degrades to integer
fs/cifs/cifsacl.c:461:73: warning: restricted __le32 degrades to integer

The second one looks harmless but the first one (sid_authusers)
was added in commit 715b089e150b80f7042d9c0253afea6acef94679
and only affects 2.6.38/2.6.39

CC: Stable <stable@kernel.org>
Reviewed-and-Tested-by: Shirish Pargaonkar <shirishpargaonkar@gmail.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/cifsacl.c