Re: Warning messages during compilation of 2.4.21. (5 files)

From: Ishikawa (ishikawa@yk.rim.or.jp)
Date: Sun Jun 22 2003 - 13:50:34 EST


Michael Buesch wrote:

> What about adding something like that:
> #if MAX_NR_FUNC < 256
> if((int)tmp.kb_func >= MAX_NR_FUNC)
> return -EINVAL;
> #endif
>
> Sure, this is ugly, too, but I think the warning is
> _very_ ugly. Another solution is, what you already
> said, to completely remove this if ().
>

This looks good enough to me.

BTW, I tried to send the info to jhartmann@... mentioned
in agpgart_be.c. But he is no longer at
the e-mail address and the e-mail bounced.
I wonder if anyone knows how to send the message
to him today.

-- 
int main(void){int j=2003;/*(c)2003 cishikawa. */
char t[] ="<CI> @abcdefghijklmnopqrstuvwxyz.,\n\"";
char *i ="g>qtCIuqivb,gCwe\np@.ietCIuqi\"tqkvv is>dnamz";
while(*i)((j+=strchr(t,*i++)-(int)t),(j%=sizeof t-1),
(putchar(t[j])));return 0;}/* under GPL */
-
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/



This archive was generated by hypermail 2b29 : Mon Jun 23 2003 - 22:00:38 EST