* [PATCH] atmel_nand: Fix warning: 'part_probes' defined but not used
@ 2010-07-14 9:17 Andreas Bießmann
2010-08-05 10:38 ` Andreas Bießmann
0 siblings, 1 reply; 3+ messages in thread
From: Andreas Bießmann @ 2010-07-14 9:17 UTC (permalink / raw)
To: linux-kernel; +Cc: linux-mtd, David Woodhouse, Andreas Bießmann
This patch fixes
drivers/mtd/nand/atmel_nand.c:372: warning: 'part_probes' defined but not used
which is issued when CONFIG_MTD_PARTITIONS is defined but
CONFIG_MTD_CMDLINE_PARTS not.
Signed-off-by: Andreas Bießmann <biessmann@corscience.de>
---
drivers/mtd/nand/atmel_nand.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/mtd/nand/atmel_nand.c b/drivers/mtd/nand/atmel_nand.c
index 04d3088..ccce0f0 100644
--- a/drivers/mtd/nand/atmel_nand.c
+++ b/drivers/mtd/nand/atmel_nand.c
@@ -364,7 +364,7 @@ static void atmel_nand_hwctl(struct mtd_info *mtd, int mode)
}
}
-#ifdef CONFIG_MTD_PARTITIONS
+#ifdef CONFIG_MTD_CMDLINE_PARTS
static const char *part_probes[] = { "cmdlinepart", NULL };
#endif
--
1.7.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH] atmel_nand: Fix warning: 'part_probes' defined but not used
2010-07-14 9:17 [PATCH] atmel_nand: Fix warning: 'part_probes' defined but not used Andreas Bießmann
@ 2010-08-05 10:38 ` Andreas Bießmann
2010-08-05 10:50 ` Artem Bityutskiy
0 siblings, 1 reply; 3+ messages in thread
From: Andreas Bießmann @ 2010-08-05 10:38 UTC (permalink / raw)
To: linux-kernel
Cc: David Brownell, trivial, Sandeep Paulraj, linux-mtd,
Andrew Morton, David Woodhouse, Andreas Bießmann
This patch fixes
drivers/mtd/nand/atmel_nand.c:372: warning: 'part_probes' defined but not used
which is issued when CONFIG_MTD_PARTITIONS is defined but
CONFIG_MTD_CMDLINE_PARTS not.
Signed-off-by: Andreas Bießmann <biessmann@corscience.de>
---
Resent this patch as a trivial one cause it does only fix a warning which is
seen in very rare cases. There is no functionality change here! I think this
is the definition of a trivial patch.
In addition no one has commented my last submission of this patch.
drivers/mtd/nand/atmel_nand.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/mtd/nand/atmel_nand.c b/drivers/mtd/nand/atmel_nand.c
index 04d3088..ccce0f0 100644
--- a/drivers/mtd/nand/atmel_nand.c
+++ b/drivers/mtd/nand/atmel_nand.c
@@ -364,7 +364,7 @@ static void atmel_nand_hwctl(struct mtd_info *mtd, int mode)
}
}
-#ifdef CONFIG_MTD_PARTITIONS
+#ifdef CONFIG_MTD_CMDLINE_PARTS
static const char *part_probes[] = { "cmdlinepart", NULL };
#endif
--
1.7.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] atmel_nand: Fix warning: 'part_probes' defined but not used
2010-08-05 10:38 ` Andreas Bießmann
@ 2010-08-05 10:50 ` Artem Bityutskiy
0 siblings, 0 replies; 3+ messages in thread
From: Artem Bityutskiy @ 2010-08-05 10:50 UTC (permalink / raw)
To: Andreas Bießmann
Cc: David Brownell, trivial, linux-kernel, Sandeep Paulraj, linux-mtd,
Andrew Morton, David Woodhouse
On Thu, 2010-08-05 at 12:38 +0200, Andreas Bießmann wrote:
> This patch fixes
>
> drivers/mtd/nand/atmel_nand.c:372: warning: 'part_probes' defined but not used
>
> which is issued when CONFIG_MTD_PARTITIONS is defined but
> CONFIG_MTD_CMDLINE_PARTS not.
>
> Signed-off-by: Andreas Bießmann <biessmann@corscience.de>
Pushed to my l2-mtd-2.6.git / master
--
Best Regards,
Artem Bityutskiy (Артём Битюцкий)
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-08-05 11:25 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-14 9:17 [PATCH] atmel_nand: Fix warning: 'part_probes' defined but not used Andreas Bießmann
2010-08-05 10:38 ` Andreas Bießmann
2010-08-05 10:50 ` Artem Bityutskiy
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).