Re: [RFC PATCH] kvm tools, qcow: Add support for growing refcount blocks

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

 



On Tue, Dec 13, 2011 at 5:16 AM, lan,Tianyu <tianyu.lan@xxxxxxxxx> wrote:
> I have tried to use ERR_PTR(). But when I included linux/err.h, a
> compile error  was following.
>
>  CC       disk/qcow.o
> In file included from disk/qcow.c:20:
> ../../include/linux/err.h:22: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before 'ERR_PTR'
> ../../include/linux/err.h:27: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before 'PTR_ERR'
> ../../include/linux/err.h:32: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before 'IS_ERR'
> ../../include/linux/err.h:37: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before 'IS_ERR_OR_NULL'
> ../../include/linux/err.h:49: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before 'ERR_CAST'
> ../../include/linux/err.h:55: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before 'PTR_RET'

We need to borrow tools/perf/util/include/linux/compiler.h in
tools/kvm/include/linux.
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[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