Subject: Re: [PATCH] reduce stack usage for arlan

From: Jeff Garzik <[email-masked]>
Date: Sun, 15 May 2005 23:22:35 -0400

Jörn Engel wrote:
> Jean Tourrilhes indicated that this driver is currently unmaintained.
> Jeff, do you want this patch?

>  #define SARLSTR(var,nn) {\
> -	char tmpStr[400];\
> +	char tmpStr[50];\
>  	int  tmpLn = nn;\
> -	if (nn > 399 ) tmpLn = 399; \
> +	BUG_ON(tmpLn > 49);\

I'm uncomfortable with arbitrarily lowering the string size, even if it 
does include a BUG_ON()...

	Jeff