aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/scripting-engines/trace-event-perl.c
diff options
context:
space:
mode:
authorJens Axboe <[email protected]>2021-11-26 16:57:32 +0000
committerJens Axboe <[email protected]>2021-11-26 16:57:32 +0000
commitd422f40163087408b56290156ba233fc5ada53e4 (patch)
treef93b94f3c73bbb46a5bd56416402dc355d05d724 /tools/perf/util/scripting-engines/trace-event-perl.c
parentblock: call rq_qos_done() before ref check in batch completions (diff)
downloadkernel-d422f40163087408b56290156ba233fc5ada53e4.tar.gz
kernel-d422f40163087408b56290156ba233fc5ada53e4.zip
zram: only make zram_wb_devops for CONFIG_ZRAM_WRITEBACK
If writeback isn't configured, then we get the following warning when compiling zram: drivers/block/zram/zram_drv.c:1824:45: warning: unused variable 'zram_wb_devops' [-Wunused-const-variable] Make sure we only define the block_device_operations if that option is enabled. Link: https://lore.kernel.org/lkml/[email protected]/ Reported-by: kernel test robot <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions