Re: [PATCH] semaphore: Resolve some shadow warnings

From: Peter Zijlstra
Date: Wed Sep 03 2014 - 05:39:57 EST


On Tue, Sep 02, 2014 at 09:16:23PM +0000, Rustad, Mark D wrote:
>
> It would, but then it would be unclear as to what units the timeout
> was in. I have no other objection to timeout, I was just trying to
> preserve the meaning in the existing overloaded name. The "n" to me
> suggests a number and, if anything, number of jiffies conveys a more
> precise meaning than simply jiffies did.

Use a comment for the unit. If you look you'll find tons of 'timeout'
variables that measure in jiffies (and others of course).
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/