diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2017-09-01 19:53:26 +0300 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2017-10-13 16:01:06 +0300 |
commit | 9e5544627339eccb18e53dd5800f30b6320d5cc3 (patch) | |
tree | 60355df1504d2913978b8fa8853e228d42319954 /crypto/lrw.c | |
parent | 479b9db27453aea42bfad92e9466135ae063f326 (diff) | |
download | kernel_replicant_linux-9e5544627339eccb18e53dd5800f30b6320d5cc3.tar.gz kernel_replicant_linux-9e5544627339eccb18e53dd5800f30b6320d5cc3.tar.bz2 kernel_replicant_linux-9e5544627339eccb18e53dd5800f30b6320d5cc3.zip |
drm: Add missing __user annotation to drm_syncobj_array_find()
'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@jlekstrand.net>
Fixes: 3e6fb72d6cef ("drm/syncobj: Add a syncobj_array_find helper")
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20170901165328.24459-2-ville.syrjala@linux.intel.com
Reviewed-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'crypto/lrw.c')
0 files changed, 0 insertions, 0 deletions