Skip to content
Commit 2f84a2de authored by Kent Gibson's avatar Kent Gibson Committed by Linus Walleij
Browse files

gpio: uapi: clarify the meaning of 'empty' char arrays



Clarify that a char array containing a string is considered 'empty' if
the first character is the null terminator. The remaining characters
are not relevant to this determination.

Signed-off-by: default avatarKent Gibson <warthog618@gmail.com>
Reviewed-by: default avatarBartosz Golaszewski <bgolaszewski@baylibre.com>
Reviewed-by: default avatarAndy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20201005070329.21055-6-warthog618@gmail.com
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent c303c51c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment