Re: [PATCH v3 2/2] powerpc/powermac: constify device_node in of_irq_parse_oldworld()

From
Rob Herring <robh@kernel.org>
Date
2021-10-04 17:00:19
Also in
linuxppc-dev, lkml
Reply to
Krzysztof Kozlowski, 2021-09-24
On Fri, 24 Sep 2021 12:56:53 +0200, Krzysztof Kozlowski wrote:
The of_irq_parse_oldworld() does not modify passed device_node so make
it a pointer to const for safety.  Drop the extern while modifying the
line.

Signed-off-by: Krzysztof Kozlowski <redacted>

---

Changes since v1:
1. Drop extern.
---
 arch/powerpc/platforms/powermac/pic.c | 2 +-
 include/linux/of_irq.h                | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)
Acked-by: Rob Herring <robh@kernel.org>
Thread (4 messages) 4 messages, 3 authors, last reply 2022-05-24
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