Message ID | 1305619989.2630.31.camel@localhost |
---|---|
State | Not Applicable |
Headers | show |
On Tue, 2011-05-17 at 11:13 +0300, Artem Bityutskiy wrote:
> from my POW
Sorry, I've just been told that I should use the correct form - POV, not
POW :-)
On Tue, 2011-05-17 at 11:13 +0300, Artem Bityutskiy wrote: > On Tue, 2011-05-17 at 08:43 +0100, Russell King - ARM Linux wrote: > > On Tue, May 17, 2011 at 08:46:18AM +0300, Artem Bityutskiy wrote: > > > On Tue, 2011-05-17 at 08:37 +0300, Artem Bityutskiy wrote: > > > > Sorry if this sounds like an attack, it is not. I just think that we > > > > carry crap for too long and should start forcing people to clean it up > > > > by not accepting changes :-) > > > > > > Sorry, I forgot to note that I do not insist that you have to re-work > > > MTD partitions support - you already do a very good thing by killing a > > > redundant driver, and delaying this would be counter-productive. But I > > > anyway wanted to express my thoughts. > > > > So, what's happening with this patch set? I'd like to have an ack from > > the MTD people for the set. > > David should answer, but from my POW the patches are OK. The "#ifdef > CONFIG_MTD_AFS_PARTS" is ugly. I think it can be just killed, it just > needs an additional patch to silence the kernel (completely untested, > Marc, could you please check it?): Looks OK to me, as long as people don't miss the information (could make the "where's my partition gone?" question harder to answer...). As this change is orthogonal to mine, I suggest this change goes via the MTD tree, independently from this patch set. I post a v6 later today (without the #ifdef-ery). Cheers, M.
On Tue, 2011-05-17 at 09:49 +0100, Marc Zyngier wrote: > As this change is orthogonal to mine, I suggest this change goes via the > MTD tree, independently from this patch set. I post a v6 later today > (without the #ifdef-ery). Fine with me, thanks.
On Tue, 2011-05-17 at 09:49 +0100, Marc Zyngier wrote: > On Tue, 2011-05-17 at 11:13 +0300, Artem Bityutskiy wrote: > > On Tue, 2011-05-17 at 08:43 +0100, Russell King - ARM Linux wrote: > > > On Tue, May 17, 2011 at 08:46:18AM +0300, Artem Bityutskiy wrote: > > > > On Tue, 2011-05-17 at 08:37 +0300, Artem Bityutskiy wrote: > > > > > Sorry if this sounds like an attack, it is not. I just think that we > > > > > carry crap for too long and should start forcing people to clean it up > > > > > by not accepting changes :-) > > > > > > > > Sorry, I forgot to note that I do not insist that you have to re-work > > > > MTD partitions support - you already do a very good thing by killing a > > > > redundant driver, and delaying this would be counter-productive. But I > > > > anyway wanted to express my thoughts. > > > > > > So, what's happening with this patch set? I'd like to have an ack from > > > the MTD people for the set. > > > > David should answer, but from my POW the patches are OK. The "#ifdef > > CONFIG_MTD_AFS_PARTS" is ugly. I think it can be just killed, it just > > needs an additional patch to silence the kernel (completely untested, > > Marc, could you please check it?): > > Looks OK to me, as long as people don't miss the information (could make > the "where's my partition gone?" question harder to answer...). I've pushed my patch to my l2-mtd-2.6.git tree, if dwmw2 accepts it it'll go upstream.
On Thu, May 19, 2011 at 02:13:38PM +0300, Artem Bityutskiy wrote: > On Tue, 2011-05-17 at 09:49 +0100, Marc Zyngier wrote: > > On Tue, 2011-05-17 at 11:13 +0300, Artem Bityutskiy wrote: > > > On Tue, 2011-05-17 at 08:43 +0100, Russell King - ARM Linux wrote: > > > > On Tue, May 17, 2011 at 08:46:18AM +0300, Artem Bityutskiy wrote: > > > > > On Tue, 2011-05-17 at 08:37 +0300, Artem Bityutskiy wrote: > > > > > > Sorry if this sounds like an attack, it is not. I just think that we > > > > > > carry crap for too long and should start forcing people to clean it up > > > > > > by not accepting changes :-) > > > > > > > > > > Sorry, I forgot to note that I do not insist that you have to re-work > > > > > MTD partitions support - you already do a very good thing by killing a > > > > > redundant driver, and delaying this would be counter-productive. But I > > > > > anyway wanted to express my thoughts. > > > > > > > > So, what's happening with this patch set? I'd like to have an ack from > > > > the MTD people for the set. > > > > > > David should answer, but from my POW the patches are OK. The "#ifdef > > > CONFIG_MTD_AFS_PARTS" is ugly. I think it can be just killed, it just > > > needs an additional patch to silence the kernel (completely untested, > > > Marc, could you please check it?): > > > > Looks OK to me, as long as people don't miss the information (could make > > the "where's my partition gone?" question harder to answer...). > > I've pushed my patch to my l2-mtd-2.6.git tree, if dwmw2 accepts it > it'll go upstream. I've also committed them to my tree too.
diff --git a/drivers/mtd/mtdpart.c b/drivers/mtd/mtdpart.c index 0a47601..cd631e7 100644 --- a/drivers/mtd/mtdpart.c +++ b/drivers/mtd/mtdpart.c @@ -722,11 +722,8 @@ int parse_mtd_partitions(struct mtd_info *master, const char **types, parser = get_partition_parser(*types); if (!parser && !request_module("%s", *types)) parser = get_partition_parser(*types); - if (!parser) { - printk(KERN_NOTICE "%s partition parsing not available\n", - *types); + if (!parser) continue; - } ret = (*parser->parse_fn)(master, pparts, origin); if (ret > 0) { printk(KERN_NOTICE "%d %s partitions found on MTD device %s\n",