Re: [PATCH] bnxt_en: Uninitialized variable in bnxt_tc_parse_actions()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Michael Chan <michael.chan@xxxxxxxxxxxx>
Date: Wed, 6 Dec 2017 11:16:55 -0800

> On Tue, Dec 5, 2017 at 6:37 AM, Dan Carpenter <dan.carpenter@xxxxxxxxxx> 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@xxxxxxxxxx>
> 
> Thanks.
> 
> Acked-by: Michael Chan <michael.chan@xxxxxxxxxxxx>

Applied to net-next, thanks everyone.
--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux