* Re: linux-next: Tree for May 5 (drivers/pci/pcie/bwctrl.c)
[not found] <20250505184148.210cf0aa@canb.auug.org.au>
@ 2025-05-05 23:31 ` Randy Dunlap
2025-05-06 11:25 ` Ilpo Järvinen
0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2025-05-05 23:31 UTC (permalink / raw)
To: Stephen Rothwell, Linux Next Mailing List
Cc: Linux Kernel Mailing List, linux-pci, Ilpo Järvinen
On 5/5/25 1:41 AM, Stephen Rothwell wrote:
> Hi all,
>
> Changes since 20250502:
>
on x86_64:
drivers/pci/pcie/bwctrl.c:56:22: warning: 'pcie_bwctrl_lbms_rwsem' defined but not used [-Wunused-variable]
56 | static DECLARE_RWSEM(pcie_bwctrl_lbms_rwsem);
| ^~~~~~~~~~~~~~~~~~~~~~
include/linux/rwsem.h:153:29: note: in definition of macro 'DECLARE_RWSEM'
153 | struct rw_semaphore lockname = __RWSEM_INITIALIZER(lockname)
| ^~~~~~~~
--
~Randy
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: linux-next: Tree for May 5 (drivers/pci/pcie/bwctrl.c)
2025-05-05 23:31 ` linux-next: Tree for May 5 (drivers/pci/pcie/bwctrl.c) Randy Dunlap
@ 2025-05-06 11:25 ` Ilpo Järvinen
0 siblings, 0 replies; 2+ messages in thread
From: Ilpo Järvinen @ 2025-05-06 11:25 UTC (permalink / raw)
To: Randy Dunlap
Cc: Stephen Rothwell, Linux Next Mailing List,
Linux Kernel Mailing List, linux-pci
On Mon, 5 May 2025, Randy Dunlap wrote:
>
>
> On 5/5/25 1:41 AM, Stephen Rothwell wrote:
> > Hi all,
> >
> > Changes since 20250502:
> >
>
> on x86_64:
>
> drivers/pci/pcie/bwctrl.c:56:22: warning: 'pcie_bwctrl_lbms_rwsem' defined but not used [-Wunused-variable]
> 56 | static DECLARE_RWSEM(pcie_bwctrl_lbms_rwsem);
> | ^~~~~~~~~~~~~~~~~~~~~~
> include/linux/rwsem.h:153:29: note: in definition of macro 'DECLARE_RWSEM'
> 153 | struct rw_semaphore lockname = __RWSEM_INITIALIZER(lockname)
> | ^~~~~~~~
Thank for the heads up, I don't know what I was thinking. I remove all
code related to that rwsem but forgot to remove the rwsem itself. I'll
send a patch once our build tester has had the opportunity to check it.
--
i.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-05-06 11:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20250505184148.210cf0aa@canb.auug.org.au>
2025-05-05 23:31 ` linux-next: Tree for May 5 (drivers/pci/pcie/bwctrl.c) Randy Dunlap
2025-05-06 11:25 ` Ilpo Järvinen
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).