aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
diff options
context:
space:
mode:
authorSu Hui <[email protected]>2023-08-31 07:34:56 +0000
committerRafael J. Wysocki <[email protected]>2023-09-21 18:51:27 +0000
commit83f5ad58daf1576640bec3aa2f81f003f8e6c48b (patch)
tree9a7033739e3fca7d6db31860060981af2f8b3e1c /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
parentLinux 6.6-rc2 (diff)
downloadkernel-83f5ad58daf1576640bec3aa2f81f003f8e6c48b.tar.gz
kernel-83f5ad58daf1576640bec3aa2f81f003f8e6c48b.zip
ACPI: OSL: add __printf format attribute to acpi_os_vprintf()
With gcc and W=1 option to compile the kernel, warning occurs: drivers/acpi/osl.c:156:2: error: function ‘acpi_os_vprintf’ might be a candidate for ‘gnu_printf’ format attribute [-Werror=suggest-attribute=format]. Allow the compiler to recognize and check format strings is safer. Signed-off-by: Su Hui <[email protected]> [ rjw: Subject and changelog edits ] Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions