block: sed-opal: use correct macro for method length
authorJonas Rabenstein <jonas.rabenstein@studium.uni-erlangen.de>
Thu, 14 Feb 2019 00:15:55 +0000 (01:15 +0100)
committerJens Axboe <axboe@kernel.dk>
Sat, 6 Apr 2019 17:09:12 +0000 (11:09 -0600)
commit1b6b75b0137fd2b5af533eceba5f5db62b1c45b0
tree99452e0fe9efb811eafc153df8d61406ca3ae957
parent1e815b33c5ccd3936b71292b5ffb84e97e1df9e0
block: sed-opal: use correct macro for method length

Also the values of OPAL_UID_LENGTH and OPAL_METHOD_LENGTH are the same,
it is weird to use OPAL_UID_LENGTH for the definition of the methods.

Signed-off-by: Jonas Rabenstein <jonas.rabenstein@studium.uni-erlangen.de>
Signed-off-by: David Kozub <zub@linux.fjfi.cvut.cz>
Reviewed-by: Scott Bauer <sbauer@plzdonthack.me>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jon Derrick <jonathan.derrick@intel.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/sed-opal.c