projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d095e23
)
drm/nv50: fix smatch warning in nv50_vram.c
author
Ben Skeggs
<bskeggs@redhat.com>
Tue, 21 Dec 2010 01:15:44 +0000
(11:15 +1000)
committer
Ben Skeggs
<bskeggs@redhat.com>
Tue, 21 Dec 2010 01:53:38 +0000
(11:53 +1000)
Reported-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nv50_vm.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/nouveau/nv50_vm.c
b/drivers/gpu/drm/nouveau/nv50_vm.c
index
eebab95
..
7939387
100644
(file)
--- a/
drivers/gpu/drm/nouveau/nv50_vm.c
+++ b/
drivers/gpu/drm/nouveau/nv50_vm.c
@@
-91,7
+91,8
@@
void
nv50_vm_map(struct nouveau_vma *vma, struct nouveau_gpuobj *pgt,
struct nouveau_vram *mem, u32 pte, u32 cnt, u64 phys)
{
- u32 block, i;
+ u32 block;
+ int i;
phys = nv50_vm_addr(vma, pgt, phys, mem->memtype, 0);
pte <<= 3;