* PAD macro
@ 2003-06-05 14:31 matsunaga
2003-06-05 14:42 ` David Woodhouse
0 siblings, 1 reply; 2+ messages in thread
From: matsunaga @ 2003-06-05 14:31 UTC (permalink / raw)
To: linux-mtd
Hi
This is really a trivial thing,
but there are places where PAD macro is not used for 4byte alignment.
I think it would be better to be unified.
scan.c, line 357 ofs = (ofs+3)&~3;
dir.c, line 359 writtenlen = (writtenlen+3)&~3;
dir.c, line 656 writtenlen = (writtenlen+3)&~3;
Best regards.
Matsunaga.
__________________________________________________
Do You Yahoo!?
Yahoo! BB is Broadband by Yahoo!
http://bb.yahoo.co.jp/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: PAD macro
2003-06-05 14:31 PAD macro matsunaga
@ 2003-06-05 14:42 ` David Woodhouse
0 siblings, 0 replies; 2+ messages in thread
From: David Woodhouse @ 2003-06-05 14:42 UTC (permalink / raw)
To: matsunaga; +Cc: linux-mtd
On Thu, 2003-06-05 at 15:31, matsunaga wrote:
> Hi
>
> This is really a trivial thing,
> but there are places where PAD macro is not used for 4byte alignment.
> I think it would be better to be unified.
You're right. s/(\([a-z]*\)+3)&~3/PAD(\1)/ applied accordingly; thanks.
--
dwmw2
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-06-05 14:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-05 14:31 PAD macro matsunaga
2003-06-05 14:42 ` David Woodhouse
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox