diff mbox series

[mdadm] util.c: add limits.h include for NAME_MAX definition

Message ID 20240312100150.392586-1-alex@linutronix.de (mailing list archive)
State Accepted
Headers show
Series [mdadm] util.c: add limits.h include for NAME_MAX definition | expand

Commit Message

Alexander Kanavin March 12, 2024, 10:01 a.m. UTC
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
---
 util.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Mariusz Tkaczyk March 12, 2024, 12:41 p.m. UTC | #1
On Tue, 12 Mar 2024 11:01:50 +0100
Alexander Kanavin <alex@linutronix.de> wrote:

> Signed-off-by: Alexander Kanavin <alex@linutronix.de>

checkpatch raised:
> WARNING: Missing commit description - Add an appropriate one
>
> total: 0 errors, 1 warnings, 0 checks, 8 lines checked

I added description and applied it. No need to resend.

Thanks,
Mariusz
diff mbox series

Patch

diff --git a/util.c b/util.c
index 05ad3343..49a9c6e2 100644
--- a/util.c
+++ b/util.c
@@ -36,7 +36,7 @@ 
 #include	<ctype.h>
 #include	<dirent.h>
 #include	<dlfcn.h>
-
+#include	<limits.h>
 
 /*
  * following taken from linux/blkpg.h because they aren't