projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53e974d
)
staging: tidspbridge: fix signess error
author
Vasiliy Kulikov
<segooon@gmail.com>
Sun, 10 Oct 2010 17:28:55 +0000
(21:28 +0400)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Sun, 10 Oct 2010 18:25:00 +0000
(11:25 -0700)
i was unsigned, so check for (i < 0) made no sense. Made it signed.
Signed-off-by: Vasiliy Kulikov <segooon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/tidspbridge/core/dsp-mmu.c
patch
|
blob
|
history
diff --git
a/drivers/staging/tidspbridge/core/dsp-mmu.c
b/drivers/staging/tidspbridge/core/dsp-mmu.c
index
3c978f9
..
983c95a
100644
(file)
--- a/
drivers/staging/tidspbridge/core/dsp-mmu.c
+++ b/
drivers/staging/tidspbridge/core/dsp-mmu.c
@@
-219,7
+219,8
@@
u32 user_to_dsp_map(struct iommu *mmu, u32 uva, u32 da, u32 size,
struct page **usr_pgs)
{
int res, w;
- unsigned pages, i;
+ unsigned pages;
+ int i;
struct vm_area_struct *vma;
struct mm_struct *mm = current->mm;
struct sg_table *sgt;