[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4C616B24.3070202@kernel.org>
Date: Tue, 10 Aug 2010 17:07:16 +0200
From: Tejun Heo <tj@...nel.org>
To: Namhyung Kim <namhyung@...il.com>
CC: linux-kernel@...r.kernel.org
Subject: Re: [PATCH] percpu: use INT_MAX as sentinel value of unit_map
On 08/10/2010 04:58 PM, Namhyung Kim wrote:
> unit_map is a pointer to int so it would be more reasonable to use INT_MAX
> as sentinel value.
>
> Signed-off-by: Namhyung Kim <namhyung@...il.com>
Hmmm... yeah unit_map used to be uint. I'd much prefer -1 (which
would actually result in the same code BTW) over INT_MAX tho.
Thanks.
--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists