stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jason Wang <jasowang@redhat.com>
To: "K. Y. Srinivasan" <kys@microsoft.com>,
	gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org,
	devel@linuxdriverproject.org, olaf@aepfle.de, apw@canonical.com
Cc: stable@vger.kernel.org
Subject: Re: [PATCH 1/1] Drivers: hv: util: Properly pack the data for file copy functionality
Date: Wed, 03 Sep 2014 18:08:09 +0800	[thread overview]
Message-ID: <5406E889.7080904@redhat.com> (raw)
In-Reply-To: <1409710907-20818-1-git-send-email-kys@microsoft.com>

On 09/03/2014 10:21 AM, K. Y. Srinivasan wrote:
> Properly pack the data for file copy functionality. Patch based on
> investigation done by Matej Muzila <mmuzila@redhat.com>
>
> Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
> Reported-by: qge@redhat.com
> Cc: <stable@vger.kernel.org>
> ---
>  include/uapi/linux/hyperv.h |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/include/uapi/linux/hyperv.h b/include/uapi/linux/hyperv.h
> index 78e4a86..0a8e6ba 100644
> --- a/include/uapi/linux/hyperv.h
> +++ b/include/uapi/linux/hyperv.h
> @@ -137,7 +137,7 @@ struct hv_do_fcopy {
>  	__u64	offset;
>  	__u32	size;
>  	__u8	data[DATA_FRAGMENT];
> -};
> +} __attribute__((packed));
>  
>  /*
>   * An implementation of HyperV key value pair (KVP) functionality for Linux.

Acked-by: Jason Wang <jasowang@redhat.com>

      reply	other threads:[~2014-09-03 10:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-03  2:21 [PATCH 1/1] Drivers: hv: util: Properly pack the data for file copy functionality K. Y. Srinivasan
2014-09-03 10:08 ` Jason Wang [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5406E889.7080904@redhat.com \
    --to=jasowang@redhat.com \
    --cc=apw@canonical.com \
    --cc=devel@linuxdriverproject.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=kys@microsoft.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=olaf@aepfle.de \
    --cc=stable@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).