linux/drivers/staging/kpc2000
Dan Carpenter f998a1180e staging: kpc2000: fix resource size calculation
The code is calculating the resource size wrong because it should be
inclusive of the "res->end" address.  In other words, "end - start + 1".
We can just use the resource_size() function to do it correctly.

Fixes: 7dc7967fc3 ("staging: kpc2000: add initial set of Daktronics drivers")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-04-30 14:19:04 +02:00
..
kpc2000 staging: kpc2000: Fix a stack information leak in kp2000_cdev_ioctl() 2019-04-30 14:19:04 +02:00
kpc_dma staging: kpc2000: Add DMA driver 2019-04-25 12:07:33 +02:00
kpc_i2c staging: kpc2000: fix resource size calculation 2019-04-30 14:19:04 +02:00
kpc_spi staging: kpc2000: fix resource size calculation 2019-04-30 14:19:04 +02:00
Kconfig staging: kpc2000: Add DMA driver 2019-04-25 12:07:33 +02:00
kpc.h
Makefile staging: kpc2000: Add DMA driver 2019-04-25 12:07:33 +02:00
TODO