From: Christian Engelmayer Date: Sun, 18 May 2014 23:00:40 +0000 (-0700) Subject: Input: ims-pcu - fix uninitialized use of 'error' in ims_pcu_buffers_alloc() X-Git-Tag: omap-for-v3.16/fixes-against-rc1~76^2^2~48 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=19318de1daf25aa1ca4fe76e1d7ac834f1bfb0c4;p=pandora-kernel.git Input: ims-pcu - fix uninitialized use of 'error' in ims_pcu_buffers_alloc() In case allocation via usb_alloc_coherent() fails in ims_pcu_buffers_alloc(), the function jumps to the exit path without initializing local variable 'error' that is used as return value. Detected by Coverity - CID 1016531. Signed-off-by: Christian Engelmayer Signed-off-by: Dmitry Torokhov --- Reading git-diff-tree failed