Fix kernel-doc notation to use the documented Returns: syntax and place the function description for acct_process() on the first line where it should be.
Unified · Split
| @@ -263,12 +263,12 @@ static DEFINE_MUTEX(acct_on_mutex); · 262 unmodified lines | ||
| 263 | 263 | * sys_acct - enable/disable process accounting |
| 264 | 264 | * @name: file name for accounting records or NULL to shutdown accounting |
| 265 | 265 | * |
| 266 | − * Returns 0 for success or negative errno values for failure. | |
| 267 | − * | |
| 268 | 266 | * sys_acct() is the only system call needed to implement process |
| 269 | 267 | * accounting. It takes the name of the file where accounting records |
| 270 | 268 | * should be written. If the filename is NULL, accounting will be |
| 271 | 269 | * shutdown. |
| 270 | + * | |
| 271 | + * Returns: 0 for success or negative errno values for failure. | |
| 272 | 272 | */ |
| 273 | 273 | SYSCALL_DEFINE1(acct, const char __user *, name) |
| 274 | 274 | { |
| @@ -586,9 +586,7 @@ static void slow_acct_process(struct pid_namespace *ns) · 311 unmodified lines | ||
| 586 | 586 | } |
| 587 | 587 | |
| 588 | 588 | /** |
| 589 | − * acct_process | |
| 590 | − * | |
| 591 | − * handles process accounting for an exiting task | |
| 589 | + * acct_process - handles process accounting for an exiting task | |
| 592 | 590 | */ |
| 593 | 591 | void acct_process(void) |
| 594 | 592 | { |