Re: [PATCH v2] gpiolib: Fix line event handling in syscall compatible mode

Andy Shevchenko
2020-09-15T09:24:55Z

On Tue, Sep 15, 2020 at 07:05:26AM +0800, Kent Gibson wrote:
> On Mon, Sep 14, 2020 at 05:37:43PM +0300, Andy Shevchenko wrote:

...

> It can return size_t now.

> > ssize_t bytes_read = 0;
> > + ssize_t ge_size;
>
> Similarly here.

I deliberately left the ssize_t type to be consistent with the returned type of
the function and bytes_read. If you insist on the type change I will do, though
I personally like my approach.

Thanks!