Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751995AbaJSNLM (ORCPT ); Sun, 19 Oct 2014 09:11:12 -0400 Received: from mail-pa0-f49.google.com ([209.85.220.49]:57795 "EHLO mail-pa0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751902AbaJSNKu (ORCPT ); Sun, 19 Oct 2014 09:10:50 -0400 From: Chen Weixiang X-Google-Original-From: Chen Weixiang To: Marek Belisko , Greg Kroah-Hartman , Chen Weixiang , Greg Donald , Chen Gang , Artem Fetishev , Andrey Utkin Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/7] staging: ft1000: do not initialise statics to 0 or NULL Date: Sun, 19 Oct 2014 20:59:44 +0800 Message-Id: <1413723590-19690-2-git-send-email-weixiang.chen@gmail.com> X-Mailer: git-send-email 2.1.1 In-Reply-To: <1413723590-19690-1-git-send-email-weixiang.chen@gmail.com> References: <1413723590-19690-1-git-send-email-weixiang.chen@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove following checkpatch.pl error from ft1000/ft1000-usb/ft1000_debug.c ERROR: do not initialise statics to 0 or NULL Signed-off-by: Chen Weixiang --- drivers/staging/ft1000/ft1000-usb/ft1000_debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/ft1000/ft1000-usb/ft1000_debug.c b/drivers/staging/ft1000/ft1000-usb/ft1000_debug.c index 0f347ab..2573147 100644 --- a/drivers/staging/ft1000/ft1000-usb/ft1000_debug.c +++ b/drivers/staging/ft1000/ft1000-usb/ft1000_debug.c @@ -38,7 +38,7 @@ #include #include "ft1000_usb.h" -static int ft1000_flarion_cnt = 0; +static int ft1000_flarion_cnt; static int ft1000_open(struct inode *inode, struct file *file); static unsigned int ft1000_poll_dev(struct file *file, poll_table *wait); -- 2.1.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/