Skip to content
Commit 3f738f58 authored by Jacob Garber's avatar Jacob Garber Committed by Anup Patel
Browse files

lib: Use bitwise & instead of boolean &&



!(mipval && MIP_MSIP) simplifies to !mipval, which checks if the entire
variable is zero, not just a single bit. Fix this to use bitwise &
instead.

Signed-off-by: default avatarJacob Garber <jgarber1@ualberta.ca>
Reviewed-by: default avatarBin Meng <bmeng.cn@gmail.com>
Reviewed-by: default avatarAtish Patra <atish.patra@wdc.com>
parent 88c87f0a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment