All of lore.kernel.org
 help / color / mirror / Atom feed
* [KJ] Re: [PATCH] arch/ppc64: Replace custom MIN macro
@ 2005-04-07 23:00 Paul Mackerras
  2005-04-08  9:33 ` Tobias Klauser
  0 siblings, 1 reply; 2+ messages in thread
From: Paul Mackerras @ 2005-04-07 23:00 UTC (permalink / raw)
  To: kernel-janitors

[-- Attachment #1: Type: text/plain, Size: 337 bytes --]

Tobias Klauser writes:

> >From the kerneljanitors TODO list:
> - min/max macros from kernel.h are safe, a lot of handcrafted MIN/MAX are not.

Well... OK, that removes 4 lines of code, which is good, but the
explanation needs changing - it's not a question of safety, it doesn't
matter if we evaluate sizeof() more than once. :)

Paul.

[-- Attachment #2: Type: text/plain, Size: 167 bytes --]

_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
http://lists.osdl.org/mailman/listinfo/kernel-janitors

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-04-08  9:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-07 23:00 [KJ] Re: [PATCH] arch/ppc64: Replace custom MIN macro Paul Mackerras
2005-04-08  9:33 ` Tobias Klauser

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.