mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH RESEND] test: include <linux/printk.h>
@ 2023-02-17 20:42 Ahmad Fatoum
  2023-02-21  9:25 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Ahmad Fatoum @ 2023-02-17 20:42 UTC (permalink / raw)
  To: barebox; +Cc: Ahmad Fatoum

We use pr_print logging in bselftest.h, so include the header that
defines these macros.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
Patch was part of reverted TLSF 8-byte alignment series, but is still
applicable, so resending it.
---
 include/bselftest.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/bselftest.h b/include/bselftest.h
index 2bae6cd1393d..c3f323864358 100644
--- a/include/bselftest.h
+++ b/include/bselftest.h
@@ -4,6 +4,7 @@
 
 #include <linux/compiler.h>
 #include <linux/list.h>
+#include <linux/printk.h>
 #include <init.h>
 
 enum bselftest_group {
-- 
2.30.2




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH RESEND] test: include <linux/printk.h>
  2023-02-17 20:42 [PATCH RESEND] test: include <linux/printk.h> Ahmad Fatoum
@ 2023-02-21  9:25 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2023-02-21  9:25 UTC (permalink / raw)
  To: Ahmad Fatoum; +Cc: barebox

On Fri, Feb 17, 2023 at 09:42:04PM +0100, Ahmad Fatoum wrote:
> We use pr_print logging in bselftest.h, so include the header that
> defines these macros.
> 
> Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
> ---
> Patch was part of reverted TLSF 8-byte alignment series, but is still
> applicable, so resending it.
> ---
>  include/bselftest.h | 1 +
>  1 file changed, 1 insertion(+)

Applied, thanks

Sascha

> 
> diff --git a/include/bselftest.h b/include/bselftest.h
> index 2bae6cd1393d..c3f323864358 100644
> --- a/include/bselftest.h
> +++ b/include/bselftest.h
> @@ -4,6 +4,7 @@
>  
>  #include <linux/compiler.h>
>  #include <linux/list.h>
> +#include <linux/printk.h>
>  #include <init.h>
>  
>  enum bselftest_group {
> -- 
> 2.30.2
> 
> 
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-02-21  9:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-17 20:42 [PATCH RESEND] test: include <linux/printk.h> Ahmad Fatoum
2023-02-21  9:25 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox