Prev: USB device getting different product ids
Next: [PATCH] regulator: Remove default DEBUG define from TPS6586x
From: Tejun Heo on 10 Aug 2010 11:10 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(a)gmail.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(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |