Skip to content

Commit 4810a82

Browse files
surenbaghdasaryanakpm00
authored andcommitted
lib: add missing newline character in the warning message
Link: https://lkml.kernel.org/r/[email protected] Fixes: 22d407b ("lib: add allocation tagging support for memory allocation profiling") Signed-off-by: Suren Baghdasaryan <[email protected]> Cc: Kees Cook <[email protected]> Cc: Kent Overstreet <[email protected]> Cc: Pasha Tatashin <[email protected]> Cc: Sourav Panda <[email protected]> Cc: Vlastimil Babka <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
1 parent 3f74e6b commit 4810a82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/linux/alloc_tag.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ static inline void alloc_tag_add_check(union codetag_ref *ref, struct alloc_tag
122122
"alloc_tag was not cleared (got tag for %s:%u)\n",
123123
ref->ct->filename, ref->ct->lineno);
124124

125-
WARN_ONCE(!tag, "current->alloc_tag not set");
125+
WARN_ONCE(!tag, "current->alloc_tag not set\n");
126126
}
127127

128128
static inline void alloc_tag_sub_check(union codetag_ref *ref)

0 commit comments

Comments
 (0)