Re: [PATCH v2] block: sed-opal: fix u64 short atom length

From: Jonas Rabenstein
Date: Wed Mar 07 2018 - 18:59:22 EST


On Wed, Mar 07, 2018 at 04:24:29PM -0700, 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>
>
> Your two patches should be sent to stable for 4.14. I can queue those up and do it,
> or if you want to you can do it as well. Let me know what you prefer!
As I am quite new to all that kernel patch submitting stuff, I would be
glad if you could do it for me so I will not mess it up (;

Thanks,
Jonas