commit | 025d0dfcc1dd90e2489ab9c500c8f5efbe3ce82f | [log] [tgz] |
---|---|---|
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | Wed Oct 18 17:40:16 2017 +0200 |
committer | David S. Miller <davem@davemloft.net> | Fri Oct 20 13:11:04 2017 +0100 |
tree | cb4373e659700399a188fc9d6ffb1c3fc0feec17 | |
parent | ed2e93efc3b8d34ba36b0f7b581f3828916a1da7 [diff] |
s390/qeth: use kstrtobool() in qeth_bridgeport_hostnotification_store() The sysfs enabled value is a boolean, so kstrtobool() is a better fit for parsing the input string since it does the range checking for us. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Julian Wiedmann <jwi@linux.vnet.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>