]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
LoongArch: dts: loongson-2k1000: Add default interrupt controller address cells
authorBinbin Zhou <zhoubinbin@loongson.cn>
Sat, 17 Jan 2026 02:56:53 +0000 (10:56 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 Jan 2026 10:21:32 +0000 (11:21 +0100)
commitdea25e8f6b7448c2db05d9e476688d6c94b60467
tree3ada4acc33365e833de1c8078d86a269b45088db
parentaa866e4a130801056d8495d2851aa9b9b7331a68
LoongArch: dts: loongson-2k1000: Add default interrupt controller address cells

commit 81e8cb7e504a5adbcc48f7f954bf3c2aa9b417f8 upstream.

Add missing address-cells 0 to the Local I/O interrupt controller node
to silence W=1 warning:

  loongson-2k1000.dtsi:498.5-55: Warning (interrupt_map): /bus@10000000/pcie@1a000000/pcie@9,0:interrupt-map:
    Missing property '#address-cells' in node /bus@10000000/interrupt-controller@1fe01440, using 0 as fallback

Value '0' is correct because:
1. The Local I/O interrupt controller does not have children,
2. interrupt-map property (in PCI node) consists of five components and
   the fourth component "parent unit address", which size is defined by
   '#address-cells' of the node pointed to by the interrupt-parent
   component, is not used (=0)

Cc: stable@vger.kernel.org
Signed-off-by: Binbin Zhou <zhoubinbin@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/loongarch/boot/dts/loongson-2k1000.dtsi