Re: [PATCH] Fix kfifo_alloc() to return a signed int value
From: Andrew Morton
Date: Wed Oct 20 2010 - 17:17:45 EST
On Wed, 20 Oct 2010 22:12:23 +0200
stefani@xxxxxxxxxxx wrote:
> This patch adds a new __kfifo_int_must_check_helper() helper function,
> which is needed for kfifo_alloc() to return the right signed integer
> value.
>
> The origin __kfifo_must_check_helper() helper was renamed into
> __kfifo_uint_must_check_helper() to show the sign which is expected and
> returned.
>
> Signed-off-by: Stefani Seibold <stefani@xxxxxxxxxxx>
> ---
> include/linux/kfifo.h | 28 +++++++++++++++++-----------
We're probably just days away from 2.6.36. I went with the
safe-and-stupid fix. I'll queue this patch for 2.6.37-rc1.
--
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/