aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2017-09-06 21:45:34 +0000
committerTejun Heo <[email protected]>2017-09-07 20:33:00 +0000
commit23e4c67ae13da7549a54f4e8c0014f48b2ef5204 (patch)
tree0ffe6bd487ecc6498272308b109abaea8b29c656 /tools/perf/scripts/python
parentMerge tag 'media/v4.14-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mc... (diff)
downloadkernel-23e4c67ae13da7549a54f4e8c0014f48b2ef5204.tar.gz
kernel-23e4c67ae13da7549a54f4e8c0014f48b2ef5204.zip
ata: avoid gcc-7 warning in ata_timing_quantize
gcc-7 warns about the result of a constant multiplication used as a boolean: drivers/ata/libata-core.c: In function 'ata_timing_quantize': drivers/ata/libata-core.c:3164:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] This slightly rearranges the macro to simplify the code and avoid the warning at the same time. Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: Tejun Heo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions