mesa-drm/amdgpu
Rudi Heitbaum ff12339926 amdgpu: fix discards 'const' qualifier from pointer target type
Since glibc-2.43:

For ISO C23, the functions bsearch, memchr, strchr, strpbrk, strrchr,
strstr, wcschr, wcspbrk, wcsrchr, wcsstr and wmemchr that return pointers
into their input arrays now have definitions as macros that return a
pointer to a const-qualified type when the input argument is a pointer
to a const-qualified type.

fixes:
    amdgpu/amdgpu_asic_id.c: In function 'find_asic_id_table':
    amdgpu/amdgpu_asic_id.c:249:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
      249 |         file_name = strrchr(AMDGPU_ASIC_ID_TABLE, '/');
          |                   ^

Signed-off-by: Rudi Heitbaum <rudi@heitbaum.com>
2026-04-27 17:45:10 +02:00
..
.editorconfig Add meson build system 2018-01-12 09:40:48 -08:00
amdgpu-symbols.txt amdgpu: reserve half of the addr space to implement a workaround for PRT 2026-04-27 09:59:32 +02:00
amdgpu.h amdgpu: reserve half of the addr space to implement a workaround for PRT 2026-04-27 09:59:32 +02:00
amdgpu_asic_id.c amdgpu: fix discards 'const' qualifier from pointer target type 2026-04-27 17:45:10 +02:00
amdgpu_bo.c amdgpu: Add parameter validation to amdgpu_bo functions to fix SIGSEGV 2025-10-22 08:59:55 +08:00
amdgpu_cs.c amdgpu: Make amdgpu_cs_signal_semaphore() thread-safe 2024-05-23 18:57:18 +00:00
amdgpu_device.c amdgpu: reserve half of the addr space to implement a workaround for PRT 2026-04-27 09:59:32 +02:00
amdgpu_gpu_info.c drm/amdgpu: add new AMDGPU_INFO subquery for userqueue metadata 2025-04-10 13:20:00 +00:00
amdgpu_internal.h amdgpu: reserve half of the addr space to implement a workaround for PRT 2026-04-27 09:59:32 +02:00
amdgpu_userq.c amdgpu: Add queue priority and secure flags support for user queues 2025-04-14 15:37:51 +08:00
amdgpu_vamgr.c amdgpu: reserve half of the addr space to implement a workaround for PRT 2026-04-27 09:59:32 +02:00
amdgpu_vm.c amdgpu: annotate public functions 2018-09-19 22:46:45 -07:00
Android.bp Convert to Android.bp 2024-07-29 14:47:30 -04:00
Android.sources.bp Convert to Android.bp 2024-07-29 14:47:30 -04:00
handle_table.c amdgpu: fix off by one in handle_table_insert 2018-08-16 08:50:04 +02:00
handle_table.h amdgpu: add handle table implementation v2 2018-08-07 13:27:16 +02:00
libdrm_amdgpu.pc.in amdgpu: add libdrm as private requirement/dependency 2016-02-04 13:22:50 +00:00
meson.build meson: Do not check for meson version >=0.54 2025-05-20 11:05:27 +02:00