[PATCH 1/8] mtd_tests: Refactor duplicate code

Artem Bityutskiy dedekind1 at gmail.com
Fri Oct 5 06:17:04 EDT 2012


On Tue, 2012-10-02 at 19:58 +0530, Vikram Narayanan wrote:
> Move the duplicate code from all the tests to a common header.
> 
> Signed-off-by: Vikram Narayanan <vikram186 at gmail.com>

Could you please re-structure your patches so that you first do the
'pr_' changes, and then this one. Because 'pr_' are trivial and I can
apply them right away.

This one - I think if you look at UBI and JFFS2 - you may find them also
use the same pattern, and you can actually make this function go to
mtdcore.c and be exported instead.

-- 
Best Regards,
Artem Bityutskiy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20121005/cff54ad1/attachment.sig>


More information about the linux-mtd mailing list