Re: [RFT 08/16] memory: omap-gpmc: Use WARN() instead of BUG() on wrong free

From: Krzysztof Kozlowski
Date: Mon Aug 17 2020 - 14:37:01 EST


On Fri, Jul 24, 2020 at 08:23:20PM +0200, Krzysztof Kozlowski wrote:
> Since driver tracks reserved memory, freeing a non-reserved GPMC should
> not be fatal and crash the system. Printing a warning is friendlier.
>
> Signed-off-by: Krzysztof Kozlowski <krzk@xxxxxxxxxx>
>
> ---
>
> Not tested on HW.
> ---
> drivers/memory/omap-gpmc.c | 3 +--

Applied.

Best regards,
Krzysztof