[S390] sysfs_create_xxx return values.
Take return values of sysfs_create_group & friends into account. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
This commit is contained in:
committed by
Martin Schwidefsky
parent
dc8f5d21dd
commit
d7cf0d57ef
@@ -8451,10 +8451,11 @@ __qeth_reboot_event_card(struct device *dev, void *data)
|
||||
static int
|
||||
qeth_reboot_event(struct notifier_block *this, unsigned long event, void *ptr)
|
||||
{
|
||||
int ret;
|
||||
|
||||
driver_for_each_device(&qeth_ccwgroup_driver.driver, NULL, NULL,
|
||||
__qeth_reboot_event_card);
|
||||
return NOTIFY_DONE;
|
||||
ret = driver_for_each_device(&qeth_ccwgroup_driver.driver, NULL, NULL,
|
||||
__qeth_reboot_event_card);
|
||||
return ret ? NOTIFY_BAD : NOTIFY_DONE;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user