All of lore.kernel.org
 help / color / mirror / Atom feed
* mainline build failure due to fa84f89395e0 ("irqchip/loongson-liointc: Fix build error for LoongArch")
@ 2022-06-04 10:34 Sudip Mukherjee
  2022-06-04 11:41 ` Jiaxun Yang
  2022-06-04 13:13 ` Huacai Chen
  0 siblings, 2 replies; 3+ messages in thread
From: Sudip Mukherjee @ 2022-06-04 10:34 UTC (permalink / raw)
  To: Huacai Chen, Marc Zyngier, WANG Xuerui, Jiaxun Yang
  Cc: Thomas Gleixner, linux-mips, linux-kernel, torvalds

Hi All,

The latest mainline kernel branch fails to build for "mips loongson2k_defconfig"
with the error:

drivers/irqchip/irq-loongson-liointc.c: In function 'liointc_chained_handle_irq':
drivers/irqchip/irq-loongson-liointc.c:60:20: error: implicit declaration of function 'cpu_logical_map' [-Werror=implicit-function-declaration]
   60 |         int core = cpu_logical_map(smp_processor_id()) % LIOINTC_NUM_CORES;


git bisect pointed to fa84f89395e0 ("irqchip/loongson-liointc: Fix build error for LoongArch")

And, reverting it on top of mainline branch has fixed the build failure.

--
Regards
Sudip

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: mainline build failure due to fa84f89395e0 ("irqchip/loongson-liointc: Fix build error for LoongArch")
  2022-06-04 10:34 mainline build failure due to fa84f89395e0 ("irqchip/loongson-liointc: Fix build error for LoongArch") Sudip Mukherjee
@ 2022-06-04 11:41 ` Jiaxun Yang
  2022-06-04 13:13 ` Huacai Chen
  1 sibling, 0 replies; 3+ messages in thread
From: Jiaxun Yang @ 2022-06-04 11:41 UTC (permalink / raw)
  To: Sudip Mukherjee, Huacai Chen, Marc Zyngier, WANG Xuerui
  Cc: Thomas Gleixner, linux-mips, linux-kernel, torvalds



在 2022/6/4 11:34, Sudip Mukherjee 写道:
> Hi All,
>
> The latest mainline kernel branch fails to build for "mips loongson2k_defconfig"
> with the error:
>
> drivers/irqchip/irq-loongson-liointc.c: In function 'liointc_chained_handle_irq':
> drivers/irqchip/irq-loongson-liointc.c:60:20: error: implicit declaration of function 'cpu_logical_map' [-Werror=implicit-function-declaration]
>     60 |         int core = cpu_logical_map(smp_processor_id()) % LIOINTC_NUM_CORES;
>
>
> git bisect pointed to fa84f89395e0 ("irqchip/loongson-liointc: Fix build error for LoongArch")
>
> And, reverting it on top of mainline branch has fixed the build failure.
Thanks for the reminder.
I'll prepare a patch for it.

Thanks
- Jiaxun

>
> --
> Regards
> Sudip


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: mainline build failure due to fa84f89395e0 ("irqchip/loongson-liointc: Fix build error for LoongArch")
  2022-06-04 10:34 mainline build failure due to fa84f89395e0 ("irqchip/loongson-liointc: Fix build error for LoongArch") Sudip Mukherjee
  2022-06-04 11:41 ` Jiaxun Yang
@ 2022-06-04 13:13 ` Huacai Chen
  1 sibling, 0 replies; 3+ messages in thread
From: Huacai Chen @ 2022-06-04 13:13 UTC (permalink / raw)
  To: Sudip Mukherjee
  Cc: Huacai Chen, Marc Zyngier, WANG Xuerui, Jiaxun Yang,
	Thomas Gleixner, open list:MIPS, LKML, Linus Torvalds

Hi, Sudip,

On Sat, Jun 4, 2022 at 8:38 PM Sudip Mukherjee
<sudipm.mukherjee@gmail.com> wrote:
>
> Hi All,
>
> The latest mainline kernel branch fails to build for "mips loongson2k_defconfig"
> with the error:
>
> drivers/irqchip/irq-loongson-liointc.c: In function 'liointc_chained_handle_irq':
> drivers/irqchip/irq-loongson-liointc.c:60:20: error: implicit declaration of function 'cpu_logical_map' [-Werror=implicit-function-declaration]
>    60 |         int core = cpu_logical_map(smp_processor_id()) % LIOINTC_NUM_CORES;
>
>
> git bisect pointed to fa84f89395e0 ("irqchip/loongson-liointc: Fix build error for LoongArch")
>
> And, reverting it on top of mainline branch has fixed the build failure.
Jiaxun has already sent a patch to fix it.

Huacai
>
> --
> Regards
> Sudip

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-06-04 13:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-04 10:34 mainline build failure due to fa84f89395e0 ("irqchip/loongson-liointc: Fix build error for LoongArch") Sudip Mukherjee
2022-06-04 11:41 ` Jiaxun Yang
2022-06-04 13:13 ` Huacai Chen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.