linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH/RESEND] include/linux/mca-legacy.h: Fix the warning of note
@ 2008-10-29  1:49 Jianjun Kong
  2008-10-29  2:00 ` Andrew Morton
  0 siblings, 1 reply; 2+ messages in thread
From: Jianjun Kong @ 2008-10-29  1:49 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-mm

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

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH/RESEND] include/linux/mca-legacy.h: Fix the warning of note
  2008-10-29  1:49 [PATCH/RESEND] include/linux/mca-legacy.h: Fix the warning of note Jianjun Kong
@ 2008-10-29  2:00 ` Andrew Morton
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Morton @ 2008-10-29  2:00 UTC (permalink / raw)
  To: Jianjun Kong; +Cc: linux-mm

On Wed, 29 Oct 2008 09:49:18 +0800 Jianjun Kong <jianjun@zeuux.org> wrote:

> include/linux/mca-legacy.h: Fix the warning of note

When preparing patch changelogs, it is usually not sufficient to just
describe the change itself.  Often that is obvious from the patch
itself, as in this case.

Instead, please take care to explain to us *why* a change was made.

> 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

Why was this change made?

As far as I can tell, the patch is wrong?  Any driver which is using
the interfaces declared by mca-legacy.h should be changed to use the
sysfs API (whatever that is - I'm not sure).

So this warning should remain in place until all such drivers have been
converted to that API.


--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-10-29  2:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-29  1:49 [PATCH/RESEND] include/linux/mca-legacy.h: Fix the warning of note Jianjun Kong
2008-10-29  2:00 ` Andrew Morton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox