[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20141218011001.GA88947@lkp-sb04>
Date: Thu, 18 Dec 2014 09:10:01 +0800
From: kbuild test robot <fengguang.wu@...el.com>
To: Rob Clark <robdclark@...il.com>
Cc: kbuild-all@...org, David Airlie <airlied@...ux.ie>,
dri-devel@...ts.freedesktop.org, linux-kernel@...r.kernel.org
Subject: [PATCH robclark] drm: get_properties() can be static
drivers/gpu/drm/drm_crtc.c:1995:5: sparse: symbol 'get_properties' was not declared. Should it be static?
Signed-off-by: Fengguang Wu <fengguang.wu@...el.com>
---
drm_crtc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/drm_crtc.c b/drivers/gpu/drm/drm_crtc.c
index dcfd64e5..a80a29b 100644
--- a/drivers/gpu/drm/drm_crtc.c
+++ b/drivers/gpu/drm/drm_crtc.c
@@ -1992,7 +1992,7 @@ static struct drm_encoder *drm_connector_get_encoder(struct drm_connector *conne
}
/* helper for getconnector and getproperties ioctls */
-int get_properties(struct drm_mode_object *obj, uint32_t __user *prop_ptr,
+static int get_properties(struct drm_mode_object *obj, uint32_t __user *prop_ptr,
uint64_t __user *prop_values, uint32_t *arg_count_props)
{
int props_count = obj->properties->count;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists