Actions
Feature #2110
openTry to use annotation given by attributes to found errors
Status:
New
Priority:
Normal
Assignee:
-
Start date:
12/16/2011
Due date:
% Done:
0%
Estimated time:
Published in build:
Description
Here one can see a list of defines represented different attributes to become some kind of annotations. For instance, see the example below (complete example is here):
static void ehci_urb_done(struct oxu_hcd *oxu, struct urb *urb) __releases(oxu->lock) __acquires(oxu->lock) { ... spin_unlock(&oxu->lock); usb_hcd_giveback_urb(oxu_to_hcd(oxu), urb, urb->status); spin_lock(&oxu->lock); }
We can check whether a function really releases oxu->lock and then acquires oxu->lock or not.
No data to display
Actions