Re: [PATCH] nx-842: Endian swap ->count before handing over to the nx-842 compressor

2015-11-02 Thread Dan Streetman
On Sat, Oct 31, 2015 at 2:39 PM, Ram Pai wrote: > On Sat, Oct 31, 2015 at 08:38:17AM -0400, Dan Streetman wrote: >> On Fri, Oct 30, 2015 at 6:45 PM, Ram Pai wrote: >> > The nx-842 compressor overshoots the output buffer corrupting memory. >> > Verified

Re: [PATCH] nx-842: Endian swap ->count before handing over to the nx-842 compressor

2015-10-31 Thread Dan Streetman
On Fri, Oct 30, 2015 at 6:45 PM, Ram Pai wrote: > The nx-842 compressor overshoots the output buffer corrupting memory. Verified > that the following patch fixes the issue on a little-endian system. > > Signed-off-by: Ram Pai > --- >

Re: [PATCH] nx-842: Endian swap ->count before handing over to the nx-842 compressor

2015-10-31 Thread Ram Pai
On Sat, Oct 31, 2015 at 08:38:17AM -0400, Dan Streetman wrote: > On Fri, Oct 30, 2015 at 6:45 PM, Ram Pai wrote: > > The nx-842 compressor overshoots the output buffer corrupting memory. > > Verified > > that the following patch fixes the issue on a little-endian system. > >

[PATCH] nx-842: Endian swap ->count before handing over to the nx-842 compressor

2015-10-30 Thread Ram Pai
The nx-842 compressor overshoots the output buffer corrupting memory. Verified that the following patch fixes the issue on a little-endian system. Signed-off-by: Ram Pai --- drivers/crypto/nx/nx-842-powernv.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff