Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp5801796imw; Wed, 20 Jul 2022 12:52:05 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uZiwIxqX0W4vF1VSCu3yb2U1FRGuYXqczR7+s6YACtKeU5/9vnoMuBXBeXpVaLxg48yJhK X-Received: by 2002:a63:5a1b:0:b0:41a:64d4:9643 with SMTP id o27-20020a635a1b000000b0041a64d49643mr4137920pgb.126.1658346725043; Wed, 20 Jul 2022 12:52:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658346725; cv=none; d=google.com; s=arc-20160816; b=0LMLypVfr0+HoZN0Z3EVMvwVYD9wDpegmj9PjmZw0BYMidE13MAwzz00ltAX/qdrKy b2fIStDMUqDABtmGZTrzXbnoKQdYELqEoiwAkLXEdTsWl8JBLa2ANwuo454g5UGoadpf UXW/Y/7srnRtifHoWhz0wUwa+bU2snzmwmSvtQNLq1YyYnwZmz4l4QUscVUBN2yinOOS yuH0lzB6NnKTdPHKw/6Rr7j9h4oHNp28xNnZtEwCpNfiN7XfKpYYLffpDnAwSUnE5i9/ bDwRc+RsnXrTBZFZaeXeDJ3aQu6MAHVAdqtTsNMBOlbd8iOLTdFlz5dTlJK/IHU99AA1 Ym0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:feedback-id:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from; bh=vIAlnBw2Kzk0igaA5VXUjGjcUq6p8/njwSBJn97PpxM=; b=FqSnvujW04B9u3aT9GLMrDM1psNpWARChSCLBor7wkGXokFIfpQpolZhUIZ0foiY6A ei1C1NRDuDABWYR3yhpwMFiOc7qyfXzkaAqONSn2bZCPeDnfN15NR0XAFgHIoLv/CebP ci/4CzVHxxCOtLbyQC0nOfsxE4TuPAbxNpDoQWrzykiqx33aV6tB3PWb1RThLBg7DAj6 GN5BYisHg96uGbn43HRrDq10p6cvANxTJEXjLV6Eli2CFdnlCogsN5a5EoMSVFpZTreW 20WOs5jJCxcIvTj8nYsDkFgAP9CMvRyBcx/ybEGynf2+zzK8rmKpdiKPTEKZ6nEiSXYb al7g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h191-20020a6383c8000000b0041a4d5a316dsi6295970pge.855.2022.07.20.12.51.48; Wed, 20 Jul 2022 12:52:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230052AbiGTTsf (ORCPT + 99 others); Wed, 20 Jul 2022 15:48:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52664 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229481AbiGTTse (ORCPT ); Wed, 20 Jul 2022 15:48:34 -0400 Received: from smtpbg.qq.com (biz-43-154-54-12.mail.qq.com [43.154.54.12]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 898DE21251; Wed, 20 Jul 2022 12:48:29 -0700 (PDT) X-QQ-mid: bizesmtp79t1658346498tq4heer9 Received: from harry-jrlc.. ( [125.70.163.183]) by bizesmtp.qq.com (ESMTP) with id ; Thu, 21 Jul 2022 03:48:09 +0800 (CST) X-QQ-SSF: 0100000000200030C000C00A0000020 X-QQ-FEAT: hoArX50alxF+DlkLpK/znEs8vSXXS42yNM8fy/pw1WkpLuttolCDx8u4ZxPru +3fomMndDQLzvzKL9GxM8ipflxICWic0CIb7fbX4tUBgmzkhOZW7ih6yCHr9QhR0w/dF8Bd yvccaCovBdCc+1PX1AOMkbbGdOqPPfd5l8/umQA/koLOYIudYCZyXEhAMEup4gKW+bDXgFa KYhJTKZuhx+eMkRvqvexuFyF1o+1+oG08VJ9eyZRom9VcQfBE8NRjvxP8iFPw2LyMBJYRoN V3UvS9pfRVlK2nQijOVtRn9bugW9kyCEIkhUBoa8TTauz9ziyGJb+6VmMrfOhAUH7CHuc/0 mZC5uQvI2a9UlE0khMLGsHTUKGuu+Q+PnyHRn3ax0LuLt3msvzeIVK+LGK80w== X-QQ-GoodBg: 0 From: Xin Gao To: balbi@kernel.org Cc: gregkh@linuxfoundation.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Xin Gao Subject: [PATCH] USB:do not initialise statics to 0. Date: Thu, 21 Jul 2022 03:48:08 +0800 Message-Id: <20220720194808.8799-1-gaoxin@cdjrlc.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:cdjrlc.com:qybglogicsvr:qybglogicsvr6 X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,RDNS_DYNAMIC, SPF_PASS,T_SPF_HELO_TEMPERROR autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org do not initialise statics to 0. Signed-off-by: Xin Gao --- drivers/usb/gadget/legacy/zero.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/gadget/legacy/zero.c b/drivers/usb/gadget/legacy/zero.c index 23312a07efb4..c5f6d496064b 100644 --- a/drivers/usb/gadget/legacy/zero.c +++ b/drivers/usb/gadget/legacy/zero.c @@ -56,7 +56,7 @@ static const char longname[] = "Gadget Zero"; * work better with hosts where config changes are problematic or * controllers (like original superh) that only support one config. */ -static bool loopdefault = 0; +static bool loopdefault; module_param(loopdefault, bool, S_IRUGO|S_IWUSR); static struct usb_zero_options gzero_options = { -- 2.30.2