Re: [PATCHv4 1/4] block/sed: Use ssize_t on atom parsers to return errors

From: Christoph Hellwig
Date: Thu Feb 16 2017 - 09:33:56 EST


On Wed, Feb 15, 2017 at 02:45:54PM -0700, Jon Derrick wrote:
> The short atom parser can return an errno from decoding but does not
> currently return the error as a signed value. Convert all of the parsers
> to ssize_t.
>
> Signed-off-by: Jon Derrick <jonathan.derrick@xxxxxxxxx>
> Reviewed-by: Scott Bauer <scott.bauer@xxxxxxxxx>

Looks fine,

Reviewed-by: Christoph Hellwig <hch@xxxxxx>