* [PATCH] mtd: Fix compilation warnings in drivers/mtd/nand/cs553x_nand.c
@ 2008-10-14 18:13 Manish Katiyar
2008-10-15 13:39 ` Manish Katiyar
2008-10-19 12:32 ` Manish Katiyar
0 siblings, 2 replies; 3+ messages in thread
From: Manish Katiyar @ 2008-10-14 18:13 UTC (permalink / raw)
To: dwmw2, linux-mtd; +Cc: mkatiyar
Below patch fixes the following compilation warnings.
drivers/mtd/nand/cs553x_nand.c:293: warning: unused variable 'mtd_parts'
drivers/mtd/nand/cs553x_nand.c:292: warning: unused variable 'mtd_parts_nb'
Signed-off-by: Manish Katiyar <mkatiyar@gmail.com>
---
drivers/mtd/nand/cs553x_nand.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/drivers/mtd/nand/cs553x_nand.c b/drivers/mtd/nand/cs553x_nand.c
index 3370a80..9f1b451 100644
--- a/drivers/mtd/nand/cs553x_nand.c
+++ b/drivers/mtd/nand/cs553x_nand.c
@@ -289,8 +289,10 @@ static int __init cs553x_init(void)
int i;
uint64_t val;
+#ifdef CONFIG_MTD_PARTITIONS
int mtd_parts_nb = 0;
struct mtd_partition *mtd_parts = NULL;
+#endif
/* If the CPU isn't a Geode GX or LX, abort */
if (!is_geode())
--
1.5.4.3
Thanks -
Manish
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] mtd: Fix compilation warnings in drivers/mtd/nand/cs553x_nand.c
2008-10-14 18:13 [PATCH] mtd: Fix compilation warnings in drivers/mtd/nand/cs553x_nand.c Manish Katiyar
@ 2008-10-15 13:39 ` Manish Katiyar
2008-10-19 12:32 ` Manish Katiyar
1 sibling, 0 replies; 3+ messages in thread
From: Manish Katiyar @ 2008-10-15 13:39 UTC (permalink / raw)
To: dwmw2, linux-mtd; +Cc: mkatiyar
On Tue, Oct 14, 2008 at 11:43 PM, Manish Katiyar <mkatiyar@gmail.com> wrote:
> Below patch fixes the following compilation warnings.
> drivers/mtd/nand/cs553x_nand.c:293: warning: unused variable 'mtd_parts'
> drivers/mtd/nand/cs553x_nand.c:292: warning: unused variable 'mtd_parts_nb'
Any ack/nack on this ??
Thanks -
Manish
>
>
> Signed-off-by: Manish Katiyar <mkatiyar@gmail.com>
>
> ---
> drivers/mtd/nand/cs553x_nand.c | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/mtd/nand/cs553x_nand.c b/drivers/mtd/nand/cs553x_nand.c
> index 3370a80..9f1b451 100644
> --- a/drivers/mtd/nand/cs553x_nand.c
> +++ b/drivers/mtd/nand/cs553x_nand.c
> @@ -289,8 +289,10 @@ static int __init cs553x_init(void)
> int i;
> uint64_t val;
>
> +#ifdef CONFIG_MTD_PARTITIONS
> int mtd_parts_nb = 0;
> struct mtd_partition *mtd_parts = NULL;
> +#endif
>
> /* If the CPU isn't a Geode GX or LX, abort */
> if (!is_geode())
> --
> 1.5.4.3
>
> Thanks -
> Manish
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] mtd: Fix compilation warnings in drivers/mtd/nand/cs553x_nand.c
2008-10-14 18:13 [PATCH] mtd: Fix compilation warnings in drivers/mtd/nand/cs553x_nand.c Manish Katiyar
2008-10-15 13:39 ` Manish Katiyar
@ 2008-10-19 12:32 ` Manish Katiyar
1 sibling, 0 replies; 3+ messages in thread
From: Manish Katiyar @ 2008-10-19 12:32 UTC (permalink / raw)
To: dwmw2, linux-mtd; +Cc: mkatiyar, akpm, kernel-janitors
On Tue, Oct 14, 2008 at 11:43 PM, Manish Katiyar <mkatiyar@gmail.com> wrote:
> Below patch fixes the following compilation warnings.
> drivers/mtd/nand/cs553x_nand.c:293: warning: unused variable 'mtd_parts'
> drivers/mtd/nand/cs553x_nand.c:292: warning: unused variable 'mtd_parts_nb'
>
>
> Signed-off-by: Manish Katiyar <mkatiyar@gmail.com>
>
> ---
> drivers/mtd/nand/cs553x_nand.c | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/mtd/nand/cs553x_nand.c b/drivers/mtd/nand/cs553x_nand.c
> index 3370a80..9f1b451 100644
> --- a/drivers/mtd/nand/cs553x_nand.c
> +++ b/drivers/mtd/nand/cs553x_nand.c
> @@ -289,8 +289,10 @@ static int __init cs553x_init(void)
> int i;
> uint64_t val;
>
> +#ifdef CONFIG_MTD_PARTITIONS
> int mtd_parts_nb = 0;
> struct mtd_partition *mtd_parts = NULL;
> +#endif
>
> /* If the CPU isn't a Geode GX or LX, abort */
> if (!is_geode())
> --
> 1.5.4.3
>
Resending it adding kernel-janitors, since I didn't get any response
from the linux-mtd list.
Thanks -
Manish
> Thanks -
> Manish
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-10-19 12:32 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-14 18:13 [PATCH] mtd: Fix compilation warnings in drivers/mtd/nand/cs553x_nand.c Manish Katiyar
2008-10-15 13:39 ` Manish Katiyar
2008-10-19 12:32 ` Manish Katiyar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox