Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 196771
b: refs/heads/master
c: 0fc377b
h: refs/heads/master
i:
  196769: cc7f7a6
  196767: e4590bf
v: v3
  • Loading branch information
Randy Dunlap authored and Linus Torvalds committed May 21, 2010
1 parent f1a2641 commit 7ca3da9
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1f7f314bf2a77f1d499b41001ebdafb261f00f30
refs/heads/master: 0fc377bd648d1935ea34665239e3f0a274b71698
38 changes: 19 additions & 19 deletions trunk/kernel/sysctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -2083,20 +2083,20 @@ static void proc_skip_char(char **buf, size_t *size, const char v)

#define TMPBUFLEN 22
/**
* proc_get_long - reads an ASCII formated integer from a user buffer
* proc_get_long - reads an ASCII formatted integer from a user buffer
*
* @buf - a kernel buffer
* @size - size of the kernel buffer
* @val - this is where the number will be stored
* @neg - set to %TRUE if number is negative
* @perm_tr - a vector which contains the allowed trailers
* @perm_tr_len - size of the perm_tr vector
* @tr - pointer to store the trailer character
* @buf: a kernel buffer
* @size: size of the kernel buffer
* @val: this is where the number will be stored
* @neg: set to %TRUE if number is negative
* @perm_tr: a vector which contains the allowed trailers
* @perm_tr_len: size of the perm_tr vector
* @tr: pointer to store the trailer character
*
* In case of success 0 is returned and buf and size are updated with
* the amount of bytes read. If tr is non NULL and a trailing
* character exist (size is non zero after returning from this
* function) tr is updated with the trailing character.
* In case of success %0 is returned and @buf and @size are updated with
* the amount of bytes read. If @tr is non-NULL and a trailing
* character exists (size is non-zero after returning from this
* function), @tr is updated with the trailing character.
*/
static int proc_get_long(char **buf, size_t *size,
unsigned long *val, bool *neg,
Expand Down Expand Up @@ -2147,15 +2147,15 @@ static int proc_get_long(char **buf, size_t *size,
}

/**
* proc_put_long - coverts an integer to a decimal ASCII formated string
* proc_put_long - converts an integer to a decimal ASCII formatted string
*
* @buf - the user buffer
* @size - the size of the user buffer
* @val - the integer to be converted
* @neg - sign of the number, %TRUE for negative
* @buf: the user buffer
* @size: the size of the user buffer
* @val: the integer to be converted
* @neg: sign of the number, %TRUE for negative
*
* In case of success 0 is returned and buf and size are updated with
* the amount of bytes read.
* In case of success %0 is returned and @buf and @size are updated with
* the amount of bytes written.
*/
static int proc_put_long(void __user **buf, size_t *size, unsigned long val,
bool neg)
Expand Down

0 comments on commit 7ca3da9

Please sign in to comment.