Re: [PATCH] rtnetlink: avoid 0 sized arrays

From: David Miller
Date: Tue Feb 24 2015 - 15:39:53 EST


From: Sasha Levin <sasha.levin@xxxxxxxxxx>
Date: Tue, 24 Feb 2015 14:14:35 -0500

> Arrays (when not in a struct) "shall have a value greater than zero".
>
> GCC complains when it's not the case here.
>
> Fixes: ba7d49b1f0 ("rtnetlink: provide api for getting and setting slave info")
> Signed-off-by: Sasha Levin <sasha.levin@xxxxxxxxxx>

Applied, thanks.
--
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/