sh: fixup section mismatch worning for intc_set_ack_handle()
Quoted 11 lines · Kuninori Morimoto
This patch fixup below warning
WARNING: drivers/built-in.o(.text+0x5d760):
Section mismatch in reference from the functionintc_set_ack_handle()to the function .init.text:intc_ack_data() The functionintc_set_ack_handle()
references the function__initintc_ack_data().
This is often becauseintc_set_ack_handlelacks a__initannotation or the annotation ofintc_ack_datais wrong.Signed-off-by Kuninori Morimoto <[email protected]>
Hmm, no. This is just papering over the problem. The real issue is that intc_ack_data() is flagged __init when it shouldn't be. I'll fix it up, thanks for reporting it.
Hi Paul
Quoted 8 lines
Quoted 8 lines
WARNING: drivers/built-in.o(.text+0x5d760):
Section mismatch in reference from the functionintc_set_ack_handle()to the function .init.text:intc_ack_data() The functionintc_set_ack_handle()
references the function__initintc_ack_data().
This is often becauseintc_set_ack_handlelacks a__initannotation or the annotation ofintc_ack_datais wrong.
Quoted 5 lines
Quoted 1 line
Signed-off-by Kuninori Morimoto <[email protected]>Hmm, no. This is just papering over the problem. The real issue is that
intc_ack_data()is flagged__initwhen it shouldn't be. I'll fix it up, thanks for reporting it.
OK. thank you.
please add
Best regards
---
Kuninori Morimoto