Re: [PATCH v2 04/11] block: sed-opal: unify error handling of responses

2018-03-19 Thread Christoph Hellwig
On Mon, Mar 19, 2018 at 07:36:46PM +0100, Jonas Rabenstein wrote: > Also response_get_token had already been in place, its functionality had > been duplicated within response_get_{u64,bytestring} with the same error > handling. Unify the handling by reusing response_get_token within the > other

Re: [PATCH v2 04/11] block: sed-opal: unify error handling of responses

2018-03-19 Thread Christoph Hellwig
On Mon, Mar 19, 2018 at 07:36:46PM +0100, Jonas Rabenstein wrote: > Also response_get_token had already been in place, its functionality had > been duplicated within response_get_{u64,bytestring} with the same error > handling. Unify the handling by reusing response_get_token within the > other

[PATCH v2 04/11] block: sed-opal: unify error handling of responses

2018-03-19 Thread Jonas Rabenstein
Also response_get_token had already been in place, its functionality had been duplicated within response_get_{u64,bytestring} with the same error handling. Unify the handling by reusing response_get_token within the other functions. Signed-off-by: Jonas Rabenstein

[PATCH v2 04/11] block: sed-opal: unify error handling of responses

2018-03-19 Thread Jonas Rabenstein
Also response_get_token had already been in place, its functionality had been duplicated within response_get_{u64,bytestring} with the same error handling. Unify the handling by reusing response_get_token within the other functions. Signed-off-by: Jonas Rabenstein diff --git a/block/sed-opal.c