summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2021-03-27 19:50:14 +0100
committerPatrick Georgi <pgeorgi@google.com>2021-05-03 07:38:52 +0000
commit54c4ecb9f26d5913f92d3568093d9cad37b8aab6 (patch)
treeac9dae204e8bd4dea183c33358d7fac456dcc5b0 /util
parent7e112aa7611b3511b9c7a5b2caf33bd9d0f124aa (diff)
nb/intel/common: Replace `_bar_clrsetbits_impl` macro
This macro contains a cast on the and-mask, which can suppress actual type overflow issues. Replace it with wrapper functions around the existing macros in device/mmio.h which still contain a type cast, but it is a non-issue because the wrapper functions now allow compilers to check for overflows. Change-Id: I975bf8152fc961767f0292bff4a03aecd8c65f56 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/51886 Reviewed-by: Nico Huber <nico.h@gmx.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'util')
0 files changed, 0 insertions, 0 deletions