linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [patch 2.6.15-mm4] fix warning in fs/cifs/cifssmb.c
@ 2006-01-14 23:15 Benoit Boissinot
  0 siblings, 0 replies; only message in thread
From: Benoit Boissinot @ 2006-01-14 23:15 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Steve French, linux-kernel

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@ens-lyon.org>


--- 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;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-01-14 23:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-14 23:15 [patch 2.6.15-mm4] fix warning in fs/cifs/cifssmb.c Benoit Boissinot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).