Re: [kvmtool PATCH v2 02/10] kvmtool: Fix absence of __packed definition

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Mar 25, 2024 at 09:01:33PM +0530, Anup Patel wrote:
> The absence of __packed definition in kvm/compiler.h cause build
> failer after syncing kernel headers with Linux-6.8 because the
> kernel header uapi/linux/virtio_pci.h uses __packed for structures.
> 
> Signed-off-by: Anup Patel <apatel@xxxxxxxxxxxxxxxx>
> ---
>  include/kvm/compiler.h | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/include/kvm/compiler.h b/include/kvm/compiler.h
> index 2013a83..dd8a22a 100644
> --- a/include/kvm/compiler.h
> +++ b/include/kvm/compiler.h
> @@ -1,6 +1,8 @@
>  #ifndef KVM_COMPILER_H_
>  #define KVM_COMPILER_H_
>  
> +#include <linux/compiler.h>
> +
>  #ifndef __compiletime_error
>  # define __compiletime_error(message)
>  #endif
> -- 
> 2.34.1
>

Reviewed-by: Andrew Jones <ajones@xxxxxxxxxxxxxxxx>




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux