[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <5406E889.7080904@redhat.com>
Date: Wed, 03 Sep 2014 18:08:09 +0800
From: Jason Wang <jasowang@...hat.com>
To: "K. Y. Srinivasan" <kys@...rosoft.com>, gregkh@...uxfoundation.org,
linux-kernel@...r.kernel.org, devel@...uxdriverproject.org,
olaf@...fle.de, apw@...onical.com
CC: stable@...r.kernel.org
Subject: Re: [PATCH 1/1] Drivers: hv: util: Properly pack the data for file
copy functionality
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@...hat.com>
>
> Signed-off-by: K. Y. Srinivasan <kys@...rosoft.com>
> Reported-by: qge@...hat.com
> Cc: <stable@...r.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@...hat.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists