From: Tomer Barletz Date: Mon, 3 Aug 2015 19:18:13 +0000 (-0700) Subject: sata_sx4: Check return code from pdc20621_i2c_read() X-Git-Tag: omap-for-v4.3/fixes-merge-window~85^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb44e154e25125bef31fa956785e90fccd24610b;p=pandora-kernel.git sata_sx4: Check return code from pdc20621_i2c_read() The variable spd0 might be used uninitialized when pdc20621_i2c_read() fails. This also generates a compilation warning with gcc 5.1. tj: use pr_err() Signed-off-by: Tomer Barletz Signed-off-by: Tejun Heo --- Reading git-diff-tree failed