aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strlcpy-src.c
diff options
context:
space:
mode:
authorAndi Shyti <[email protected]>2022-05-10 16:04:47 +0200
committerJani Nikula <[email protected]>2022-05-19 12:50:29 +0300
commit183f815d426b22c4424958403b096aebf3b060ca (patch)
tree173a4d9877cfae6cd214c2f8a8e12573a207ac4b /lib/test_fortify/write_overflow-strlcpy-src.c
parentd91e9be0f0b05fd4df783d18d090c78ebd99f153 (diff)
drm/i915/gt: Fix use of static in macro mismatch
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 <[email protected]> Fixes: 56a709cf77468 ("drm/i915/gt: Create per-tile RPS sysfs interfaces") Signed-off-by: Andi Shyti <[email protected]> Reviewed-by: Jani Nikula <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] (cherry picked from commit 1ade30812abfdd1c161a155fd54b0dd594c217ee) Signed-off-by: Jani Nikula <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy-src.c')
0 files changed, 0 insertions, 0 deletions