[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150224.153939.917153133065621199.davem@davemloft.net>
Date: Tue, 24 Feb 2015 15:39:39 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: sasha.levin@...cle.com
Cc: linux-kernel@...r.kernel.org, nicolas.dichtel@...nd.com,
jiri@...nulli.us, tgraf@...g.ch, jhs@...atatu.com,
roopa@...ulusnetworks.com, cwang@...pensource.com,
daniel@...earbox.net, netdev@...r.kernel.org
Subject: Re: [PATCH] rtnetlink: avoid 0 sized arrays
From: Sasha Levin <sasha.levin@...cle.com>
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@...cle.com>
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists