Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp4367526imw; Tue, 19 Jul 2022 05:27:22 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tH+05++iuyY2GGszI6JJkjD2LVx1iCAfn0lpJL8qJWAa3DSSFah1+W24bXscxshcQGP48R X-Received: by 2002:a05:6402:1d97:b0:43a:7b45:8e14 with SMTP id dk23-20020a0564021d9700b0043a7b458e14mr43132213edb.418.1658233642409; Tue, 19 Jul 2022 05:27:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658233642; cv=none; d=google.com; s=arc-20160816; b=efm/60oOdF3CwXDJAAmakzmQKTy9qQoeZdUTBCz+qcszyoMzKBs+Be1Ab/zH437v+B BN4CPFybYnQzJRCpWcNDJfFd8dP5UUN+/SdEsjaSbZQ74pKSU3up1CLpaG0cnJp1MNff v+MSWoordqDc4veHiIPn5RGrak/0ZLX31ouWZxXOXu/GRpjRtk7HaNPfUEog5jS/vSW4 InB4K2AFfsSPfTKzxIWqjF7O6mT2yaJ1+Rhne8W2OJfV8OIR9tSi1/BjhbaxEiSK5roC wR7rjnpCQHL6r8UfHc1mK1KxMDdpATr9PbZAD7YF3rEwEzTI5Rq2IOAncO9abQKsw18g cvHw== 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=1FsOeh5HhHtSipQVW8N40HXP4ETfjd6HBPEymx6OoiM=; b=EDWtuqK2aZ18fTGY22Y+e47JV02eQwpcietPMfaHpZ1Wx7DXndyS+FhOileAhWGG7w RtST9PjRd9LsjP4jovyPpYlNTU9/yZIb/XY9z9TV/oW2a+HyAx5magyfFIkXHymf8zwu xhganTmKhI5Kx72yS66+3fhzdnJBZoK4ATQ9oFq8D/Z4XBD6aFtpc5gwck5VvQ5Ao68Z Ft8T7Lx+M1B8noPqUyNteU9ddDR3BvYH9h+wUvN3fLySox4c0ZmZ4xQifxzBEVtR0UaC Bhk1mePcdZB37gusrJjUQLGD2adBTlsQkxlepkxvuVR6O8uHziGiuS4ND99E2Ah2nIN+ zizQ== 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 cw14-20020a170906478e00b007235c2c8a7bsi7353531ejc.855.2022.07.19.05.26.56; Tue, 19 Jul 2022 05:27:22 -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 S235508AbiGSLnr (ORCPT + 99 others); Tue, 19 Jul 2022 07:43:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46298 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233953AbiGSLnp (ORCPT ); Tue, 19 Jul 2022 07:43:45 -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 892F73F304; Tue, 19 Jul 2022 04:43:39 -0700 (PDT) X-QQ-mid: bizesmtp63t1658230985t1veqesu Received: from harry-jrlc.. ( [182.148.15.157]) by bizesmtp.qq.com (ESMTP) with id ; Tue, 19 Jul 2022 19:42:57 +0800 (CST) X-QQ-SSF: 0100000000600030C000B00A0000020 X-QQ-FEAT: oxALfFWpRnA2vxCg5jbyfzDMGhwSwIVpVEd1zKNA7dpv2bX1DTjcdYk5ug3GJ TjLTRkOieAtbdp6R8vxT84GhLCVzPcImF3gbpXORW035tvyJcQu6ymMW3atpKQ+Cj2Ep48B 2qfpyoj1ZPxpEl0wqfJvI2HERrafCX8TGZ7OCZp/NSxmOmjH1JJOAh9uETbsiFSxvdGR4E2 Nbr3JMrTT5Npr3kTFJoo5oOqB2RmZdPcyaRtMAvJ765IEDPxVcR/zr6bQZIaHN3Nx7VLHRr pUzpuswZqBOPvedMtsze2KYgeVxmhPh0MIA4FLknZjUGTwickniI2V/Woyd7JntRqBjoX0C szRMzahUnxuo1i8xQzKTjY0qZqtPVPhjGryUFvgMhDPYOZzEPZ8gWJk5npcfqU5uRvKPd/E X-QQ-GoodBg: 0 From: Xin Gao To: damien.lemoal@opensource.wdc.com Cc: linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org, Xin Gao Subject: [PATCH] ata:do not initialise statics to 0 Date: Tue, 19 Jul 2022 19:42:55 +0800 Message-Id: <20220719114255.7568-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/ata/libata-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c index 40e816419f48..bbb98433d160 100644 --- a/drivers/ata/libata-core.c +++ b/drivers/ata/libata-core.c @@ -119,7 +119,7 @@ static int atapi_enabled = 1; module_param(atapi_enabled, int, 0444); MODULE_PARM_DESC(atapi_enabled, "Enable discovery of ATAPI devices (0=off, 1=on [default])"); -static int atapi_dmadir = 0; +static int atapi_dmadir; module_param(atapi_dmadir, int, 0444); MODULE_PARM_DESC(atapi_dmadir, "Enable ATAPI DMADIR bridge support (0=off [default], 1=on)"); -- 2.30.2