mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
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 <[email protected]> Signed-off-by: David Kozub <[email protected]> Reviewed-by: Scott Bauer <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Reviewed-by: Jon Derrick <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
This commit is contained in:
parent
1e815b33c5
commit
1b6b75b013
1 changed files with 1 additions and 1 deletions
|
|
@ -181,7 +181,7 @@ static const u8 opaluid[][OPAL_UID_LENGTH] = {
|
|||
* Derived from: TCG_Storage_Architecture_Core_Spec_v2.01_r1.00
|
||||
* Section: 6.3 Assigned UIDs
|
||||
*/
|
||||
static const u8 opalmethod[][OPAL_UID_LENGTH] = {
|
||||
static const u8 opalmethod[][OPAL_METHOD_LENGTH] = {
|
||||
[OPAL_PROPERTIES] =
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0x01 },
|
||||
[OPAL_STARTSESSION] =
|
||||
|
|
|
|||
Loading…
Reference in a new issue