Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp5829784imw; Wed, 20 Jul 2022 13:27:59 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vVAhWExA7HN5y/gYOiDPrrzxNblVg6NuKsn+c8JnIwqgifl+HX65KJtGCpx/wWCKHyyiyk X-Received: by 2002:a05:6a00:8cf:b0:522:93a6:46e9 with SMTP id s15-20020a056a0008cf00b0052293a646e9mr41834686pfu.62.1658348878784; Wed, 20 Jul 2022 13:27:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658348878; cv=none; d=google.com; s=arc-20160816; b=TTqNgeJ9Qkre2qR/WjUUwIjY3WOFyJ9xqhtfUGAdAiRkk5aHU9hQ3triGbqfLMeKEh py7AMHVkze+rC45R74r/u1gad+Dhd9KbkvzNfWz/kr8CL5ml7dvuQJMIkVM/D5wMEP2F T27uOsgc6HJHO+swtGzbPE5bOqrYr3KW+brbMbdJusga3I+aCOwZPEvs91zJ3ZqZ9Wzx OYNRTOM4tWedYgc96VWo86+qwdg83+Gv+xasRJEZsyXsL40UhbuEKfgRzBrou+j7kemW v+zPj3qCck606nLgcYH4O+IfuvDc61vIIvGhp8BvBt2LPusJAXOu/oVlflGMQBLBLO4N dpRQ== 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=XIRftrWbVg5maTMskfhd7zgU7BZOLv57A/Yn8Rz049s=; b=b70lGHNohbH25TJ07ZRUWUiC2Rfo0WbFnVh/PDBkw1wKSPPuO+sdbUdYpokqNYbhqS pcyZeET8NZZEU9Wr/2SPuL1jhV7kgy/03Yu4M4OXEfBbBYM1YN9fancnqPxLHVCBC8CC qKxo0zo+yAM7vZ9c7rrh4L38zfrp8dTB61c0I8DI6hflbwR0kWMkI/JYQXZowahJJdds M+2IyeDjrb6s5HaMsf3V/oFWePRbk015LMEW1ElnCWJcrw/hMv5oy2s6z8XokGU+8sJA qHXUSXuMnDgynCtamtxbIIHSmDjp4XVMzI+Gme3IGt9NnmZdzn0B20q8Q1Ffi1Xa4rbo K3nw== 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 8-20020a631948000000b003db947d50fcsi22996714pgz.174.2022.07.20.13.27.44; Wed, 20 Jul 2022 13:27:58 -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 S229765AbiGTTw4 (ORCPT + 99 others); Wed, 20 Jul 2022 15:52:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55890 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229471AbiGTTwz (ORCPT ); Wed, 20 Jul 2022 15:52:55 -0400 Received: from smtpbg.qq.com (unknown [43.155.67.158]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 119C35C37C; Wed, 20 Jul 2022 12:52:49 -0700 (PDT) X-QQ-mid: bizesmtp79t1658346761t5xe0b0z Received: from harry-jrlc.. ( [125.70.163.183]) by bizesmtp.qq.com (ESMTP) with id ; Thu, 21 Jul 2022 03:52:30 +0800 (CST) X-QQ-SSF: 0100000000200030C000C00A0000020 X-QQ-FEAT: xqT8U4SkSpiEzvjDnymI3vMk/gxgX8PAnf1S86afxsOTUNm9jw6gOv2cXBZer zMgF+mzW0dEsycAQxY3SXkXt5w/T0bQf4c8mUIlO7W1vGjSuh/5EwAfgygk9KTVgxR1AQDF h6qlnid9cUzpyt1nqrG2r+i69qSFppZ8btxdFgLDS4dnn/ldENkv6KOJpJDYhakje6TkYI4 F7BpszZDQYi9gfObtpy+yepA+6zgNuo16iRmrkG7sSL1GiGqd07eovytqts4+ekMSmqDWaC Q8L9BJpMiuQiq8UpJIgtC3eIdTBdW/jdy/XvO4tAF2a5dq6YYr1/si2rArL+ewjajPHeZ2D apFFSjBEik7Viygbs2EHtkkwzNYP+DRj4Kt9wMazTDf1wXkLoQpWXPRSoImBQ== X-QQ-GoodBg: 0 From: Xin Gao To: jejb@linux.ibm.com, martin.petersen@oracle.com Cc: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, Xin Gao Subject: [PATCH] scsi:do not initialise statics to 0. Date: Thu, 21 Jul 2022 03:52:29 +0800 Message-Id: <20220720195229.9109-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=-1.1 required=5.0 tests=BAYES_00,RDNS_NONE,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/scsi/ch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/ch.c b/drivers/scsi/ch.c index 908854869864..7ab29eaec6f3 100644 --- a/drivers/scsi/ch.c +++ b/drivers/scsi/ch.c @@ -63,7 +63,7 @@ static int verbose = 1; module_param(verbose, int, 0644); MODULE_PARM_DESC(verbose,"be verbose (default: on)"); -static int debug = 0; +static int debug; module_param(debug, int, 0644); MODULE_PARM_DESC(debug,"enable/disable debug messages, also prints more " "detailed sense codes on scsi errors (default: off)"); -- 2.30.2