[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20171206.142542.491013112912141715.davem@davemloft.net>
Date: Wed, 06 Dec 2017 14:25:42 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: michael.chan@...adcom.com
Cc: dan.carpenter@...cle.com, sathya.perla@...adcom.com,
netdev@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] bnxt_en: Uninitialized variable in
bnxt_tc_parse_actions()
From: Michael Chan <michael.chan@...adcom.com>
Date: Wed, 6 Dec 2017 11:16:55 -0800
> On Tue, Dec 5, 2017 at 6:37 AM, Dan Carpenter <dan.carpenter@...cle.com> wrote:
>> Smatch warns that:
>>
>> drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c:160 bnxt_tc_parse_actions()
>> error: uninitialized symbol 'rc'.
>>
>> "rc" is either uninitialized or set to zero here so we can just remove
>> the check.
>>
>> Fixes: 8c95f773b4a3 ("bnxt_en: add support for Flower based vxlan encap/decap offload")
>> Signed-off-by: Dan Carpenter <dan.carpenter@...cle.com>
>
> Thanks.
>
> Acked-by: Michael Chan <michael.chan@...adcom.com>
Applied to net-next, thanks everyone.
Powered by blists - more mailing lists