Re: idio{,ma}tic typos (was Re: + fix-vm_can_nonlinear-check-in-sys_remap_file_pages.patch added to -mm tree)

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Morten Welinder <mwelinder@...>
Cc: Alexey Dobriyan <adobriyan@...>, Al Viro <viro@...>, <linux-kernel@...>, <davej@...>, Pierre Ossman <drzeus@...>, <akpm@...>, <linux-sparse@...>
Date: Wednesday, October 10, 2007 - 2:08 pm

Morten Welinder wrote:

Sparse has a notion of "integer constant expression" already, which it
uses to validate expressions used for things like bitfield widths or
array sizes.  I could easily have Sparse warn on any use of an integer
constant expression as an operand of || or &&.  However, I can imagine
that that might lead to some false positives when intentionally using
an integer constant expression in a condition and expecting the
compiler to optimize it out at compile time.

- Josh Triplett
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: idio{,ma}tic typos (was Re: + fix-vm_can_nonlinear-check..., Josh Triplett, (Wed Oct 10, 2:08 pm)