projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99fbaeb
)
remove VM_PFNMAP jump condition
author
zsq
<zsq@rock-chips.com>
Sun, 30 Dec 2012 06:35:32 +0000
(14:35 +0800)
committer
zsq
<zsq@rock-chips.com>
Sun, 30 Dec 2012 06:35:32 +0000
(14:35 +0800)
drivers/video/rockchip/rga/rga_mmu_info.c
patch
|
blob
|
history
diff --git
a/drivers/video/rockchip/rga/rga_mmu_info.c
b/drivers/video/rockchip/rga/rga_mmu_info.c
index 8a1f5fd67ee2ca9b3fcd3cadafbed3c7b092556c..4ba0cb816541ef21cfd7bc3ae3cc58921aab7089 100755
(executable)
--- a/
drivers/video/rockchip/rga/rga_mmu_info.c
+++ b/
drivers/video/rockchip/rga/rga_mmu_info.c
@@
-246,6
+246,7
@@
static int rga_MapUserMemory(struct page **pages,
uint32_t status;
\r
uint32_t Address;
\r
uint32_t temp;
\r
+
\r
status = 0;
\r
Address = 0;
\r
\r
@@
-292,7
+293,7
@@
static int rga_MapUserMemory(struct page **pages,
{
\r
vma = find_vma(current->mm, (Memory + i) << PAGE_SHIFT);
\r
\r
- if (vma
&& (vma->vm_flags & VM_PFNMAP) )
\r
+ if (vma
)//
&& (vma->vm_flags & VM_PFNMAP) )
\r
{
\r
do
\r
{
\r
@@
-347,7
+348,7
@@
static int rga_MapUserMemory(struct page **pages,
}
\r
}
\r
\r
- return
0
;
\r
+ return
status
;
\r
}
\r
#endif
\r
\r