Re: [PATCH v4 06/16] block: sed-opal: unify error handling of responses

From: Christoph Hellwig
Date: Mon Feb 04 2019 - 09:45:57 EST


On Fri, Feb 01, 2019 at 09:50:13PM +0100, David Kozub wrote:
> response_get_{string,u64} include error handling for argument resp being
> NULL but response_get_token does not handle this.
>
> Make all three of response_get_{string,u64,token} handle NULL resp in
> the same way.
>
> Co-authored-by: Jonas Rabenstein <jonas.rabenstein@xxxxxxxxxxxxxxxxxxxxxxx>
> Signed-off-by: David Kozub <zub@xxxxxxxxxxxxxxxxxx>
> Signed-off-by: Jonas Rabenstein <jonas.rabenstein@xxxxxxxxxxxxxxxxxxxxxxx>
> Reviewed-by: Scott Bauer <sbauer@xxxxxxxxxxxxxx>

Looks good,

Reviewed-by: Christoph Hellwig <hch@xxxxxx>