From: David Miller <davem@davemloft.net>
To: sasha.levin@oracle.com
Cc: linux-kernel@vger.kernel.org, nicolas.dichtel@6wind.com,
jiri@resnulli.us, tgraf@suug.ch, jhs@mojatatu.com,
roopa@cumulusnetworks.com, cwang@twopensource.com,
daniel@iogearbox.net, netdev@vger.kernel.org
Subject: Re: [PATCH] rtnetlink: avoid 0 sized arrays
Date: Tue, 24 Feb 2015 15:39:39 -0500 (EST) [thread overview]
Message-ID: <20150224.153939.917153133065621199.davem@davemloft.net> (raw)
In-Reply-To: <1424805277-7914-1-git-send-email-sasha.levin@oracle.com>
From: Sasha Levin <sasha.levin@oracle.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@oracle.com>
Applied, thanks.
prev parent reply other threads:[~2015-02-24 20:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-24 19:14 Sasha Levin
2015-02-24 20:39 ` David Miller [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150224.153939.917153133065621199.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=cwang@twopensource.com \
--cc=daniel@iogearbox.net \
--cc=jhs@mojatatu.com \
--cc=jiri@resnulli.us \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=nicolas.dichtel@6wind.com \
--cc=roopa@cumulusnetworks.com \
--cc=sasha.levin@oracle.com \
--cc=tgraf@suug.ch \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®