aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorQian Cai <[email protected]>2019-10-31 10:05:19 -0400
committerDan Williams <[email protected]>2019-11-17 09:17:38 -0800
commit4e24e37d5313edca8b4ab86f240c046c731e28d6 (patch)
treec62b91db39f9c42f626b8b298f3cf5b8a914e914 /scripts/gcc-plugins/cyc_complexity_plugin.c
parentd7c0d927ad5ca452201eae40f932712ac733c816 (diff)
libnvdimm/btt: fix variable 'rc' set but not used
drivers/nvdimm/btt.c: In function 'btt_read_pg': drivers/nvdimm/btt.c:1264:8: warning: variable 'rc' set but not used [-Wunused-but-set-variable] int rc; ^~ Add a ratelimited message in case a storm of errors is encountered. Fixes: d9b83c756953 ("libnvdimm, btt: rework error clearing") Signed-off-by: Qian Cai <[email protected]> Reviewed-by: Vishal Verma <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions