Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1532524 > unrolled thread

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

Started by"Martin K. Petersen" <martin.petersen@oracle.com>
First post2016-11-29 18:00 +0100
Last post2016-11-30 17:50 +0100
Articles 3 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH v2] [hv] storvsc: Payload buffer incorrectly sized for 32 bit kernels. "Martin K. Petersen" <martin.petersen@oracle.com> - 2016-11-29 18:00 +0100
    RE: [PATCH v2] [hv] storvsc: Payload buffer incorrectly sized for 32  bit kernels. KY Srinivasan <kys@microsoft.com> - 2016-11-30 07:20 +0100
      Re: [PATCH v2] [hv] storvsc: Payload buffer incorrectly sized for 32 bit kernels. "Martin K. Petersen" <martin.petersen@oracle.com> - 2016-11-30 17:50 +0100

#1532524 — Re: [PATCH v2] [hv] storvsc: Payload buffer incorrectly sized for 32 bit kernels.

From"Martin K. Petersen" <martin.petersen@oracle.com>
Date2016-11-29 18:00 +0100
SubjectRe: [PATCH v2] [hv] storvsc: Payload buffer incorrectly sized for 32 bit kernels.
Message-ID<sITV8-2B3-33@gated-at.bofh.it>
>>>>> "Cathy" == Cathy Avery <cavery@redhat.com> 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!

-- 
Martin K. Petersen	Oracle Linux Engineering

[toc] | [next] | [standalone]


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

FromKY Srinivasan <kys@microsoft.com>
Date2016-11-30 07:20 +0100
SubjectRE: [PATCH v2] [hv] storvsc: Payload buffer incorrectly sized for 32 bit kernels.
Message-ID<sJ6pj-2st-1@gated-at.bofh.it>
In reply to#1532524

> -----Original Message-----
> From: Martin K. Petersen [mailto:martin.petersen@oracle.com]
> Sent: Tuesday, November 29, 2016 8:58 AM
> To: Cathy Avery <cavery@redhat.com>
> Cc: KY Srinivasan <kys@microsoft.com>; Haiyang Zhang
> <haiyangz@microsoft.com>; jejb@linux.vnet.ibm.com;
> martin.petersen@oracle.com; devel@linuxdriverproject.org; linux-
> kernel@vger.kernel.org; linux-scsi@vger.kernel.org
> Subject: Re: [PATCH v2] [hv] storvsc: Payload buffer incorrectly sized for 32
> bit kernels.
> 
> >>>>> "Cathy" == Cathy Avery <cavery@redhat.com> 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

[toc] | [prev] | [next] | [standalone]


#1533431

From"Martin K. Petersen" <martin.petersen@oracle.com>
Date2016-11-30 17:50 +0100
Message-ID<sJgf0-62-5@gated-at.bofh.it>
In reply to#1532990
>>>>> "KY" == KY Srinivasan <kys@microsoft.com> writes:

KY> Done.

Thank you!

-- 
Martin K. Petersen	Oracle Linux Engineering

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web