[PATCH] fix for mtd partitions for erase_size != 2^X

Peter Menzebach pm-mtd at mw-itcon.de
Mon Sep 26 05:13:11 EDT 2005


Jörn Engel wrote:
> Maybe this:
> #define TRUE_ALIGN(x,a) (((x)+(a)-1) - ((x)+(a)-1) % a)
> 
> The macro is still complicated, but we just have to get it right once.
> 
> Jörn
> 
Are you sure, this is not as complicated as my version ;) ?
But if you like it, no problem.

Shall I resubmit the patch?

Is there any known good way to submit a patch here? I have two mailer 
here, but the mailing list refuses both (as attachment and inline 
attachment).

Best regards
Peter

-- 
Peter Menzebach
Menzebach und Wolff IT-Consulting GbR
Phone +49 751 355 387 1




More information about the linux-mtd mailing list