diff options
| author | Randy Dunlap <rdunlap@infradead.org> | 2026-06-12 16:44:56 -0700 |
|---|---|---|
| committer | Jonathan Corbet <corbet@lwn.net> | 2026-06-23 14:41:52 -0600 |
| commit | d42197c73550ac6fa724516e22709b0fe2c11951 (patch) | |
| tree | c48683cc0bca531fbd973badcde83e98620a8c72 /include/linux/debugobjects.h | |
| parent | da5e67d0e18a935a4d9a3d2732c9546fd29ad3b1 (diff) | |
kdoc: xforms: ignore special static/inline macros
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c contains 7 (for
now) functions that use STATIC_IFN_KUNIT or INLINE_IFN_KUNIT macros for
function qualifiers (static or not, inline or not).
These cause parse warnings from kernel-doc:
Invalid C declaration: Expected identifier in nested name, got keyword:
struct [error at 29]
STATIC_IFN_KUNIT const struct drm_color_lut * __extract_blob_lut (const
struct drm_property_blob *blob, uint32_t *size)
Handle these in kernel-doc to prevent multiple warnings.
Fixes: 647d1fd04652 ("drm/amd/display: Add KUnit test for color helpers")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <20260612234458.1084156-1-rdunlap@infradead.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
