]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
irqdomain: Fix up const problem in irq_domain_set_name()
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Dec 2025 12:46:32 +0000 (13:46 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 18 Dec 2025 23:39:39 +0000 (00:39 +0100)
commit90876d9b37a0db170d5998c6c903eab2d56fd7cb
treef6b91e4ff81964c6f766afa6f574cfb1c79a20f9
parentdbcc728e185f8c27fcafa1408ff63fe38c7dc72d
irqdomain: Fix up const problem in irq_domain_set_name()

In irq_domain_set_name() a const pointer is passed in, and then the
const is "lost" when container_of() is called.  Fix this up by properly
preserving the const pointer attribute when container_of() is used to
enforce the fact that this pointer should not have anything at it
changed.

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://patch.msgid.link/2025121731-facing-unhitched-63ae@gregkh
kernel/irq/irqdomain.c