[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20171106135002.GA7055@salvia>
Date: Mon, 6 Nov 2017 14:50:02 +0100
From: Pablo Neira Ayuso <pablo@...filter.org>
To: Colin King <colin.king@...onical.com>
Cc: Jozsef Kadlecsik <kadlec@...ckhole.kfki.hu>,
Florian Westphal <fw@...len.de>,
Stephen Hemminger <stephen@...workplumber.org>,
"David S . Miller" <davem@...emloft.net>,
netfilter-devel@...r.kernel.org, coreteam@...filter.org,
bridge@...ts.linux-foundation.org, netdev@...r.kernel.org,
kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] netfilter: ebtables: clean up initialization of buf
On Mon, Oct 16, 2017 at 11:24:02AM +0100, Colin King wrote:
> From: Colin Ian King <colin.king@...onical.com>
>
> buf is initialized to buf_start and then set on the next statement
> to buf_start + offsets[i]. Clean this up to just initialize buf
> to buf_start + offsets[i] to clean up the clang build warning:
> "Value stored to 'buf' during its initialization is never read"
Applied, thanks.
Powered by blists - more mailing lists