aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorErik Stromdahl <[email protected]>2017-07-28 15:15:40 +0300
committerKalle Valo <[email protected]>2017-08-03 14:34:49 +0300
commit433ef1b226788d1a5e6fbdc6697ff2c06ba6a9b0 (patch)
treebfa1daf7baee7e803730cbeac4fd612a10fa756d /tools/perf/scripts/python/stackcollapse.py
parent4db66499df91b9398435e2dbee0e42cd6df0bc27 (diff)
ath10k: sdio: fix compile warning
As suggested by Arnd Bergmann, replace "while (time_before_...) {}" with "do {} while (time_before_...)" This fixes the following warnings detected by gcc 4.1.2: drivers/net/wireless/ath/ath10k/sdio.c: In function ‘ath10k_sdio_mbox_rxmsg_pending_handler’: drivers/net/wireless/ath/ath10k/sdio.c:676: warning: ‘ret’ may be used uninitialized in this function ... drivers/net/wireless/ath/ath10k/sdio.c: In function ‘ath10k_sdio_irq_handler’: drivers/net/wireless/ath/ath10k/sdio.c:1331: warning: ‘ret’ may be used uninitialized in this function Signed-off-by: Erik Stromdahl <[email protected]> Signed-off-by: Kalle Valo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions