Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 4 participants 8 messages Apr 16, 2021 – Apr 23, 2021 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

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")

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw

[AMD Public Use]

Hi, Rothwell

This fix solution hasn't locked down and still being discussed and roll-updated in the NVMe mail group. Will update the patch once it refined done.

Thanks,
Prike

Quoted 28 lines

-----Original Message-----
From: Stephen Rothwell <[email protected]>
Sent: Friday, April 16, 2021 10:41 AM
To: Alex Deucher <[email protected]>
Cc: Liang, Prike <[email protected]>; S-k, Shyam-sundar <Shyam- [email protected]>; Linux Kernel Mailing List <linux- [email protected]>; Linux Next Mailing List <[email protected]>
Subject: linux-next: build warning after merge of the amdgpu tree

Hi all,

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")

--
Cheers,
Stephen Rothwell

#2 lore raw

Hi,

Quoted 2 lines · Prike

Hi, Rothwell

(Stephen, actually :-))

Quoted 2 lines

This fix solution hasn't locked down and still being discussed and roll-updated in the NVMe mail group. Will update the patch once it refined done.

In which case, this patch should not be in linux-next (or any branch that is included by linux-next).

Signature · 2 lines
Cheers,
Stephen Rothwell
#3 lore raw

[AMD Public Use]

Quoted 15 lines

From: Stephen Rothwell <[email protected]>
Sent: Friday, April 16, 2021 12:09 PM
To: Liang, Prike <[email protected]>
Cc: Alex Deucher <[email protected]>; S-k, Shyam-sundar <Shyam- [email protected]>; Linux Kernel Mailing List <linux- [email protected]>; Linux Next Mailing List <[email protected]>
Subject: Re: linux-next: build warning after merge of the amdgpu tree

Hi,

Quoted 2 lines · Prike

Hi, Rothwell

Quoted 9 lines

(Stephen, actually :-))

Quoted 1 line

This fix solution hasn't locked down and still being discussed and roll-

updated in the NVMe mail group.

Quoted 1 line

Will update the patch once it refined done.

In which case, this patch should not be in linux-next (or any branch that is included by linux-next).

How about revert the patch temporally ? Once lock down the solution and will land in the final latest patch.

Quoted 3 lines

--
Cheers,
Stephen Rothwell

#4 lore raw
Quoted 20 lines · Prike

[AMD Public Use]

Quoted 17 lines

From: Stephen Rothwell <[email protected]>
Sent: Friday, April 16, 2021 12:09 PM
To: Liang, Prike <[email protected]>
Cc: Alex Deucher <[email protected]>; S-k, Shyam-sundar <Shyam- [email protected]>; Linux Kernel Mailing List <linux- [email protected]>; Linux Next Mailing List <[email protected]>
Subject: Re: linux-next: build warning after merge of the amdgpu tree

Hi,

Quoted 2 lines · Prike

Hi, Rothwell

(Stephen, actually :-))

Quoted 8 lines
Quoted 7 lines
Quoted 1 line

This fix solution hasn't locked down and still being discussed and roll-

updated in the NVMe mail group.

Quoted 1 line

Will update the patch once it refined done.

In which case, this patch should not be in linux-next (or any branch that is included by linux-next).

How about revert the patch temporally ? Once lock down the solution and will land in the final latest patch.

I'll drop it for now. I just have it in there temporarily while it makes its way upstream because a lot of people use this branch and it fixes an important bug.

Alex

#5 lore raw
In reply to Stephen Rothwell

Hi all,

Quoted 4 lines · On Fri, 16 Apr 2021 12:40:44 +1000 Stephen Rothwell <[email protected]>…

After merging the amdgpu tree, today's linux-next build (powerpc ppc64_defconfig) produced this warning:

Quoted 8 lines

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.

Signature · 2 lines
Cheers,
Stephen Rothwell
#6 lore raw
Quoted 13 lines · Stephen Rothwell

Hi all,

Quoted 9 lines · On Fri, 16 Apr 2021 12:40:44 +1000 Stephen Rothwell <[email protected]>…

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;
| ^~~~

Quoted 5 lines
Quoted 3 lines

Introduced by commit

9597624ef606 ("nvme: put some AMD PCIE downstream NVME device to simple suspend/resume path")

I am still seeing this warning.

I no longer have that patch in my tree. Was this an old build?

Alex

Quoted 4 lines

--
Cheers,
Stephen Rothwell

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#7 lore raw

Hi Alex,

Quoted 13 lines · On Fri, 23 Apr 2021 16:36:50 -0400 Alex Deucher <[email protected]> wrote:
Quoted 11 lines · Stephen Rothwell
Quoted 9 lines · On Fri, 16 Apr 2021 12:40:44 +1000 Stephen Rothwell <[email protected]>…

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;
| ^~~~

Quoted 7 lines
Quoted 5 lines
Quoted 3 lines

Introduced by commit

9597624ef606 ("nvme: put some AMD PCIE downstream NVME device to simple suspend/resume path")

I am still seeing this warning.

I no longer have that patch in my tree. Was this an old build?

I guess my email crossed with the patch removal as I not longer get the warning. Thanks.

Signature · 2 lines
Cheers,
Stephen Rothwell