Messages in this thread | | | Date | Wed, 27 Jan 2010 22:16:12 +0100 | From | Jiri Slaby <> | Subject | Re: [PATCH 11/13] drivers/block/floppy.c: Remove obfuscating CODE2SIZE macro |
| |
On 01/27/2010 09:46 PM, Joe Perches wrote: > @@ -2347,7 +2346,7 @@ static void rw_interrupt(void) > DRS->first_read_date = jiffies; > > nr_sectors = 0; > - CODE2SIZE; > + ssize = ((1 << SIZECODE) + 3) >> 2;
If you plan to post another series, you could further tune it up with: DIV_ROUND_UP(1 << SIZECODE, 4);
-- js
| |