Re: [PATCH] genetlink: fix unsigned int comparison with less than zero

From: Cong Wang
Date: Mon Nov 14 2016 - 01:30:48 EST


On Sun, Nov 13, 2016 at 9:15 AM, David Miller <davem@xxxxxxxxxxxxx> wrote:
> I've commited the following to net-next:
>
> ====================
> [PATCH] genetlink: Make family a signed integer.
>
> The idr_alloc(), idr_remove(), et al. routines all expect IDs to be
> signed integers. Therefore make the genl_family member 'id' signed
> too.

This is exactly what I replied to Johannes.

Thanks for the fix!