projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
190888a
)
Revert "sysfs: Convert print_symbol to %pSR"
author
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Thu, 17 Jan 2013 21:09:57 +0000
(13:09 -0800)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Thu, 17 Jan 2013 21:09:57 +0000
(13:09 -0800)
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>
fs/sysfs/file.c
patch
|
blob
|
history
diff --git
a/fs/sysfs/file.c
b/fs/sysfs/file.c
index bd7e59ba92464fbfdd349c3c85957b5ccf1fb677..602f56db0442bea394d77b208aea303ccbe6f026 100644
(file)
--- 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
* indicate truncated result or overflow in normal use cases.
*/
if (count >= (ssize_t)PAGE_SIZE) {
- print
k("fill_read_buffer: %pSR
returned bad count\n",
- ops->show);
+ print
_symbol("fill_read_buffer: %s
returned bad count\n",
+
(unsigned long)
ops->show);
/* Try to struggle along */
count = PAGE_SIZE - 1;
}