History

drm/msm: Rename drm_msm_gem_submit_reloc::or in C++ code

Clashes with C++ `or` keyword

Danylo Piliaiev committed 3 years ago

Commit f1af0661 parent 45d96831 file · +4 −0Browse files

Showing the changes to include/uapi (1 of 1 file). Show all

Unified · Split

include/uapi/drm/msm_drm.h+4−0
@@ -186,7 +186,11 @@ struct drm_msm_gem_cpu_fini { · 185 unmodified lines
186186 */
187187 struct drm_msm_gem_submit_reloc {
188188 __u32 submit_offset; /* in, offset from submit_bo */
189+#ifdef __cplusplus
190+ __u32 _or; /* in, value OR'd with result */
191+#else
189192 __u32 or; /* in, value OR'd with result */
193+#endif
190194 __s32 shift; /* in, amount of left shift (can be negative) */
191195 __u32 reloc_idx; /* in, index of reloc_bo buffer */
192196 __u64 reloc_offset; /* in, offset from start of reloc_bo */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t