[OE-core] [meta-skeleton][PATCH 2/2] hello-mod/hello.c: convert printk to pr_xxx

2021-09-14 Thread Trevor Woerner
Convert to the newer pr_xxx aliases for logging, which embed the log level in
the macro names.

Signed-off-by: Trevor Woerner 
---
 meta-skeleton/recipes-kernel/hello-mod/files/hello.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-skeleton/recipes-kernel/hello-mod/files/hello.c 
b/meta-skeleton/recipes-kernel/hello-mod/files/hello.c
index b68b0c348e..6b73a79524 100644
--- a/meta-skeleton/recipes-kernel/hello-mod/files/hello.c
+++ b/meta-skeleton/recipes-kernel/hello-mod/files/hello.c
@@ -21,13 +21,13 @@
 
 static int __init hello_init(void)
 {
-   printk("Hello World!\n");
+   pr_info("Hello World!\n");
return 0;
 }
 
 static void __exit hello_exit(void)
 {
-   printk("Goodbye Cruel World!\n");
+   pr_info("Goodbye Cruel World!\n");
 }
 
 module_init(hello_init);
-- 
2.30.0.rc0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#156032): 
https://lists.openembedded.org/g/openembedded-core/message/156032
Mute This Topic: https://lists.openembedded.org/mt/85617014/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [meta-skeleton][PATCH 2/2] hello-mod/hello.c: convert printk to pr_xxx

2021-09-27 Thread Trevor Woerner
ping?

It seems 1/2 got applied, but I didn't see an NAKs for 2/2?

On Wed, Sep 15, 2021 at 6:53 AM Quentin Schulz <
quentin.sch...@theobroma-systems.com> wrote:

> Hi Trevor,
>
> On Tue, Sep 14, 2021 at 08:38:04PM -0400, Trevor Woerner wrote:
> > Convert to the newer pr_xxx aliases for logging, which embed the log
> level in
> > the macro names.
> >
> > Signed-off-by: Trevor Woerner 
>
> Reviewed-by: Quentin Schulz 
>
> Thanks!
> Quentin
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#156373): 
https://lists.openembedded.org/g/openembedded-core/message/156373
Mute This Topic: https://lists.openembedded.org/mt/85617014/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [meta-skeleton][PATCH 2/2] hello-mod/hello.c: convert printk to pr_xxx

2021-09-27 Thread Richard Purdie
On Mon, 2021-09-27 at 03:42 -0400, Trevor Woerner wrote:
> ping?
> 
> It seems 1/2 got applied, but I didn't see an NAKs for 2/2?

My intention was to apply both, not sure what happened, sorry. I've queued it.

Cheers,

Richard


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#156375): 
https://lists.openembedded.org/g/openembedded-core/message/156375
Mute This Topic: https://lists.openembedded.org/mt/85617014/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [meta-skeleton][PATCH 2/2] hello-mod/hello.c: convert printk to pr_xxx

2021-09-15 Thread Quentin Schulz
Hi Trevor,

On Tue, Sep 14, 2021 at 08:38:04PM -0400, Trevor Woerner wrote:
> Convert to the newer pr_xxx aliases for logging, which embed the log level in
> the macro names.
> 
> Signed-off-by: Trevor Woerner 

Reviewed-by: Quentin Schulz 

Thanks!
Quentin

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#156054): 
https://lists.openembedded.org/g/openembedded-core/message/156054
Mute This Topic: https://lists.openembedded.org/mt/85617014/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-