projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9766610
)
drm/nouveau: fix uninitialised variable warning
author
Ben Skeggs
<bskeggs@redhat.com>
Sun, 17 Apr 2011 22:57:51 +0000
(08:57 +1000)
committer
Ben Skeggs
<bskeggs@redhat.com>
Mon, 16 May 2011 00:50:07 +0000
(10:50 +1000)
Looks like a false positive to me, but, anyways!
Reported-by: Jimmy Rentz <jb17bsome@gmail.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_state.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/nouveau/nouveau_state.c
b/drivers/gpu/drm/nouveau/nouveau_state.c
index 8771677d6c5e8a1ff3b9e8fdede033c798bad320..38ea662568c1062a6486426408ef5648265e360a 100644
(file)
--- a/
drivers/gpu/drm/nouveau/nouveau_state.c
+++ b/
drivers/gpu/drm/nouveau/nouveau_state.c
@@
-498,7
+498,7
@@
nouveau_card_init(struct drm_device *dev)
{
struct drm_nouveau_private *dev_priv = dev->dev_private;
struct nouveau_engine *engine;
- int ret, e;
+ int ret, e
= 0
;
vga_client_register(dev->pdev, dev, NULL, nouveau_vga_set_decode);
vga_switcheroo_register_client(dev->pdev, nouveau_switcheroo_set_state,