[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for lib/stackdepot: allow optional init and stack_table allocation by kvmalloc() (rev2)

Patchwork patchwork at emeril.freedesktop.org
Tue Oct 12 11:48:18 UTC 2021


== Series Details ==

Series: lib/stackdepot: allow optional init and stack_table allocation by kvmalloc() (rev2)
URL   : https://patchwork.freedesktop.org/series/95549/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
205d6c25088d lib/stackdepot: allow optional init and stack_table allocation by kvmalloc()
-:7: WARNING:COMMIT_LOG_LONG_LINE: Possible unwrapped commit description (prefer a maximum 75 chars per line)
#7: 
Currently, enabling CONFIG_STACKDEPOT means its stack_table will be allocated

-:197: CHECK:UNCOMMENTED_DEFINITION: DEFINE_MUTEX definition without comment
#197: FILE: lib/stackdepot.c:150:
+DEFINE_MUTEX(stack_depot_init_mutex);

-:214: CHECK:COMPARISON_TO_NULL: Comparison to NULL could be written "!stack_table"
#214: FILE: lib/stackdepot.c:174:
+	if (!stack_depot_disable && stack_table == NULL) {

total: 0 errors, 1 warnings, 2 checks, 152 lines checked




More information about the Intel-gfx mailing list