diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-17 16:09:57 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-17 16:09:57 -0500 |
commit | 595e0eb06756bdf332c76176980eded1ec50032a (patch) | |
tree | 648470afd3004040fbf98c81d3bccffd86ac9c6d /fs/sysfs | |
parent | 190888ac01d059e38ffe77a2291d44cafa9016fb (diff) |
Revert "sysfs: Convert print_symbol to %pSR"
This reverts commit 6ad58fa82db897b4422a873c01fa41f84b652502 as %pSR
isn't in the tree yet.
Cc: Joe Perches <joe@perches.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/sysfs')
-rw-r--r-- | fs/sysfs/file.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/sysfs/file.c b/fs/sysfs/file.c index bd7e59ba9246..602f56db0442 100644 --- a/fs/sysfs/file.c +++ b/fs/sysfs/file.c | |||
@@ -91,8 +91,8 @@ static int fill_read_buffer(struct dentry * dentry, struct sysfs_buffer * buffer | |||
91 | * indicate truncated result or overflow in normal use cases. | 91 | * indicate truncated result or overflow in normal use cases. |
92 | */ | 92 | */ |
93 | if (count >= (ssize_t)PAGE_SIZE) { | 93 | if (count >= (ssize_t)PAGE_SIZE) { |
94 | printk("fill_read_buffer: %pSR returned bad count\n", | 94 | print_symbol("fill_read_buffer: %s returned bad count\n", |
95 | ops->show); | 95 | (unsigned long)ops->show); |
96 | /* Try to struggle along */ | 96 | /* Try to struggle along */ |
97 | count = PAGE_SIZE - 1; | 97 | count = PAGE_SIZE - 1; |
98 | } | 98 | } |