[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACKFLinE9vWuooML4RhZHN0Xo2yr4cB90hEwizdEP3U6DLaoFA@mail.gmail.com>
Date: Wed, 6 Dec 2017 11:16:55 -0800
From: Michael Chan <michael.chan@...adcom.com>
To: Dan Carpenter <dan.carpenter@...cle.com>
Cc: Sathya Perla <sathya.perla@...adcom.com>,
Netdev <netdev@...r.kernel.org>, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] bnxt_en: Uninitialized variable in bnxt_tc_parse_actions()
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>
Powered by blists - more mailing lists