RE: [PATCH v2] [hv] storvsc: Payload buffer incorrectly sized for 32 bit kernels.

From: KY Srinivasan
Date: Wed Nov 30 2016 - 01:17:40 EST




> -----Original Message-----
> From: Martin K. Petersen [mailto:martin.petersen@xxxxxxxxxx]
> Sent: Tuesday, November 29, 2016 8:58 AM
> To: Cathy Avery <cavery@xxxxxxxxxx>
> Cc: KY Srinivasan <kys@xxxxxxxxxxxxx>; Haiyang Zhang
> <haiyangz@xxxxxxxxxxxxx>; jejb@xxxxxxxxxxxxxxxxxx;
> martin.petersen@xxxxxxxxxx; devel@xxxxxxxxxxxxxxxxxxxxxx; linux-
> kernel@xxxxxxxxxxxxxxx; linux-scsi@xxxxxxxxxxxxxxx
> Subject: Re: [PATCH v2] [hv] storvsc: Payload buffer incorrectly sized for 32
> bit kernels.
>
> >>>>> "Cathy" == Cathy Avery <cavery@xxxxxxxxxx> writes:
>
> Cathy> On a 32 bit kernel sizeof(void *) is not 64 bits as hv_mpb_array
> Cathy> requires. Also the buffer needs to be cleared or the upper bytes
> Cathy> will contain junk.
>
> K.Y.: Please review!

Done.

K. Y
>
> --
> Martin K. Petersen Oracle Linux Engineering