Subject: Re: timeout issue in scsi drivers: mstohz()
To: Ben Harris <bjh21@netbsd.org>
From: Andrey Petrov <petrov@netbsd.org>
List: tech-kern
Date: 04/04/2002 13:55:57
On Thu, Apr 04, 2002 at 10:46:09AM +0100, Ben Harris wrote:
> In article <20020404005506.A13276@mail.netbsd.org> you write:
> >On Wed, Apr 03, 2002 at 10:17:31PM +0100, David Laight wrote:
> >> 
> >> EEEK - you've added so many superfluous parentheses it is
> >> impossibly to spot you've missed the most important set!
> >> 
> >
> >Yeah, well spotted, but still not enought parentheses, what if one day
> >
> >#define hz	0+1
> 
> Then you lose.  If you want that effect, do:
> 
> #define hz	(0+1)
> 

Right! But I'd rather have mstohz macro written correctly.

> -- 
> Ben Harris                                                   <bjh21@netbsd.org>
> Portmaster, NetBSD/arm26               <URL:http://www.netbsd.org/Ports/arm26/>

Cheers,
	Andrey Petrov