summaryrefslogtreecommitdiff
path: root/drivers/md/dm-vdo/string-utils.h
diff options
context:
space:
mode:
authorMike Snitzer <snitzer@kernel.org>2024-02-14 18:34:46 +0300
committerMike Snitzer <snitzer@kernel.org>2024-03-04 23:07:57 +0300
commit900d337b4677b958c4139e307a9eebb72503d044 (patch)
treebe13c2d1a6828d928d9ec85a21f6b27721560d37 /drivers/md/dm-vdo/string-utils.h
parent3584240b9ce4adf63c3a985a730eb3f75806c26d (diff)
downloadlinux-900d337b4677b958c4139e307a9eebb72503d044.tar.xz
dm vdo string-utils: change from uds_ to vdo_ namespace
Signed-off-by: Mike Snitzer <snitzer@kernel.org> Signed-off-by: Chung Chung <cchung@redhat.com> Signed-off-by: Matthew Sakai <msakai@redhat.com>
Diffstat (limited to 'drivers/md/dm-vdo/string-utils.h')
-rw-r--r--drivers/md/dm-vdo/string-utils.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/md/dm-vdo/string-utils.h b/drivers/md/dm-vdo/string-utils.h
index 8275af582cf7..96eecd38b1c2 100644
--- a/drivers/md/dm-vdo/string-utils.h
+++ b/drivers/md/dm-vdo/string-utils.h
@@ -3,21 +3,21 @@
* Copyright 2023 Red Hat
*/
-#ifndef UDS_STRING_UTILS_H
-#define UDS_STRING_UTILS_H
+#ifndef VDO_STRING_UTILS_H
+#define VDO_STRING_UTILS_H
#include <linux/kernel.h>
#include <linux/string.h>
/* Utilities related to string manipulation */
-static inline const char *uds_bool_to_string(bool value)
+static inline const char *vdo_bool_to_string(bool value)
{
return value ? "true" : "false";
}
/* Append a formatted string to the end of a buffer. */
-char *uds_append_to_buffer(char *buffer, char *buf_end, const char *fmt, ...)
+char *vdo_append_to_buffer(char *buffer, char *buf_end, const char *fmt, ...)
__printf(3, 4);
-#endif /* UDS_STRING_UTILS_H */
+#endif /* VDO_STRING_UTILS_H */