diff options
author | Kent Gibson <[email protected]> | 2020-09-28 08:27:50 +0800 |
---|---|---|
committer | Bartosz Golaszewski <[email protected]> | 2020-09-30 10:56:34 +0200 |
commit | 539430fbbcc4a8d02451c77fff1ecd1f3b5f8abf (patch) | |
tree | b85e927a51acf57c8e9e7e03604d213cc7cb6173 /scripts/gdb/linux/modules.py | |
parent | 69e4e1368803266d0e06dba86868f64f7b277cde (diff) |
gpio: uapi: define GPIO_MAX_NAME_SIZE for array sizes
Replace constant array sizes with a macro constant to clarify the source
of array sizes, provide a place to document any constraints on the size,
and to simplify array sizing in userspace if constructing structs
from their composite fields.
Signed-off-by: Kent Gibson <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Signed-off-by: Bartosz Golaszewski <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions