projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'iommu/fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/joro...
[cascardo/linux.git]
/
drivers
/
parisc
/
pdc_stable.c
diff --git
a/drivers/parisc/pdc_stable.c
b/drivers/parisc/pdc_stable.c
index
13a64bc
..
0bc5d47
100644
(file)
--- a/
drivers/parisc/pdc_stable.c
+++ b/
drivers/parisc/pdc_stable.c
@@
-779,12
+779,9
@@
static ssize_t pdcs_auto_write(struct kobject *kobj,
read_unlock(&pathentry->rw_lock);
DPRINTK("%s: flags before: 0x%X\n", __func__, flags);
-
- temp = in;
-
- while (*temp && isspace(*temp))
- temp++;
-
+
+ temp = skip_spaces(in);
+
c = *temp++ - '0';
if ((c != 0) && (c != 1))
goto parse_error;