Re: variable used before it is set

From: Jörn Engel
Date: Tue Jun 28 2005 - 04:35:53 EST


On Tue, 28 June 2005 09:16:56 +0000, d binderman wrote:
>
> I just tried to compile the Linux Kernel version 2.6.11.12
> with the most excellent Intel C compiler. It said
>
> net/bridge/netfilter/ebt_log.c(91): remark #592: variable "u" is used
> before its value is set
> printk(" IP tos=0x%02X, IP proto=%d", u.iph.tos,
> ^
> I agree with the compiler. Suggest code rework.

Thank you for the reports. But I fear that some of them may go
unnoticed by the responsible maintainers. Could you go through
/usr/src/linux/MAINTAINERS and add relevant people and/or mailing
lists to the Cc: list?

Netfilter folks added, just to give an example.

Jörn

--
The story so far:
In the beginning the Universe was created. This has made a lot
of people very angry and been widely regarded as a bad move.
-- Douglas Adams
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/