* [PATCH 06/10] drm/nouveau: sparse fixes
@ 2012-08-19 21:00 Marcin Slusarz
[not found] ` <1345410004-27729-6-git-send-email-marcin.slusarz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Marcin Slusarz @ 2012-08-19 21:00 UTC (permalink / raw)
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
drivers/gpu/drm/nouveau/core/core/object.c:452:22: warning: non-ANSI function declaration of function 'nouveau_object_debug'
drivers/gpu/drm/nouveau/core/subdev/device/base.c:64:10: warning: Initializer entry defined twice
drivers/gpu/drm/nouveau/core/subdev/device/base.c:73:10: also defined here
(harmless, second init had the same value)
Signed-off-by: Marcin Slusarz <marcin.slusarz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
---
drivers/gpu/drm/nouveau/core/core/object.c | 2 +-
drivers/gpu/drm/nouveau/core/subdev/device/base.c | 1 -
2 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/nouveau/core/core/object.c b/drivers/gpu/drm/nouveau/core/core/object.c
index d94cb66..0daab62 100644
--- a/drivers/gpu/drm/nouveau/core/core/object.c
+++ b/drivers/gpu/drm/nouveau/core/core/object.c
@@ -449,7 +449,7 @@ nouveau_object_dec(struct nouveau_object *object, bool suspend)
}
void
-nouveau_object_debug()
+nouveau_object_debug(void)
{
#ifdef NOUVEAU_OBJECT_MAGIC
struct nouveau_object *object;
diff --git a/drivers/gpu/drm/nouveau/core/subdev/device/base.c b/drivers/gpu/drm/nouveau/core/subdev/device/base.c
index d4abca7..afc6be0 100644
--- a/drivers/gpu/drm/nouveau/core/subdev/device/base.c
+++ b/drivers/gpu/drm/nouveau/core/subdev/device/base.c
@@ -70,7 +70,6 @@ static const u64 disable_map[] = {
[NVDEV_SUBDEV_VM] = NV_DEVICE_DISABLE_CORE,
[NVDEV_SUBDEV_INSTMEM] = NV_DEVICE_DISABLE_CORE,
[NVDEV_SUBDEV_BAR] = NV_DEVICE_DISABLE_CORE,
- [NVDEV_SUBDEV_GPIO] = NV_DEVICE_DISABLE_CORE,
[NVDEV_SUBDEV_VOLT] = NV_DEVICE_DISABLE_CORE,
[NVDEV_SUBDEV_FAN0] = NV_DEVICE_DISABLE_CORE,
[NVDEV_SUBDEV_CLOCK] = NV_DEVICE_DISABLE_CORE,
--
1.7.8.6
^ permalink raw reply related [flat|nested] 2+ messages in thread[parent not found: <1345410004-27729-6-git-send-email-marcin.slusarz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>]
* Re: [PATCH 06/10] drm/nouveau: sparse fixes [not found] ` <1345410004-27729-6-git-send-email-marcin.slusarz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> @ 2012-08-20 6:29 ` Ben Skeggs 0 siblings, 0 replies; 2+ messages in thread From: Ben Skeggs @ 2012-08-20 6:29 UTC (permalink / raw) To: Marcin Slusarz; +Cc: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW On Sun, Aug 19, 2012 at 11:00:01PM +0200, Marcin Slusarz wrote: > drivers/gpu/drm/nouveau/core/core/object.c:452:22: warning: non-ANSI function declaration of function 'nouveau_object_debug' > > drivers/gpu/drm/nouveau/core/subdev/device/base.c:64:10: warning: Initializer entry defined twice > drivers/gpu/drm/nouveau/core/subdev/device/base.c:73:10: also defined here Applied the first hunk, the second I'd already fixed in my tree. > > (harmless, second init had the same value) > > Signed-off-by: Marcin Slusarz <marcin.slusarz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > --- > drivers/gpu/drm/nouveau/core/core/object.c | 2 +- > drivers/gpu/drm/nouveau/core/subdev/device/base.c | 1 - > 2 files changed, 1 insertions(+), 2 deletions(-) > > diff --git a/drivers/gpu/drm/nouveau/core/core/object.c b/drivers/gpu/drm/nouveau/core/core/object.c > index d94cb66..0daab62 100644 > --- a/drivers/gpu/drm/nouveau/core/core/object.c > +++ b/drivers/gpu/drm/nouveau/core/core/object.c > @@ -449,7 +449,7 @@ nouveau_object_dec(struct nouveau_object *object, bool suspend) > } > > void > -nouveau_object_debug() > +nouveau_object_debug(void) > { > #ifdef NOUVEAU_OBJECT_MAGIC > struct nouveau_object *object; > diff --git a/drivers/gpu/drm/nouveau/core/subdev/device/base.c b/drivers/gpu/drm/nouveau/core/subdev/device/base.c > index d4abca7..afc6be0 100644 > --- a/drivers/gpu/drm/nouveau/core/subdev/device/base.c > +++ b/drivers/gpu/drm/nouveau/core/subdev/device/base.c > @@ -70,7 +70,6 @@ static const u64 disable_map[] = { > [NVDEV_SUBDEV_VM] = NV_DEVICE_DISABLE_CORE, > [NVDEV_SUBDEV_INSTMEM] = NV_DEVICE_DISABLE_CORE, > [NVDEV_SUBDEV_BAR] = NV_DEVICE_DISABLE_CORE, > - [NVDEV_SUBDEV_GPIO] = NV_DEVICE_DISABLE_CORE, > [NVDEV_SUBDEV_VOLT] = NV_DEVICE_DISABLE_CORE, > [NVDEV_SUBDEV_FAN0] = NV_DEVICE_DISABLE_CORE, > [NVDEV_SUBDEV_CLOCK] = NV_DEVICE_DISABLE_CORE, > -- > 1.7.8.6 > > _______________________________________________ > Nouveau mailing list > Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org > http://lists.freedesktop.org/mailman/listinfo/nouveau ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-08-20 6:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-19 21:00 [PATCH 06/10] drm/nouveau: sparse fixes Marcin Slusarz
[not found] ` <1345410004-27729-6-git-send-email-marcin.slusarz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2012-08-20 6:29 ` Ben Skeggs
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.