diff options
author | David Kozub <zub@linux.fjfi.cvut.cz> | 2019-02-14 01:15:58 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-04-06 11:09:12 -0600 |
commit | e8b2922459cf15140ab8cc1f92b6861674fff1a3 (patch) | |
tree | 0dde7aae9c96488af6b854d15a54d8257e786313 /drivers/uio | |
parent | 78d584ca31efbadfd8db105dec09c362d75b97b9 (diff) | |
download | linux-e8b2922459cf15140ab8cc1f92b6861674fff1a3.tar.bz2 |
block: sed-opal: unify cmd start
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 cmd_start and cmd_finalize respectively and thus must not be
additionally added.
Co-authored-by: Jonas Rabenstein <jonas.rabenstein@studium.uni-erlangen.de>
Signed-off-by: David Kozub <zub@linux.fjfi.cvut.cz>
Signed-off-by: Jonas Rabenstein <jonas.rabenstein@studium.uni-erlangen.de>
Reviewed-by: Scott Bauer <sbauer@plzdonthack.me>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Acked-by: Jon Derrick <jonathan.derrick@intel.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/uio')
0 files changed, 0 insertions, 0 deletions