I like the introduction of the common MCHBAR accessor functions.
Should we make them take a mask of bits to clear like the new
pnp `unset_and_set` functions (CB:42134)?
NB. Please stop pretending that anything is fixed, if the change
merely silences wrong warnings.
1 comment:
nb/intel/pineview: Use new mchbar{8,16,32}_and_or()
This fix the overflow error we have with MCHBARx_AND_OR macros:
These two statements seem not related. Switching from macros to
functions only changes where the numbers are reduced (where the
overflow is noticed) but shouldn't get rid of the warnings (unless
the compiler is confused). The spurious warnings are then hidden
by manual casts, AFAICS.
To view, visit change 45517. To unsubscribe, or for help writing mail filters, visit settings.