2011/12/17 Jonas Gorski <jonas.gorski@xxxxxxxxx>: > The intention is to align the spareaddr to the next eraseblock (cfelen > can be bigger than the erasesize). Maybe writing it as > > spareaddr = roundup(cfelen + totallen, master->erasesize); > > would be cleaner. Humm, you're right, forget my comment. BTW I don't mind what syntax you chose. Good job ;) -- Guillaume LECERF OpenBricks developer - www.openbricks.org