[dpdk-dev] [PATCH] dma/idxd: fix build on Windows

Kevin Laatz kevin.laatz at intel.com
Mon Oct 25 22:00:26 CEST 2021


On 23/10/2021 11:18, David Marchand wrote:
> On Sat, Oct 23, 2021 at 8:56 AM David Marchand
> <david.marchand at redhat.com> wrote:
>> Windows compilation gives us a splat:
>> In file included from ../drivers/dma/idxd/idxd_pci.c:10:
>> In file included from ..\drivers\dma\idxd/idxd_internal.h:11:
>> ..\drivers\dma\idxd/idxd_hw_defs.h:46:21: error: expected member name or
>>   ';' after declaration specifiers
>>          uint16_t __reserved[13];
>>          ~~~~~~~~           ^
>> 1 error generated.
>>
>> Ironically, __reserved is probably a reserved token.
>> Some drivers that build fine on Windows have structs with a "reserved"
>> field, let's go with this.
>>
>> Fixes: 82147042d062 ("dma/idxd: add datapath structures")
>>
>> Signed-off-by: David Marchand <david.marchand at redhat.com>
> Tested via CI at UNH.
>
> Applied.


Thanks for investigating and sending the fix for this, David.

/Kevin



More information about the dev mailing list