diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2008-04-28 05:15:33 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-28 11:58:40 -0400 |
commit | 7d345b2253f92804948d66f4db17a49c1932b9a3 (patch) | |
tree | 676bde686170e6c569cf6752fde7da3d803dfc14 /drivers/video/riva/nv_driver.c | |
parent | 7ce3ab100e4e115ca2c4fd931844a0f1a50df406 (diff) |
fbdev: nv: fix sparse noise
Mostly signedness fixes. nv10_sim_state existence in both drivers suggests
that one of them should be removed, but that's for later.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Cc: Antonino A. Daplas <adaplas@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/riva/nv_driver.c')
-rw-r--r-- | drivers/video/riva/nv_driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/riva/nv_driver.c b/drivers/video/riva/nv_driver.c index a1181149da74..f3694cf17e58 100644 --- a/drivers/video/riva/nv_driver.c +++ b/drivers/video/riva/nv_driver.c | |||
@@ -158,7 +158,7 @@ unsigned long riva_get_memlen(struct riva_par *par) | |||
158 | unsigned long memlen = 0; | 158 | unsigned long memlen = 0; |
159 | unsigned int chipset = par->Chipset; | 159 | unsigned int chipset = par->Chipset; |
160 | struct pci_dev* dev; | 160 | struct pci_dev* dev; |
161 | int amt; | 161 | u32 amt; |
162 | 162 | ||
163 | switch (chip->Architecture) { | 163 | switch (chip->Architecture) { |
164 | case NV_ARCH_03: | 164 | case NV_ARCH_03: |