mirror of
https://github.com/torvalds/linux.git
synced 2024-12-04 01:51:34 +00:00
f998a1180e
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:
|
||
---|---|---|
.. | ||
kpc2000 | ||
kpc_dma | ||
kpc_i2c | ||
kpc_spi | ||
Kconfig | ||
kpc.h | ||
Makefile | ||
TODO |