Subject: Re: [PATCH net-next 1/2] net: sfp: add support for module quirks

From: Andrew Lunn <[email-masked]>
Date: Thu, 21 Nov 2019 03:24:52 +0100

> +static size_t sfp_strlen(const char *str, size_t maxlen)
> +{
> +	size_t size, i;
> +
> +	/* Trailing characters should be filled with space chars */
> +	for (i = 0, size = 0; i < maxlen; i++)
> +		if (str[i] != ' ')
> +			size = i + 1;

Hi Russell

Is this space padding part of the standard? What's the bet there are
some with a NULL character?

Reviewed-by: Andrew Lunn <[email-masked]>

    Andrew