Re: [PATCH] PCI: microchip: Make the struct event_descs static

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux