another ATM bug
Subsystems (2)
The following warning appears to be real:
drivers/atm/ambassador.c: In function ‘amb_open’:drivers/atm/ambassador.c:1049: warning: ‘tx_rate_bits’ may be used uninitialized in this function
The variable is accessed before the make_rate() error code is checked, thus accessing an uninit'd value.
Jeff
(cc:'s trimmed again)
Quoted 5 lines · Jeff Garzik
drivers/atm/ambassador.c: In function ?amb_open?:drivers/atm/ambassador.c:1049: warning: ?tx_rate_bits? may be used uninitialized in this functionThe variable is accessed before the
make_rate()error code is checked,
Or rather, the make_rate() error code isn't checked AT ALL ("error" appears to be a write-only variable) That seems to be the real bug
-Mitch