linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Benoit Boissinot <benoit.boissinot@ens-lyon.org>
To: Andrew Morton <akpm@osdl.org>
Cc: Steve French <smfrench@austin.rr.com>, linux-kernel@vger.kernel.org
Subject: [patch 2.6.15-mm4] fix warning in fs/cifs/cifssmb.c
Date: Sun, 15 Jan 2006 00:15:58 +0100	[thread overview]
Message-ID: <20060114230707.GD26443@ens-lyon.fr> (raw)

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;

                 reply	other threads:[~2006-01-14 23:19 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060114230707.GD26443@ens-lyon.fr \
    --to=benoit.boissinot@ens-lyon.org \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=smfrench@austin.rr.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).