lkml.org 
[lkml]   [2018]   [May]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH] gpu: drm: omapdrm: Adding new typedef vm_fault_t
>    drivers/gpu//drm/omapdrm/omap_gem.c: In function 'fault_2d':
> drivers/gpu//drm/omapdrm/omap_gem.c:480:9: error: implicit declaration of function 'vmf_error'; did you mean '__pmd_error'? [-Werror=implicit-function-declaration]
> ret = vmf_error(err);

I think, drm-next and next-20180517 tree doesn't have vmf_error() included.
As of now it's only available in 4.17-rc6.

> ^~~~~~~~~
> __pmd_error
>>> drivers/gpu//drm/omapdrm/omap_gem.c:503:9: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized]
> return ret;
> ^~~
> cc1: some warnings being treated as errors
>

I will fix this in v2.

\
 
 \ /
  Last update: 2018-05-22 20:01    [W:0.153 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site