WARN_ON() is buggy for 32 bit systems

Dan Carpenter dan.carpenter at oracle.com
Thu Jan 27 00:49:48 AEDT 2022


On Wed, Jan 26, 2022 at 12:21:49PM +0000, Christophe Leroy wrote:
> The code is enclosed in a #ifdef CONFIG_PPC64, it is not used for PPC32:
> 
> /arch/powerpc/include/asm/bug.h
>    99  #ifdef CONFIG_PPC64

Ah...

You know, life would be a lot easier for me personally if we added an
#ifndef __CHECKER__ as well...  I can't compile PowerPC code so I can't
test a patch like that.

regards,
dan carpenter



More information about the Linuxppc-dev mailing list