Revert "drivers: base: Convert print_symbol to %pSR"
This reverts commit e797986593
as %pSR
isn't in the tree yet.
Cc: Joe Perches <joe@perches.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
595e0eb067
commit
53a9c87e7e
@ -97,8 +97,8 @@ static ssize_t dev_attr_show(struct kobject *kobj, struct attribute *attr,
|
|||||||
if (dev_attr->show)
|
if (dev_attr->show)
|
||||||
ret = dev_attr->show(dev, dev_attr, buf);
|
ret = dev_attr->show(dev, dev_attr, buf);
|
||||||
if (ret >= (ssize_t)PAGE_SIZE) {
|
if (ret >= (ssize_t)PAGE_SIZE) {
|
||||||
printk("dev_attr_show: %pSR returned bad count\n",
|
print_symbol("dev_attr_show: %s returned bad count\n",
|
||||||
dev_attr->show);
|
(unsigned long)dev_attr->show);
|
||||||
}
|
}
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user