[PATCH:libpciaccess] Solaris support for multiple PCI segments (domains)

John Martin john.m.martin at oracle.com
Tue Mar 29 12:07:34 PDT 2011


On 03/29/11 02:51 PM, Adam Jackson wrote:
> On Tue, 2011-03-29 at 07:51 -0700, Alan Coopersmith wrote:
>
>> +typedef struct probe_info {
>> +    volatile size_t num_allocated_elems;
>> +    volatile size_t num_devices;
>> +    struct pci_device_private * volatile devices;
>> +} probe_info_t;
>
> I'm virtually certain that 'volatile' is not useful here.

In pci_system_solx_devfs_create() the probe_info structure
is passed to di_walk_minor() and each element can returned
changed by the dynamic resizing code in probe_dev().


More information about the xorg-devel mailing list