diff options
author | Jacob Garber <jgarber1@ualberta.ca> | 2019-06-10 16:32:47 -0600 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-07-10 10:15:51 +0000 |
commit | 975a7e3ba3e646f91a5c6e73968e9efd1a1521f1 (patch) | |
tree | 266c482f7ccd3bf7eadbe006f68ac33b7cc0f69b /util/msrtool/freebsd.c | |
parent | 64fb4a32e0b7e51f25f530d232fefc14c7523def (diff) |
nb/intel/nehalem: Tidy quickpath_reserved calculation
- Remove unnecessary braces
- Move variable assignment out of function call
- Do not find lowest bit set of 0, which is undefined
- Use unsigned integer when bit shifting
Change-Id: I8651f8cd04165d8d31c44f7919ad5e43499d3d4c
Signed-off-by: Jacob Garber <jgarber1@ualberta.ca>
Found-by: Coverity CID 1229562
Reviewed-on: https://review.coreboot.org/c/coreboot/+/33381
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'util/msrtool/freebsd.c')
0 files changed, 0 insertions, 0 deletions