linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
To: "Bjorn Helgaas" <bhelgaas@google.com>,
	"Krzysztof Wilczyński" <kw@linux.com>
Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>,
	linux-pci@vger.kernel.org, Rob Herring <robh@kernel.org>,
	Daire McNamara <daire.mcnamara@microchip.com>
Subject: Re: [PATCH] PCI: microchip: Make the struct event_descs static
Date: Thu,  3 Jun 2021 17:12:39 +0100	[thread overview]
Message-ID: <162273673895.19397.5684393026527063246.b4-ty@arm.com> (raw)
In-Reply-To: <20210509041932.560340-1-kw@linux.com>

On Sun, 9 May 2021 04:19:32 +0000, Krzysztof Wilczyński wrote:
> The struct event_descs does not have any users outside the
> pcie-microchip-host.c file, and has no previous declaration,
> thus it can be made static.
> 
> This resolves the following sparse warning:
> 
>   drivers/pci/controller/pcie-microchip-host.c:352:3: warning: symbol 'event_descs' was not declared. Should it be static?

Applied to pci/microchip, thanks!

[1/1] PCI: microchip: Make the struct event_descs static
      https://git.kernel.org/lpieralisi/pci/c/1243106474

Thanks,
Lorenzo

      reply	other threads:[~2021-06-03 16:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-09  4:19 [PATCH] PCI: microchip: Make the struct event_descs static Krzysztof Wilczyński
2021-06-03 16:12 ` Lorenzo Pieralisi [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=162273673895.19397.5684393026527063246.b4-ty@arm.com \
    --to=lorenzo.pieralisi@arm.com \
    --cc=bhelgaas@google.com \
    --cc=daire.mcnamara@microchip.com \
    --cc=kw@linux.com \
    --cc=linux-pci@vger.kernel.org \
    --cc=robh@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).