]> git.baikalelectronics.ru Git - kernel.git/commit
drm/dp_mst: Drop DRM_ERROR() on kzalloc() fail in drm_dp_mst_handle_up_req()
authorLyude Paul <lyude@redhat.com>
Fri, 26 Mar 2021 20:38:06 +0000 (16:38 -0400)
committerLyude Paul <lyude@redhat.com>
Thu, 8 Apr 2021 21:47:26 +0000 (17:47 -0400)
commitc70c912a25b3a6477b7a6d3916b1753d6e5ac905
treef48df17f151ee150e0711860be46d16cc263f57f
parent59f94c838c7e86b5b48a20f75706fa4de1914f53
drm/dp_mst: Drop DRM_ERROR() on kzalloc() fail in drm_dp_mst_handle_up_req()

Checkpatch was complaining about this - there's no need for us to print
errors when kzalloc() fails, as kzalloc() will already WARN for us. So,
let's fix that before converting things to make checkpatch happy.

Signed-off-by: Lyude Paul <lyude@redhat.com>
Cc: Robert Foss <robert.foss@linaro.org>
Reviewed-by: Robert Foss <robert.foss@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20210326203807.105754-20-lyude@redhat.com
drivers/gpu/drm/drm_dp_mst_topology.c