[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH for-xen-4.5 v3 16/16] xen/x86: Add multiboot2 protocol support
>>> On 09.10.14 at 13:20, <andrew.cooper3@xxxxxxxxxx> wrote: > On 08/10/14 18:52, Daniel Kiper wrote: >> + case MULTIBOOT2_TAG_TYPE_MMAP: >> + mbd->mmap_size = ((multiboot2_tag_mmap_t *)tag)->size; >> + mbd->mmap_size -= sizeof(multiboot2_tag_mmap_t); >> + mbd->mmap_size += sizeof(((multiboot2_tag_mmap_t){0}).entries); > > Erm? what is wrong with sizeof(multiboot2_tag_mmap_t.entries) ? The fact that this isn't a valid expression? You need an object on the left side of ., not a type. Jan _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |