Re: Sparse crash when mixing int and enum in ternary operator

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

 



On Wed, 2010-03-10 at 00:30 +0100, Kamil Dudka wrote:

> Hopefully I got it.  The promissed fix, which includes new test-cases for ?:, 
> is attached.

Looks good!  "make check" works.  Checking the whole kernel produces no
core dumps.  The warnings appear to be legitimate.

I wonder is the quirk handling could be skipped for EXPR_SELECT, but I'm
fine with it if it's harmless.

When would expr or type be NULL?  We could check type in
warn_for_enum_conversions().

-- 
Regards,
Pavel Roskin
--
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