[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <6021c3c3-dc4a-ec09-a0dc-23ff548fa9f1@embeddedor.com>
Date: Thu, 26 Jul 2018 16:32:01 -0500
From: "Gustavo A. R. Silva" <gustavo@...eddedor.com>
To: David Miller <davem@...emloft.net>
Cc: jiri@...lanox.com, jhs@...atatu.com, xiyou.wangcong@...il.com,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: sched: cls_api: fix dead code in switch
On 07/26/2018 04:10 PM, David Miller wrote:
> From: "Gustavo A. R. Silva" <gustavo@...eddedor.com>
> Date: Wed, 25 Jul 2018 09:07:24 -0500
>
>> Code at line 1850 is unreachable. Fix this by removing the break
>> statement above it, so the code for case RTM_GETCHAIN can be
>> properly executed.
>>
>> Addresses-Coverity-ID: 1472050 ("Structurally dead code")
>> Fixes: 32a4f5ecd738 ("net: sched: introduce chain object to uapi")
>> Signed-off-by: Gustavo A. R. Silva <gustavo@...eddedor.com>
>
> Applied, thanks.
>
> Please use "[PATCH net-next] ..." in your subject lines to indirect
> the tree that this change is relevant for and targetted to.
>
Got it. Will do next time.
Thanks
--
Gustavo
Powered by blists - more mailing lists