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:
58c7be8
)
kernel/range.c: subtract_range: fix the broken phrase issued by printk
author
Lin Feng
<
[email protected]
>
Tue, 30 Apr 2013 22:27:07 +0000
(15:27 -0700)
committer
Linus Torvalds
<
[email protected]
>
Wed, 1 May 2013 00:04:01 +0000
(17:04 -0700)
Also replace deprecated printk(KERN_ERR...) with pr_err() as suggested
by Yinghai, attaching the function name to provide plenty info.
Signed-off-by: Lin Feng <
[email protected]
>
Cc: Yinghai Lu <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
kernel/range.c
patch
|
blob
|
history
diff --git
a/kernel/range.c
b/kernel/range.c
index 9b8ae2d6ed68794ac4b010999465990b24053f5e..071b0ab455cb39b81d78b362a86ff6ee86263a55 100644
(file)
--- a/
kernel/range.c
+++ b/
kernel/range.c
@@
-97,7
+97,8
@@
void subtract_range(struct range *range, int az, u64 start, u64 end)
range[i].end = range[j].end;
range[i].start = end;
} else {
- printk(KERN_ERR "run of slot in ranges\n");
+ pr_err("%s: run out of slot in ranges\n",
+ __func__);
}
range[j].end = start;
continue;