linux/drivers/staging/pi433
Geert Uytterhoeven b72703e26b staging: pi433: Move limit check to switch default to kill warning
With gcc-4.1.2:

    drivers/staging/pi433/rf69.c: In function ‘rf69_set_dio_mapping’:
    drivers/staging/pi433/rf69.c:566: warning: ‘regaddr’ may be used uninitialized in this function
    drivers/staging/pi433/rf69.c:565: warning: ‘shift’ may be used uninitialized in this function
    drivers/staging/pi433/rf69.c:564: warning: ‘mask’ may be used uninitialized in this function

While this is a false positive, it can easily be fixed by moving the
limit check into the "default" case of the switch statement.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-09-18 12:25:31 +02:00
..
Documentation
Kconfig staging: pi433: depends on SPI 2017-07-28 16:55:40 -07:00
Makefile
pi433_if.c staging: pi433: fix interrupt handler signatures 2017-08-28 10:27:29 +02:00
pi433_if.h
rf69_enum.h
rf69_registers.h staging: pi433: Style fix - align block comments 2017-07-28 17:03:19 -07:00
rf69.c staging: pi433: Move limit check to switch default to kill warning 2017-09-18 12:25:31 +02:00
rf69.h Staging: Pi433: style fix - tabs and spaces 2017-08-31 18:28:34 +02:00
TODO