As warned by Sphinx: ./Documentation/core-api/workqueue:400: ./kernel/workqueue.c:1218: WARNING: Unexpected indentation. the return code table is currently not recognized, as it lacks markups.
Showing the changes to kernel/workqueue.c (1 of 1 file). Show all
Unified · Split
| @@ -1212,11 +1212,14 @@ out_put: · 1211 unmodified lines | |||
| 1212 | * stable state - idle, on timer or on worklist. | 1212 | * stable state - idle, on timer or on worklist. |
| 1213 | * | 1213 | * |
| 1214 | * Return: | 1214 | * Return: |
| 1215 | * | ||
| 1216 | * ======== ================================================================ | ||
| 1215 | * 1 if @work was pending and we successfully stole PENDING | 1217 | * 1 if @work was pending and we successfully stole PENDING |
| 1216 | * 0 if @work was idle and we claimed PENDING | 1218 | * 0 if @work was idle and we claimed PENDING |
| 1217 | * -EAGAIN if PENDING couldn't be grabbed at the moment, safe to busy-retry | 1219 | * -EAGAIN if PENDING couldn't be grabbed at the moment, safe to busy-retry |
| 1218 | * -ENOENT if someone else is canceling @work, this state may persist | 1220 | * -ENOENT if someone else is canceling @work, this state may persist |
| 1219 | * for arbitrarily long | 1221 | * for arbitrarily long |
| 1222 | * ======== ================================================================ | ||
| 1220 | * | 1223 | * |
| 1221 | * Note: | 1224 | * Note: |
| 1222 | * On >= 0 return, the caller owns @work's PENDING bit. To avoid getting | 1225 | * On >= 0 return, the caller owns @work's PENDING bit. To avoid getting |