projects
/
platform
/
kernel
/
linux-starfive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 's390-5.4-2' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux
[platform/kernel/linux-starfive.git]
/
drivers
/
s390
/
cio
/
ccwgroup.c
diff --git
a/drivers/s390/cio/ccwgroup.c
b/drivers/s390/cio/ccwgroup.c
index
0005ec9
..
b42a937
100644
(file)
--- a/
drivers/s390/cio/ccwgroup.c
+++ b/
drivers/s390/cio/ccwgroup.c
@@
-372,7
+372,7
@@
int ccwgroup_create_dev(struct device *parent, struct ccwgroup_driver *gdrv,
goto error;
}
/* Check for trailing stuff. */
- if (i == num_devices && strlen(buf) > 0) {
+ if (i == num_devices &&
buf &&
strlen(buf) > 0) {
rc = -EINVAL;
goto error;
}