Re: [PATCH v2] block: sed-opal: fix u64 short atom length
From: Jens Axboe
Date: Fri Mar 16 2018 - 12:15:01 EST
On 3/16/18 8:38 AM, Scott Bauer wrote:
> On Wed, Mar 07, 2018 at 05:55:56PM +0100, Jonas Rabenstein wrote:
>> The length must be given as bytes and not as 4 bit tuples.
>>
>> Signed-off-by: Jonas Rabenstein <jonas.rabenstein@xxxxxxxxxxxxxxxxxxxxxxx>
>> ---
>> v2:
>> - use fls64
>> - shorten loop body
>> ---
>> block/sed-opal.c | 11 ++++-------
>> 1 file changed, 4 insertions(+), 7 deletions(-)
>
> Reviewed-by: Scott Bauer <scott.bauer@xxxxxxxxx>
> Tested-by: Scott Bauer <scott.bauer@xxxxxxxxx>
>
> Hi Jens,
>
> When you get time can you apply this if you have no objections?
Done.
--
Jens Axboe