From: Laurent Pinchart Date: Mon, 17 Dec 2012 07:52:48 +0000 (-0300) Subject: [media] omap3isp: ispqueue: Fix uninitialized variable compiler warnings X-Git-Tag: v3.9-rc1~93^2~366 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e19bc863f1f45223a85935f070177eda6b422f8f;p=pandora-kernel.git [media] omap3isp: ispqueue: Fix uninitialized variable compiler warnings drivers/media/platform/omap3isp/ispqueue.c:399:18: warning: 'pa' may be used uninitialized in this function [-Wuninitialized] This is a false positive but the compiler has no way to know about it, so initialize the variable to 0. drivers/media/platform/omap3isp/ispqueue.c:445:6: warning: 'vm_page_prot' may be used uninitialized in this function [-Wuninitialized] This is a false positive and the compiler should know better. Use uninitialized_var(). Signed-off-by: Laurent Pinchart Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed