mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-23 05:56:14 -04:00
drm: remove const attribute to hint at caller that they now own the memory
Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com> Reviewed-by: Jani Nikula <jani.nikula@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
committed by
Daniel Vetter
parent
b0f566838c
commit
d382814707
@@ -837,7 +837,7 @@ static int drm_atomic_plane_check(struct drm_plane *plane,
|
||||
/* Check whether this plane supports the fb pixel format. */
|
||||
ret = drm_plane_check_pixel_format(plane, state->fb->pixel_format);
|
||||
if (ret) {
|
||||
const char *format_name = drm_get_format_name(state->fb->pixel_format);
|
||||
char *format_name = drm_get_format_name(state->fb->pixel_format);
|
||||
DRM_DEBUG_ATOMIC("Invalid pixel format %s\n", format_name);
|
||||
kfree(format_name);
|
||||
return ret;
|
||||
|
||||
Reference in New Issue
Block a user