diff mbox series

[19/20] lib/generic-radix-tree.c: Add a missing include

Message ID 20230712211115.2174650-20-kent.overstreet@linux.dev (mailing list archive)
State New, archived
Headers show
Series bcachefs prereqs patch series | expand

Commit Message

Kent Overstreet July 12, 2023, 9:11 p.m. UTC
From: Kent Overstreet <kent.overstreet@gmail.com>

We now need linux/limits.h for SIZE_MAX.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
---
 include/linux/generic-radix-tree.h | 1 +
 1 file changed, 1 insertion(+)

Comments

Matthew Wilcox (Oracle) July 25, 2023, 3:04 a.m. UTC | #1
On Wed, Jul 12, 2023 at 05:11:14PM -0400, Kent Overstreet wrote:
> From: Kent Overstreet <kent.overstreet@gmail.com>
> 
> We now need linux/limits.h for SIZE_MAX.

I think this should be squashed into the previous commit

> Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
> ---
>  include/linux/generic-radix-tree.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/include/linux/generic-radix-tree.h b/include/linux/generic-radix-tree.h
> index 63080822dc..f6cd0f909d 100644
> --- a/include/linux/generic-radix-tree.h
> +++ b/include/linux/generic-radix-tree.h
> @@ -38,6 +38,7 @@
>  
>  #include <asm/page.h>
>  #include <linux/bug.h>
> +#include <linux/limits.h>
>  #include <linux/log2.h>
>  #include <linux/math.h>
>  #include <linux/types.h>
> -- 
> 2.40.1
>
Kent Overstreet July 25, 2023, 3:36 a.m. UTC | #2
On Tue, Jul 25, 2023 at 04:04:06AM +0100, Matthew Wilcox wrote:
> On Wed, Jul 12, 2023 at 05:11:14PM -0400, Kent Overstreet wrote:
> > From: Kent Overstreet <kent.overstreet@gmail.com>
> > 
> > We now need linux/limits.h for SIZE_MAX.
> 
> I think this should be squashed into the previous commit

No objection...
diff mbox series

Patch

diff --git a/include/linux/generic-radix-tree.h b/include/linux/generic-radix-tree.h
index 63080822dc..f6cd0f909d 100644
--- a/include/linux/generic-radix-tree.h
+++ b/include/linux/generic-radix-tree.h
@@ -38,6 +38,7 @@ 
 
 #include <asm/page.h>
 #include <linux/bug.h>
+#include <linux/limits.h>
 #include <linux/log2.h>
 #include <linux/math.h>
 #include <linux/types.h>