211673991e
On Fri, Aug 13, 2010 at 03:38:40PM +0200, Dan Carpenter wrote: > Speak of left over stuff, it's weird that I didn't notice this before > but gcc complains about an unitialized variable in > imon_incoming_packet(). > > drivers/staging/lirc/lirc_imon.c: In function ‘imon_incoming_packet’: > drivers/staging/lirc/lirc_imon.c:661: warning: ‘chunk_num’ may be used > uninitialized in this function > > I don't know how to fix that, but it looks important. Ew. Yeah, that doesn't look so hot like it is right now. The old lirc_imon driver had chunk_num = buf[7], and made much more extensive use of chunk_num. Simply removing chunk_num and using buf[7] should be fine. Signed-off-by: Jarod Wilson <jarod@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> |
||
---|---|---|
.. | ||
Kconfig | ||
lirc_bt829.c | ||
lirc_ene0100.h | ||
lirc_i2c.c | ||
lirc_igorplugusb.c | ||
lirc_imon.c | ||
lirc_it87.c | ||
lirc_it87.h | ||
lirc_ite8709.c | ||
lirc_parallel.c | ||
lirc_parallel.h | ||
lirc_sasem.c | ||
lirc_serial.c | ||
lirc_sir.c | ||
lirc_ttusbir.c | ||
lirc_zilog.c | ||
Makefile | ||
TODO | ||
TODO.lirc_i2c |