YueHaibing 2607391882 video: fbdev: pxafb: Fix "WARNING: invalid free of devm_ allocated data"
'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@kernel.org [v4.19+]
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Reviewed-by: Daniel Mack <daniel@zonque.org>
Cc: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
2018-12-20 19:13:08 +01:00
..
2018-10-08 12:57:35 +02:00
2018-06-17 05:00:24 +09:00
2017-02-25 13:20:22 -08:00
2018-06-17 05:00:24 +09:00
2018-09-26 18:11:22 +02:00
2017-09-04 16:00:49 +02:00
2017-05-27 15:41:17 -04:00
2018-06-12 16:19:22 -07:00
2018-12-20 19:13:07 +01:00
2018-06-12 16:19:22 -07:00