summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/pwm-fan.c
diff options
context:
space:
mode:
authorRoger Quadros <rogerq@ti.com>2015-07-08 14:50:19 +0300
committerBrian Norris <computersforpeace@gmail.com>2015-08-27 16:30:01 -0700
commit718e38b4d96085b4dab08d3d32e5e033aa1ba6e9 (patch)
tree9f8519b8d96a1e306159c95a23e0d01ea9a76c45 /drivers/hwmon/pwm-fan.c
parentcc7fce80229067890365c1ee196be5d304d36dea (diff)
downloadtalos-obmc-linux-718e38b4d96085b4dab08d3d32e5e033aa1ba6e9.tar.gz
talos-obmc-linux-718e38b4d96085b4dab08d3d32e5e033aa1ba6e9.zip
mtd: mtd_oobtest: Fix the address offset with vary_offset case
When vary_offset is set (e.g. test case 3), the offset is not always zero so memcmpshow() will show the wrong offset in the print message. To fix this we introduce a new function memcmpshowoffset() which takes offset as a parameter and displays the right offset and use it in the case where offset is non zero. The old memcmpshow() functionality is preserved by converting it into a macro with offset preset to 0. Signed-off-by: Roger Quadros <rogerq@ti.com> Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers/hwmon/pwm-fan.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud