From patchwork Tue Aug 3 19:18:10 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bill Pemberton X-Patchwork-Id: 116845 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.4/8.14.3) with ESMTP id o73JQpUE027599 for ; Tue, 3 Aug 2010 19:26:51 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757324Ab0HCT0u (ORCPT ); Tue, 3 Aug 2010 15:26:50 -0400 Received: from viridian.itc.Virginia.EDU ([128.143.12.139]:46458 "EHLO viridian.itc.virginia.edu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756329Ab0HCT0u (ORCPT ); Tue, 3 Aug 2010 15:26:50 -0400 Received: by viridian.itc.virginia.edu (Postfix, from userid 1249) id 967832DFB0; Tue, 3 Aug 2010 15:18:10 -0400 (EDT) From: Bill Pemberton To: trivial@kernel.org Cc: linux-cifs@vger.kernel.org Subject: [PATCH] cifs: fix uninitialized variable warning Date: Tue, 3 Aug 2010 15:18:10 -0400 Message-Id: <1280863090-636-1-git-send-email-wfp5p@virginia.edu> X-Mailer: git-send-email 1.7.2 Sender: linux-cifs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-cifs@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Tue, 03 Aug 2010 19:26:51 +0000 (UTC) diff --git a/fs/cifs/cifssmb.c b/fs/cifs/cifssmb.c index c65c341..56fac6c 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 *uninitialized_var(pdata); /* validate_nttransact */ rc = validate_ntransact(iov[0].iov_base, (char **)&parm,