Re: [dpdk-dev] [PATCH v2] bus/pci: netuio interface for windows

2020-09-16 Thread Ranjit Menon
On 9/16/2020 5:48 PM, Ranjit Menon wrote: Hi, Stephen On 9/15/2020 6:54 PM, Stephen Hemminger wrote: On Tue, 15 Sep 2020 16:28:03 -0700 Pallavi Kadam wrote: +    if (IsEqualGUID((const void *)&(device_info_data->ClassGuid), +    (const void *)&GUID_DEVCLASS_NETUIO)) Is there anyway to g

Re: [dpdk-dev] [PATCH v2] bus/pci: netuio interface for windows

2020-09-16 Thread Ranjit Menon
Hi, Stephen On 9/15/2020 6:54 PM, Stephen Hemminger wrote: On Tue, 15 Sep 2020 16:28:03 -0700 Pallavi Kadam wrote: + if (IsEqualGUID((const void *)&(device_info_data->ClassGuid), + (const void *)&GUID_DEVCLASS_NETUIO)) Is there anyway to get rid of casts and have the righ

Re: [dpdk-dev] [PATCH v2] bus/pci: netuio interface for windows

2020-09-15 Thread Stephen Hemminger
On Tue, 15 Sep 2020 16:28:03 -0700 Pallavi Kadam wrote: > + if (IsEqualGUID((const void *)&(device_info_data->ClassGuid), > + (const void *)&GUID_DEVCLASS_NETUIO)) Is there anyway to get rid of casts and have the right types? Casts are evil