git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge v2.6.37-rc8 into powerpc/next
[pandora-kernel.git]
/
Documentation
/
filesystems
/
configfs
/
configfs_example_explicit.c
diff --git
a/Documentation/filesystems/configfs/configfs_example_explicit.c
b/Documentation/filesystems/configfs/configfs_example_explicit.c
index
d428cc9
..
fd53869
100644
(file)
--- a/
Documentation/filesystems/configfs/configfs_example_explicit.c
+++ b/
Documentation/filesystems/configfs/configfs_example_explicit.c
@@
-89,7
+89,7
@@
static ssize_t childless_storeme_write(struct childless *childless,
char *p = (char *) page;
tmp = simple_strtoul(p, &p, 10);
- if (
!p || (*p && (*p != '\n')
))
+ if (
(*p != '\0') && (*p != '\n'
))
return -EINVAL;
if (tmp > INT_MAX)