OSDN Git Service
(root)
/
android-x86
/
external-libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0572754
)
nouveau: fix compile error with -DDEBUG on newer gcc
author
Karol Herbst
<kherbst@redhat.com>
Sun, 3 May 2020 14:17:42 +0000
(16:17 +0200)
committer
Karol Herbst
<kherbst@redhat.com>
Mon, 4 May 2020 09:58:10 +0000
(11:58 +0200)
Signed-off-by: Karol Herbst <kherbst@redhat.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
nouveau/private.h
patch
|
blob
|
history
diff --git
a/nouveau/private.h
b/nouveau/private.h
index
83060f9
..
034a958
100644
(file)
--- a/
nouveau/private.h
+++ b/
nouveau/private.h
@@
-10,7
+10,7
@@
#include "nouveau.h"
#ifdef DEBUG
-drm_private uint32_t nouveau_debug;
+drm_private
extern
uint32_t nouveau_debug;
#define dbg_on(lvl) (nouveau_debug & (1 << lvl))
#define dbg(lvl, fmt, args...) do { \
if (dbg_on((lvl))) \