From patchwork Mon Jul 5 08:01:09 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kulikov Vasiliy X-Patchwork-Id: 110178 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 o657uBq7009971 for ; Mon, 5 Jul 2010 08:02:10 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752881Ab0GEIBX (ORCPT ); Mon, 5 Jul 2010 04:01:23 -0400 Received: from mail-ew0-f46.google.com ([209.85.215.46]:37734 "EHLO mail-ew0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753463Ab0GEIBW (ORCPT ); Mon, 5 Jul 2010 04:01:22 -0400 Received: by mail-ew0-f46.google.com with SMTP id 23so1565127ewy.19 for ; Mon, 05 Jul 2010 01:01:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer:mime-version:content-type :content-transfer-encoding; bh=lu1gX5IM2OePjN024teeYypsFdIo4wDJ7FASQ/b6huE=; b=hTWk9Me8EJaieLa6f2XAlhNYHLSXx+OcfR11ZQ8KlErVTfBZcEgMytvmH3ZM2GZ2KL uRV/D0etAFp3rfOs6eAFz0G4+Um3rHUzSrjvgLoVCDo7ZdTGHoda+nanCWQJNoBlaC2E metQoWI33ySwD/Fajn6qAax8J59sNXWuaAQ/M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:mime-version :content-type:content-transfer-encoding; b=KDzXTDxWcjELdc5l8cfA9bZRql3fn49B1YpRx/zNsc5PjfGcUQjzyMJYVoas5IJhVM dapQHzxBpOA+VUVLfMdtgTbS+aspULlp2IZM1PmqLxrd/2z/inBBiukX2ch9c0un1ooR wPrdQ+xsUX9v1F3+01RzbORdf1HkO+ASWmJg4= Received: by 10.213.9.200 with SMTP id m8mr1798098ebm.70.1278316881027; Mon, 05 Jul 2010 01:01:21 -0700 (PDT) Received: from localhost ([213.87.87.228]) by mx.google.com with ESMTPS id a48sm33044333eei.1.2010.07.05.01.01.18 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 05 Jul 2010 01:01:20 -0700 (PDT) From: Kulikov Vasiliy To: Kernel Janitors Cc: Steve French , Jeff Layton , Suresh Jayaraman , linux-cifs@vger.kernel.org, samba-technical@lists.samba.org, linux-kernel@vger.kernel.org Subject: [PATCH] cifs: silence compiler warning Date: Mon, 5 Jul 2010 12:01:09 +0400 Message-Id: <1278316870-29112-1-git-send-email-segooon@gmail.com> X-Mailer: git-send-email 1.7.0.4 MIME-Version: 1.0 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]); Mon, 05 Jul 2010 08:02:12 +0000 (UTC) diff --git a/fs/cifs/cifssmb.c b/fs/cifs/cifssmb.c index c65c341..22805e2 100644 --- a/fs/cifs/cifssmb.c +++ b/fs/cifs/cifssmb.c @@ -2506,6 +2506,7 @@ validate_ntransact(char *buf, char **ppparm, char **ppdata, *pdatalen = 0; *pparmlen = 0; + *ppdata = 0; if (buf == NULL) return -EINVAL;