|
@@ -366,7 +366,7 @@ static int isp_video_buffer_prepare_pfnmap(struct isp_video_buffer *buf)
|
|
unsigned long this_pfn;
|
|
unsigned long this_pfn;
|
|
unsigned long start;
|
|
unsigned long start;
|
|
unsigned long end;
|
|
unsigned long end;
|
|
- dma_addr_t pa;
|
|
|
|
|
|
+ dma_addr_t pa = 0;
|
|
int ret = -EFAULT;
|
|
int ret = -EFAULT;
|
|
|
|
|
|
start = buf->vbuf.m.userptr;
|
|
start = buf->vbuf.m.userptr;
|
|
@@ -419,7 +419,7 @@ done:
|
|
static int isp_video_buffer_prepare_vm_flags(struct isp_video_buffer *buf)
|
|
static int isp_video_buffer_prepare_vm_flags(struct isp_video_buffer *buf)
|
|
{
|
|
{
|
|
struct vm_area_struct *vma;
|
|
struct vm_area_struct *vma;
|
|
- pgprot_t vm_page_prot;
|
|
|
|
|
|
+ pgprot_t uninitialized_var(vm_page_prot);
|
|
unsigned long start;
|
|
unsigned long start;
|
|
unsigned long end;
|
|
unsigned long end;
|
|
int ret = -EFAULT;
|
|
int ret = -EFAULT;
|