Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1396898

[PATCH] usb: wusbcore: Do not initialise statics to 0.

Path csiph.com!1.us.feeder.erje.net!feeder.erje.net!2.eu.feeder.erje.net!border1.nntp.ams1.giganews.com!nntp.giganews.com!news.panservice.it!bofh.it!news.nic.it!robomod
From Sandhya Bankar <bankarsandhya512@gmail.com>
Newsgroups linux.kernel
Subject [PATCH] usb: wusbcore: Do not initialise statics to 0.
Date Mon, 09 May 2016 12:00:03 +0200
Message-ID <rwQ8P-2SQ-29@gated-at.bofh.it> (permalink)
X-Original-To gregkh@linuxfoundation.org, herbert@gondor.apana.org.au, geliangtang@163.com, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:mime-version:content-disposition :user-agent; bh=scNJeRYg7L2ZTMSE53eX7gKNd+bPyerR1ucbz4noLGQ=; b=M5AMfuSwIOzlGZWELM9g5/2EFVZEStaTJRBX0AAhUSSdCpF1/AKxjHPD1rfpInWVcz gbqor2/JSdb8G1ExqucW2bfm0GwMQ1HEncjXuPH3DIBo3MRWr1NQlHCIhRSJ4N0A/ClP XGaGCC78PzKyVqkiNQa4VZy9CdeuObXNrgwknaIlYfqg/4z87LPtMitDeTGj9qlf96/M Glx+mIAyacWPnKtCJykoWtyPaqI6Rlc09LUeu3XD2pWacstFovbeoSj/IT/pEFCASmJ1 7oY8kxu57OwTcTe6gqd21WBkwjzBzIhuUVvjSg6eKIgjiSSTpN/TdAniqTpkWjWKVUXX 2KVw==
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:subject:message-id:mime-version :content-disposition:user-agent; bh=scNJeRYg7L2ZTMSE53eX7gKNd+bPyerR1ucbz4noLGQ=; b=NNjwijT2pdlU/iSsIKZZVI45v7SbKHl2hKmTMv6kxfj9buaYN3dHeL6qfsDeeyg8OO xo5ZDmpoZbto+mO+PYNtQKcaK94lr2lI8v6+J6zxonX+/zKmspIiu7hrQ5UI6gTt4P3E a6Pz+gBcPtj8ciUc39hnS7fkQ4ZL5E0yUzCrJBP8RqU1Zj2SNOhgHKIra0OSmfONHbi8 kitpM6W3/y1YIpBRMdSExkBsciVjk3sLLP7Ugu6KHg4+XX/zOiV7WDvcmdyrgT0QXk2b /1JedWR4aX2TrnhK3Zqn6iSFIq9Bmb0zKBC8nDfliHA5rhXcedrZRf41L7zjWXJNl1iR 7SlQ==
X-Gm-Message-State AOPr4FWsukSQewwNerlpOsow3tOVf6Fny1jlntih6G/pEOLz5FH+ieS4IJwQxnh8dI5Kdw==
X-Received by 10.66.153.209 with SMTP id vi17mr49040929pab.0.1462787716864; Mon, 09 May 2016 02:55:16 -0700 (PDT)
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
User-Agent Mutt/1.5.20 (2009-12-10)
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 23
Organization linux.* mail to news gateway
X-Original-Date Mon, 9 May 2016 08:26:01 +0530
X-Original-Message-ID <20160509025601.GA4497@sandhya>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1396898

Show key headers only | View raw


Do not initialise statics to 0.
This patch is found by checkpatch.pl script.

Signed-off-by: Sandhya Bankar <bankarsandhya512@gmail.com>
---
 drivers/usb/wusbcore/crypto.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/usb/wusbcore/crypto.c b/drivers/usb/wusbcore/crypto.c
index 8ed8e34..f7fc2371 100644
--- a/drivers/usb/wusbcore/crypto.c
+++ b/drivers/usb/wusbcore/crypto.c
@@ -54,7 +54,7 @@
 #include <linux/usb/wusb.h>
 #include <linux/scatterlist.h>
 
-static int debug_crypto_verify = 0;
+static int debug_crypto_verify;
 
 module_param(debug_crypto_verify, int, 0);
 MODULE_PARM_DESC(debug_crypto_verify, "verify the key generation algorithms");
-- 
1.8.3.4

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH] usb: wusbcore: Do not initialise statics to 0. Sandhya Bankar <bankarsandhya512@gmail.com> - 2016-05-09 12:00 +0200

csiph-web