Milos Nikic, le jeu. 19 juin 2025 16:51:05 +0100, a ecrit: > This keeps the behavior intact while eliminating the warning.
Applied, thanks! > --- > i386/i386/smp.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/i386/i386/smp.c b/i386/i386/smp.c > index e3e4cc82..53d9b876 100644 > --- a/i386/i386/smp.c > +++ b/i386/i386/smp.c > @@ -134,6 +134,8 @@ smp_send_ipi_startup_twice(int bsp_apic_id, int vector) > for (i = 0; i < 2; i++) { > lapic->error_status.r = 0; > err = lapic->error_status.r; > + /* Suppress unused variable warning for the necessary dummy read.*/ > + (void) err; > > /* StartUp IPI: > * > -- > 2.40.1 > > -- Samuel "How should I know if it works? That's what beta testers are for. I only coded it." (Attributed to Linus Torvalds, somewhere in a posting)