On Fri, Apr 18, 2014 at 05:49:04AM +0100, Al Viro wrote: > On Fri, Apr 18, 2014 at 06:35:56AM +0200, Andi Kleen wrote: > > From: Andi Kleen <a...@linux.intel.com> > > > > Apparently someone's C library declares strtoul with warn_unused_result. > > Cast to void to avoid the warning. Error handling is not useful here. > > Umm... Since we don't give a fsck for the value, isn't that simply
Yes your code is equivalent to mine. -Andi -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/