public inbox for kernel-janitors@vger.kernel.org
 help / color / mirror / Atom feed
From: Fengguang Wu <fengguang.wu@intel.com>
To: kernel-janitors@vger.kernel.org
Subject: [nouveau:master 5/82] drivers/gpu/drm/nouveau/nouveau_drv.h:652:2: error: redeclaration of enumerato
Date: Wed, 26 Sep 2012 01:37:17 +0000	[thread overview]
Message-ID: <20120926013717.GC8522@localhost> (raw)

Hi Ben,

FYI, kernel build failed on

tree:   git://git.freedesktop.org/git/nouveau/linux-2.6 master
head:   f2aa204da8af348697ac0e6d4c2a9a56c3ccf52b
commit: 452d258c97822c6ec610a3460c11a4687a958962 [5/82] drm/nouveau: implement module init functions in nouveau_drm.c
config: x86_64-allmodconfig

All error/warnings:

In file included from drivers/gpu/drm/nouveau/core/core/ramht.c:27:0:
drivers/gpu/drm/nouveau/nouveau_drv.h:552:8: error: redefinition of 'struct nouveau_engine'
In file included from drivers/gpu/drm/nouveau/core/include/core/device.h:6:0,
                 from drivers/gpu/drm/nouveau/core/include/core/parent.h:4,
                 from drivers/gpu/drm/nouveau/core/include/core/namedb.h:4,
                 from drivers/gpu/drm/nouveau/core/include/core/client.h:4,
                 from drivers/gpu/drm/nouveau/nouveau_drm.h:4,
                 from drivers/gpu/drm/nouveau/nouveau_drv.h:62,
                 from drivers/gpu/drm/nouveau/core/core/ramht.c:27:
drivers/gpu/drm/nouveau/core/include/core/engine.h:10:8: note: originally defined here
In file included from drivers/gpu/drm/nouveau/core/core/ramht.c:27:0:
drivers/gpu/drm/nouveau/nouveau_drv.h:652:2: error: redeclaration of enumerator 'NV_04'
In file included from drivers/gpu/drm/nouveau/core/include/core/parent.h:4:0,
                 from drivers/gpu/drm/nouveau/core/include/core/namedb.h:4,
                 from drivers/gpu/drm/nouveau/core/include/core/client.h:4,
                 from drivers/gpu/drm/nouveau/nouveau_drm.h:4,
                 from drivers/gpu/drm/nouveau/nouveau_drv.h:62,
                 from drivers/gpu/drm/nouveau/core/core/ramht.c:27:
drivers/gpu/drm/nouveau/core/include/core/device.h:57:3: note: previous definition of 'NV_04' was here
In file included from drivers/gpu/drm/nouveau/core/core/ramht.c:27:0:
drivers/gpu/drm/nouveau/nouveau_drv.h:653:2: error: redeclaration of enumerator 'NV_10'
In file included from drivers/gpu/drm/nouveau/core/include/core/parent.h:4:0,
                 from drivers/gpu/drm/nouveau/core/include/core/namedb.h:4,
                 from drivers/gpu/drm/nouveau/core/include/core/client.h:4,
                 from drivers/gpu/drm/nouveau/nouveau_drm.h:4,
                 from drivers/gpu/drm/nouveau/nouveau_drv.h:62,
                 from drivers/gpu/drm/nouveau/core/core/ramht.c:27:
drivers/gpu/drm/nouveau/core/include/core/device.h:58:3: note: previous definition of 'NV_10' was here
In file included from drivers/gpu/drm/nouveau/core/core/ramht.c:27:0:
drivers/gpu/drm/nouveau/nouveau_drv.h:654:2: error: redeclaration of enumerator 'NV_20'
In file included from drivers/gpu/drm/nouveau/core/include/core/parent.h:4:0,
                 from drivers/gpu/drm/nouveau/core/include/core/namedb.h:4,
                 from drivers/gpu/drm/nouveau/core/include/core/client.h:4,
                 from drivers/gpu/drm/nouveau/nouveau_drm.h:4,
                 from drivers/gpu/drm/nouveau/nouveau_drv.h:62,
                 from drivers/gpu/drm/nouveau/core/core/ramht.c:27:
drivers/gpu/drm/nouveau/core/include/core/device.h:59:3: note: previous definition of 'NV_20' was here
In file included from drivers/gpu/drm/nouveau/core/core/ramht.c:27:0:
drivers/gpu/drm/nouveau/nouveau_drv.h:655:2: error: redeclaration of enumerator 'NV_30'
In file included from drivers/gpu/drm/nouveau/core/include/core/parent.h:4:0,
                 from drivers/gpu/drm/nouveau/core/include/core/namedb.h:4,
                 from drivers/gpu/drm/nouveau/core/include/core/client.h:4,
                 from drivers/gpu/drm/nouveau/nouveau_drm.h:4,
                 from drivers/gpu/drm/nouveau/nouveau_drv.h:62,
                 from drivers/gpu/drm/nouveau/core/core/ramht.c:27:
drivers/gpu/drm/nouveau/core/include/core/device.h:60:3: note: previous definition of 'NV_30' was here
In file included from drivers/gpu/drm/nouveau/core/core/ramht.c:27:0:
drivers/gpu/drm/nouveau/nouveau_drv.h:656:2: error: redeclaration of enumerator 'NV_40'
In file included from drivers/gpu/drm/nouveau/core/include/core/parent.h:4:0,
                 from drivers/gpu/drm/nouveau/core/include/core/namedb.h:4,
                 from drivers/gpu/drm/nouveau/core/include/core/client.h:4,
                 from drivers/gpu/drm/nouveau/nouveau_drm.h:4,
                 from drivers/gpu/drm/nouveau/nouveau_drv.h:62,
                 from drivers/gpu/drm/nouveau/core/core/ramht.c:27:
drivers/gpu/drm/nouveau/core/include/core/device.h:61:3: note: previous definition of 'NV_40' was here
In file included from drivers/gpu/drm/nouveau/core/core/ramht.c:27:0:
drivers/gpu/drm/nouveau/nouveau_drv.h:657:2: error: redeclaration of enumerator 'NV_50'
In file included from drivers/gpu/drm/nouveau/core/include/core/parent.h:4:0,
                 from drivers/gpu/drm/nouveau/core/include/core/namedb.h:4,
                 from drivers/gpu/drm/nouveau/core/include/core/client.h:4,
                 from drivers/gpu/drm/nouveau/nouveau_drm.h:4,
                 from drivers/gpu/drm/nouveau/nouveau_drv.h:62,
                 from drivers/gpu/drm/nouveau/core/core/ramht.c:27:
drivers/gpu/drm/nouveau/core/include/core/device.h:62:3: note: previous definition of 'NV_50' was here
In file included from drivers/gpu/drm/nouveau/core/core/ramht.c:27:0:
drivers/gpu/drm/nouveau/nouveau_drv.h:658:2: error: redeclaration of enumerator 'NV_C0'
In file included from drivers/gpu/drm/nouveau/core/include/core/parent.h:4:0,
                 from drivers/gpu/drm/nouveau/core/include/core/namedb.h:4,
                 from drivers/gpu/drm/nouveau/core/include/core/client.h:4,
                 from drivers/gpu/drm/nouveau/nouveau_drm.h:4,
                 from drivers/gpu/drm/nouveau/nouveau_drv.h:62,
                 from drivers/gpu/drm/nouveau/core/core/ramht.c:27:
drivers/gpu/drm/nouveau/core/include/core/device.h:63:3: note: previous definition of 'NV_C0' was here
In file included from drivers/gpu/drm/nouveau/core/core/ramht.c:27:0:
drivers/gpu/drm/nouveau/nouveau_drv.h:659:2: error: redeclaration of enumerator 'NV_D0'
In file included from drivers/gpu/drm/nouveau/core/include/core/parent.h:4:0,
                 from drivers/gpu/drm/nouveau/core/include/core/namedb.h:4,
                 from drivers/gpu/drm/nouveau/core/include/core/client.h:4,
                 from drivers/gpu/drm/nouveau/nouveau_drm.h:4,
                 from drivers/gpu/drm/nouveau/nouveau_drv.h:62,
                 from drivers/gpu/drm/nouveau/core/core/ramht.c:27:
drivers/gpu/drm/nouveau/core/include/core/device.h:64:3: note: previous definition of 'NV_D0' was here
In file included from drivers/gpu/drm/nouveau/core/core/ramht.c:27:0:
drivers/gpu/drm/nouveau/nouveau_drv.h:660:2: error: redeclaration of enumerator 'NV_E0'
In file included from drivers/gpu/drm/nouveau/core/include/core/parent.h:4:0,
                 from drivers/gpu/drm/nouveau/core/include/core/namedb.h:4,
                 from drivers/gpu/drm/nouveau/core/include/core/client.h:4,
                 from drivers/gpu/drm/nouveau/nouveau_drm.h:4,
                 from drivers/gpu/drm/nouveau/nouveau_drv.h:62,
                 from drivers/gpu/drm/nouveau/core/core/ramht.c:27:
drivers/gpu/drm/nouveau/core/include/core/device.h:65:3: note: previous definition of 'NV_E0' was here
In file included from drivers/gpu/drm/nouveau/core/core/ramht.c:27:0:
drivers/gpu/drm/nouveau/nouveau_drv.h:1431:19: error: conflicting types for 'nv_rd32'
In file included from drivers/gpu/drm/nouveau/core/include/core/device.h:5:0,
                 from drivers/gpu/drm/nouveau/core/include/core/parent.h:4,
                 from drivers/gpu/drm/nouveau/core/include/core/namedb.h:4,
                 from drivers/gpu/drm/nouveau/core/include/core/client.h:4,
                 from drivers/gpu/drm/nouveau/nouveau_drm.h:4,
                 from drivers/gpu/drm/nouveau/nouveau_drv.h:62,
                 from drivers/gpu/drm/nouveau/core/core/ramht.c:27:
drivers/gpu/drm/nouveau/core/include/core/subdev.h:78:1: note: previous definition of 'nv_rd32' was here
In file included from drivers/gpu/drm/nouveau/core/core/ramht.c:27:0:
drivers/gpu/drm/nouveau/nouveau_drv.h:1437:20: error: conflicting types for 'nv_wr32'
In file included from drivers/gpu/drm/nouveau/core/include/core/device.h:5:0,
                 from drivers/gpu/drm/nouveau/core/include/core/parent.h:4,
                 from drivers/gpu/drm/nouveau/core/include/core/namedb.h:4,
                 from drivers/gpu/drm/nouveau/core/include/core/client.h:4,
                 from drivers/gpu/drm/nouveau/nouveau_drm.h:4,
                 from drivers/gpu/drm/nouveau/nouveau_drv.h:62,
                 from drivers/gpu/drm/nouveau/core/core/ramht.c:27:
drivers/gpu/drm/nouveau/core/include/core/subdev.h:103:1: note: previous definition of 'nv_wr32' was here
In file included from drivers/gpu/drm/nouveau/core/core/ramht.c:27:0:
drivers/gpu/drm/nouveau/nouveau_drv.h:1443:19: error: conflicting types for 'nv_mask'
In file included from drivers/gpu/drm/nouveau/core/include/core/device.h:5:0,
                 from drivers/gpu/drm/nouveau/core/include/core/parent.h:4,
                 from drivers/gpu/drm/nouveau/core/include/core/namedb.h:4,
                 from drivers/gpu/drm/nouveau/core/include/core/client.h:4,
                 from drivers/gpu/drm/nouveau/nouveau_drm.h:4,
                 from drivers/gpu/drm/nouveau/nouveau_drv.h:62,
                 from drivers/gpu/drm/nouveau/core/core/ramht.c:27:
drivers/gpu/drm/nouveau/core/include/core/subdev.h:111:1: note: previous definition of 'nv_mask' was here
In file included from drivers/gpu/drm/nouveau/core/core/ramht.c:27:0:
drivers/gpu/drm/nouveau/nouveau_drv.h:1450:18: error: conflicting types for 'nv_rd08'
In file included from drivers/gpu/drm/nouveau/core/include/core/device.h:5:0,
                 from drivers/gpu/drm/nouveau/core/include/core/parent.h:4,
                 from drivers/gpu/drm/nouveau/core/include/core/namedb.h:4,
                 from drivers/gpu/drm/nouveau/core/include/core/client.h:4,
                 from drivers/gpu/drm/nouveau/nouveau_drm.h:4,
                 from drivers/gpu/drm/nouveau/nouveau_drv.h:62,
                 from drivers/gpu/drm/nouveau/core/core/ramht.c:27:
drivers/gpu/drm/nouveau/core/include/core/subdev.h:60:1: note: previous definition of 'nv_rd08' was here
In file included from drivers/gpu/drm/nouveau/core/core/ramht.c:27:0:
drivers/gpu/drm/nouveau/nouveau_drv.h:1456:20: error: conflicting types for 'nv_wr08'
In file included from drivers/gpu/drm/nouveau/core/include/core/device.h:5:0,
                 from drivers/gpu/drm/nouveau/core/include/core/parent.h:4,
                 from drivers/gpu/drm/nouveau/core/include/core/namedb.h:4,
                 from drivers/gpu/drm/nouveau/core/include/core/client.h:4,
                 from drivers/gpu/drm/nouveau/nouveau_drm.h:4,
                 from drivers/gpu/drm/nouveau/nouveau_drv.h:62,
                 from drivers/gpu/drm/nouveau/core/core/ramht.c:27:
drivers/gpu/drm/nouveau/core/include/core/subdev.h:87:1: note: previous definition of 'nv_wr08' was here
In file included from drivers/gpu/drm/nouveau/core/core/ramht.c:27:0:
drivers/gpu/drm/nouveau/nouveau_drv.h:1483:12: error: conflicting types for 'nv_ro32'
In file included from drivers/gpu/drm/nouveau/core/include/core/device.h:4:0,
                 from drivers/gpu/drm/nouveau/core/include/core/parent.h:4,
                 from drivers/gpu/drm/nouveau/core/include/core/namedb.h:4,
                 from drivers/gpu/drm/nouveau/core/include/core/client.h:4,
                 from drivers/gpu/drm/nouveau/nouveau_drm.h:4,
                 from drivers/gpu/drm/nouveau/nouveau_drv.h:62,
                 from drivers/gpu/drm/nouveau/core/core/ramht.c:27:
drivers/gpu/drm/nouveau/core/include/core/object.h:142:1: note: previous definition of 'nv_ro32' was here
In file included from drivers/gpu/drm/nouveau/core/core/ramht.c:27:0:
drivers/gpu/drm/nouveau/nouveau_drv.h:1484:13: error: conflicting types for 'nv_wo32'
In file included from drivers/gpu/drm/nouveau/core/include/core/device.h:4:0,
                 from drivers/gpu/drm/nouveau/core/include/core/parent.h:4,
                 from drivers/gpu/drm/nouveau/core/include/core/namedb.h:4,
                 from drivers/gpu/drm/nouveau/core/include/core/client.h:4,
                 from drivers/gpu/drm/nouveau/nouveau_drm.h:4,
                 from drivers/gpu/drm/nouveau/nouveau_drv.h:62,
                 from drivers/gpu/drm/nouveau/core/core/ramht.c:27:
drivers/gpu/drm/nouveau/core/include/core/object.h:164:1: note: previous definition of 'nv_wo32' was here
In file included from drivers/gpu/drm/nouveau/core/core/ramht.c:27:0:
drivers/gpu/drm/nouveau/nouveau_drv.h:1490:0: warning: "NV_PRINTK" redefined [enabled by default]
In file included from drivers/gpu/drm/nouveau/nouveau_drv.h:62:0,
                 from drivers/gpu/drm/nouveau/core/core/ramht.c:27:
drivers/gpu/drm/nouveau/nouveau_drm.h:31:0: note: this is the location of the previous definition
In file included from drivers/gpu/drm/nouveau/core/core/ramht.c:27:0:
drivers/gpu/drm/nouveau/nouveau_drv.h:1494:0: warning: "NV_DEBUG" redefined [enabled by default]
In file included from drivers/gpu/drm/nouveau/nouveau_drv.h:62:0,
                 from drivers/gpu/drm/nouveau/core/core/ramht.c:27:
drivers/gpu/drm/nouveau/nouveau_drm.h:42:0: note: this is the location of the previous definition
In file included from drivers/gpu/drm/nouveau/core/core/ramht.c:27:0:
drivers/gpu/drm/nouveau/nouveau_drv.h:1516:0: warning: "NV_ERROR" redefined [enabled by default]
In file included from drivers/gpu/drm/nouveau/nouveau_drv.h:62:0,
                 from drivers/gpu/drm/nouveau/core/core/ramht.c:27:
drivers/gpu/drm/nouveau/nouveau_drm.h:36:0: note: this is the location of the previous definition
In file included from drivers/gpu/drm/nouveau/core/core/ramht.c:27:0:
drivers/gpu/drm/nouveau/nouveau_drv.h:1517:0: warning: "NV_INFO" redefined [enabled by default]
In file included from drivers/gpu/drm/nouveau/nouveau_drv.h:62:0,
                 from drivers/gpu/drm/nouveau/core/core/ramht.c:27:
drivers/gpu/drm/nouveau/nouveau_drm.h:40:0: note: this is the location of the previous definition
In file included from drivers/gpu/drm/nouveau/core/core/ramht.c:27:0:
drivers/gpu/drm/nouveau/nouveau_drv.h:1520:0: warning: "NV_WARN" redefined [enabled by default]
In file included from drivers/gpu/drm/nouveau/nouveau_drv.h:62:0,
                 from drivers/gpu/drm/nouveau/core/core/ramht.c:27:
drivers/gpu/drm/nouveau/nouveau_drm.h:38:0: note: this is the location of the previous definition
In file included from drivers/gpu/drm/nouveau/core/core/ramht.c:27:0:
drivers/gpu/drm/nouveau/nouveau_drv.h:1589:1: error: conflicting types for 'nv_engine'
In file included from drivers/gpu/drm/nouveau/core/include/core/device.h:6:0,
                 from drivers/gpu/drm/nouveau/core/include/core/parent.h:4,
                 from drivers/gpu/drm/nouveau/core/include/core/namedb.h:4,
                 from drivers/gpu/drm/nouveau/core/include/core/client.h:4,
                 from drivers/gpu/drm/nouveau/nouveau_drm.h:4,
                 from drivers/gpu/drm/nouveau/nouveau_drv.h:62,
                 from drivers/gpu/drm/nouveau/core/core/ramht.c:27:
drivers/gpu/drm/nouveau/core/include/core/engine.h:20:1: note: previous definition of 'nv_engine' was here
--
In file included from drivers/gpu/drm/nouveau/core/subdev/fb/nv04.c:3:0:
drivers/gpu/drm/nouveau/nouveau_drv.h:552:8: error: redefinition of 'struct nouveau_engine'
In file included from drivers/gpu/drm/nouveau/core/include/core/device.h:6:0,
                 from drivers/gpu/drm/nouveau/core/include/core/parent.h:4,
                 from drivers/gpu/drm/nouveau/core/include/core/namedb.h:4,
                 from drivers/gpu/drm/nouveau/core/include/core/client.h:4,
                 from drivers/gpu/drm/nouveau/nouveau_drm.h:4,
                 from drivers/gpu/drm/nouveau/nouveau_drv.h:62,
                 from drivers/gpu/drm/nouveau/core/subdev/fb/nv04.c:3:
drivers/gpu/drm/nouveau/core/include/core/engine.h:10:8: note: originally defined here
In file included from drivers/gpu/drm/nouveau/core/subdev/fb/nv04.c:3:0:
drivers/gpu/drm/nouveau/nouveau_drv.h:652:2: error: redeclaration of enumerator 'NV_04'
In file included from drivers/gpu/drm/nouveau/core/include/core/parent.h:4:0,
                 from drivers/gpu/drm/nouveau/core/include/core/namedb.h:4,
                 from drivers/gpu/drm/nouveau/core/include/core/client.h:4,
                 from drivers/gpu/drm/nouveau/nouveau_drm.h:4,
                 from drivers/gpu/drm/nouveau/nouveau_drv.h:62,
                 from drivers/gpu/drm/nouveau/core/subdev/fb/nv04.c:3:
drivers/gpu/drm/nouveau/core/include/core/device.h:57:3: note: previous definition of 'NV_04' was here
In file included from drivers/gpu/drm/nouveau/core/subdev/fb/nv04.c:3:0:
drivers/gpu/drm/nouveau/nouveau_drv.h:653:2: error: redeclaration of enumerator 'NV_10'
In file included from drivers/gpu/drm/nouveau/core/include/core/parent.h:4:0,
                 from drivers/gpu/drm/nouveau/core/include/core/namedb.h:4,
                 from drivers/gpu/drm/nouveau/core/include/core/client.h:4,
                 from drivers/gpu/drm/nouveau/nouveau_drm.h:4,
                 from drivers/gpu/drm/nouveau/nouveau_drv.h:62,
                 from drivers/gpu/drm/nouveau/core/subdev/fb/nv04.c:3:
drivers/gpu/drm/nouveau/core/include/core/device.h:58:3: note: previous definition of 'NV_10' was here
In file included from drivers/gpu/drm/nouveau/core/subdev/fb/nv04.c:3:0:
drivers/gpu/drm/nouveau/nouveau_drv.h:654:2: error: redeclaration of enumerator 'NV_20'
In file included from drivers/gpu/drm/nouveau/core/include/core/parent.h:4:0,
                 from drivers/gpu/drm/nouveau/core/include/core/namedb.h:4,
                 from drivers/gpu/drm/nouveau/core/include/core/client.h:4,
                 from drivers/gpu/drm/nouveau/nouveau_drm.h:4,
                 from drivers/gpu/drm/nouveau/nouveau_drv.h:62,
                 from drivers/gpu/drm/nouveau/core/subdev/fb/nv04.c:3:
drivers/gpu/drm/nouveau/core/include/core/device.h:59:3: note: previous definition of 'NV_20' was here
In file included from drivers/gpu/drm/nouveau/core/subdev/fb/nv04.c:3:0:
drivers/gpu/drm/nouveau/nouveau_drv.h:655:2: error: redeclaration of enumerator 'NV_30'
In file included from drivers/gpu/drm/nouveau/core/include/core/parent.h:4:0,
                 from drivers/gpu/drm/nouveau/core/include/core/namedb.h:4,
                 from drivers/gpu/drm/nouveau/core/include/core/client.h:4,
                 from drivers/gpu/drm/nouveau/nouveau_drm.h:4,
                 from drivers/gpu/drm/nouveau/nouveau_drv.h:62,
                 from drivers/gpu/drm/nouveau/core/subdev/fb/nv04.c:3:
drivers/gpu/drm/nouveau/core/include/core/device.h:60:3: note: previous definition of 'NV_30' was here
In file included from drivers/gpu/drm/nouveau/core/subdev/fb/nv04.c:3:0:
drivers/gpu/drm/nouveau/nouveau_drv.h:656:2: error: redeclaration of enumerator 'NV_40'
In file included from drivers/gpu/drm/nouveau/core/include/core/parent.h:4:0,
                 from drivers/gpu/drm/nouveau/core/include/core/namedb.h:4,
                 from drivers/gpu/drm/nouveau/core/include/core/client.h:4,
                 from drivers/gpu/drm/nouveau/nouveau_drm.h:4,
                 from drivers/gpu/drm/nouveau/nouveau_drv.h:62,
                 from drivers/gpu/drm/nouveau/core/subdev/fb/nv04.c:3:
drivers/gpu/drm/nouveau/core/include/core/device.h:61:3: note: previous definition of 'NV_40' was here
In file included from drivers/gpu/drm/nouveau/core/subdev/fb/nv04.c:3:0:
drivers/gpu/drm/nouveau/nouveau_drv.h:657:2: error: redeclaration of enumerator 'NV_50'
In file included from drivers/gpu/drm/nouveau/core/include/core/parent.h:4:0,
                 from drivers/gpu/drm/nouveau/core/include/core/namedb.h:4,
                 from drivers/gpu/drm/nouveau/core/include/core/client.h:4,
                 from drivers/gpu/drm/nouveau/nouveau_drm.h:4,
                 from drivers/gpu/drm/nouveau/nouveau_drv.h:62,
                 from drivers/gpu/drm/nouveau/core/subdev/fb/nv04.c:3:
drivers/gpu/drm/nouveau/core/include/core/device.h:62:3: note: previous definition of 'NV_50' was here
In file included from drivers/gpu/drm/nouveau/core/subdev/fb/nv04.c:3:0:
drivers/gpu/drm/nouveau/nouveau_drv.h:658:2: error: redeclaration of enumerator 'NV_C0'
In file included from drivers/gpu/drm/nouveau/core/include/core/parent.h:4:0,
                 from drivers/gpu/drm/nouveau/core/include/core/namedb.h:4,
                 from drivers/gpu/drm/nouveau/core/include/core/client.h:4,
                 from drivers/gpu/drm/nouveau/nouveau_drm.h:4,
                 from drivers/gpu/drm/nouveau/nouveau_drv.h:62,
                 from drivers/gpu/drm/nouveau/core/subdev/fb/nv04.c:3:
drivers/gpu/drm/nouveau/core/include/core/device.h:63:3: note: previous definition of 'NV_C0' was here
In file included from drivers/gpu/drm/nouveau/core/subdev/fb/nv04.c:3:0:
drivers/gpu/drm/nouveau/nouveau_drv.h:659:2: error: redeclaration of enumerator 'NV_D0'
In file included from drivers/gpu/drm/nouveau/core/include/core/parent.h:4:0,
                 from drivers/gpu/drm/nouveau/core/include/core/namedb.h:4,
                 from drivers/gpu/drm/nouveau/core/include/core/client.h:4,
                 from drivers/gpu/drm/nouveau/nouveau_drm.h:4,
                 from drivers/gpu/drm/nouveau/nouveau_drv.h:62,
                 from drivers/gpu/drm/nouveau/core/subdev/fb/nv04.c:3:
drivers/gpu/drm/nouveau/core/include/core/device.h:64:3: note: previous definition of 'NV_D0' was here
In file included from drivers/gpu/drm/nouveau/core/subdev/fb/nv04.c:3:0:
drivers/gpu/drm/nouveau/nouveau_drv.h:660:2: error: redeclaration of enumerator 'NV_E0'
In file included from drivers/gpu/drm/nouveau/core/include/core/parent.h:4:0,
                 from drivers/gpu/drm/nouveau/core/include/core/namedb.h:4,
                 from drivers/gpu/drm/nouveau/core/include/core/client.h:4,
                 from drivers/gpu/drm/nouveau/nouveau_drm.h:4,
                 from drivers/gpu/drm/nouveau/nouveau_drv.h:62,
                 from drivers/gpu/drm/nouveau/core/subdev/fb/nv04.c:3:
drivers/gpu/drm/nouveau/core/include/core/device.h:65:3: note: previous definition of 'NV_E0' was here
In file included from drivers/gpu/drm/nouveau/core/subdev/fb/nv04.c:3:0:
drivers/gpu/drm/nouveau/nouveau_drv.h:1431:19: error: conflicting types for 'nv_rd32'
In file included from drivers/gpu/drm/nouveau/core/include/core/device.h:5:0,
                 from drivers/gpu/drm/nouveau/core/include/core/parent.h:4,
                 from drivers/gpu/drm/nouveau/core/include/core/namedb.h:4,
                 from drivers/gpu/drm/nouveau/core/include/core/client.h:4,
                 from drivers/gpu/drm/nouveau/nouveau_drm.h:4,
                 from drivers/gpu/drm/nouveau/nouveau_drv.h:62,
                 from drivers/gpu/drm/nouveau/core/subdev/fb/nv04.c:3:
drivers/gpu/drm/nouveau/core/include/core/subdev.h:78:1: note: previous definition of 'nv_rd32' was here
In file included from drivers/gpu/drm/nouveau/core/subdev/fb/nv04.c:3:0:
drivers/gpu/drm/nouveau/nouveau_drv.h:1437:20: error: conflicting types for 'nv_wr32'
In file included from drivers/gpu/drm/nouveau/core/include/core/device.h:5:0,
                 from drivers/gpu/drm/nouveau/core/include/core/parent.h:4,
                 from drivers/gpu/drm/nouveau/core/include/core/namedb.h:4,
                 from drivers/gpu/drm/nouveau/core/include/core/client.h:4,
                 from drivers/gpu/drm/nouveau/nouveau_drm.h:4,
                 from drivers/gpu/drm/nouveau/nouveau_drv.h:62,
                 from drivers/gpu/drm/nouveau/core/subdev/fb/nv04.c:3:
drivers/gpu/drm/nouveau/core/include/core/subdev.h:103:1: note: previous definition of 'nv_wr32' was here
In file included from drivers/gpu/drm/nouveau/core/subdev/fb/nv04.c:3:0:
drivers/gpu/drm/nouveau/nouveau_drv.h:1443:19: error: conflicting types for 'nv_mask'
In file included from drivers/gpu/drm/nouveau/core/include/core/device.h:5:0,
                 from drivers/gpu/drm/nouveau/core/include/core/parent.h:4,
                 from drivers/gpu/drm/nouveau/core/include/core/namedb.h:4,
                 from drivers/gpu/drm/nouveau/core/include/core/client.h:4,
                 from drivers/gpu/drm/nouveau/nouveau_drm.h:4,
                 from drivers/gpu/drm/nouveau/nouveau_drv.h:62,
                 from drivers/gpu/drm/nouveau/core/subdev/fb/nv04.c:3:
drivers/gpu/drm/nouveau/core/include/core/subdev.h:111:1: note: previous definition of 'nv_mask' was here
In file included from drivers/gpu/drm/nouveau/core/subdev/fb/nv04.c:3:0:
drivers/gpu/drm/nouveau/nouveau_drv.h:1450:18: error: conflicting types for 'nv_rd08'
In file included from drivers/gpu/drm/nouveau/core/include/core/device.h:5:0,
                 from drivers/gpu/drm/nouveau/core/include/core/parent.h:4,
                 from drivers/gpu/drm/nouveau/core/include/core/namedb.h:4,
                 from drivers/gpu/drm/nouveau/core/include/core/client.h:4,
                 from drivers/gpu/drm/nouveau/nouveau_drm.h:4,
                 from drivers/gpu/drm/nouveau/nouveau_drv.h:62,
                 from drivers/gpu/drm/nouveau/core/subdev/fb/nv04.c:3:
drivers/gpu/drm/nouveau/core/include/core/subdev.h:60:1: note: previous definition of 'nv_rd08' was here
In file included from drivers/gpu/drm/nouveau/core/subdev/fb/nv04.c:3:0:
drivers/gpu/drm/nouveau/nouveau_drv.h:1456:20: error: conflicting types for 'nv_wr08'
In file included from drivers/gpu/drm/nouveau/core/include/core/device.h:5:0,
                 from drivers/gpu/drm/nouveau/core/include/core/parent.h:4,
                 from drivers/gpu/drm/nouveau/core/include/core/namedb.h:4,
                 from drivers/gpu/drm/nouveau/core/include/core/client.h:4,
                 from drivers/gpu/drm/nouveau/nouveau_drm.h:4,
                 from drivers/gpu/drm/nouveau/nouveau_drv.h:62,
                 from drivers/gpu/drm/nouveau/core/subdev/fb/nv04.c:3:
drivers/gpu/drm/nouveau/core/include/core/subdev.h:87:1: note: previous definition of 'nv_wr08' was here
In file included from drivers/gpu/drm/nouveau/core/subdev/fb/nv04.c:3:0:
drivers/gpu/drm/nouveau/nouveau_drv.h:1483:12: error: conflicting types for 'nv_ro32'
In file included from drivers/gpu/drm/nouveau/core/include/core/device.h:4:0,
                 from drivers/gpu/drm/nouveau/core/include/core/parent.h:4,
                 from drivers/gpu/drm/nouveau/core/include/core/namedb.h:4,
                 from drivers/gpu/drm/nouveau/core/include/core/client.h:4,
                 from drivers/gpu/drm/nouveau/nouveau_drm.h:4,
                 from drivers/gpu/drm/nouveau/nouveau_drv.h:62,
                 from drivers/gpu/drm/nouveau/core/subdev/fb/nv04.c:3:
drivers/gpu/drm/nouveau/core/include/core/object.h:142:1: note: previous definition of 'nv_ro32' was here
In file included from drivers/gpu/drm/nouveau/core/subdev/fb/nv04.c:3:0:
drivers/gpu/drm/nouveau/nouveau_drv.h:1484:13: error: conflicting types for 'nv_wo32'
In file included from drivers/gpu/drm/nouveau/core/include/core/device.h:4:0,
                 from drivers/gpu/drm/nouveau/core/include/core/parent.h:4,
                 from drivers/gpu/drm/nouveau/core/include/core/namedb.h:4,
                 from drivers/gpu/drm/nouveau/core/include/core/client.h:4,
                 from drivers/gpu/drm/nouveau/nouveau_drm.h:4,
                 from drivers/gpu/drm/nouveau/nouveau_drv.h:62,
                 from drivers/gpu/drm/nouveau/core/subdev/fb/nv04.c:3:
drivers/gpu/drm/nouveau/core/include/core/object.h:164:1: note: previous definition of 'nv_wo32' was here
In file included from drivers/gpu/drm/nouveau/core/subdev/fb/nv04.c:3:0:
drivers/gpu/drm/nouveau/nouveau_drv.h:1490:0: warning: "NV_PRINTK" redefined [enabled by default]
In file included from drivers/gpu/drm/nouveau/nouveau_drv.h:62:0,
                 from drivers/gpu/drm/nouveau/core/subdev/fb/nv04.c:3:
drivers/gpu/drm/nouveau/nouveau_drm.h:31:0: note: this is the location of the previous definition
In file included from drivers/gpu/drm/nouveau/core/subdev/fb/nv04.c:3:0:
drivers/gpu/drm/nouveau/nouveau_drv.h:1494:0: warning: "NV_DEBUG" redefined [enabled by default]
In file included from drivers/gpu/drm/nouveau/nouveau_drv.h:62:0,
                 from drivers/gpu/drm/nouveau/core/subdev/fb/nv04.c:3:
drivers/gpu/drm/nouveau/nouveau_drm.h:42:0: note: this is the location of the previous definition
In file included from drivers/gpu/drm/nouveau/core/subdev/fb/nv04.c:3:0:
drivers/gpu/drm/nouveau/nouveau_drv.h:1516:0: warning: "NV_ERROR" redefined [enabled by default]
In file included from drivers/gpu/drm/nouveau/nouveau_drv.h:62:0,
                 from drivers/gpu/drm/nouveau/core/subdev/fb/nv04.c:3:
drivers/gpu/drm/nouveau/nouveau_drm.h:36:0: note: this is the location of the previous definition
In file included from drivers/gpu/drm/nouveau/core/subdev/fb/nv04.c:3:0:
drivers/gpu/drm/nouveau/nouveau_drv.h:1517:0: warning: "NV_INFO" redefined [enabled by default]
In file included from drivers/gpu/drm/nouveau/nouveau_drv.h:62:0,
                 from drivers/gpu/drm/nouveau/core/subdev/fb/nv04.c:3:
drivers/gpu/drm/nouveau/nouveau_drm.h:40:0: note: this is the location of the previous definition
In file included from drivers/gpu/drm/nouveau/core/subdev/fb/nv04.c:3:0:
drivers/gpu/drm/nouveau/nouveau_drv.h:1520:0: warning: "NV_WARN" redefined [enabled by default]
In file included from drivers/gpu/drm/nouveau/nouveau_drv.h:62:0,
                 from drivers/gpu/drm/nouveau/core/subdev/fb/nv04.c:3:
drivers/gpu/drm/nouveau/nouveau_drm.h:38:0: note: this is the location of the previous definition
In file included from drivers/gpu/drm/nouveau/core/subdev/fb/nv04.c:3:0:
drivers/gpu/drm/nouveau/nouveau_drv.h:1589:1: error: conflicting types for 'nv_engine'
In file included from drivers/gpu/drm/nouveau/core/include/core/device.h:6:0,
                 from drivers/gpu/drm/nouveau/core/include/core/parent.h:4,
                 from drivers/gpu/drm/nouveau/core/include/core/namedb.h:4,
                 from drivers/gpu/drm/nouveau/core/include/core/client.h:4,
                 from drivers/gpu/drm/nouveau/nouveau_drm.h:4,
                 from drivers/gpu/drm/nouveau/nouveau_drv.h:62,
                 from drivers/gpu/drm/nouveau/core/subdev/fb/nv04.c:3:
drivers/gpu/drm/nouveau/core/include/core/engine.h:20:1: note: previous definition of 'nv_engine' was here
..

vim +652 drivers/gpu/drm/nouveau/nouveau_drv.h
   646		struct nv04_crtc_reg crtc_reg[2];
   647		uint32_t pllsel;
   648		uint32_t sel_clk;
   649	};
   650	
   651	enum nouveau_card_type {
 > 652		NV_04      = 0x04,
   653		NV_10      = 0x10,
   654		NV_20      = 0x20,
   655		NV_30      = 0x30,

---
0-DAY kernel build testing backend         Open Source Technology Centre
Fengguang Wu, Yuanhan Liu                              Intel Corporation

                 reply	other threads:[~2012-09-26  1:37 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120926013717.GC8522@localhost \
    --to=fengguang.wu@intel.com \
    --cc=kernel-janitors@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox