Re: [PATCH v2 03/11] block: sed-opal: unify cmd start and finalize

2018-03-19 Thread Christoph Hellwig
On Mon, Mar 19, 2018 at 07:36:45PM +0100, Jonas Rabenstein wrote: > Every step starts with resetting the cmd buffer as well as the comid and > constructs the appropriate OPAL_CALL command. Consequently, those > actions may be combined into one generic function. On should take care, > that the openi

[PATCH v2 03/11] block: sed-opal: unify cmd start and finalize

2018-03-19 Thread Jonas Rabenstein
Every step starts with resetting the cmd buffer as well as the comid and constructs the appropriate OPAL_CALL command. Consequently, those actions may be combined into one generic function. On should take care, that the opening and closing tokens for the argument list are already emitted by those f