mirror of
https://github.com/torvalds/linux.git
synced 2025-11-10 21:48:46 +02:00
The resource is inclusive of the ->start and ->end addresses so this
calculation is not correct. It should be "res->end - res->start + 1".
Use the resource_size() to do the calculation.
Fixes:
|
||
|---|---|---|
| .. | ||
| dcss-blkctl.c | ||
| dcss-crtc.c | ||
| dcss-ctxld.c | ||
| dcss-dev.c | ||
| dcss-dev.h | ||
| dcss-dpr.c | ||
| dcss-drv.c | ||
| dcss-dtg.c | ||
| dcss-kms.c | ||
| dcss-kms.h | ||
| dcss-plane.c | ||
| dcss-scaler.c | ||
| dcss-ss.c | ||
| Kconfig | ||
| Makefile | ||