From: "'Jan Kiszka' via isar-users" <isar-users@googlegroups.com>
To: srinuvasan.a@siemens.com, isar-users@googlegroups.com
Subject: Re: [PATCH] example-module: use pr_info instead of printk
Date: Fri, 10 Apr 2026 19:41:48 +0200 [thread overview]
Message-ID: <f42da35e-002b-4247-9f23-9172c4554916@siemens.com> (raw)
In-Reply-To: <20260410165048.438922-1-srinuvasan.a@siemens.com>
On 10.04.26 18:50, srinuvasan.a via isar-users wrote:
> From: Srinuvasan A <srinuvasan.a@siemens.com>
>
> The initialization message was not visible in dmesg
> when the module was loaded.
That is a matter of log level settings on the target. We can still
change this if it helps.
>
> Switch to pr_info() to ensure the message is properly
> logged and visible during module initialization.
>
Which test case in Isar was affected by this? Or was this a downstream
target?
> Signed-off-by: Srinuvasan A <srinuvasan.a@siemens.com>
> ---
> .../recipes-kernel/example-module/files/src/example-module.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta-isar/recipes-kernel/example-module/files/src/example-module.c b/meta-isar/recipes-kernel/example-module/files/src/example-module.c
> index 4e74ee74..5a408726 100644
> --- a/meta-isar/recipes-kernel/example-module/files/src/example-module.c
> +++ b/meta-isar/recipes-kernel/example-module/files/src/example-module.c
> @@ -10,7 +10,7 @@
>
> static int __init example_module_init(void)
> {
> - printk("Just an example\n");
> + pr_info("Just an example\n");
> return 0;
> }
>
Jan
--
Siemens AG, Foundational Technologies
Linux Expert Center
--
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/f42da35e-002b-4247-9f23-9172c4554916%40siemens.com.
next prev parent reply other threads:[~2026-04-10 17:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-10 16:50 srinuvasan.a via isar-users
2026-04-10 17:41 ` 'Jan Kiszka' via isar-users [this message]
2026-04-17 5:03 ` 'Arjunan, Srinu' via isar-users
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=f42da35e-002b-4247-9f23-9172c4554916@siemens.com \
--to=isar-users@googlegroups.com \
--cc=jan.kiszka@siemens.com \
--cc=srinuvasan.a@siemens.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox