projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4769ac
)
drm/radeon/r100: Clean up errors in r100.c
author
GuoHua Chen
<chenguohua_716@163.com>
Thu, 11 Jan 2024 07:38:07 +0000
(07:38 +0000)
committer
Alex Deucher
<alexander.deucher@amd.com>
Thu, 18 Jan 2024 20:38:49 +0000
(15:38 -0500)
Fix the following errors reported by checkpatch:
ERROR: spaces required around that '+=' (ctx:VxV)o
Signed-off-by: GuoHua Chen <chenguohua_716@163.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/r100.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/radeon/r100.c
b/drivers/gpu/drm/radeon/r100.c
index cfeca2694d5f919a083f8b773bdba91abf352164..86b8b770af19b3d378c19cc03e360574ceb3c981 100644
(file)
--- a/
drivers/gpu/drm/radeon/r100.c
+++ b/
drivers/gpu/drm/radeon/r100.c
@@
-1327,7
+1327,7
@@
int r100_packet3_load_vbpntr(struct radeon_cs_parser *p,
return -EINVAL;
}
track->num_arrays = c;
- for (i = 0; i < (c - 1); i
+=2, idx+=
3) {
+ for (i = 0; i < (c - 1); i
+= 2, idx +=
3) {
r = radeon_cs_packet_next_reloc(p, &reloc, 0);
if (r) {
DRM_ERROR("No reloc for packet3 %d\n",