* Re: linux-next: Tree for Aug 23 (hyperv)
[not found] <20230823161428.3af51dee@canb.auug.org.au>
@ 2023-08-24 1:45 ` Randy Dunlap
2023-08-24 3:14 ` Wei Liu
0 siblings, 1 reply; 3+ messages in thread
From: Randy Dunlap @ 2023-08-24 1:45 UTC (permalink / raw)
To: Stephen Rothwell, Linux Next Mailing List
Cc: Linux Kernel Mailing List, linux-hyperv@vger.kernel.org
[-- Attachment #1: Type: text/plain, Size: 5724 bytes --]
On 8/22/23 23:14, Stephen Rothwell wrote:
> Hi all,
>
> Changes since 20230822:
>
on x86_64:
In file included from ../arch/x86/hyperv/hv_init.c:20:
../arch/x86/include/asm/mshyperv.h:272:12: warning: 'hv_snp_boot_ap' defined but not used [-Wunused-function]
272 | static int hv_snp_boot_ap(int cpu, unsigned long start_ip) { return 0; }
| ^~~~~~~~~~~~~~
In file included from ../arch/x86/hyperv/mmu.c:9:
../arch/x86/include/asm/mshyperv.h:272:12: warning: 'hv_snp_boot_ap' defined but not used [-Wunused-function]
272 | static int hv_snp_boot_ap(int cpu, unsigned long start_ip) { return 0; }
| ^~~~~~~~~~~~~~
In file included from ../arch/x86/hyperv/nested.c:15:
../arch/x86/include/asm/mshyperv.h:272:12: warning: 'hv_snp_boot_ap' defined but not used [-Wunused-function]
272 | static int hv_snp_boot_ap(int cpu, unsigned long start_ip) { return 0; }
| ^~~~~~~~~~~~~~
In file included from ../arch/x86/hyperv/irqdomain.c:13:
../arch/x86/include/asm/mshyperv.h:272:12: warning: 'hv_snp_boot_ap' defined but not used [-Wunused-function]
272 | static int hv_snp_boot_ap(int cpu, unsigned long start_ip) { return 0; }
| ^~~~~~~~~~~~~~
In file included from ../arch/x86/hyperv/ivm.c:18:
../arch/x86/include/asm/mshyperv.h:272:12: warning: 'hv_snp_boot_ap' defined but not used [-Wunused-function]
272 | static int hv_snp_boot_ap(int cpu, unsigned long start_ip) { return 0; }
| ^~~~~~~~~~~~~~
In file included from ../arch/x86/hyperv/hv_apic.c:30:
../arch/x86/include/asm/mshyperv.h:272:12: warning: 'hv_snp_boot_ap' defined but not used [-Wunused-function]
272 | static int hv_snp_boot_ap(int cpu, unsigned long start_ip) { return 0; }
| ^~~~~~~~~~~~~~
In file included from ../arch/x86/hyperv/hv_proc.c:12:
../arch/x86/include/asm/mshyperv.h:272:12: warning: 'hv_snp_boot_ap' defined but not used [-Wunused-function]
272 | static int hv_snp_boot_ap(int cpu, unsigned long start_ip) { return 0; }
| ^~~~~~~~~~~~~~
In file included from ../arch/x86/mm/pat/set_memory.c:36:
../arch/x86/include/asm/mshyperv.h:272:12: warning: 'hv_snp_boot_ap' defined but not used [-Wunused-function]
272 | static int hv_snp_boot_ap(int cpu, unsigned long start_ip) { return 0; }
| ^~~~~~~~~~~~~~
In file included from ../arch/x86/kvm/x86.c:81:
../arch/x86/include/asm/mshyperv.h:272:12: warning: 'hv_snp_boot_ap' defined but not used [-Wunused-function]
272 | static int hv_snp_boot_ap(int cpu, unsigned long start_ip) { return 0; }
| ^~~~~~~~~~~~~~
In file included from ../arch/x86/kvm/hyperv.c:38:
../arch/x86/include/asm/mshyperv.h:272:12: warning: 'hv_snp_boot_ap' defined but not used [-Wunused-function]
272 | static int hv_snp_boot_ap(int cpu, unsigned long start_ip) { return 0; }
| ^~~~~~~~~~~~~~
In file included from ../arch/x86/kvm/kvm_onhyperv.c:8:
../arch/x86/include/asm/mshyperv.h:272:12: warning: 'hv_snp_boot_ap' defined but not used [-Wunused-function]
272 | static int hv_snp_boot_ap(int cpu, unsigned long start_ip) { return 0; }
| ^~~~~~~~~~~~~~
In file included from ../arch/x86/kernel/cpu/mtrr/generic.c:16:
../arch/x86/include/asm/mshyperv.h:272:12: warning: 'hv_snp_boot_ap' defined but not used [-Wunused-function]
272 | static int hv_snp_boot_ap(int cpu, unsigned long start_ip) { return 0; }
| ^~~~~~~~~~~~~~
In file included from ../drivers/clocksource/hyperv_timer.c:27:
../arch/x86/include/asm/mshyperv.h:272:12: warning: 'hv_snp_boot_ap' defined but not used [-Wunused-function]
272 | static int hv_snp_boot_ap(int cpu, unsigned long start_ip) { return 0; }
| ^~~~~~~~~~~~~~
In file included from ../drivers/hv/vmbus_drv.c:40:
../arch/x86/include/asm/mshyperv.h:272:12: warning: 'hv_snp_boot_ap' defined but not used [-Wunused-function]
272 | static int hv_snp_boot_ap(int cpu, unsigned long start_ip) { return 0; }
| ^~~~~~~~~~~~~~
In file included from ../drivers/hv/hv.c:22:
../arch/x86/include/asm/mshyperv.h:272:12: warning: 'hv_snp_boot_ap' defined but not used [-Wunused-function]
272 | static int hv_snp_boot_ap(int cpu, unsigned long start_ip) { return 0; }
| ^~~~~~~~~~~~~~
In file included from ../drivers/hv/connection.c:24:
../arch/x86/include/asm/mshyperv.h:272:12: warning: 'hv_snp_boot_ap' defined but not used [-Wunused-function]
272 | static int hv_snp_boot_ap(int cpu, unsigned long start_ip) { return 0; }
| ^~~~~~~~~~~~~~
In file included from ../drivers/hv/channel.c:22:
../arch/x86/include/asm/mshyperv.h:272:12: warning: 'hv_snp_boot_ap' defined but not used [-Wunused-function]
272 | static int hv_snp_boot_ap(int cpu, unsigned long start_ip) { return 0; }
| ^~~~~~~~~~~~~~
In file included from ../drivers/hv/ring_buffer.c:21:
../arch/x86/include/asm/mshyperv.h:272:12: warning: 'hv_snp_boot_ap' defined but not used [-Wunused-function]
272 | static int hv_snp_boot_ap(int cpu, unsigned long start_ip) { return 0; }
| ^~~~~~~~~~~~~~
In file included from ../drivers/hv/channel_mgmt.c:23:
../arch/x86/include/asm/mshyperv.h:272:12: warning: 'hv_snp_boot_ap' defined but not used [-Wunused-function]
272 | static int hv_snp_boot_ap(int cpu, unsigned long start_ip) { return 0; }
| ^~~~~~~~~~~~~~
In file included from ../drivers/hv/hv_common.c:29:
../arch/x86/include/asm/mshyperv.h:272:12: warning: 'hv_snp_boot_ap' defined but not used [-Wunused-function]
272 | static int hv_snp_boot_ap(int cpu, unsigned long start_ip) { return 0; }
| ^~~~~~~~~~~~~~
Full randconfig file is attached.
--
~Randy
[-- Attachment #2: config-r5760.gz --]
[-- Type: application/gzip, Size: 40259 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: linux-next: Tree for Aug 23 (hyperv)
2023-08-24 1:45 ` linux-next: Tree for Aug 23 (hyperv) Randy Dunlap
@ 2023-08-24 3:14 ` Wei Liu
2023-08-24 4:33 ` Randy Dunlap
0 siblings, 1 reply; 3+ messages in thread
From: Wei Liu @ 2023-08-24 3:14 UTC (permalink / raw)
To: Randy Dunlap
Cc: Stephen Rothwell, Linux Next Mailing List,
Linux Kernel Mailing List, linux-hyperv@vger.kernel.org, Wei Liu
On Wed, Aug 23, 2023 at 06:45:07PM -0700, Randy Dunlap wrote:
>
>
> On 8/22/23 23:14, Stephen Rothwell wrote:
> > Hi all,
> >
> > Changes since 20230822:
> >
>
> on x86_64:
>
> In file included from ../arch/x86/hyperv/hv_init.c:20:
> ../arch/x86/include/asm/mshyperv.h:272:12: warning: 'hv_snp_boot_ap' defined but not used [-Wunused-function]
> 272 | static int hv_snp_boot_ap(int cpu, unsigned long start_ip) { return 0; }
> | ^~~~~~~~~~~~~~
[...]
>
> Full randconfig file is attached.
Thanks for the email.
I think this is already fixed in hyperv-next. In the latest code,
hv_snp_boot_ap in has `inline` attribute.
Thanks,
Wei.
> --
> ~Randy
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: linux-next: Tree for Aug 23 (hyperv)
2023-08-24 3:14 ` Wei Liu
@ 2023-08-24 4:33 ` Randy Dunlap
0 siblings, 0 replies; 3+ messages in thread
From: Randy Dunlap @ 2023-08-24 4:33 UTC (permalink / raw)
To: Wei Liu
Cc: Stephen Rothwell, Linux Next Mailing List,
Linux Kernel Mailing List, linux-hyperv@vger.kernel.org
On 8/23/23 20:14, Wei Liu wrote:
> On Wed, Aug 23, 2023 at 06:45:07PM -0700, Randy Dunlap wrote:
>>
>>
>> On 8/22/23 23:14, Stephen Rothwell wrote:
>>> Hi all,
>>>
>>> Changes since 20230822:
>>>
>>
>> on x86_64:
>>
>> In file included from ../arch/x86/hyperv/hv_init.c:20:
>> ../arch/x86/include/asm/mshyperv.h:272:12: warning: 'hv_snp_boot_ap' defined but not used [-Wunused-function]
>> 272 | static int hv_snp_boot_ap(int cpu, unsigned long start_ip) { return 0; }
>> | ^~~~~~~~~~~~~~
> [...]
>>
>> Full randconfig file is attached.
>
> Thanks for the email.
>
> I think this is already fixed in hyperv-next. In the latest code,
> hv_snp_boot_ap in has `inline` attribute.
>
Sounds good. Thanks.
--
~Randy
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-08-24 4:34 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20230823161428.3af51dee@canb.auug.org.au>
2023-08-24 1:45 ` linux-next: Tree for Aug 23 (hyperv) Randy Dunlap
2023-08-24 3:14 ` Wei Liu
2023-08-24 4:33 ` Randy Dunlap
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox