summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorDavid Kozub <zub@linux.fjfi.cvut.cz>2019-02-14 03:15:58 +0300
committerJens Axboe <axboe@kernel.dk>2019-04-06 20:09:12 +0300
commite8b2922459cf15140ab8cc1f92b6861674fff1a3 (patch)
tree0dde7aae9c96488af6b854d15a54d8257e786313 /arch
parent78d584ca31efbadfd8db105dec09c362d75b97b9 (diff)
downloadlinux-e8b2922459cf15140ab8cc1f92b6861674fff1a3.tar.xz
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 'arch')
0 files changed, 0 insertions, 0 deletions