On Tue, Aug 05, 2025 at 06:50:57AM +0400, Miaoqian Lin wrote: > Replace NULL check with IS_ERR() check after calling page_pool_create() > since this function returns error pointers (ERR_PTR). > Using NULL check could lead to invalid pointer dereference. > > Fixes: 8533b14b3d65 ("eth: mlx4: create a page pool for Rx") > Signed-off-by: Miaoqian Lin <linmq006@xxxxxxxxx> Reviewed-by: Simon Horman <horms@xxxxxxxxxx>