linux/drivers/staging/kpc2000
Colin Ian King d326d99aa0 staging: kpc2000: fix integer overflow with left shifts
Currently there are several left shifts that are assigned to 64 bit
unsigned longs where a signed int 1 is being shifted, resulting in
an integer overflow.  Fix this bit using the BIT_ULL macro to perform
a 64 bit shift.  Also clean up an overly long statement.

Addresses-Coverity: ("Unintentional integer overflow")
Fixes: 7dc7967fc3 ("staging: kpc2000: add initial set of Daktronics drivers")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-06-20 14:39:16 +02:00
..
kpc2000 staging: kpc2000: fix integer overflow with left shifts 2019-06-20 14:39:16 +02:00
kpc_dma staging: kpc2000: removed DMA AIO implementation. 2019-06-13 11:39:30 +02:00
Kconfig Merge 5.2-rc3 into staging-next 2019-06-03 07:27:16 +02:00
kpc2000_i2c.c staging: kpc2000: kpc2000_i2c: add space after , 2019-06-09 13:07:23 +02:00
kpc2000_spi.c staging: kpc2000: remove extra white space in kpc2000_spi.c 2019-06-10 17:53:05 +02:00
kpc.h
Makefile staging: kpc2000: move the i2c driver out of its subdirectory 2019-05-21 08:14:18 +02:00
TODO staging: kpc2000: removed DMA AIO implementation. 2019-06-13 11:39:30 +02:00