Re: [PATCH] drm/i915/gt: Fix use of static in macro mismatch

2022-05-11 Thread Jani Nikula
On Tue, 10 May 2022, Andi Shyti wrote: > The INTEL_GT_RPS_SYSFS_ATTR was creating to different structures > but. When called with the "static" keyword this is affecting only > the first structure, while the second is created as non static. > > Move the static keyword inside the macros to affect bo

[PATCH] drm/i915/gt: Fix use of static in macro mismatch

2022-05-10 Thread Andi Shyti
The INTEL_GT_RPS_SYSFS_ATTR was creating to different structures but. When called with the "static" keyword this is affecting only the first structure, while the second is created as non static. Move the static keyword inside the macros to affect both the structures. Reported-by: Jani Nikula Fix