LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File 0004-drm-Remove-use-of-non-exisiting-__malloc-attribute.patch of Package drm (Project home:tiwai:bnc1050256)

From 7605c2ead19390238503ae5b2725f3d25d3e3cc9 Mon Sep 17 00:00:00 2001
From: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Date: Wed, 29 Mar 2017 11:42:10 +0200
Subject: [PATCH 04/12] drm: Remove use of non-exisiting __malloc attribute

Signed-off-by: Patrik Jakobsson <pjakobsson@suse.de>
---
 include/drm/drm_fourcc.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/drm/drm_fourcc.h b/include/drm/drm_fourcc.h
index 30c30fa..f82fcbd 100644
--- a/include/drm/drm_fourcc.h
+++ b/include/drm/drm_fourcc.h
@@ -33,6 +33,6 @@ int drm_format_horz_chroma_subsampling(uint32_t format);
 int drm_format_vert_chroma_subsampling(uint32_t format);
 int drm_format_plane_width(int width, uint32_t format, int plane);
 int drm_format_plane_height(int height, uint32_t format, int plane);
-char *drm_get_format_name(uint32_t format) __malloc;
+char *drm_get_format_name(uint32_t format);
 
 #endif /* __DRM_FOURCC_H__ */
-- 
2.12.0