Re: SMATCH indicates warning to almost all files in Linux Kernel + ARM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Luc

> > I tried variously things, and it seems smatch doesn't check #if ?
> > This lse.h file is this construction.
> >
> > --- lse.h ----------
> >         ...
> >         #if defined(CONFIG_AS_LSE) && defined(CONFIG_ARM64_LSE_ATOMICS)
> 
> I'm sure that smatch does check #if, but the wrong warnings you saw about the
> escaped 'l' & 'o' are issued during tokenization, before the
> pre-processing took place.
> So using #ifdef __ASSEMBLER  or anything using pre-processing won't help you.
> The commit I gave here above is really needed.

OK, thank you for your help.
I'm looking forward to use your patch

Best regards
---
Kuninori Morimoto
--
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux