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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <[email protected]>


--- 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux