Re: [PATCH -next] net/mlx4_core: Add missing iounmap() in error path
From: David Miller
Date: Sat Apr 25 2020 - 23:44:15 EST
From: Zou Wei <zou_wei@xxxxxxxxxx>
Date: Fri, 24 Apr 2020 21:53:14 +0800
> This fixes the following coccicheck warning:
>
> drivers/net/ethernet/mellanox/mlx4/crdump.c:200:2-8: ERROR: missing iounmap;
> ioremap on line 190 and execution via conditional on line 198
>
> Fixes: 7ef19d3b1d5e ("devlink: report error once U32_MAX snapshot ids have been used")
> Reported-by: Hulk Robot <hulkci@xxxxxxxxxx>
> Signed-off-by: Zou Wei <zou_wei@xxxxxxxxxx>
Applied.