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

From: Scott Bauer
Date: Sun Jan 27 2019 - 16:06:11 EST


On Tue, Jan 22, 2019 at 11:31:37PM +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>