]> www.infradead.org Git - users/jedix/linux-maple.git/commit
retpoline: add brackets to check_ibrs_inuse() and clear_ibpb_inuse()
authorChuck Anderson <chuck.anderson@oracle.com>
Mon, 26 Feb 2018 08:20:30 +0000 (00:20 -0800)
committerChuck Anderson <chuck.anderson@oracle.com>
Sat, 3 Mar 2018 01:58:26 +0000 (17:58 -0800)
commit576845ce0db2cb12621f9e5a57bfa606678ee1f1
tree9498db31b025d9978dfe4f24747f214a4856f304
parentc20da7de09e1e9d34261abfe6b44055175165ba0
retpoline: add brackets to check_ibrs_inuse() and clear_ibpb_inuse()

Add brackets to the "else" clause in both check_ibrs_inuse() and
clear_ibpb_inuse() to match indentations.  The brackets are not
required but may prevent a bug when indented code is mistakenly added
without adding brackets.

Orabug: 27625404
Signed-off-by: Chuck Anderson <chuck.anderson@oracle.com>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Reviewed-by: Darren Kenny <darren.kenny@oracle.com>
arch/x86/include/asm/spec_ctrl.h