mirror of
https://github.com/torvalds/linux.git
synced 2026-10-22 23:01:49 +02:00
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>
This commit is contained in:
parent
2ef355c4e6
commit
f0756b6ebd
|
|
@ -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];
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user