* [mdadm][PATCH] util.c: add limits.h include for NAME_MAX definition
@ 2024-03-12 10:01 Alexander Kanavin
2024-03-12 12:41 ` Mariusz Tkaczyk
0 siblings, 1 reply; 2+ messages in thread
From: Alexander Kanavin @ 2024-03-12 10:01 UTC (permalink / raw
To: mariusz.tkaczyk, linux-raid; +Cc: Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
---
util.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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
--
2.39.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [mdadm][PATCH] util.c: add limits.h include for NAME_MAX definition
2024-03-12 10:01 [mdadm][PATCH] util.c: add limits.h include for NAME_MAX definition Alexander Kanavin
@ 2024-03-12 12:41 ` Mariusz Tkaczyk
0 siblings, 0 replies; 2+ messages in thread
From: Mariusz Tkaczyk @ 2024-03-12 12:41 UTC (permalink / raw
To: Alexander Kanavin; +Cc: linux-raid
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-03-12 12:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-12 10:01 [mdadm][PATCH] util.c: add limits.h include for NAME_MAX definition Alexander Kanavin
2024-03-12 12:41 ` Mariusz Tkaczyk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).