ibmvtpm byteswapping inconsistency

Michal Suchanek hramrach at gmail.com
Fri Jan 27 09:43:27 AEDT 2017


On 26 January 2017 at 23:05, Jason Gunthorpe
<jgunthorpe at obsidianresearch.com> wrote:
> 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.

Michal


More information about the Linuxppc-dev mailing list