diff options
| author | Kees Cook <[email protected]> | 2025-02-05 20:48:07 +0000 |
|---|---|---|
| committer | Kees Cook <[email protected]> | 2025-02-07 02:48:02 +0000 |
| commit | 20e5cc26e56db09cc612721f90b4994cce5e5b7b (patch) | |
| tree | a33c8240b9230d0c23995d2129b6c42414240e6f /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
| parent | compiler.h: Move C string helpers into C-only kernel section (diff) | |
| download | kernel-20e5cc26e56db09cc612721f90b4994cce5e5b7b.tar.gz kernel-20e5cc26e56db09cc612721f90b4994cce5e5b7b.zip | |
compiler.h: Introduce __must_be_byte_array()
In preparation for adding stricter type checking to the str/mem*()
helpers, provide a way to check that a variable is a byte array
via __must_be_byte_array().
Suggested-by: Kent Overstreet <[email protected]>
Signed-off-by: Kees Cook <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions
