linux-next: build warning after merge of the amdgpu tree

Stephen Rothwell sfr at canb.auug.org.au
Wed Apr 21 06:40:24 UTC 2021


Hi all,

On Fri, 16 Apr 2021 12:40:44 +1000 Stephen Rothwell <sfr at canb.auug.org.au> wrote:
>
> After merging the amdgpu tree, today's linux-next build (powerpc
> ppc64_defconfig) produced this warning:
> 
> drivers/pci/quirks.c: In function 'quirk_amd_nvme_fixup':
> drivers/pci/quirks.c:312:18: warning: unused variable 'rdev' [-Wunused-variable]
>   312 |  struct pci_dev *rdev;
>       |                  ^~~~
> 
> Introduced by commit
> 
>   9597624ef606 ("nvme: put some AMD PCIE downstream NVME device to simple suspend/resume path")

I am still seeing this warning.

-- 
Cheers,
Stephen Rothwell
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20210421/801e859d/attachment.sig>


More information about the dri-devel mailing list