[PATCH] seccomp: remove unnecessary unlikely()

James Morris jmorris at namei.org
Thu Sep 6 20:31:33 UTC 2018


On Wed, 5 Sep 2018, Igor Stoppa wrote:

> WARN_ON() already contains an unlikely(), so it's not necessary to wrap it
> into another.
> 
> Signed-off-by: Igor Stoppa <igor.stoppa at huawei.com>
> Acked-by: Kees Cook <keescook at chromium.org>
> Cc: linux-security-module at vger.kernel.org
> Cc: linux-kernel at vger.kernel.org

Applied to
git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security.git next-general

and next-testing.


Thanks!

-- 
James Morris
<jmorris at namei.org>



More information about the Linux-security-module-archive mailing list