On Mon, Jul 17, 2023 at 11:43:28AM +0200, Jan Beulich wrote:
> As supported by the printk() (deliberately made visible in context by
> also correcting a mis-indented return statement), "above 4GiB" is meant
> here. Avoid comparison with a constant to "escape" Misra rule 7.2
> complaints. (Note however that even up-to-date Linux, which is where we
> "inherited" this code from, still uses the very same off-by-1 check.)
> 
> Fixes: 94ea0622c5b8 ("x86-64/mmcfg: relax base address restriction")
> Signed-off-by: Jan Beulich <[email protected]>

Acked-by: Roger Pau Monné <[email protected]>

Albeit I wonder how relevant those checks are anymore, TBH I would be
quite tempted to just drop all this.

Thanks, Roger.

Reply via email to