[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Fri, 10 Sep 2010 20:45:42 -0400
From: Javier Martinez Canillas <martinez.javier@...il.com>
To: Steve French <sfrench@...ba.org>, Jeff Layton <jlayton@...hat.com>,
Suresh Jayaraman <sjayaraman@...e.de>,
Shirish Pargaonkar <shirishpargaonkar@...il.com>,
linux-cifs@...r.kernel.org, samba-technical@...ts.samba.org,
linux-kernel@...r.kernel.org
Subject: [PATCH] FS: cifs: Fix compile warning
In today linux-next I got a compile warning due a possibly uninitialized variable
This trivial patch solves the issue
Thanks a lot
Signed-off-by: Javier Martinez Canillas <martinez.javier@...il.com>
---
fs/cifs/cifssmb.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/fs/cifs/cifssmb.c b/fs/cifs/cifssmb.c
index c65c341..ee1bba4 100644
--- a/fs/cifs/cifssmb.c
+++ b/fs/cifs/cifssmb.c
@@ -3079,7 +3079,7 @@ CIFSSMBGetCIFSACL(const int xid, struct cifsTconInfo *tcon, __u16 fid,
__u32 parm_len;
__u32 acl_len;
struct smb_com_ntransact_rsp *pSMBr;
- char *pdata;
+ char *pdata = NULL;
/* validate_nttransact */
rc = validate_ntransact(iov[0].iov_base, (char **)&parm,
--
1.7.0.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists