[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <bb0e51ad-eb6d-7adf-34e5-8e9959081c26@samsung.com>
Date: Thu, 20 Dec 2018 17:57:42 +0100
From: Bartlomiej Zolnierkiewicz <b.zolnierkie@...sung.com>
To: YueHaibing <yuehaibing@...wei.com>
Cc: daniel@...que.org, robert.jarzmik@...e.fr,
linux-kernel@...r.kernel.org, linux-fbdev@...r.kernel.org,
dri-devel@...ts.freedesktop.org, stable@...nel.org
Subject: Re: [PATCH v2 -next] video: fbdev: pxafb: Fix
"WARNING: invalid free of devm_ allocated data"
On 11/19/2018 02:36 AM, YueHaibing wrote:
> 'info->modes' got allocated with devm_kcalloc in of_get_pxafb_display.
>
> This gives this error message:
> ./drivers/video/fbdev/pxafb.c:2238:2-7: WARNING: invalid free of devm_ allocated data
>
> Fixes: c8f96304ec8b4 ("video: fbdev: pxafb: switch to devm_* API")
> Cc: stable@...nel.org [v4.19+]
> Signed-off-by: YueHaibing <yuehaibing@...wei.com>
> Reviewed-by: Daniel Mack <daniel@...que.org>
Patch queued for 4.21, thanks.
Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics
Powered by blists - more mailing lists