Re: [PATCH 2/2] block: sed-opal: fix sparse warning: convert __be64 data

2019-10-03 Thread Scott Bauer
On Wed, Oct 02, 2019 at 07:23:15PM -0700, Randy Dunlap wrote: > From: Randy Dunlap > > sparse warns about incorrect type when using __be64 data. > It is not being converted to CPU-endian but it should be. > > Fixes these sparse warnings: > > ../block/sed-opal.c:375:20: warning: incorrect type

Re: [PATCH 2/2] block: sed-opal: fix sparse warning: convert __be64 data

2019-10-03 Thread Derrick, Jonathan
On Thu, 2019-10-03 at 11:40 -0400, Scott Bauer wrote: > On Wed, Oct 02, 2019 at 07:23:15PM -0700, Randy Dunlap wrote: > > From: Randy Dunlap > > > > sparse warns about incorrect type when using __be64 data. > > It is not being converted to CPU-endian but it should be. > > > > Fixes these sparse