[Skiboot] [PATCH] ffspart: Increase MAX_LINE to above PATH_MAX
Samuel Mendoza-Jonas
sam at mendozajonas.com
Tue Dec 11 13:16:08 AEDT 2018
On Mon, 2018-12-03 at 11:19 +1100, Stewart Smith wrote:
> 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 ','
>
Reviewed-by: Samuel Mendoza-Jonas <sam at mendozajonas.com>
More information about the Skiboot
mailing list