Re: ibmvtpm byteswapping inconsistency
From: Michal Suchanek
Date: Thu Jan 26 2017 - 17:44:40 EST
On 26 January 2017 at 23:05, Jason Gunthorpe
> On Thu, Jan 26, 2017 at 09:22:48PM +0100, Michal Such??nek wrote:
>> This is repeated a few times in the driver so I added memset to quiet
>> gcc and make behavior deterministic in case the unused fields get some
>> meaning in the future.
> Yep, reserved certainly needs to be zeroed.. Can you send a patch?
And len and data as well..
> memset is overkill...
Does not look so.