On 23/02/2022 18:38, Julien Grall wrote:

From: Julien Grall <[email protected]><mailto:[email protected]>

free_heap_pages() has an ASSERT() checking that node is >= 0. However
node is defined as an unsigned int. So it cannot be negative.

Therefore remove the check as it will always be true.


Coverity-ID: 1055631


Signed-off-by: Julien Grall <[email protected]><mailto:[email protected]>

Acked-by: Andrew Cooper 
<[email protected]><mailto:[email protected]>

Reply via email to