Messages in this thread | | | Date | Sun, 27 Feb 2005 19:25:11 -0500 | From | Jeff Garzik <> | Subject | Re: [ patch 2/7] drivers/serial/jsm: new serial device driver |
| |
Wen Xiong wrote: > +#define TMPBUFLEN (1024) > + > +/* > + * jsm_sniff - Dump data out to the "sniff" buffer if the > + * proc sniff file is opened... > + */ > + > +void jsm_sniff_nowait_nolock(struct channel_t *ch, uchar *text, uchar *buf, int len) > +{ > + struct timeval tv; > + int n; > + int r; > + int nbuf; > + int i; > + int tmpbuflen; > + char tmpbuf[TMPBUFLEN];
Uses WAY too much stack space.
Jeff
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |