diff options
| author | Kent Gibson <[email protected]> | 2020-09-28 08:27:48 +0800 |
|---|---|---|
| committer | Bartosz Golaszewski <[email protected]> | 2020-09-30 10:56:23 +0200 |
| commit | 0dc11e3ad353e19b1a119e3146c69c0930ecae5f (patch) | |
| tree | ccc32c2f31883b4202ae40921ada6ce980b5233a /lib/test_fortify/write_overflow-strscpy.c | |
| parent | 42e9acc679105208e001a2911c0241d968ab68e5 (diff) | |
gpiolib: cdev: gpio_desc_to_lineinfo() should set info offset
Set the value of the line info offset in gpio_desc_to_lineinfo(), rather
than relying on it being passed in the info. This makes the function
behave as you would expect from the name - it generates the line info
corresponding to a given GPIO desc.
Signed-off-by: Kent Gibson <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Signed-off-by: Bartosz Golaszewski <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strscpy.c')
0 files changed, 0 insertions, 0 deletions