login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
November
»
13
Re: [PATCH] mtd: unify mtd partition/device registration
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Mike Frysinger <vapier.adi@...>
To: Atsushi Nemoto <anemo@...>
Cc: <vapier@...>, <linux-mtd@...>, <dwmw2@...>, <linux-kernel@...>
Subject:
Re: [PATCH] mtd: unify mtd partition/device registration
Date: Thursday, November 13, 2008 - 10:47 am
On Thu, Nov 13, 2008 at 08:43, Atsushi Nemoto wrote:
quoted text
> On Wed, 12 Nov 2008 18:38:53 -0500, Mike Frysinger wrote: >> +int parse_mtd(struct mtd_info *mtd, const char **probe_types, >> + struct mtd_partition *parts, int nr_parts) >> +{ >> +#ifdef CONFIG_MTD_PARTITIONS >> + const char *default_part_probe_types[] = { >> + "cmdlinepart", >> + "RedBoot", >> + NULL >> + }; > > But I'm not sure this default_part_probe_types is appropriate. > > How about enclose each parser with #ifdefs? > > const char *default_part_probe_types[] = { > #ifdef CONFIG_MTD_CMDLINE_PARTS > "cmdlinepart", > #endif > #ifdef CONFIG_MTD_REDBOOT_PARTS > "RedBoot", > #endif > NULL > }; > > This get rid of "RedBoot partition parsing not available" noise in > boot message when you use default_part_probe_types without > MTD_REDBOOT_PARTS.
yeah, that parsing thing is annoying, but i didnt think enough so to add ifdef's. i'm fine with it either way. -mike --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH] mtd: unify mtd partition/device registration
, Mike Frysinger
, (Wed Nov 12, 7:38 pm)
Re: [PATCH] mtd: unify mtd partition/device registration
, Jörn
, (Sun Nov 16, 1:34 pm)
Re: [PATCH] mtd: unify mtd partition/device registration
, Mike Frysinger
, (Sun Nov 16, 1:55 pm)
Re: [PATCH] mtd: unify mtd partition/device registration
, Jörn
, (Sun Nov 16, 2:02 pm)
Re: [PATCH] mtd: unify mtd partition/device registration
, Andrew Morton
, (Fri Nov 14, 5:39 pm)
Re: [PATCH] mtd: unify mtd partition/device registration
, Atsushi Nemoto
, (Thu Nov 13, 9:43 am)
Re: [PATCH] mtd: unify mtd partition/device registration
, Mike Frysinger
, (Thu Nov 13, 10:47 am)
Re: [PATCH] mtd: unify mtd partition/device registration
, Atsushi Nemoto
, (Thu Nov 13, 10:28 am)
Re: [PATCH] mtd: unify mtd partition/device registration
, Mike Frysinger
, (Thu Nov 13, 10:51 am)
Re: [PATCH] mtd: unify mtd partition/device registration
, Atsushi Nemoto
, (Thu Nov 13, 11:51 am)
Re: [PATCH] mtd: unify mtd partition/device registration
, Mike Frysinger
, (Thu Nov 13, 11:55 am)
[PATCH] mtd/bfin-async-flash: use parse_mtd()
, Mike Frysinger
, (Wed Nov 12, 7:39 pm)
[PATCH] mtd/physmap: use parse_mtd()
, Mike Frysinger
, (Wed Nov 12, 7:39 pm)
Re: [PATCH] mtd/physmap: use parse_mtd()
, Andrew Morton
, (Fri Nov 14, 5:41 pm)
Re: [PATCH] mtd/physmap: use parse_mtd()
, Mike Frysinger
, (Fri Nov 14, 6:07 pm)
Re: [PATCH] mtd/physmap: use parse_mtd()
, Atsushi Nemoto
, (Thu Nov 13, 9:51 am)
Re: [PATCH] mtd/physmap: use parse_mtd()
, Mike Frysinger
, (Thu Nov 13, 10:44 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Paul Jackson
Re: cpuset-remove-sched-domain-hooks-from-cpusets
James Bottomley
Re: Announce: Linux-next (Or Andrew's dream :-))
David Miller
Slow DOWN, please!!!
Masami Hiramatsu
Re: [RFC PATCH v4] Unified trace buffer
git
:
linux-netdev
:
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
Parag Warudkar
Re: 2.6.29-rc3: tg3 dead after resume
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
5 users
and
1099 guests
online.
Online users
tshirtprinting
zeekec
asianbridesnaao
MarlousManifsb
howsellgold
Syndicate