Re: [PATCH v2 0/2] x86: Check return values for early memory/IO remap calls

2023-01-03 Thread Ross Philipson
On 11/10/22 10:45, Ross Philipson wrote: While sending an earlier patch set it was discovered that there are a number of places in early x86 code were the functions early_memremap() and early_ioremap() are called but the returned pointer is not checked for NULL. Since NULL can be returned for a

[PATCH v2 0/2] x86: Check return values for early memory/IO remap calls

2022-11-10 Thread Ross Philipson
While sending an earlier patch set it was discovered that there are a number of places in early x86 code were the functions early_memremap() and early_ioremap() are called but the returned pointer is not checked for NULL. Since NULL can be returned for a couple of reasons, the return value should