summaryrefslogtreecommitdiffstats
path: root/drivers/hwtracing
diff options
context:
space:
mode:
authorTomer Barletz <barletz@gmail.com>2015-08-03 12:18:13 -0700
committerTejun Heo <tj@kernel.org>2015-08-06 12:38:14 -0400
commitbb44e154e25125bef31fa956785e90fccd24610b (patch)
treebd58966daf20c37bc34ebd94a70e030f834bc17e /drivers/hwtracing
parent74a80d67b8316eb3fbeb73dafc060a5a0a708587 (diff)
downloadblackbird-obmc-linux-bb44e154e25125bef31fa956785e90fccd24610b.tar.gz
blackbird-obmc-linux-bb44e154e25125bef31fa956785e90fccd24610b.zip
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 <barletz@gmail.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers/hwtracing')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud