mirror of https://gitee.com/openkylin/linux.git
staging: tidspbridge: fix signess error
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>
This commit is contained in:
parent
53e974db65
commit
2dff527957
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue