diff options
| author | Kees Cook <kees@kernel.org> | 2026-03-14 16:24:56 +0300 |
|---|---|---|
| committer | Kees Cook <kees@kernel.org> | 2026-05-14 19:24:32 +0300 |
| commit | 905c559e51497b8bfdbb68df8be56d2f70f0de8e (patch) | |
| tree | 780a054ea7e9ba6baaf748f37803c61ac6b1c72a /drivers/gpu | |
| parent | 7fd2df204f342fc17d1a0bfcd474b24232fb0f32 (diff) | |
| download | linux-905c559e51497b8bfdbb68df8be56d2f70f0de8e.tar.xz | |
gcc-plugins: Always define CONST_CAST_GIMPLE and CONST_CAST_TREE
For gcc-16, the CONST_CAST macro family was removed. Add back what
we were using in gcc-common.h, as they are simple wrappers.
See GCC commits:
c3d96ff9e916c02584aa081f03ab999292efbb50
458c7926d48959abcb2c1adaa22458e27459a551
Suggested-by: Ingo Saitz <ingo@hannover.ccc.de>
Link: https://lore.kernel.org/lkml/ab6OKoay0OWkywjK@spatz.zoo
Fixes: 6b90bd4ba40b ("GCC plugin infrastructure")
Tested-by: Ivan Bulatovic <combuster@archlinux.us>
Tested-by: Christopher Cradock <christopher@cradock.myzen.co.uk>
Signed-off-by: Kees Cook <kees@kernel.org>
Diffstat (limited to 'drivers/gpu')
0 files changed, 0 insertions, 0 deletions
