Question on compiler warning
From: Larry Finger
Date: Mon Dec 30 2013 - 20:25:06 EST
In his regular article entitled Build regressions/improvements in v3.13-rc6"
Uytterhoeven reports the following warning regression:
+ /scratch/kisskb/src/drivers/net/wireless/b43/phy_n.c: warning: 'val_addr' may
be used uninitialized in this function [-Wuninitialized]: => 178:21
This warning does not show up on any of my compilers, and it should not as the
initialization and usage of that variable both take place in conditional
branches that are testing exactly the same pointer.
Despite the fact that the warning is bogus, should a patch be submitted to clear
it? I lean toward "no" as an answer because that would mask the warning if there
were some future change that screwed up the flow; however, I wanted to check
with the community.
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/