[PATCH v11 05/10] drm/shmem-helper: Add memory shrinker

Dmitry Osipenko dmitry.osipenko at collabora.com
Mon Feb 27 11:05:31 UTC 2023


On 2/27/23 11:25, kernel test robot wrote:
> All errors (new ones prefixed by >>):
> 
>    drivers/gpu/drm/drm_gem_shmem_helper.c:832:18: warning: no previous prototype for function 'drm_gem_shmem_get_pages_sgt_locked' [-Wmissing-prototypes]
>    struct sg_table *drm_gem_shmem_get_pages_sgt_locked(struct drm_gem_shmem_object *shmem)
>                     ^
>    drivers/gpu/drm/drm_gem_shmem_helper.c:832:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
>    struct sg_table *drm_gem_shmem_get_pages_sgt_locked(struct drm_gem_shmem_object *shmem)
>    ^
>    static 

This should've been a part of patch 7, will correct in v12.

-- 
Best regards,
Dmitry



More information about the dri-devel mailing list