Re: [RFC PATCH v3 11/12] powerpc: Remove unreachable() from WARN_ON()

From
Christophe Leroy <hidden>
Date
2022-07-04 12:34:17
Also in
linux-arm-kernel, lkml
Reply to
Peter Zijlstra, 2022-07-04

Le 04/07/2022 à 13:45, Peter Zijlstra a écrit :
On Wed, Jun 29, 2022 at 06:30:23PM +0000, Christophe Leroy wrote:

quoted
The problem is that that function has size 0:

00000000000003d0 l     F .text	0000000000000000
qdisc_root_sleeping_lock.part.0
I'm somewhat confused; how is an empty STT_FUNC a valid construct on
Power?
So am I. It is likely not a valid construct, but that's what GCC seems 
to generate when you call annotate_unreachable().
Thread (41 messages) 41 messages, 7 authors, last reply 2022-07-08
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