summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavo@embeddedor.com>2018-10-08 19:35:28 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2018-10-14 18:01:00 +0100
commitc65a0d84ee9cae48ce4b40346e238415e47904fa (patch)
treecd2213c795802e63b511ac151665ff84e48c3f71 /tools/perf/scripts/python/stackcollapse.py
parent5c93f3ce98b6e5ceda6b2e9c80b071e556fac6f4 (diff)
downloadlinux-c65a0d84ee9cae48ce4b40346e238415e47904fa.tar.gz
linux-c65a0d84ee9cae48ce4b40346e238415e47904fa.zip
iio: dpot-dac: mark expected switch fall-through with text GCC expects.
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Notice that in this particular case, I replaced "...and fall through." with the specific string "fall through", which is what GCC is expecting to find thus supressing this false positive. As Peter has observed this breaks the nice English flow, which is less than ideal, but short of teaching GCC to read English, there isn't a lot that we can do about it. Addresses-Coverity-ID: 1462408 ("Missing break in switch") Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions