diff options
| author | Iván Ezequiel Rodriguez <ivanrwcm25@gmail.com> | 2026-08-31 11:31:21 -0300 |
|---|---|---|
| committer | Jonathan Corbet <corbet@lwn.net> | 2026-09-15 13:44:43 -0600 |
| commit | f0756b6ebd923d5fefe2d18a6f948fa5ce69db44 (patch) | |
| tree | 6172ecaa0eb144af38655ef5415689bbc0a92951 /include/uapi | |
| parent | 2ef355c4e68648b9ba77d39c1b0129d06c0c18a2 (diff) | |
| download | lwn-f0756b6ebd923d5fefe2d18a6f948fa5ce69db44.tar.gz lwn-f0756b6ebd923d5fefe2d18a6f948fa5ce69db44.zip | |
docs: gpio: note lineinfo padding must be zero filled
GPIO_V2_GET_LINEINFO_IOCTL and GPIO_V2_GET_LINEINFO_WATCH_IOCTL reject
non-zero lineinfo.padding with -EINVAL; align the uapi comment with
gpio_v2_line_request.padding.
Signed-off-by: Iván Ezequiel Rodriguez <ivanrwcm25@gmail.com>
Reviewed-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <20260831143125.151360-4-ivanrwcm25@gmail.com>
Diffstat (limited to 'include/uapi')
| -rw-r--r-- | include/uapi/linux/gpio.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/uapi/linux/gpio.h b/include/uapi/linux/gpio.h index f7cb8ae87df7..5515b718886e 100644 --- a/include/uapi/linux/gpio.h +++ b/include/uapi/linux/gpio.h @@ -218,7 +218,7 @@ struct gpio_v2_line_request { * gpio_v2_line_flag, such as %GPIO_V2_LINE_FLAG_ACTIVE_LOW, * %GPIO_V2_LINE_FLAG_OUTPUT etc, added together * @attrs: the configuration attributes associated with the line - * @padding: reserved for future use + * @padding: reserved for future use, must be zero filled */ struct gpio_v2_line_info { char name[GPIO_MAX_NAME_SIZE]; |
