From patchwork Sat Sep 11 00:45:42 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Javier Martinez Canillas X-Patchwork-Id: 170772 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id o8B0kBqi005673 for ; Sat, 11 Sep 2010 00:46:11 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755844Ab0IKAps (ORCPT ); Fri, 10 Sep 2010 20:45:48 -0400 Received: from mail-yx0-f174.google.com ([209.85.213.174]:45235 "EHLO mail-yx0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755723Ab0IKApr (ORCPT ); Fri, 10 Sep 2010 20:45:47 -0400 Received: by yxp4 with SMTP id 4so1385013yxp.19 for ; Fri, 10 Sep 2010 17:45:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:content-type :date:message-id:mime-version:x-mailer:content-transfer-encoding; bh=cuT/iRK5OwYMRyHYbfJGQUA7S3tsm7UYmkdw4z+/Mzc=; b=ICDqj0h5z9KVW772WMkFdhzBQIcwKjWKQSGTwCar/7+Z1IVHT8tAfJnUE+LhbfkeEd qVioOLAAFyeK4qHayS9p4w/RFngsO9fZXTzIKprbGqv2T/hk1h0JG27WY+aLgm3Aubr/ Fc1ShO+l16E3cZbGYcbYMLZ/RY4r0g5C/A6CU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; b=faKLM8VlpQGRW+vCYD+MtM/ahZf7DrIiXB5OKMsDUjpFlW4NNsrGfdhv3G2Kbwpaos pr7BYlDBjh8WDRr2dlJ18/E6ESzJES/ydy3LtYaWFODXBJZL7CGO33B9bjHrbi4f5Ps6 KpK3cE/Xdin7WMgf8THrJVmbqAdRfcESX6QvQ= Received: by 10.150.189.5 with SMTP id m5mr76409ybf.379.1284165946770; Fri, 10 Sep 2010 17:45:46 -0700 (PDT) Received: from [192.168.1.104] (host-21-189.b5.cmm.com.py [200.26.180.189]) by mx.google.com with ESMTPS id t2sm214659yba.14.2010.09.10.17.45.43 (version=SSLv3 cipher=RC4-MD5); Fri, 10 Sep 2010 17:45:46 -0700 (PDT) Subject: [PATCH] FS: cifs: Fix compile warning From: Javier Martinez Canillas To: Steve French , Jeff Layton , Suresh Jayaraman , Shirish Pargaonkar , linux-cifs@vger.kernel.org, samba-technical@lists.samba.org, linux-kernel@vger.kernel.org Date: Fri, 10 Sep 2010 20:45:42 -0400 Message-ID: <1284165942.4009.5.camel@lenovo> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 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 (demeter1.kernel.org [140.211.167.41]); Sat, 11 Sep 2010 00:46:11 +0000 (UTC) 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,