Messages in this thread Patch in this message | | | Subject | [patch 2/8] kernel/sysctl.c: docbook comments update | From | janitor@sternwel ... | Date | Sat, 20 Nov 2004 03:29:29 +0100 |
| |
Add comments about ppos, which was added some months ago.
Compile tested.
Signed-off-by: Domen Puncer <domen@coderock.org>
Signed-off-by: Maximilian Attems <janitor@sternwelten.at> ---
linux-2.6.10-rc2-bk4-max/kernel/sysctl.c | 7 +++++++ 1 files changed, 7 insertions(+)
diff -puN kernel/sysctl.c~docs-kernel_sysctl kernel/sysctl.c --- linux-2.6.10-rc2-bk4/kernel/sysctl.c~docs-kernel_sysctl 2004-11-20 03:04:44.000000000 +0100 +++ linux-2.6.10-rc2-bk4-max/kernel/sysctl.c 2004-11-20 03:04:44.000000000 +0100 @@ -1355,6 +1355,7 @@ static ssize_t proc_writesys(struct file * @filp: the file structure * @buffer: the user buffer * @lenp: the size of the user buffer + * @ppos: file position * * Reads/writes a string from/to the user buffer. If the kernel * buffer provided is not large enough to hold the string, the @@ -1571,6 +1572,7 @@ static int do_proc_dointvec(ctl_table *t * @filp: the file structure * @buffer: the user buffer * @lenp: the size of the user buffer + * @ppos: file position * * Reads/writes up to table->maxlen/sizeof(unsigned int) integer * values from/to the user buffer, treated as an ASCII string. @@ -1675,6 +1677,7 @@ static int do_proc_dointvec_minmax_conv( * @filp: the file structure * @buffer: the user buffer * @lenp: the size of the user buffer + * @ppos: file position * * Reads/writes up to table->maxlen/sizeof(unsigned int) integer * values from/to the user buffer, treated as an ASCII string. @@ -1807,6 +1810,7 @@ static int do_proc_doulongvec_minmax(ctl * @filp: the file structure * @buffer: the user buffer * @lenp: the size of the user buffer + * @ppos: file position * * Reads/writes up to table->maxlen/sizeof(unsigned long) unsigned long * values from/to the user buffer, treated as an ASCII string. @@ -1829,6 +1833,7 @@ int proc_doulongvec_minmax(ctl_table *ta * @filp: the file structure * @buffer: the user buffer * @lenp: the size of the user buffer + * @ppos: file position * * Reads/writes up to table->maxlen/sizeof(unsigned long) unsigned long * values from/to the user buffer, treated as an ASCII string. The values @@ -1898,6 +1903,7 @@ static int do_proc_dointvec_userhz_jiffi * @filp: the file structure * @buffer: the user buffer * @lenp: the size of the user buffer + * @ppos: file position * * Reads/writes up to table->maxlen/sizeof(unsigned int) integer * values from/to the user buffer, treated as an ASCII string. @@ -1920,6 +1926,7 @@ int proc_dointvec_jiffies(ctl_table *tab * @filp: the file structure * @buffer: the user buffer * @lenp: the size of the user buffer + * @ppos: file position * * Reads/writes up to table->maxlen/sizeof(unsigned int) integer * values from/to the user buffer, treated as an ASCII string. _ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |