Re: [PATCH] mailbox: mtk-gpueb: Add missing 'static' to mailbox ops struct

From
AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Date
2025-10-15 14:58:36
Also in
linux-mediatek, lkml
Reply to
Nicolas Frattaroli, 2025-10-13
Il 13/10/25 10:09, Nicolas Frattaroli ha scritto:
mtk_gpueb_mbox_ops should be declared static. However, due to its const
nature, this specifier was missed, as it compiled fine without it and
with no warning by the compiler.

arc-linux-gcc (GCC) 12.5.0 doesn't seem to like it however, so add the
static to fix that.

Reported-by: kernel test robot <redacted>
Closes: https://lore.kernel.org/oe-kbuild-all/202510100629.3nGvrhEU-lkp@intel.com/ (local)
Fixes: dbca0eabb821 ("mailbox: add MediaTek GPUEB IPI mailbox")
Signed-off-by: Nicolas Frattaroli <nicolas.frattaroli@collabora.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>


Thread (2 messages) 2 messages, 2 authors, last reply 2025-10-15
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help