From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: mikko.rapeli@linaro.org, openembedded-core@lists.openembedded.org
Cc: Bruce Ashfield <bruce.ashfield@gmail.com>
Subject: Re: [OE-core] [PATCH v2 1/4] lttng-modules: fix build with kernel 7.2
Date: Tue, 18 Aug 2026 13:21:20 +0100 [thread overview]
Message-ID: <83662673baa05f5459809f9eecf886fc3b978b33.camel@linuxfoundation.org> (raw)
In-Reply-To: <20260817112129.1271154-2-mikko.rapeli@linaro.org>
On Mon, 2026-08-17 at 14:21 +0300, Mikko Rapeli via lists.openembedded.org wrote:
> With patches from upstream 2.15 stable branch.
> Fixes build error:
>
> > lttng-syscalls.c: In function 'lttng_syscall_event_enabler_create_event':
> > lttng-syscalls.c:612:17: error: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration]
> > 612 | strncpy(ev.name, desc->event_name, LTTNG_KERNEL_ABI_SYM_NAME_LEN - 1);
> > | ^~~~~~~
> > lttng-syscalls.c:101:1: note: include '<string.h>' or provide a declaration of 'strncpy'
> > 100 | #include <instrumentation/syscalls/syscalls_unknown.h>
> > +++ |+#include <string.h>
> > 101 | #undef TRACE_SYSTEM
> > lttng-syscalls.c:612:17: warning: incompatible implicit declaration of built-in function 'strncpy' [-Wbuiltin-declaration-mismatch]
> > 612 | strncpy(ev.name, desc->event_name, LTTNG_KERNEL_ABI_SYM_NAME_LEN - 1);
> > | ^~~~~~~
> > lttng-syscalls.c:612:17: note: include '<string.h>' or provide a declaration of 'strncpy'
> > lttng-syscalls.c:704:17: warning: incompatible implicit declaration of built-in function 'strncpy' [-Wbuiltin-declaration-mismatch]
> > 704 | strncpy(ev.name, desc->event_name, LTTNG_KERNEL_ABI_SYM_NAME_LEN - 1);
> > | ^~~~~~~
> > lttng-syscalls.c:704:17: note: include '<string.h>' or provide a declaration of 'strncpy'
I think 2.15.3 has released now!
Cheers,
Richard
next prev parent reply other threads:[~2026-08-18 12:21 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-17 11:21 [PATCH v2 0/4] Fixes for kernel 7.2 Mikko Rapeli
2026-08-17 11:21 ` [PATCH v2 1/4] lttng-modules: fix build with " Mikko Rapeli
2026-08-18 12:21 ` Richard Purdie [this message]
2026-08-19 6:33 ` [OE-core] " Mikko Rapeli
2026-08-17 11:21 ` [PATCH v2 2/4] testexport.bbclass: capture meta/lib/oe Mikko Rapeli
2026-08-17 11:21 ` [PATCH v2 3/4] kernel-devsrc: copy gen-kernel-hwcaps.sh on arm64 Mikko Rapeli
2026-08-17 11:21 ` [PATCH v2 4/4] kernel-devsrc: copy kernel/sched/ext/ext.h Mikko Rapeli
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83662673baa05f5459809f9eecf886fc3b978b33.camel@linuxfoundation.org \
--to=richard.purdie@linuxfoundation.org \
--cc=bruce.ashfield@gmail.com \
--cc=mikko.rapeli@linaro.org \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.