[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170822.161824.223361546462600595.davem@davemloft.net>
Date: Tue, 22 Aug 2017 16:18:24 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: colin.king@...onical.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH][net-next] MIPS,bpf: fix missing break in switch
statement
From: Colin King <colin.king@...onical.com>
Date: Tue, 22 Aug 2017 23:46:06 +0100
> From: Colin Ian King <colin.king@...onical.com>
>
> There is a missing break causing a fall-through and setting
> ctx.use_bbit_insns to the wrong value. Fix this by adding the
> missing break.
>
> Detected with cppcheck:
> "Variable 'ctx.use_bbit_insns' is reassigned a value before the old
> one has been used. 'break;' missing?"
>
> Fixes: 8d8d18c3283f ("MIPS,bpf: Fix using smp_processor_id() in preemptible splat.")
> Signed-off-by: Colin Ian King <colin.king@...onical.com>
> Acked-by: David Daney <david.daney@...ium.com>
Applied, thanks.
Powered by blists - more mailing lists