diff options
author | Arnd Bergmann <[email protected]> | 2017-02-01 17:22:25 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2017-02-02 13:01:32 +0100 |
commit | b07525b89f95060dc2d8d954a7a77df4918d8bb8 (patch) | |
tree | 2c5d104bae12b3ca757eed15f20352f33f350a6a /tools/perf/scripts/python/compaction-times.py | |
parent | fe822dc6c12b1e3be3e820d088d431b55d57693b (diff) |
staging: bcm2835-audio: fix empty-body warning
gcc-7 warns about debug statements being left out here:
drivers/staging/bcm2835-audio/bcm2835-vchiq.c: In function 'bcm2835_audio_set_ctls':
drivers/staging/bcm2835-audio/bcm2835-vchiq.c:572:54: error: suggest braces around empty body in an 'else' statement [-Werror=empty-body]
It's better to use no_printk(), which has the added advantage of checking
the format strings.
Fixes: 23b028c871e1 ("staging: bcm2835-audio: initial staging submission")
Signed-off-by: Arnd Bergmann <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions