Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

sysctl: Add kernel doc to proc_douintvec_conv

This commit is making sure that all the functions that are part of the
API are documented.

Signed-off-by: Joel Granados <joel.granados@kernel.org>

+16
+16
kernel/sysctl.c
··· 656 656 return do_proc_douintvec_r(table, buffer, lenp, ppos, conv); 657 657 } 658 658 659 + /** 660 + * proc_douintvec_conv - read a vector of unsigned ints with a custom converter 661 + * 662 + * @table: the sysctl table 663 + * @dir: %TRUE if this is a write to the sysctl file 664 + * @buffer: the user buffer 665 + * @lenp: the size of the user buffer 666 + * @ppos: file position 667 + * @conv: Custom converter call back 668 + * 669 + * Reads/writes up to table->maxlen/sizeof(unsigned int) unsigned integer 670 + * values from/to the user buffer, treated as an ASCII string. Negative 671 + * strings are not allowed. 672 + * 673 + * Returns 0 on success 674 + */ 659 675 int proc_douintvec_conv(const struct ctl_table *table, int dir, void *buffer, 660 676 size_t *lenp, loff_t *ppos, 661 677 int (*conv)(unsigned long *u_ptr, unsigned int *k_ptr,