On 8/27/20 7:32 AM, Luca Ceresoli wrote: > Current code calls gpiod_get_value() without error checking. Should the > GPIO controller fail, execution would continue without any error message. > > Fix by checking for negative error values. > > Reported-by: Tom Rix <t...@redhat.com> > Signed-off-by: Luca Ceresoli <l...@lucaceresoli.net> > > ---
Thanks, this looks fine. Reviewed-by: Tom Rix <t...@redhat.com>