On Wed, Jan 21, 2015 at 10:33 PM, Olliver Schinagl <[email protected]> wrote:
> From: Olliver Schinagl <[email protected]> > > gpiolib uses a fixed string for the suffixes and defines it at 32 bytes. > Later in the code snprintf is used with this fixed value of 32. Using > sizeof() is safer in case the size for the suffixes is ever changed. > > Signed-off-by: Olliver Schinagl <[email protected]> OK looks nice. Patch applied. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-leds" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
