[Skiboot] [PATCH] ffspart: Increase MAX_LINE to above PATH_MAX

Stewart Smith stewart at linux.ibm.com
Mon Dec 3 11:19:36 AEDT 2018


Otherwise we saw failures in CI and the ~221 character paths Jankins
likes to have.

Signed-off-by: Stewart Smith <stewart at linux.ibm.com>
---
 external/ffspart/ffspart.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/external/ffspart/ffspart.c b/external/ffspart/ffspart.c
index 179ed582170b..eeee0d4d657b 100644
--- a/external/ffspart/ffspart.c
+++ b/external/ffspart/ffspart.c
@@ -50,7 +50,7 @@
  *  Plus \n 40
  *  Lets do 50.
  */
-#define MAX_LINE 255
+#define MAX_LINE (PATH_MAX+255)
 #define MAX_TOCS 10
 #define SEPARATOR ','
 
-- 
2.19.2



More information about the Skiboot mailing list