History

kernel: acct.c: fix some kernel-doc nits

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.

Randy Dunlap committed 6 years ago

Commit b7621eb1 parent 7b7b8a21 file · +3 −5Browse files

Showing the changes to kernel (1 of 1 file). Show all

Unified · Split

kernel/acct.c+3−5
@@ -263,12 +263,12 @@ static DEFINE_MUTEX(acct_on_mutex); · 262 unmodified lines
263 * sys_acct - enable/disable process accounting263 * sys_acct - enable/disable process accounting
264 * @name: file name for accounting records or NULL to shutdown accounting264 * @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 * sys_acct() is the only system call needed to implement process266 * sys_acct() is the only system call needed to implement process
269 * accounting. It takes the name of the file where accounting records267 * accounting. It takes the name of the file where accounting records
270 * should be written. If the filename is NULL, accounting will be268 * should be written. If the filename is NULL, accounting will be
271 * shutdown.269 * shutdown.
270 *
271 * Returns: 0 for success or negative errno values for failure.
272 */272 */
273SYSCALL_DEFINE1(acct, const char __user *, name)273SYSCALL_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_process589 * acct_process - handles process accounting for an exiting task
590 *
591 * handles process accounting for an exiting task
592 */590 */
593void acct_process(void)591void acct_process(void)
594{592{

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t