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().
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to