On Tue, 26 Nov 2024 at 12:36, Christian Göttsche
wrote:
>
> From: Christian Göttsche
>
> The function kunit_status_to_ok_not_ok() returns string literals, thus
> declare the return value as such.
>
> Reported by clang:
>
> ./include/kunit/test.h:143:10: warni
From: Christian Göttsche
The function kunit_status_to_ok_not_ok() returns string literals, thus
declare the return value as such.
Reported by clang:
./include/kunit/test.h:143:10: warning: returning 'const char[3]' from a
function with result type 'char *'
needed.
Signed-off-by: Christian Göttsche
---
kernel/sched/core.c | 65 -
1 file changed, 47 insertions(+), 18 deletions(-)
diff --git a/kernel/sched/core.c b/kernel/sched/core.c
index 8471a0f7eb32..954f968d2466 100644
--- a/kernel/sched/core.c
+++ b
3 matches
Mail list logo