[PATCH drm] drm/vgem: vgem_gem_dumb_map() can be static

Zachary Reizner zachr at google.com
Thu Apr 2 16:01:32 PDT 2015


Once the indentation is fixed:
Reviewed-by: Zach Reizner <zachr at google.com>

On Wed, Apr 1, 2015 at 8:00 PM kbuild test robot <fengguang.wu at intel.com>
wrote:

>
> Signed-off-by: Fengguang Wu <fengguang.wu at intel.com>
> ---
>  vgem_drv.c |    6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/gpu/drm/vgem/vgem_drv.c b/drivers/gpu/drm/vgem/vgem_
> drv.c
> index cb3b435..f7440e8c8 100644
> --- a/drivers/gpu/drm/vgem/vgem_drv.c
> +++ b/drivers/gpu/drm/vgem/vgem_drv.c
> @@ -195,7 +195,7 @@ static int vgem_gem_dumb_create(struct drm_file *file,
> struct drm_device *dev,
>         return 0;
>  }
>
> -int vgem_gem_dumb_map(struct drm_file *file, struct drm_device *dev,
> +static int vgem_gem_dumb_map(struct drm_file *file, struct drm_device
> *dev,
>                       uint32_t handle, uint64_t *offset)
>  {
>         int ret = 0;
> @@ -235,7 +235,7 @@ unlock:
>         return ret;
>  }
>
> -int vgem_drm_gem_mmap(struct file *filp, struct vm_area_struct *vma)
> +static int vgem_drm_gem_mmap(struct file *filp, struct vm_area_struct
> *vma)
>  {
>         struct drm_file *priv = filp->private_data;
>         struct drm_device *dev = priv->minor->dev;
> @@ -325,7 +325,7 @@ static struct drm_driver vgem_driver = {
>         .minor  = DRIVER_MINOR,
>  };
>
> -struct drm_device *vgem_device;
> +static struct drm_device *vgem_device;
>
>  static int __init vgem_init(void)
>  {
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150402/9b6d9867/attachment.html>


More information about the dri-devel mailing list