From: Lars-Peter Clausen Date: Wed, 11 Jul 2012 09:28:00 +0000 (+0100) Subject: staging:iio:max1363: Don't free uninitialized variable X-Git-Tag: v3.6-rc1~100^2~298^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3879089ba3421bc8136025837b1a532729643371;p=pandora-kernel.git staging:iio:max1363: Don't free uninitialized variable It is possible that on one of the error paths we are going to try to free 'rxbuf', even though it has not been allocated yet, which cause the following warning: drivers/staging/iio/adc/max1363_ring.c: In function 'max1363_trigger_handler': drivers/staging/iio/adc/max1363_ring.c:87:7: warning: 'rxbuf' may be used uninitialized in this function Reported-by: Fengguang Wu Signed-off-by: Lars-Peter Clausen --- Reading git-diff-tree failed