Added code comments for the lines that might generate Sparse
warnings/errors.
The warnings/errors cannot be fixed with refactoring without masively
impacting the whole code implementation and/or they are incorrectly
generated by Sparse.
Signed-off-by: Alexandru Dadu
---
drivers/gpu/drm
Reduce the scope of some loop counters as these aren't needed outside
the loops they're used in.
Signed-off-by: Alexandru Dadu
---
Changes in v2:
- Remove a loop counter variable definition
- Link to v1:
https://lore.kernel.org/r/20250401-for-loop-counter-scope-v1-1-5ba75770b...@
Reduce the scope of some loop counters as these aren't needed outside
the loops they're used in.
Signed-off-by: Alexandru Dadu
---
drivers/gpu/drm/imagination/pvr_debugfs.c | 3 +--
drivers/gpu/drm/imagination/pvr_free_list.c | 3 +--
drivers/gpu/drm/imagination/pvr_fw.c