|
|
@@ -2136,7 +2136,7 @@ static ssize_t set_bank(struct device *s, struct device_attribute *attr,
|
|
|
{
|
|
|
u64 new;
|
|
|
|
|
|
- if (strict_strtoull(buf, 0, &new) < 0)
|
|
|
+ if (kstrtou64(buf, 0, &new) < 0)
|
|
|
return -EINVAL;
|
|
|
|
|
|
attr_to_bank(attr)->ctl = new;
|
|
|
@@ -2174,7 +2174,7 @@ static ssize_t set_ignore_ce(struct device *s,
|
|
|
{
|
|
|
u64 new;
|
|
|
|
|
|
- if (strict_strtoull(buf, 0, &new) < 0)
|
|
|
+ if (kstrtou64(buf, 0, &new) < 0)
|
|
|
return -EINVAL;
|
|
|
|
|
|
if (mca_cfg.ignore_ce ^ !!new) {
|
|
|
@@ -2198,7 +2198,7 @@ static ssize_t set_cmci_disabled(struct device *s,
|
|
|
{
|
|
|
u64 new;
|
|
|
|
|
|
- if (strict_strtoull(buf, 0, &new) < 0)
|
|
|
+ if (kstrtou64(buf, 0, &new) < 0)
|
|
|
return -EINVAL;
|
|
|
|
|
|
if (mca_cfg.cmci_disabled ^ !!new) {
|