[patch 2.6.15-mm4] fix warning in fs/cifs/cifssmb.c

From: Benoit Boissinot
Date: Sat Jan 14 2006 - 18:18:25 EST


Fix the following warning, (i couldn't find where 'struct sec_desc' was
defined).

fs/cifs/cifssmb.c: In function jCIFSSMBGetCIFSACL':
fs/cifs/cifssmb.c:2573: warning: passing argument 1 of 'parse_sec_desc' from incompatible pointer type

Signed-off-by: Benoit Boissinot <benoit.boissinot@xxxxxxxxxxxx>


--- a/fs/cifs/cifssmb.c 2006-01-14 23:53:45.000000000 +0100
+++ b/fs/cifs/cifssmb.c.new 2006-01-14 23:53:37.000000000 +0100
@@ -2542,7 +2542,7 @@
if (rc) {
cFYI(1, ("Send error in QuerySecDesc = %d", rc));
} else { /* decode response */
- struct sec_desc * psec_desc;
+ struct cifs_sid * psec_desc;
__le32 * parm;
int parm_len;
int data_len;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/