From: WANG Cong <xiyou.wangcong@gmail.com>
To: David Woodhouse <dwmw2@infradead.org>
Cc: kirk@hpc.ee.ntu.edu.tw, akpm@osdl.org,
LKML <linux-kernel@vger.kernel.org>,
linux-mtd@lists.infradead.org
Subject: Re: [Resend][Patch] drivers/mtd/maps/tqm8xxl.c: Do some cleanups
Date: Fri, 13 Jul 2007 21:14:58 +0800 [thread overview]
Message-ID: <20070713131458.GA1997@localhost.localdomain> (raw)
In-Reply-To: <1184320602.2785.18.camel@shinybook.infradead.org>
On Fri, Jul 13, 2007 at 10:56:42AM +0100, David Woodhouse wrote:
>On Fri, 2007-07-13 at 11:48 +0800, WANG Cong wrote:
>> if(map_banks[idx] == NULL) {
>> ret = -ENOMEM;
>> - /* FIXME: What if some MTD devices were probed already? */
>> + /* FIXME: What if some MTD devices were probed
>> + already? */
>> goto error_mem;
>> }
>
>
>That's just horrid. Leave it as it was.
>
Sorry, I can't fully understand you. You mean only the above change is horrid or
the entire patch?
I have some questions about mtd/maps drivers. Even when I use `make allyesconfig`,
I still can't compile some drivers. I should add the corresponding CONFIGs manually.
Why this? And I still got some errors and warnings, such as:
drivers/mtd/maps/pmcmsp-flash.c:40:22: error: msp_prom.h: No such file or directory
drivers/mtd/maps/pmcmsp-flash.c:41:22: error: msp_regs.h: No such file or directory
drivers/mtd/maps/pmcmsp-flash.c: In function 'init_msp_flash':
drivers/mtd/maps/pmcmsp-flash.c:62: error: 'DEV_ID_REG' undeclared (first use in this function)
drivers/mtd/maps/pmcmsp-flash.c:62: error: (Each undeclared identifier is reported only once
drivers/mtd/maps/pmcmsp-flash.c:62: error: for each function it appears in.)
drivers/mtd/maps/pmcmsp-flash.c:62: error: 'DEV_ID_SINGLE_PC' undeclared (first use in this function)
drivers/mtd/maps/pmcmsp-flash.c:63: error: 'ELB_1PC_EN_REG' undeclared (first use in this function)
drivers/mtd/maps/pmcmsp-flash.c:63: error: 'SINGLE_PCCARD' undeclared (first use in this function)
Did I miss something?
Thanks!
--
If loving computers is wrong, I don't want to be right.
WARNING: multiple messages have this Message-ID (diff)
From: WANG Cong <xiyou.wangcong@gmail.com>
To: David Woodhouse <dwmw2@infradead.org>
Cc: Josh Boyer <jwboyer@linux.vnet.ibm.com>,
kirk@hpc.ee.ntu.edu.tw, akpm@osdl.org,
linux-mtd@lists.infradead.org,
LKML <linux-kernel@vger.kernel.org>
Subject: Re: [Resend][Patch] drivers/mtd/maps/tqm8xxl.c: Do some cleanups
Date: Fri, 13 Jul 2007 21:14:58 +0800 [thread overview]
Message-ID: <20070713131458.GA1997@localhost.localdomain> (raw)
In-Reply-To: <1184320602.2785.18.camel@shinybook.infradead.org>
On Fri, Jul 13, 2007 at 10:56:42AM +0100, David Woodhouse wrote:
>On Fri, 2007-07-13 at 11:48 +0800, WANG Cong wrote:
>> if(map_banks[idx] == NULL) {
>> ret = -ENOMEM;
>> - /* FIXME: What if some MTD devices were probed already? */
>> + /* FIXME: What if some MTD devices were probed
>> + already? */
>> goto error_mem;
>> }
>
>
>That's just horrid. Leave it as it was.
>
Sorry, I can't fully understand you. You mean only the above change is horrid or
the entire patch?
I have some questions about mtd/maps drivers. Even when I use `make allyesconfig`,
I still can't compile some drivers. I should add the corresponding CONFIGs manually.
Why this? And I still got some errors and warnings, such as:
drivers/mtd/maps/pmcmsp-flash.c:40:22: error: msp_prom.h: No such file or directory
drivers/mtd/maps/pmcmsp-flash.c:41:22: error: msp_regs.h: No such file or directory
drivers/mtd/maps/pmcmsp-flash.c: In function 'init_msp_flash':
drivers/mtd/maps/pmcmsp-flash.c:62: error: 'DEV_ID_REG' undeclared (first use in this function)
drivers/mtd/maps/pmcmsp-flash.c:62: error: (Each undeclared identifier is reported only once
drivers/mtd/maps/pmcmsp-flash.c:62: error: for each function it appears in.)
drivers/mtd/maps/pmcmsp-flash.c:62: error: 'DEV_ID_SINGLE_PC' undeclared (first use in this function)
drivers/mtd/maps/pmcmsp-flash.c:63: error: 'ELB_1PC_EN_REG' undeclared (first use in this function)
drivers/mtd/maps/pmcmsp-flash.c:63: error: 'SINGLE_PCCARD' undeclared (first use in this function)
Did I miss something?
Thanks!
--
If loving computers is wrong, I don't want to be right.
next prev parent reply other threads:[~2007-07-13 13:12 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-12 15:01 [Patch] drivers/mtd/maps/tqm8xxl.c: Style cleanups WANG Cong
2007-07-12 15:01 ` WANG Cong
2007-07-12 16:11 ` Josh Boyer
2007-07-12 16:11 ` Josh Boyer
2007-07-13 3:48 ` [Resend][Patch] drivers/mtd/maps/tqm8xxl.c: Do some cleanups WANG Cong
2007-07-13 9:56 ` David Woodhouse
2007-07-13 9:56 ` David Woodhouse
2007-07-13 13:14 ` WANG Cong [this message]
2007-07-13 13:14 ` WANG Cong
2007-07-13 13:38 ` David Woodhouse
2007-07-13 13:38 ` David Woodhouse
2007-07-13 14:24 ` Ralf Baechle
2007-07-13 14:24 ` Ralf Baechle
2007-07-13 14:31 ` David Woodhouse
2007-07-13 14:31 ` David Woodhouse
2007-07-13 15:11 ` WANG Cong
2007-07-13 15:11 ` WANG Cong
2007-07-13 15:05 ` WANG Cong
2007-07-13 15:05 ` WANG Cong
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070713131458.GA1997@localhost.localdomain \
--to=xiyou.wangcong@gmail.com \
--cc=akpm@osdl.org \
--cc=dwmw2@infradead.org \
--cc=kirk@hpc.ee.ntu.edu.tw \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mtd@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.