diff options
| author | Karl Mehltretter <kmehltretter@gmail.com> | 2026-09-12 02:03:02 +0200 |
|---|---|---|
| committer | John Johansen <john.johansen@canonical.com> | 2026-10-29 08:30:53 -0700 |
| commit | fcd621debff51f09cc665e1063a6025d7c1bfd48 (patch) | |
| tree | 03cb24d0b01eab98fe6577c743a72f2f40472deb /scripts/Makefile.thinlto | |
| parent | e667fc72f7f4a54674962c324048ca2cc58bc703 (diff) | |
| download | linux-fcd621debff51f09cc665e1063a6025d7c1bfd48.tar.gz linux-fcd621debff51f09cc665e1063a6025d7c1bfd48.zip | |
apparmor: Fix the return value in split_token_from_name() kernel-doc
split_token_from_name() returns ERR_PTR(-EINVAL) for malformed input,
but its kernel-doc describes NULL as the failure result. NULL is instead
a successful result when the name following the token is empty.
Document all three results: the name, NULL for an empty name, and an
error pointer for malformed input.
Assisted-by: LLM
Signed-off-by: Karl Mehltretter <kmehltretter@gmail.com>
Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
