All of lore.kernel.org
 help / color / mirror / Atom feed
* + edac-i5400-fix-missing-config_pci-define.patch added to -mm tree
@ 2009-10-16  3:39 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2009-10-16  3:39 UTC (permalink / raw)
  To: mm-commits; +Cc: iws, dougthompson


The patch titled
     edac: i5400 fix missing CONFIG_PCI define
has been added to the -mm tree.  Its filename is
     edac-i5400-fix-missing-config_pci-define.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find
out what to do about this

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: edac: i5400 fix missing CONFIG_PCI define
From: Ira W. Snyder <iws@ovro.caltech.edu>

When building without CONFIG_PCI the edac_pci_idx variable is unused,
causing a build-time warning.  Wrap the variable in #ifdef CONFIG_PCI,
just like the rest of the PCI support.

Signed-off-by: Ira W. Snyder <iws@ovro.caltech.edu>
Signed-off-by: Doug Thompson <dougthompson@xmission.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 drivers/edac/mpc85xx_edac.c |    2 ++
 1 file changed, 2 insertions(+)

diff -puN drivers/edac/mpc85xx_edac.c~edac-i5400-fix-missing-config_pci-define drivers/edac/mpc85xx_edac.c
--- a/drivers/edac/mpc85xx_edac.c~edac-i5400-fix-missing-config_pci-define
+++ a/drivers/edac/mpc85xx_edac.c
@@ -26,7 +26,9 @@
 #include "mpc85xx_edac.h"
 
 static int edac_dev_idx;
+#ifdef CONFIG_PCI
 static int edac_pci_idx;
+#endif
 static int edac_mc_idx;
 
 static u32 orig_ddr_err_disable;
_

Patches currently in -mm which might be from iws@ovro.caltech.edu are

edac-i5400-fix-missing-config_pci-define.patch


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-10-16  3:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-16  3:39 + edac-i5400-fix-missing-config_pci-define.patch added to -mm tree akpm

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.