Revert "sysfs: Convert print_symbol to %pSR"
This reverts commit 6ad58fa82d
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
190888ac01
commit
595e0eb067
|
@ -91,8 +91,8 @@ static int fill_read_buffer(struct dentry * dentry, struct sysfs_buffer * buffer
|
||||||
* indicate truncated result or overflow in normal use cases.
|
* indicate truncated result or overflow in normal use cases.
|
||||||
*/
|
*/
|
||||||
if (count >= (ssize_t)PAGE_SIZE) {
|
if (count >= (ssize_t)PAGE_SIZE) {
|
||||||
printk("fill_read_buffer: %pSR returned bad count\n",
|
print_symbol("fill_read_buffer: %s returned bad count\n",
|
||||||
ops->show);
|
(unsigned long)ops->show);
|
||||||
/* Try to struggle along */
|
/* Try to struggle along */
|
||||||
count = PAGE_SIZE - 1;
|
count = PAGE_SIZE - 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue