aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJacob Keller <jacob.e.keller@intel.com>2017-07-10 13:23:07 -0700
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2017-10-02 07:54:00 -0700
commit523a0b558db4ca205522976077911e5efe235781 (patch)
treef5d0e709072da569f9430adb06f944f0697b0021 /tools/perf/scripts/python
parentfm10k: avoid possible truncation of q_vector->name (diff)
downloadlinux-523a0b558db4ca205522976077911e5efe235781.tar.gz
linux-523a0b558db4ca205522976077911e5efe235781.zip
fm10k: add missing fall through comment
Newer versions of GCC starting with 7 now additionally warn when a case statement may fall through without an explicit comment mentioning it. Add such a comment to silence the warning, as this is expected. Unfortunately the comment must come directly before the next case statement, so we put it outside the #ifdef. Otherwise, the compiler cannot properly detect it and thus the warning is displayed regardless. Signed-off-by: Jacob Keller <jacob.e.keller@intel.com> Tested-by: Krishneil Singh <krishneil.k.singh@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions