Message ID | 20240711220457.1751071-1-surenb@google.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | [1/3] lib: add missing newline character in the warning message | expand |
On Thu, Jul 11, 2024 at 3:05 PM Suren Baghdasaryan <surenb@google.com> wrote: > > Fixes: 22d407b164ff ("lib: add allocation tagging support for memory allocation profiling") > Signed-off-by: Suren Baghdasaryan <surenb@google.com> The fixes in this patchset are cleanups, not critical and not urgent. Thanks, Suren. > --- > include/linux/alloc_tag.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/include/linux/alloc_tag.h b/include/linux/alloc_tag.h > index abd24016a900..8c61ccd161ba 100644 > --- a/include/linux/alloc_tag.h > +++ b/include/linux/alloc_tag.h > @@ -122,7 +122,7 @@ static inline void alloc_tag_add_check(union codetag_ref *ref, struct alloc_tag > "alloc_tag was not cleared (got tag for %s:%u)\n", > ref->ct->filename, ref->ct->lineno); > > - WARN_ONCE(!tag, "current->alloc_tag not set"); > + WARN_ONCE(!tag, "current->alloc_tag not set\n"); > } > > static inline void alloc_tag_sub_check(union codetag_ref *ref) > > base-commit: 8a18fda0febb7790de20ec1c3b4522ce026be1c6 > -- > 2.45.2.993.g49e7a77208-goog >
diff --git a/include/linux/alloc_tag.h b/include/linux/alloc_tag.h index abd24016a900..8c61ccd161ba 100644 --- a/include/linux/alloc_tag.h +++ b/include/linux/alloc_tag.h @@ -122,7 +122,7 @@ static inline void alloc_tag_add_check(union codetag_ref *ref, struct alloc_tag "alloc_tag was not cleared (got tag for %s:%u)\n", ref->ct->filename, ref->ct->lineno); - WARN_ONCE(!tag, "current->alloc_tag not set"); + WARN_ONCE(!tag, "current->alloc_tag not set\n"); } static inline void alloc_tag_sub_check(union codetag_ref *ref)
Fixes: 22d407b164ff ("lib: add allocation tagging support for memory allocation profiling") Signed-off-by: Suren Baghdasaryan <surenb@google.com> --- include/linux/alloc_tag.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) base-commit: 8a18fda0febb7790de20ec1c3b4522ce026be1c6