diff options
| author | Randy Dunlap <[email protected]> | 2024-03-26 05:41:49 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-04-26 03:55:49 +0000 |
| commit | 51a7bf0238c265a34d7d27c489eb4cd52e083e87 (patch) | |
| tree | f153de19ccfeaf544589c82109ac33eda7d657d0 /drivers/gpu/drm/omapdrm/omap_gem.c | |
| parent | percpu: clean up all mappings when pcpu_map_pages() fails (diff) | |
| download | kernel-51a7bf0238c265a34d7d27c489eb4cd52e083e87.tar.gz kernel-51a7bf0238c265a34d7d27c489eb4cd52e083e87.zip | |
scripts/kernel-doc: drop "_noprof" on function prototypes
Memory profiling introduces macros as hooks for function-level allocation
profiling[1]. Memory allocation functions that are profiled are named
like xyz_alloc() for API access to the function. xyz_alloc() then calls
xyz_alloc_noprof() to do the allocation work.
The kernel-doc comments for the memory allocation functions are introduced
with the xyz_alloc() function names but the function implementations are
the xyz_alloc_noprof() names. This causes kernel-doc warnings for
mismatched documentation and function prototype names. By dropping the
"_noprof" part of the function name, the kernel-doc function name matches
the function prototype name, so the warnings are resolved.
[1] https://lore.kernel.org/all/[email protected]/
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Randy Dunlap <[email protected]>
Reported-by: Stephen Rothwell <[email protected]>
Closes: https://lore.kernel.org/all/[email protected]/
Tested-by: Suren Baghdasaryan <[email protected]>
Cc: Jonathan Corbet <[email protected]>
Cc: Kent Overstreet <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_gem.c')
0 files changed, 0 insertions, 0 deletions
