* [PATCH] include/linux/mca-legacy.h: Fix the warning
@ 2008-10-17 13:20 Jianjun Kong
2008-10-17 13:30 ` Adrian Bunk
0 siblings, 1 reply; 2+ messages in thread
From: Jianjun Kong @ 2008-10-17 13:20 UTC (permalink / raw)
To: akpm; +Cc: Linux-Kernel-Mailing-List
Fix the warning of annotation.
CC drivers/mca/mca-legacy.o
In file included from drivers/mca/mca-legacy.c:31:
include/linux/mca-legacy.h:12:2: warning: #warning "MCA legacy -
please move your driver to the new sysfs api"
In file included from drivers/mca/mca-legacy.c:31:
include/linux/mca-legacy.h:12:2: warning: #warning "MCA legacy -
please move your driver to the new sysfs api"
Signed-off-by: Jianjun Kong <jianjun@zeuux.org>
---
include/linux/mca-legacy.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/linux/mca-legacy.h b/include/linux/mca-legacy.h
index 7a3aea8..e349f2b 100644
--- a/include/linux/mca-legacy.h
+++ b/include/linux/mca-legacy.h
@@ -9,7 +9,7 @@
#include <linux/mca.h>
-#warning "MCA legacy - please move your driver to the new sysfs api"
+/* warning "MCA legacy - please move your driver to the new sysfs api" */
/* MCA_NOTFOUND is an error condition. The other two indicate
* motherboard POS registers contain the adapter. They might be
--
1.5.2.5
--
Jianjun Kong | Happy Hacking
HomePage: http://kongove.cn
Gtalk: kongjianjun@gmail.com
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] include/linux/mca-legacy.h: Fix the warning
2008-10-17 13:20 [PATCH] include/linux/mca-legacy.h: Fix the warning Jianjun Kong
@ 2008-10-17 13:30 ` Adrian Bunk
0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2008-10-17 13:30 UTC (permalink / raw)
To: Jianjun Kong; +Cc: akpm, Linux-Kernel-Mailing-List
On Fri, Oct 17, 2008 at 09:20:44PM +0800, Jianjun Kong wrote:
> Fix the warning of annotation.
>
> CC drivers/mca/mca-legacy.o
> In file included from drivers/mca/mca-legacy.c:31:
> include/linux/mca-legacy.h:12:2: warning: #warning "MCA legacy -
> please move your driver to the new sysfs api"
> In file included from drivers/mca/mca-legacy.c:31:
> include/linux/mca-legacy.h:12:2: warning: #warning "MCA legacy -
> please move your driver to the new sysfs api"
>
> Signed-off-by: Jianjun Kong <jianjun@zeuux.org>
> ---
> include/linux/mca-legacy.h | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/include/linux/mca-legacy.h b/include/linux/mca-legacy.h
> index 7a3aea8..e349f2b 100644
> --- a/include/linux/mca-legacy.h
> +++ b/include/linux/mca-legacy.h
> @@ -9,7 +9,7 @@
>
> #include <linux/mca.h>
>
> -#warning "MCA legacy - please move your driver to the new sysfs api"
> +/* warning "MCA legacy - please move your driver to the new sysfs api" */
>...
NAK
If you want to get rid of the warning fix the drivers still using the
obsolete API.
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-10-17 13:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-17 13:20 [PATCH] include/linux/mca-legacy.h: Fix the warning Jianjun Kong
2008-10-17 13:30 ` Adrian Bunk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).