]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - include/linux/usb.h
USB: mark "reject" field of struct urb as atomic_t
[net-next-2.6.git] / include / linux / usb.h
index e9d63562325a64aff966f343e59d875dd536ada3..4e8654a182507b773ac1f604b27fcce4bfde146e 100644 (file)
@@ -1340,7 +1340,7 @@ struct urb {
        struct kref kref;               /* reference count of the URB */
        void *hcpriv;                   /* private data for host controller */
        atomic_t use_count;             /* concurrent submissions counter */
-       u8 reject;                      /* submissions will fail */
+       atomic_t reject;                /* submissions will fail */
        int unlinked;                   /* unlink error code */
 
        /* public: documented fields in the urb that can be used by drivers */