[PATCH] drm/bridge: dw-mipi-dsi: Use kmemdup cf. kmalloc+memcpy
Alex Dewar
alex.dewar90 at gmail.com
Mon Sep 21 10:13:18 UTC 2020
> Hmm, I applied this already:
> commit 33f290811d4c1a09c4e92f5bf0458525835dbcba
> Author: Alex Dewar <alex.dewar90 at gmail.com>
> Date: Wed Sep 9 20:02:08 2020 +0100
>
> drm/bridge: dw-mipi-dsi: Use kmemdup cf. kmalloc+memcpy
>
> kmemdup can be used instead of kmalloc+memcpy. Replace an occurrence of
> this pattern.
>
> Issue identified with Coccinelle.
>
> Signed-off-by: Alex Dewar <alex.dewar90 at gmail.com>
> Acked-by: Neil Armstrong <narmstrong at baylibre.com>
> Signed-off-by: Neil Armstrong <narmstrong at baylibre.com>
> Link: https://patchwork.freedesktop.org/patch/msgid/20200909190213.156302-1-alex.dewar90@gmail.com
>
> Neil
Sorry! My bad. Thanks for applying :)
Alex
More information about the dri-devel
mailing list