Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp4121845pxf; Tue, 6 Apr 2021 08:23:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzD/FjApSGr6Qekkr6AdXjBdLi0mCWrW2EGAOS/nXT4yPO4yTi3ibMBEnnRPcu+qAQKmF8w X-Received: by 2002:a92:d4c5:: with SMTP id o5mr10870433ilm.9.1617722619161; Tue, 06 Apr 2021 08:23:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617722619; cv=none; d=google.com; s=arc-20160816; b=Nw71CGYYVHzsEL9O/xhTuApasuQc0JHL5PhjbMpCO1j+WryB/LiIHCf/cMHOLIcK56 0TQNEHCBG6Yy6U+TUTj3DBWmOB3owbuJwXLws9Atj7ncP786msEDpzUuMV0Z/5c6tgVu RurQsKtJEij7j+WLpWzIzh3rv3piLsKKlmPTY0rVs2jFc1CeTfTKskCiQrQAhm71aivx OA3iUvbf+2QEMAP7f6i/cihqNml9MtfeAsnZK2a/r/KJ3Bhijpw9yiWQjLw3GfDapgT3 bz8C4RyCGgVXwE09+ooP4Zlz3IoM9Iu42oFXocdv1eCtitQPsC02eLtmr+4heIZeG+fb +8tg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=pGjKyi8vekONRl3p6jIWrVsnQ3+iq1XbiLrvChgmELo=; b=v2/IwBO0JSR3mMJBjyUzBab/gx1N26RxbQfYAteU0IQcGtIjUA8KCXaFmEwgPma74P x4YDUW3NfH56595kWkkOR+OG62XawdmKuK1u2jv7X90XolQ1KpNYOoSkgel5P3ioe4RE W+5djnHyRz6sguuNqNVdzOmp+KkJwVNCrTOP1/R3zKXWN3XFrXZ4+szSeRU+tgfZhn08 175IvYFViS9TsPRvuyTHac0cnscVRN2Fn0/CUjROE/RMBAnbiyNIHT1wR2LRuf7rcWrs t6T/12wjt1hcfnatMe7dDE/eyFX4BOgr3UQynbmhSJe4PUD7xiwoa171Xsp9GBI83t2g Nitg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w3si22208564iov.55.2021.04.06.08.23.25; Tue, 06 Apr 2021 08:23:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243632AbhDFExZ (ORCPT + 99 others); Tue, 6 Apr 2021 00:53:25 -0400 Received: from mail-wm1-f54.google.com ([209.85.128.54]:51779 "EHLO mail-wm1-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242526AbhDFExY (ORCPT ); Tue, 6 Apr 2021 00:53:24 -0400 Received: by mail-wm1-f54.google.com with SMTP id p19so6663766wmq.1; Mon, 05 Apr 2021 21:53:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=pGjKyi8vekONRl3p6jIWrVsnQ3+iq1XbiLrvChgmELo=; b=FtQ0ZpPWm6dD6LjBBSPhw5VDhDZcPbqqIwej8IzxHkM4OOlQTfcIeoEqWcDFPIo8Jc NeQTkRJK/fbAz/FaaI8+xUiitJZCHc/NQeHTzNWC/JNtg3uWx9WNGirLFQpVAphEeqDT dFUgnMj1z3CRI0uGLtRbiMVEKPrjbB8WgBm/VBppgZbtLVtROsc2s03j++UJp0US+Dc2 i/T7A7p3Bpa7BZEAZecGSYYnWc1vsu3mjGizFTjdU2j9F9fI6AqyrAheuzgWD5J7QegR S+t68piKvmwpHAFIWsFSceix3o5YEEnkywZ1R3OmHYT6oGcmq9VwnA0e4j4Uq4Ua2aXu pTyg== X-Gm-Message-State: AOAM5321ARY6efRtCgUXXrV9XchsY8Gluw4u5u06gTn1O+sQZ4lE9bla 4+wPQfTArrBKzurEkSBxdWw= X-Received: by 2002:a1c:2683:: with SMTP id m125mr2187799wmm.178.1617684795821; Mon, 05 Apr 2021 21:53:15 -0700 (PDT) Received: from ?IPv6:2a0b:e7c0:0:107::70f? ([2a0b:e7c0:0:107::70f]) by smtp.gmail.com with ESMTPSA id h14sm36214686wrq.45.2021.04.05.21.53.15 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 05 Apr 2021 21:53:15 -0700 (PDT) Subject: Re: [PATCH -next] serial: 8250: Make symbol 'brcmuart_debugfs_root' static To: Zucheng Zheng , alcooperx@gmail.com, gregkh@linuxfoundation.org Cc: linux-serial@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, linux-kernel@vger.kernel.org, hucool.lihua@huawei.com References: <20210401074919.56573-1-zhengzucheng@huawei.com> From: Jiri Slaby Message-ID: <7d91eb53-cde3-934c-a75f-833f98e6b156@kernel.org> Date: Tue, 6 Apr 2021 06:53:14 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: <20210401074919.56573-1-zhengzucheng@huawei.com> Content-Type: text/plain; charset=iso-8859-2; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 01. 04. 21, 9:49, Zucheng Zheng wrote: > symbol 'brcmuart_debugfs_root' is not used outside of 8250_bcm7271.c, > so this commit marks it static. > > Signed-off-by: Zucheng Zheng Reviewed-by: Jiri Slaby > --- > drivers/tty/serial/8250/8250_bcm7271.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/tty/serial/8250/8250_bcm7271.c b/drivers/tty/serial/8250/8250_bcm7271.c > index 63883185fccd..ebba7f2e960c 100644 > --- a/drivers/tty/serial/8250/8250_bcm7271.c > +++ b/drivers/tty/serial/8250/8250_bcm7271.c > @@ -239,7 +239,7 @@ struct brcmuart_priv { > u32 rx_abort; > }; > > -struct dentry *brcmuart_debugfs_root; > +static struct dentry *brcmuart_debugfs_root; > > /* > * Register access routines > -- js