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:
7fa0772
)
ide: use printk_once
author
Marcin Slusarz
<
[email protected]
>
Tue, 22 Sep 2009 23:29:00 +0000
(16:29 -0700)
committer
David S. Miller
<
[email protected]
>
Tue, 22 Sep 2009 23:29:00 +0000
(16:29 -0700)
Signed-off-by: Marcin Slusarz <
[email protected]
>
Acked-by: David S. Miller <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/ide/ide-proc.c
patch
|
blob
|
history
diff --git
a/drivers/ide/ide-proc.c
b/drivers/ide/ide-proc.c
index 28d09a5d84500b588ffe862a6cfc0221bb5a3a1e..017c09540c2f70b416af3a39eaf122a5a49287f1 100644
(file)
--- a/
drivers/ide/ide-proc.c
+++ b/
drivers/ide/ide-proc.c
@@
-273,14
+273,8
@@
static const struct ide_proc_devset ide_generic_settings[] = {
static void proc_ide_settings_warn(void)
{
- static int warned;
-
- if (warned)
- return;
-
- printk(KERN_WARNING "Warning: /proc/ide/hd?/settings interface is "
+ printk_once(KERN_WARNING "Warning: /proc/ide/hd?/settings interface is "
"obsolete, and will be removed soon!\n");
- warned = 1;
}
static int ide_settings_proc_show(struct seq_file *m, void *v)