From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.free-electrons.com ([88.190.12.23]) by bombadil.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1RdHG6-0005kh-TD for linux-mtd@lists.infradead.org; Wed, 21 Dec 2011 08:10:43 +0000 Date: Wed, 21 Dec 2011 09:10:23 +0100 From: Thomas Petazzoni To: Mike Dunn Subject: Re: [PATCH 0/2] always use partition wrappers; drivers return bitflips Message-ID: <20111221091023.6dbd4fe5@skate> In-Reply-To: <1324406536-18250-1-git-send-email-mikedunn@newsguy.com> References: <1324406536-18250-1-git-send-email-mikedunn@newsguy.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: Lars-Peter Clausen , Jamie Iles , Scott Branden , Wan ZongShun , Artem Bityutskiy , Dmitry Eremin-Solenikov , David Woodhouse , Kyungmin Park , Haojian Zhuang , Manuel Lauss , linux-mtd@lists.infradead.org, Ralf Baechle , Jiandong Zheng , Andres Salomon , Olof Johansson , Vimal Singh , Brian Norris , Robert Jarzmik List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hello, Le Tue, 20 Dec 2011 10:42:14 -0800, Mike Dunn a =C3=A9crit : > This bifurcation of the driver <-> mtd and mtd <-> higher layer is admite= dly a > little kludgy and potentially confusing for driver writers, but has the > advantage of touching few files. The advantage of touching few files is only a short-term advantage, while the drawback of being a "little kludgy and confusing for driver writers" is a long-term, major, drawback. I think it's much better to spend a bit of time now to touch more files, but get a nice and clean interface, rather than leaving the kludge of stacking a MTD partition on top of another. Best regards, Thomas --=20 Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com