diff options
author | 2024-02-19 15:58:24 -0500 | |
---|---|---|
committer | 2024-03-04 15:07:55 -0500 | |
commit | 81c751ad1b7f55e0ae04c51bb29c7d855754e3b3 (patch) | |
tree | 82c883db1d47fc8862e658f830ce230df6c90fd6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | dm vdo: include <asm/current.h> to resolve current being undeclared (diff) | |
download | wireguard-linux-81c751ad1b7f55e0ae04c51bb29c7d855754e3b3.tar.xz wireguard-linux-81c751ad1b7f55e0ae04c51bb29c7d855754e3b3.zip |
dm vdo: clean up scnprintf usage
Ignore scnprintf return status since it is not necessary. Change
write_* functions type from int to void since we no longer return
any result. Also, clean up any code that checks or uses any scnprintf
return results.
Check uds_allocate return code which was previous ignored, return
and log error when uds_allocate failed.
Reported-by: Dan Carpenter <dan.carpenter@linaro.org>
Signed-off-by: Chung Chung <cchung@redhat.com>
Signed-off-by: Matthew Sakai <msakai@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions