* [PATCH drm] drm/vgem: vgem_gem_dumb_map() can be static
@ 2015-04-02 2:59 ` kbuild test robot
0 siblings, 0 replies; 9+ messages in thread
From: kbuild test robot @ 2015-04-02 2:59 UTC (permalink / raw)
To: Zach Reizner
Cc: kbuild-all, Dave Airlie, Adam Jackson, Ben Widawsky, David Airlie,
Rob Clark, dri-devel, linux-kernel
Signed-off-by: Fengguang Wu <fengguang.wu@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)
{
^ permalink raw reply related [flat|nested] 9+ messages in thread* Re: [PATCH drm] drm/vgem: vgem_gem_dumb_map() can be static
2015-04-02 2:59 ` kbuild test robot
@ 2015-04-02 3:04 ` Joe Perches
-1 siblings, 0 replies; 9+ messages in thread
From: Joe Perches @ 2015-04-02 3:04 UTC (permalink / raw)
To: kbuild test robot
Cc: Ben Widawsky, dri-devel, linux-kernel, Zach Reizner, kbuild-all,
Dave Airlie
On Thu, 2015-04-02 at 10:59 +0800, kbuild test robot wrote:
> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
[]
> diff --git 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)
Hello Fengguang.
When you or your robot does these, can you please
make sure the entire statement is indented properly?
thanks,
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH drm] drm/vgem: vgem_gem_dumb_map() can be static
@ 2015-04-02 3:04 ` Joe Perches
0 siblings, 0 replies; 9+ messages in thread
From: Joe Perches @ 2015-04-02 3:04 UTC (permalink / raw)
To: kbuild test robot
Cc: Zach Reizner, kbuild-all, Dave Airlie, Adam Jackson, Ben Widawsky,
David Airlie, Rob Clark, dri-devel, linux-kernel
On Thu, 2015-04-02 at 10:59 +0800, kbuild test robot wrote:
> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
[]
> diff --git 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)
Hello Fengguang.
When you or your robot does these, can you please
make sure the entire statement is indented properly?
thanks,
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH drm] drm/vgem: vgem_gem_dumb_map() can be static
2015-04-02 3:04 ` Joe Perches
@ 2015-04-02 9:14 ` Fengguang Wu
-1 siblings, 0 replies; 9+ messages in thread
From: Fengguang Wu @ 2015-04-02 9:14 UTC (permalink / raw)
To: Joe Perches
Cc: Ben Widawsky, dri-devel, linux-kernel, Zach Reizner, kbuild-all,
Dave Airlie
On Wed, Apr 01, 2015 at 08:04:55PM -0700, Joe Perches wrote:
> On Thu, 2015-04-02 at 10:59 +0800, kbuild test robot wrote:
> > Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
> []
> > diff --git 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)
>
> Hello Fengguang.
>
> When you or your robot does these, can you please
> make sure the entire statement is indented properly?
OK, added it to the TODO list. Sorry for the inconvenience!
Thanks,
Fengguang
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH drm] drm/vgem: vgem_gem_dumb_map() can be static
@ 2015-04-02 9:14 ` Fengguang Wu
0 siblings, 0 replies; 9+ messages in thread
From: Fengguang Wu @ 2015-04-02 9:14 UTC (permalink / raw)
To: Joe Perches
Cc: Zach Reizner, kbuild-all, Dave Airlie, Adam Jackson, Ben Widawsky,
David Airlie, Rob Clark, dri-devel, linux-kernel
On Wed, Apr 01, 2015 at 08:04:55PM -0700, Joe Perches wrote:
> On Thu, 2015-04-02 at 10:59 +0800, kbuild test robot wrote:
> > Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
> []
> > diff --git 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)
>
> Hello Fengguang.
>
> When you or your robot does these, can you please
> make sure the entire statement is indented properly?
OK, added it to the TODO list. Sorry for the inconvenience!
Thanks,
Fengguang
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH drm] drm/vgem: vgem_gem_dumb_map() can be static
2015-04-02 2:59 ` kbuild test robot
(?)
(?)
@ 2015-04-02 23:01 ` Zachary Reizner
-1 siblings, 0 replies; 9+ messages in thread
From: Zachary Reizner @ 2015-04-02 23:01 UTC (permalink / raw)
To: kbuild test robot
Cc: Ben Widawsky, linux-kernel, dri-devel, kbuild-all, Dave Airlie
[-- Attachment #1.1: Type: text/plain, Size: 1423 bytes --]
Once the indentation is fixed:
Reviewed-by: Zach Reizner <zachr@google.com>
On Wed, Apr 1, 2015 at 8:00 PM kbuild test robot <fengguang.wu@intel.com>
wrote:
>
> Signed-off-by: Fengguang Wu <fengguang.wu@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)
> {
>
[-- Attachment #1.2: Type: text/html, Size: 2122 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 9+ messages in thread