On Fri, Sep 01, 2017 at 07:53:26PM +0300, ville.syrjala@xxxxxxxxxxxxxxx wrote: > From: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx> > > 'user_handles' needs a __user annotation for fix the following sparse > warning: > drm_syncobj.c:813:37: warning: incorrect type in argument 2 (different address spaces) > drm_syncobj.c:813:37: expected void const [noderef] <asn:1>*from > drm_syncobj.c:813:37: got void *user_handles > drm_syncobj.c:875:38: warning: incorrect type in argument 2 (different address spaces) > drm_syncobj.c:875:38: expected void *user_handles > drm_syncobj.c:875:38: got void [noderef] <asn:1>*<noident> > drm_syncobj.c:908:38: warning: incorrect type in argument 2 (different address spaces) > drm_syncobj.c:908:38: expected void *user_handles > drm_syncobj.c:908:38: got void [noderef] <asn:1>*<noident> > drm_syncobj.c:941:38: warning: incorrect type in argument 2 (different address spaces) > drm_syncobj.c:941:38: expected void *user_handles > drm_syncobj.c:941:38: got void [noderef] <asn:1>*<noident> > > Cc: Jason Ekstrand <jason@xxxxxxxxxxxxxx> > Fixes: 3e6fb72d6cef ("drm/syncobj: Add a syncobj_array_find helper") > Signed-off-by: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx> > --- > drivers/gpu/drm/drm_syncobj.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Thierry Reding <treding@xxxxxxxxxx>
Attachment:
signature.asc
Description: PGP signature
_______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel