========== build_clang - FAILED .pylintrc: warning: ignored by one of the .gitignore files ../arch/x86/events/intel/p4.c:1370:20: warning: variable 'high' set but not used [-Wunused-but-set-variable] 1370 | unsigned int low, high; | ^ 1 warning generated. Warning: ../drivers/soc/qcom/smp2p.c:78 struct member 'flags' not described in 'smp2p_smem_item' ../drivers/gpu/drm/bridge/synopsys/dw-hdmi-i2s-audio.c:30:18: warning: unused function 'hdmi_read' [-Wunused-function] 30 | static inline u8 hdmi_read(struct dw_hdmi_i2s_audio_data *audio, int offset) | ^~~~~~~~~ 1 warning generated. Warning: ../drivers/gpu/drm/imx/dcss/dcss-scaler.c:173 function parameter 'phase0_identity' not described in 'dcss_scaler_gaussian_filter' Warning: ../drivers/gpu/drm/imx/dcss/dcss-scaler.c:270 function parameter 'phase0_identity' not described in 'dcss_scaler_filter_design' Warning: ../drivers/gpu/drm/imx/dcss/dcss-scaler.c:270 function parameter 'nn_interpolation' not described in 'dcss_scaler_filter_design' ../arch/x86/kernel/process.c:966:10: warning: variable 'hi' set but not used [-Wunused-but-set-variable] 966 | u32 lo, hi; | ^ 1 warning generated. ../kernel/sched/core.c:6454:1: warning: unused function 'class_core_lock_lock_ptr' [-Wunused-function] 6454 | DEFINE_LOCK_GUARD_1(core_lock, int, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6455 | sched_core_lock(*_T->lock, &_T->flags), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6456 | sched_core_unlock(*_T->lock, &_T->flags), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6457 | unsigned long flags) | ~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:427:49: note: expanded from macro 'DEFINE_LOCK_GUARD_1' 427 | __DEFINE_CLASS_IS_CONDITIONAL(_name, false); \ | ^ 428 | __DEFINE_UNLOCK_GUARD(_name, _type, _unlock, __VA_ARGS__) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:406:10: note: expanded from macro '\ __DEFINE_UNLOCK_GUARD' 406 | \ | ^ 407 | __DEFINE_GUARD_LOCK_PTR(_name, &_T->lock) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:314:23: note: expanded from macro '\ __DEFINE_GUARD_LOCK_PTR' 314 | static inline void * class_##_name##_lock_ptr(class_##_name##_t *_T) \ | ^~~~~~~~~~~~~~~~~~~~~~~~ :145:1: note: expanded from here 145 | class_core_lock_lock_ptr | ^~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. Warning: ../kernel/power/snapshot.c:469 function parameter 'zone' not described in 'add_rtree_block' Warning: ../kernel/power/snapshot.c:469 function parameter 'gfp_mask' not described in 'add_rtree_block' Warning: ../kernel/power/snapshot.c:469 function parameter 'safe_needed' not described in 'add_rtree_block' Warning: ../kernel/power/snapshot.c:469 function parameter 'ca' not described in 'add_rtree_block' Warning: ../kernel/power/snapshot.c:542 function parameter 'gfp_mask' not described in 'create_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:542 function parameter 'safe_needed' not described in 'create_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:542 function parameter 'ca' not described in 'create_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:542 function parameter 'start' not described in 'create_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:542 function parameter 'end' not described in 'create_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:577 function parameter 'zone' not described in 'free_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:577 function parameter 'clear_nosave_free' not described in 'free_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:685 function parameter 'bm' not described in 'memory_bm_create' Warning: ../kernel/power/snapshot.c:685 function parameter 'gfp_mask' not described in 'memory_bm_create' Warning: ../kernel/power/snapshot.c:685 function parameter 'safe_needed' not described in 'memory_bm_create' Warning: ../kernel/power/snapshot.c:727 function parameter 'clear_nosave_free' not described in 'memory_bm_free' Warning: ../kernel/power/snapshot.c:749 function parameter 'bm' not described in 'memory_bm_find_bit' Warning: ../kernel/power/snapshot.c:749 function parameter 'pfn' not described in 'memory_bm_find_bit' Warning: ../kernel/power/snapshot.c:749 function parameter 'addr' not described in 'memory_bm_find_bit' Warning: ../kernel/power/snapshot.c:749 function parameter 'bit_nr' not described in 'memory_bm_find_bit' Warning: ../kernel/power/snapshot.c:997 function parameter 'start_pfn' not described in 'register_nosave_region' Warning: ../kernel/power/snapshot.c:997 function parameter 'end_pfn' not described in 'register_nosave_region' Warning: ../kernel/power/snapshot.c:1316 function parameter 'zone' not described in 'saveable_highmem_page' Warning: ../kernel/power/snapshot.c:1316 function parameter 'pfn' not described in 'saveable_highmem_page' Warning: ../kernel/power/snapshot.c:1375 function parameter 'zone' not described in 'saveable_page' Warning: ../kernel/power/snapshot.c:1375 function parameter 'pfn' not described in 'saveable_page' Warning: ../kernel/power/snapshot.c:1452 function parameter 'dst' not described in 'safe_copy_page' Warning: ../kernel/power/snapshot.c:1452 function parameter 's_page' not described in 'safe_copy_page' Warning: ../kernel/power/snapshot.c:1693 function parameter 'x' not described in '__fraction' Warning: ../kernel/power/snapshot.c:1693 function parameter 'multiplier' not described in '__fraction' Warning: ../kernel/power/snapshot.c:1693 function parameter 'base' not described in '__fraction' Warning: ../kernel/power/snapshot.c:1991 function parameter 'nr_highmem' not described in 'count_pages_for_highmem' Warning: ../kernel/power/snapshot.c:2009 function parameter 'nr_pages' not described in 'enough_free_mem' Warning: ../kernel/power/snapshot.c:2009 function parameter 'nr_highmem' not described in 'enough_free_mem' Warning: ../kernel/power/snapshot.c:2032 function parameter 'safe_needed' not described in 'get_highmem_buffer' Warning: ../kernel/power/snapshot.c:2045 function parameter 'bm' not described in 'alloc_highmem_pages' Warning: ../kernel/power/snapshot.c:2045 function parameter 'nr_highmem' not described in 'alloc_highmem_pages' Warning: ../kernel/power/snapshot.c:2080 function parameter 'copy_bm' not described in 'swsusp_alloc' Warning: ../kernel/power/snapshot.c:2080 function parameter 'nr_pages' not described in 'swsusp_alloc' Warning: ../kernel/power/snapshot.c:2080 function parameter 'nr_highmem' not described in 'swsusp_alloc' Warning: ../kernel/power/snapshot.c:2302 function parameter 'bm' not described in 'mark_unsafe_pages' Warning: ../kernel/power/snapshot.c:2337 function parameter 'info' not described in 'load_header' Warning: ../kernel/power/snapshot.c:2506 function parameter 'page' not described in 'get_highmem_page_buffer' Warning: ../kernel/power/snapshot.c:2506 function parameter 'ca' not described in 'get_highmem_page_buffer' Warning: ../kernel/power/snapshot.c:2716 function parameter 'bm' not described in 'get_buffer' Warning: ../kernel/power/snapshot.c:2716 function parameter 'ca' not described in 'get_buffer' Warning: ../kernel/power/snapshot.c:2855 function parameter 'handle' not described in 'snapshot_write_finalize' Warning: ../drivers/nvdimm/core.c:220 function parameter 'len' not described in 'nd_uuid_store' Warning: ../kernel/kprobes.c:141 function parameter 'c' not described in '__get_insn_slot' ../drivers/perf/arm_cspmu/ampere_cspmu.c:35:1: warning: unused function 'get_event' [-Wunused-function] 35 | SOC_PMU_EVENT_ATTR_EXTRACTOR(event, config, 0, 8); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/perf/arm_cspmu/ampere_cspmu.c:29:20: note: expanded from macro 'SOC_PMU_EVENT_ATTR_EXTRACTOR' 29 | static inline u32 get_##_name(const struct perf_event *event) \ | ^~~~~~~~~~~ :24:1: note: expanded from here 24 | get_event | ^~~~~~~~~ 1 warning generated. Warning: ../drivers/android/binder.c:2434 struct member 'offset' not described in 'binder_ptr_fixup' Warning: ../drivers/android/binder.c:2434 struct member 'skip_size' not described in 'binder_ptr_fixup' Warning: ../drivers/android/binder.c:2434 struct member 'fixup_data' not described in 'binder_ptr_fixup' Warning: ../drivers/android/binder.c:2434 struct member 'node' not described in 'binder_ptr_fixup' Warning: ../drivers/android/binder.c:2454 struct member 'offset' not described in 'binder_sg_copy' Warning: ../drivers/android/binder.c:2454 struct member 'sender_uaddr' not described in 'binder_sg_copy' Warning: ../drivers/android/binder.c:2454 struct member 'length' not described in 'binder_sg_copy' Warning: ../drivers/android/binder.c:2454 struct member 'node' not described in 'binder_sg_copy' Warning: ../drivers/android/binder.c:4010 function parameter 'thread' not described in 'binder_free_buf' ../kernel/trace/ftrace.c:6311:6: warning: variable 'err' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] 6311 | if (!new_hash) | ^~~~~~~~~ ../kernel/trace/ftrace.c:6340:9: note: uninitialized use occurs here 6340 | return err; | ^~~ ../kernel/trace/ftrace.c:6311:2: note: remove the 'if' if its condition is always false 6311 | if (!new_hash) | ^~~~~~~~~~~~~~ 6312 | goto out_unlock; | ~~~~~~~~~~~~~~~ ../kernel/trace/ftrace.c:6307:6: warning: variable 'err' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] 6307 | if (!filter_hash) | ^~~~~~~~~~~~ ../kernel/trace/ftrace.c:6340:9: note: uninitialized use occurs here 6340 | return err; | ^~~ ../kernel/trace/ftrace.c:6307:2: note: remove the 'if' if its condition is always false 6307 | if (!filter_hash) | ^~~~~~~~~~~~~~~~~ 6308 | goto out_unlock; | ~~~~~~~~~~~~~~~ ../kernel/trace/ftrace.c:6302:7: warning: variable 'err' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] 6302 | if (ops->flags & FTRACE_OPS_FL_ENABLED) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/trace/ftrace.c:6340:9: note: uninitialized use occurs here 6340 | return err; | ^~~ ../kernel/trace/ftrace.c:6302:3: note: remove the 'if' if its condition is always false 6302 | if (ops->flags & FTRACE_OPS_FL_ENABLED) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6303 | goto out_unlock; | ~~~~~~~~~~~~~~~ ../kernel/trace/ftrace.c:6300:7: warning: variable 'err' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] 6300 | if (ops->func || ops->trampoline) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/trace/ftrace.c:6340:9: note: uninitialized use occurs here 6340 | return err; | ^~~ ../kernel/trace/ftrace.c:6300:3: note: remove the 'if' if its condition is always false 6300 | if (ops->func || ops->trampoline) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6301 | goto out_unlock; | ~~~~~~~~~~~~~~~ ../kernel/trace/ftrace.c:6300:7: warning: variable 'err' is used uninitialized whenever '||' condition is true [-Wsometimes-uninitialized] 6300 | if (ops->func || ops->trampoline) | ^~~~~~~~~ ../kernel/trace/ftrace.c:6340:9: note: uninitialized use occurs here 6340 | return err; | ^~~ ../kernel/trace/ftrace.c:6300:7: note: remove the '||' if its condition is always false 6300 | if (ops->func || ops->trampoline) | ^~~~~~~~~~~~ ../kernel/trace/ftrace.c:6290:8: warning: variable 'err' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] 6290 | if (__ftrace_lookup_ip(direct_functions, entry->ip)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/trace/ftrace.c:6340:9: note: uninitialized use occurs here 6340 | return err; | ^~~ ../kernel/trace/ftrace.c:6290:4: note: remove the 'if' if its condition is always false 6290 | if (__ftrace_lookup_ip(direct_functions, entry->ip)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6291 | goto out_unlock; | ~~~~~~~~~~~~~~~ ../kernel/trace/ftrace.c:6278:18: note: initialize the variable 'err' to silence this warning 6278 | int i, size, err; | ^ | = 0 6 warnings generated. ../kernel/trace/rv/monitors/wip/wip.c:20:1: warning: unused function 'da_handle_start_run_event_wip' [-Wunused-function] 20 | DECLARE_DA_MON_PER_CPU(wip, unsigned char); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/rv/da_monitor.h:536:48: note: expanded from macro 'DECLARE_DA_MON_PER_CPU' 536 | DECLARE_DA_MON_INIT_PER_CPU(name, type) \ | ^ 537 | DECLARE_DA_MON_MONITOR_HANDLER_IMPLICIT(name, type) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/rv/da_monitor.h:438:20: note: expanded from macro '\ DECLARE_DA_MON_MONITOR_HANDLER_IMPLICIT' 438 | static inline bool da_handle_start_run_event_##name(enum events_##name event) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :52:1: note: expanded from here 52 | da_handle_start_run_event_wip | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. Warning: ../fs/gfs2/glock.c:1264 function parameter 'ip' not described in '__gfs2_holder_init' ../kernel/trace/rv/monitors/tss/tss.c:20:1: warning: unused function 'da_handle_start_run_event_tss' [-Wunused-function] 20 | DECLARE_DA_MON_PER_CPU(tss, unsigned char); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/rv/da_monitor.h:536:48: note: expanded from macro 'DECLARE_DA_MON_PER_CPU' 536 | DECLARE_DA_MON_INIT_PER_CPU(name, type) \ | ^ 537 | DECLARE_DA_MON_MONITOR_HANDLER_IMPLICIT(name, type) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/rv/da_monitor.h:438:20: note: expanded from macro '\ DECLARE_DA_MON_MONITOR_HANDLER_IMPLICIT' 438 | static inline bool da_handle_start_run_event_##name(enum events_##name event) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :121:1: note: expanded from here 121 | da_handle_start_run_event_tss | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../kernel/trace/rv/monitors/sco/sco.c:20:1: warning: unused function 'da_handle_start_run_event_sco' [-Wunused-function] 20 | DECLARE_DA_MON_PER_CPU(sco, unsigned char); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/rv/da_monitor.h:536:48: note: expanded from macro 'DECLARE_DA_MON_PER_CPU' 536 | DECLARE_DA_MON_INIT_PER_CPU(name, type) \ | ^ 537 | DECLARE_DA_MON_MONITOR_HANDLER_IMPLICIT(name, type) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/rv/da_monitor.h:438:20: note: expanded from macro '\ DECLARE_DA_MON_MONITOR_HANDLER_IMPLICIT' 438 | static inline bool da_handle_start_run_event_##name(enum events_##name event) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :121:1: note: expanded from here 121 | da_handle_start_run_event_sco | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. Warning: ../drivers/gpu/drm/scheduler/sched_main.c:396 function parameter 'result' not described in 'drm_sched_job_done' ../kernel/trace/rv/monitors/snep/snep.c:21:1: warning: unused function 'da_handle_start_run_event_snep' [-Wunused-function] 21 | DECLARE_DA_MON_PER_CPU(snep, unsigned char); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/rv/da_monitor.h:536:48: note: expanded from macro 'DECLARE_DA_MON_PER_CPU' 536 | DECLARE_DA_MON_INIT_PER_CPU(name, type) \ | ^ 537 | DECLARE_DA_MON_MONITOR_HANDLER_IMPLICIT(name, type) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/rv/da_monitor.h:438:20: note: expanded from macro '\ DECLARE_DA_MON_MONITOR_HANDLER_IMPLICIT' 438 | static inline bool da_handle_start_run_event_##name(enum events_##name event) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :51:1: note: expanded from here 51 | da_handle_start_run_event_snep | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../kernel/trace/rv/monitors/scpd/scpd.c:21:1: warning: unused function 'da_handle_start_run_event_scpd' [-Wunused-function] 21 | DECLARE_DA_MON_PER_CPU(scpd, unsigned char); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/rv/da_monitor.h:536:48: note: expanded from macro 'DECLARE_DA_MON_PER_CPU' 536 | DECLARE_DA_MON_INIT_PER_CPU(name, type) \ | ^ 537 | DECLARE_DA_MON_MONITOR_HANDLER_IMPLICIT(name, type) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/rv/da_monitor.h:438:20: note: expanded from macro '\ DECLARE_DA_MON_MONITOR_HANDLER_IMPLICIT' 438 | static inline bool da_handle_start_run_event_##name(enum events_##name event) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :51:1: note: expanded from here 51 | da_handle_start_run_event_scpd | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../kernel/trace/rv/monitors/sncid/sncid.c:21:1: warning: unused function 'da_handle_start_run_event_sncid' [-Wunused-function] 21 | DECLARE_DA_MON_PER_CPU(sncid, unsigned char); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/rv/da_monitor.h:536:48: note: expanded from macro 'DECLARE_DA_MON_PER_CPU' 536 | DECLARE_DA_MON_INIT_PER_CPU(name, type) \ | ^ 537 | DECLARE_DA_MON_MONITOR_HANDLER_IMPLICIT(name, type) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/rv/da_monitor.h:438:20: note: expanded from macro '\ DECLARE_DA_MON_MONITOR_HANDLER_IMPLICIT' 438 | static inline bool da_handle_start_run_event_##name(enum events_##name event) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :53:1: note: expanded from here 53 | da_handle_start_run_event_sncid | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../drivers/gpu/drm/vc4/vc4_drv.c:301:8: warning: cast to smaller integer type 'enum vc4_gen' from 'const void *' [-Wvoid-pointer-to-enum-cast] 301 | gen = (enum vc4_gen)of_device_get_match_data(dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../drivers/gpu/drm/pl111/pl111_versatile.c:488:24: warning: cast to smaller integer type 'enum versatile_clcd' from 'const void *' [-Wvoid-pointer-to-enum-cast] 488 | versatile_clcd_type = (enum versatile_clcd)clcd_id->data; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/gpu/drm/pl111/pl111_versatile.c:508:26: warning: cast to smaller integer type 'enum versatile_clcd' from 'const void *' [-Wvoid-pointer-to-enum-cast] 508 | versatile_clcd_type = (enum versatile_clcd)clcd_id->data; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. Warning: ../drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:6383 Cannot find identifier on line: *********************************************************************************************** Warning: ../drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:6396 function parameter 'link' not described in 'dc_get_host_router_index' Warning: ../drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:6396 function parameter 'host_router_index' not described in 'dc_get_host_router_index' .pylintrc: warning: ignored by one of the .gitignore files ../arch/x86/events/intel/p4.c:1370:20: warning: variable 'high' set but not used [-Wunused-but-set-variable] 1370 | unsigned int low, high; | ^ 1 warning generated. ../samples/ftrace/ftrace-direct-too.c:243:65: error: too few arguments to function call, expected 3, have 2 243 | return register_ftrace_direct(&direct, (unsigned long) my_tramp); | ~~~~~~~~~~~~~~~~~~~~~~ ^ ../include/linux/ftrace.h:539:5: note: 'register_ftrace_direct' declared here 539 | int register_ftrace_direct(struct ftrace_ops *ops, unsigned long ip, unsigned long addr); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../samples/ftrace/ftrace-direct-too.c:248:65: error: too few arguments to function call, expected 4, have 3 248 | unregister_ftrace_direct(&direct, (unsigned long)my_tramp, true); | ~~~~~~~~~~~~~~~~~~~~~~~~ ^ ../include/linux/ftrace.h:540:5: note: 'unregister_ftrace_direct' declared here 540 | int unregister_ftrace_direct(struct ftrace_ops *ops, unsigned long ip, unsigned long addr, | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 541 | bool free_filters); | ~~~~~~~~~~~~~~~~~ 2 errors generated. make[5]: *** [../scripts/Makefile.build:287: samples/ftrace/ftrace-direct-too.o] Error 1 make[5]: *** Waiting for unfinished jobs.... ../samples/ftrace/ftrace-direct.c:210:65: error: too few arguments to function call, expected 3, have 2 210 | return register_ftrace_direct(&direct, (unsigned long) my_tramp); | ~~~~~~~~~~~~~~~~~~~~~~ ^ ../include/linux/ftrace.h:539:5: note: 'register_ftrace_direct' declared here 539 | int register_ftrace_direct(struct ftrace_ops *ops, unsigned long ip, unsigned long addr); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../samples/ftrace/ftrace-direct.c:215:65: error: too few arguments to function call, expected 4, have 3 215 | unregister_ftrace_direct(&direct, (unsigned long)my_tramp, true); | ~~~~~~~~~~~~~~~~~~~~~~~~ ^ ../include/linux/ftrace.h:540:5: note: 'unregister_ftrace_direct' declared here 540 | int unregister_ftrace_direct(struct ftrace_ops *ops, unsigned long ip, unsigned long addr, | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 541 | bool free_filters); | ~~~~~~~~~~~~~~~~~ 2 errors generated. make[5]: *** [../scripts/Makefile.build:287: samples/ftrace/ftrace-direct.o] Error 1 ../samples/ftrace/ftrace-direct-modify.c:305:48: error: too few arguments to function call, expected 4, have 2 305 | ret = modify_ftrace_direct(&direct, tramps[t]); | ~~~~~~~~~~~~~~~~~~~~ ^ ../include/linux/ftrace.h:542:5: note: 'modify_ftrace_direct' declared here 542 | int modify_ftrace_direct(struct ftrace_ops *ops, unsigned long ip, unsigned long addr, bool lock_direct_mutex); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../samples/ftrace/ftrace-direct-modify.c:321:48: error: too few arguments to function call, expected 3, have 2 321 | ret = register_ftrace_direct(&direct, my_tramp); | ~~~~~~~~~~~~~~~~~~~~~~ ^ ../include/linux/ftrace.h:539:5: note: 'register_ftrace_direct' declared here 539 | int register_ftrace_direct(struct ftrace_ops *ops, unsigned long ip, unsigned long addr); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../samples/ftrace/ftrace-direct-modify.c:331:50: error: too few arguments to function call, expected 4, have 3 331 | unregister_ftrace_direct(&direct, my_tramp, true); | ~~~~~~~~~~~~~~~~~~~~~~~~ ^ ../include/linux/ftrace.h:540:5: note: 'unregister_ftrace_direct' declared here 540 | int unregister_ftrace_direct(struct ftrace_ops *ops, unsigned long ip, unsigned long addr, | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 541 | bool free_filters); | ~~~~~~~~~~~~~~~~~ 3 errors generated. make[5]: *** [../scripts/Makefile.build:287: samples/ftrace/ftrace-direct-modify.o] Error 1 ../samples/ftrace/ftrace-direct-multi.c:228:65: error: too few arguments to function call, expected 3, have 2 228 | return register_ftrace_direct(&direct, (unsigned long) my_tramp); | ~~~~~~~~~~~~~~~~~~~~~~ ^ ../include/linux/ftrace.h:539:5: note: 'register_ftrace_direct' declared here 539 | int register_ftrace_direct(struct ftrace_ops *ops, unsigned long ip, unsigned long addr); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../samples/ftrace/ftrace-direct-multi.c:233:66: error: too few arguments to function call, expected 4, have 3 233 | unregister_ftrace_direct(&direct, (unsigned long) my_tramp, true); | ~~~~~~~~~~~~~~~~~~~~~~~~ ^ ../include/linux/ftrace.h:540:5: note: 'unregister_ftrace_direct' declared here 540 | int unregister_ftrace_direct(struct ftrace_ops *ops, unsigned long ip, unsigned long addr, | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 541 | bool free_filters); | ~~~~~~~~~~~~~~~~~ 2 errors generated. make[5]: *** [../scripts/Makefile.build:287: samples/ftrace/ftrace-direct-multi.o] Error 1 ../samples/ftrace/ftrace-direct-multi-modify.c:347:48: error: too few arguments to function call, expected 4, have 2 347 | ret = modify_ftrace_direct(&direct, tramps[t]); | ~~~~~~~~~~~~~~~~~~~~ ^ ../include/linux/ftrace.h:542:5: note: 'modify_ftrace_direct' declared here 542 | int modify_ftrace_direct(struct ftrace_ops *ops, unsigned long ip, unsigned long addr, bool lock_direct_mutex); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../samples/ftrace/ftrace-direct-multi-modify.c:365:48: error: too few arguments to function call, expected 3, have 2 365 | ret = register_ftrace_direct(&direct, my_tramp); | ~~~~~~~~~~~~~~~~~~~~~~ ^ ../include/linux/ftrace.h:539:5: note: 'register_ftrace_direct' declared here 539 | int register_ftrace_direct(struct ftrace_ops *ops, unsigned long ip, unsigned long addr); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../samples/ftrace/ftrace-direct-multi-modify.c:375:50: error: too few arguments to function call, expected 4, have 3 375 | unregister_ftrace_direct(&direct, my_tramp, true); | ~~~~~~~~~~~~~~~~~~~~~~~~ ^ ../include/linux/ftrace.h:540:5: note: 'unregister_ftrace_direct' declared here 540 | int unregister_ftrace_direct(struct ftrace_ops *ops, unsigned long ip, unsigned long addr, | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 541 | bool free_filters); | ~~~~~~~~~~~~~~~~~ 3 errors generated. make[5]: *** [../scripts/Makefile.build:287: samples/ftrace/ftrace-direct-multi-modify.o] Error 1 make[4]: *** [../scripts/Makefile.build:555: samples/ftrace] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [../scripts/Makefile.build:555: samples] Error 2 make[3]: *** Waiting for unfinished jobs.... Warning: ../drivers/soc/qcom/smp2p.c:78 struct member 'flags' not described in 'smp2p_smem_item' ../drivers/gpu/drm/bridge/synopsys/dw-hdmi-i2s-audio.c:30:18: warning: unused function 'hdmi_read' [-Wunused-function] 30 | static inline u8 hdmi_read(struct dw_hdmi_i2s_audio_data *audio, int offset) | ^~~~~~~~~ 1 warning generated. Warning: ../drivers/gpu/drm/imx/dcss/dcss-scaler.c:173 function parameter 'phase0_identity' not described in 'dcss_scaler_gaussian_filter' Warning: ../drivers/gpu/drm/imx/dcss/dcss-scaler.c:270 function parameter 'phase0_identity' not described in 'dcss_scaler_filter_design' Warning: ../drivers/gpu/drm/imx/dcss/dcss-scaler.c:270 function parameter 'nn_interpolation' not described in 'dcss_scaler_filter_design' Warning: ../kernel/power/snapshot.c:469 function parameter 'zone' not described in 'add_rtree_block' Warning: ../kernel/power/snapshot.c:469 function parameter 'gfp_mask' not described in 'add_rtree_block' Warning: ../kernel/power/snapshot.c:469 function parameter 'safe_needed' not described in 'add_rtree_block' Warning: ../kernel/power/snapshot.c:469 function parameter 'ca' not described in 'add_rtree_block' Warning: ../kernel/power/snapshot.c:542 function parameter 'gfp_mask' not described in 'create_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:542 function parameter 'safe_needed' not described in 'create_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:542 function parameter 'ca' not described in 'create_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:542 function parameter 'start' not described in 'create_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:542 function parameter 'end' not described in 'create_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:577 function parameter 'zone' not described in 'free_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:577 function parameter 'clear_nosave_free' not described in 'free_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:685 function parameter 'bm' not described in 'memory_bm_create' Warning: ../kernel/power/snapshot.c:685 function parameter 'gfp_mask' not described in 'memory_bm_create' Warning: ../kernel/power/snapshot.c:685 function parameter 'safe_needed' not described in 'memory_bm_create' Warning: ../kernel/power/snapshot.c:727 function parameter 'clear_nosave_free' not described in 'memory_bm_free' Warning: ../kernel/power/snapshot.c:749 function parameter 'bm' not described in 'memory_bm_find_bit' Warning: ../kernel/power/snapshot.c:749 function parameter 'pfn' not described in 'memory_bm_find_bit' Warning: ../kernel/power/snapshot.c:749 function parameter 'addr' not described in 'memory_bm_find_bit' Warning: ../kernel/power/snapshot.c:749 function parameter 'bit_nr' not described in 'memory_bm_find_bit' Warning: ../kernel/power/snapshot.c:997 function parameter 'start_pfn' not described in 'register_nosave_region' Warning: ../kernel/power/snapshot.c:997 function parameter 'end_pfn' not described in 'register_nosave_region' Warning: ../kernel/power/snapshot.c:1316 function parameter 'zone' not described in 'saveable_highmem_page' Warning: ../kernel/power/snapshot.c:1316 function parameter 'pfn' not described in 'saveable_highmem_page' Warning: ../kernel/power/snapshot.c:1375 function parameter 'zone' not described in 'saveable_page' Warning: ../kernel/power/snapshot.c:1375 function parameter 'pfn' not described in 'saveable_page' Warning: ../kernel/power/snapshot.c:1452 function parameter 'dst' not described in 'safe_copy_page' Warning: ../kernel/power/snapshot.c:1452 function parameter 's_page' not described in 'safe_copy_page' Warning: ../kernel/power/snapshot.c:1693 function parameter 'x' not described in '__fraction' Warning: ../kernel/power/snapshot.c:1693 function parameter 'multiplier' not described in '__fraction' Warning: ../kernel/power/snapshot.c:1693 function parameter 'base' not described in '__fraction' Warning: ../kernel/power/snapshot.c:1991 function parameter 'nr_highmem' not described in 'count_pages_for_highmem' Warning: ../kernel/power/snapshot.c:2009 function parameter 'nr_pages' not described in 'enough_free_mem' Warning: ../kernel/power/snapshot.c:2009 function parameter 'nr_highmem' not described in 'enough_free_mem' Warning: ../kernel/power/snapshot.c:2032 function parameter 'safe_needed' not described in 'get_highmem_buffer' Warning: ../kernel/power/snapshot.c:2045 function parameter 'bm' not described in 'alloc_highmem_pages' Warning: ../kernel/power/snapshot.c:2045 function parameter 'nr_highmem' not described in 'alloc_highmem_pages' Warning: ../kernel/power/snapshot.c:2080 function parameter 'copy_bm' not described in 'swsusp_alloc' Warning: ../kernel/power/snapshot.c:2080 function parameter 'nr_pages' not described in 'swsusp_alloc' Warning: ../kernel/power/snapshot.c:2080 function parameter 'nr_highmem' not described in 'swsusp_alloc' Warning: ../kernel/power/snapshot.c:2302 function parameter 'bm' not described in 'mark_unsafe_pages' Warning: ../kernel/power/snapshot.c:2337 function parameter 'info' not described in 'load_header' Warning: ../kernel/power/snapshot.c:2506 function parameter 'page' not described in 'get_highmem_page_buffer' Warning: ../kernel/power/snapshot.c:2506 function parameter 'ca' not described in 'get_highmem_page_buffer' Warning: ../kernel/power/snapshot.c:2716 function parameter 'bm' not described in 'get_buffer' Warning: ../kernel/power/snapshot.c:2716 function parameter 'ca' not described in 'get_buffer' Warning: ../kernel/power/snapshot.c:2855 function parameter 'handle' not described in 'snapshot_write_finalize' ../arch/x86/kernel/process.c:966:10: warning: variable 'hi' set but not used [-Wunused-but-set-variable] 966 | u32 lo, hi; | ^ 1 warning generated. ../kernel/sched/core.c:6454:1: warning: unused function 'class_core_lock_lock_ptr' [-Wunused-function] 6454 | DEFINE_LOCK_GUARD_1(core_lock, int, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6455 | sched_core_lock(*_T->lock, &_T->flags), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6456 | sched_core_unlock(*_T->lock, &_T->flags), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6457 | unsigned long flags) | ~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:427:49: note: expanded from macro 'DEFINE_LOCK_GUARD_1' 427 | __DEFINE_CLASS_IS_CONDITIONAL(_name, false); \ | ^ 428 | __DEFINE_UNLOCK_GUARD(_name, _type, _unlock, __VA_ARGS__) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:406:10: note: expanded from macro '\ __DEFINE_UNLOCK_GUARD' 406 | \ | ^ 407 | __DEFINE_GUARD_LOCK_PTR(_name, &_T->lock) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:314:23: note: expanded from macro '\ __DEFINE_GUARD_LOCK_PTR' 314 | static inline void * class_##_name##_lock_ptr(class_##_name##_t *_T) \ | ^~~~~~~~~~~~~~~~~~~~~~~~ :145:1: note: expanded from here 145 | class_core_lock_lock_ptr | ^~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. Warning: ../kernel/kprobes.c:141 function parameter 'c' not described in '__get_insn_slot' Warning: ../drivers/nvdimm/core.c:220 function parameter 'len' not described in 'nd_uuid_store' ../drivers/perf/arm_cspmu/ampere_cspmu.c:35:1: warning: unused function 'get_event' [-Wunused-function] 35 | SOC_PMU_EVENT_ATTR_EXTRACTOR(event, config, 0, 8); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/perf/arm_cspmu/ampere_cspmu.c:29:20: note: expanded from macro 'SOC_PMU_EVENT_ATTR_EXTRACTOR' 29 | static inline u32 get_##_name(const struct perf_event *event) \ | ^~~~~~~~~~~ :24:1: note: expanded from here 24 | get_event | ^~~~~~~~~ 1 warning generated. Warning: ../drivers/android/binder.c:2434 struct member 'offset' not described in 'binder_ptr_fixup' Warning: ../drivers/android/binder.c:2434 struct member 'skip_size' not described in 'binder_ptr_fixup' Warning: ../drivers/android/binder.c:2434 struct member 'fixup_data' not described in 'binder_ptr_fixup' Warning: ../drivers/android/binder.c:2434 struct member 'node' not described in 'binder_ptr_fixup' Warning: ../drivers/android/binder.c:2454 struct member 'offset' not described in 'binder_sg_copy' Warning: ../drivers/android/binder.c:2454 struct member 'sender_uaddr' not described in 'binder_sg_copy' Warning: ../drivers/android/binder.c:2454 struct member 'length' not described in 'binder_sg_copy' Warning: ../drivers/android/binder.c:2454 struct member 'node' not described in 'binder_sg_copy' Warning: ../drivers/android/binder.c:4010 function parameter 'thread' not described in 'binder_free_buf' ../kernel/trace/ftrace.c:6137:6: warning: variable 'err' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] 6137 | if (!new_hash) | ^~~~~~~~~ ../kernel/trace/ftrace.c:6166:9: note: uninitialized use occurs here 6166 | return err; | ^~~ ../kernel/trace/ftrace.c:6137:2: note: remove the 'if' if its condition is always false 6137 | if (!new_hash) | ^~~~~~~~~~~~~~ 6138 | goto out_unlock; | ~~~~~~~~~~~~~~~ ../kernel/trace/ftrace.c:6133:6: warning: variable 'err' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] 6133 | if (!filter_hash) | ^~~~~~~~~~~~ ../kernel/trace/ftrace.c:6166:9: note: uninitialized use occurs here 6166 | return err; | ^~~ ../kernel/trace/ftrace.c:6133:2: note: remove the 'if' if its condition is always false 6133 | if (!filter_hash) | ^~~~~~~~~~~~~~~~~ 6134 | goto out_unlock; | ~~~~~~~~~~~~~~~ ../kernel/trace/ftrace.c:6128:7: warning: variable 'err' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] 6128 | if (ops->flags & FTRACE_OPS_FL_ENABLED) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/trace/ftrace.c:6166:9: note: uninitialized use occurs here 6166 | return err; | ^~~ ../kernel/trace/ftrace.c:6128:3: note: remove the 'if' if its condition is always false 6128 | if (ops->flags & FTRACE_OPS_FL_ENABLED) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6129 | goto out_unlock; | ~~~~~~~~~~~~~~~ ../kernel/trace/ftrace.c:6126:7: warning: variable 'err' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] 6126 | if (ops->func || ops->trampoline) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/trace/ftrace.c:6166:9: note: uninitialized use occurs here 6166 | return err; | ^~~ ../kernel/trace/ftrace.c:6126:3: note: remove the 'if' if its condition is always false 6126 | if (ops->func || ops->trampoline) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6127 | goto out_unlock; | ~~~~~~~~~~~~~~~ ../kernel/trace/ftrace.c:6126:7: warning: variable 'err' is used uninitialized whenever '||' condition is true [-Wsometimes-uninitialized] 6126 | if (ops->func || ops->trampoline) | ^~~~~~~~~ ../kernel/trace/ftrace.c:6166:9: note: uninitialized use occurs here 6166 | return err; | ^~~ ../kernel/trace/ftrace.c:6126:7: note: remove the '||' if its condition is always false 6126 | if (ops->func || ops->trampoline) | ^~~~~~~~~~~~ ../kernel/trace/ftrace.c:6116:8: warning: variable 'err' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] 6116 | if (__ftrace_lookup_ip(direct_functions, entry->ip)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/trace/ftrace.c:6166:9: note: uninitialized use occurs here 6166 | return err; | ^~~ ../kernel/trace/ftrace.c:6116:4: note: remove the 'if' if its condition is always false 6116 | if (__ftrace_lookup_ip(direct_functions, entry->ip)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6117 | goto out_unlock; | ~~~~~~~~~~~~~~~ ../kernel/trace/ftrace.c:6104:18: note: initialize the variable 'err' to silence this warning 6104 | int i, size, err; | ^ | = 0 6 warnings generated. Warning: ../kernel/trace/ftrace.c:5970 function parameter 'ip' not described in 'register_ftrace_direct' Warning: ../kernel/trace/ftrace.c:6001 function parameter 'ip' not described in 'unregister_ftrace_direct' Warning: ../kernel/trace/ftrace.c:6033 function parameter 'ip' not described in 'modify_ftrace_direct' Warning: ../kernel/trace/ftrace.c:6033 function parameter 'lock_direct_mutex' not described in 'modify_ftrace_direct' Warning: ../drivers/gpu/drm/scheduler/sched_main.c:396 function parameter 'result' not described in 'drm_sched_job_done' ../drivers/gpu/drm/vc4/vc4_drv.c:301:8: warning: cast to smaller integer type 'enum vc4_gen' from 'const void *' [-Wvoid-pointer-to-enum-cast] 301 | gen = (enum vc4_gen)of_device_get_match_data(dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../kernel/trace/rv/monitors/wip/wip.c:20:1: warning: unused function 'da_handle_start_run_event_wip' [-Wunused-function] 20 | DECLARE_DA_MON_PER_CPU(wip, unsigned char); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/rv/da_monitor.h:536:48: note: expanded from macro 'DECLARE_DA_MON_PER_CPU' 536 | DECLARE_DA_MON_INIT_PER_CPU(name, type) \ | ^ 537 | DECLARE_DA_MON_MONITOR_HANDLER_IMPLICIT(name, type) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/rv/da_monitor.h:438:20: note: expanded from macro '\ DECLARE_DA_MON_MONITOR_HANDLER_IMPLICIT' 438 | static inline bool da_handle_start_run_event_##name(enum events_##name event) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :52:1: note: expanded from here 52 | da_handle_start_run_event_wip | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../kernel/trace/rv/monitors/tss/tss.c:20:1: warning: unused function 'da_handle_start_run_event_tss' [-Wunused-function] 20 | DECLARE_DA_MON_PER_CPU(tss, unsigned char); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/rv/da_monitor.h:536:48: note: expanded from macro 'DECLARE_DA_MON_PER_CPU' 536 | DECLARE_DA_MON_INIT_PER_CPU(name, type) \ | ^ 537 | DECLARE_DA_MON_MONITOR_HANDLER_IMPLICIT(name, type) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/rv/da_monitor.h:438:20: note: expanded from macro '\ DECLARE_DA_MON_MONITOR_HANDLER_IMPLICIT' 438 | static inline bool da_handle_start_run_event_##name(enum events_##name event) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :121:1: note: expanded from here 121 | da_handle_start_run_event_tss | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../kernel/trace/rv/monitors/sco/sco.c:20:1: warning: unused function 'da_handle_start_run_event_sco' [-Wunused-function] 20 | DECLARE_DA_MON_PER_CPU(sco, unsigned char); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/rv/da_monitor.h:536:48: note: expanded from macro 'DECLARE_DA_MON_PER_CPU' 536 | DECLARE_DA_MON_INIT_PER_CPU(name, type) \ | ^ 537 | DECLARE_DA_MON_MONITOR_HANDLER_IMPLICIT(name, type) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/rv/da_monitor.h:438:20: note: expanded from macro '\ DECLARE_DA_MON_MONITOR_HANDLER_IMPLICIT' 438 | static inline bool da_handle_start_run_event_##name(enum events_##name event) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :121:1: note: expanded from here 121 | da_handle_start_run_event_sco | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. Warning: ../fs/gfs2/glock.c:1264 function parameter 'ip' not described in '__gfs2_holder_init' ../kernel/trace/rv/monitors/snep/snep.c:21:1: warning: unused function 'da_handle_start_run_event_snep' [-Wunused-function] 21 | DECLARE_DA_MON_PER_CPU(snep, unsigned char); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/rv/da_monitor.h:536:48: note: expanded from macro 'DECLARE_DA_MON_PER_CPU' 536 | DECLARE_DA_MON_INIT_PER_CPU(name, type) \ | ^ 537 | DECLARE_DA_MON_MONITOR_HANDLER_IMPLICIT(name, type) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/rv/da_monitor.h:438:20: note: expanded from macro '\ DECLARE_DA_MON_MONITOR_HANDLER_IMPLICIT' 438 | static inline bool da_handle_start_run_event_##name(enum events_##name event) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :51:1: note: expanded from here 51 | da_handle_start_run_event_snep | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../kernel/trace/rv/monitors/scpd/scpd.c:21:1: warning: unused function 'da_handle_start_run_event_scpd' [-Wunused-function] 21 | DECLARE_DA_MON_PER_CPU(scpd, unsigned char); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/rv/da_monitor.h:536:48: note: expanded from macro 'DECLARE_DA_MON_PER_CPU' 536 | DECLARE_DA_MON_INIT_PER_CPU(name, type) \ | ^ 537 | DECLARE_DA_MON_MONITOR_HANDLER_IMPLICIT(name, type) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/rv/da_monitor.h:438:20: note: expanded from macro '\ DECLARE_DA_MON_MONITOR_HANDLER_IMPLICIT' 438 | static inline bool da_handle_start_run_event_##name(enum events_##name event) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :51:1: note: expanded from here 51 | da_handle_start_run_event_scpd | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../kernel/trace/rv/monitors/sncid/sncid.c:21:1: warning: unused function 'da_handle_start_run_event_sncid' [-Wunused-function] 21 | DECLARE_DA_MON_PER_CPU(sncid, unsigned char); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/rv/da_monitor.h:536:48: note: expanded from macro 'DECLARE_DA_MON_PER_CPU' 536 | DECLARE_DA_MON_INIT_PER_CPU(name, type) \ | ^ 537 | DECLARE_DA_MON_MONITOR_HANDLER_IMPLICIT(name, type) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/rv/da_monitor.h:438:20: note: expanded from macro '\ DECLARE_DA_MON_MONITOR_HANDLER_IMPLICIT' 438 | static inline bool da_handle_start_run_event_##name(enum events_##name event) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :53:1: note: expanded from here 53 | da_handle_start_run_event_sncid | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../drivers/gpu/drm/pl111/pl111_versatile.c:488:24: warning: cast to smaller integer type 'enum versatile_clcd' from 'const void *' [-Wvoid-pointer-to-enum-cast] 488 | versatile_clcd_type = (enum versatile_clcd)clcd_id->data; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/gpu/drm/pl111/pl111_versatile.c:508:26: warning: cast to smaller integer type 'enum versatile_clcd' from 'const void *' [-Wvoid-pointer-to-enum-cast] 508 | versatile_clcd_type = (enum versatile_clcd)clcd_id->data; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. Warning: ../drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:6383 Cannot find identifier on line: *********************************************************************************************** Warning: ../drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:6396 function parameter 'link' not described in 'dc_get_host_router_index' Warning: ../drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:6396 function parameter 'host_router_index' not described in 'dc_get_host_router_index' make[2]: *** [/home/nipa/net-next/wt-0/Makefile:2003: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-0/Makefile:248: __sub-make] Error 2 make: *** [Makefile:248: __sub-make] Error 2 New errors added --- /tmp/tmp.ThPX8Qbck1 2025-07-29 06:03:30.928725542 -0700 +++ /tmp/tmp.pe7uEYmvY5 2025-07-29 06:10:03.266666866 -0700 @@ -5,0 +6,97 @@ +../samples/ftrace/ftrace-direct-too.c:243:65: error: too few arguments to function call, expected 3, have 2 + 243 | return register_ftrace_direct(&direct, (unsigned long) my_tramp); + | ~~~~~~~~~~~~~~~~~~~~~~ ^ +../include/linux/ftrace.h:539:5: note: 'register_ftrace_direct' declared here + 539 | int register_ftrace_direct(struct ftrace_ops *ops, unsigned long ip, unsigned long addr); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../samples/ftrace/ftrace-direct-too.c:248:65: error: too few arguments to function call, expected 4, have 3 + 248 | unregister_ftrace_direct(&direct, (unsigned long)my_tramp, true); + | ~~~~~~~~~~~~~~~~~~~~~~~~ ^ +../include/linux/ftrace.h:540:5: note: 'unregister_ftrace_direct' declared here + 540 | int unregister_ftrace_direct(struct ftrace_ops *ops, unsigned long ip, unsigned long addr, + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 541 | bool free_filters); + | ~~~~~~~~~~~~~~~~~ +2 errors generated. +make[5]: *** [../scripts/Makefile.build:287: samples/ftrace/ftrace-direct-too.o] Error 1 +make[5]: *** Waiting for unfinished jobs.... +../samples/ftrace/ftrace-direct.c:210:65: error: too few arguments to function call, expected 3, have 2 + 210 | return register_ftrace_direct(&direct, (unsigned long) my_tramp); + | ~~~~~~~~~~~~~~~~~~~~~~ ^ +../include/linux/ftrace.h:539:5: note: 'register_ftrace_direct' declared here + 539 | int register_ftrace_direct(struct ftrace_ops *ops, unsigned long ip, unsigned long addr); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../samples/ftrace/ftrace-direct.c:215:65: error: too few arguments to function call, expected 4, have 3 + 215 | unregister_ftrace_direct(&direct, (unsigned long)my_tramp, true); + | ~~~~~~~~~~~~~~~~~~~~~~~~ ^ +../include/linux/ftrace.h:540:5: note: 'unregister_ftrace_direct' declared here + 540 | int unregister_ftrace_direct(struct ftrace_ops *ops, unsigned long ip, unsigned long addr, + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 541 | bool free_filters); + | ~~~~~~~~~~~~~~~~~ +2 errors generated. +make[5]: *** [../scripts/Makefile.build:287: samples/ftrace/ftrace-direct.o] Error 1 +../samples/ftrace/ftrace-direct-modify.c:305:48: error: too few arguments to function call, expected 4, have 2 + 305 | ret = modify_ftrace_direct(&direct, tramps[t]); + | ~~~~~~~~~~~~~~~~~~~~ ^ +../include/linux/ftrace.h:542:5: note: 'modify_ftrace_direct' declared here + 542 | int modify_ftrace_direct(struct ftrace_ops *ops, unsigned long ip, unsigned long addr, bool lock_direct_mutex); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../samples/ftrace/ftrace-direct-modify.c:321:48: error: too few arguments to function call, expected 3, have 2 + 321 | ret = register_ftrace_direct(&direct, my_tramp); + | ~~~~~~~~~~~~~~~~~~~~~~ ^ +../include/linux/ftrace.h:539:5: note: 'register_ftrace_direct' declared here + 539 | int register_ftrace_direct(struct ftrace_ops *ops, unsigned long ip, unsigned long addr); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../samples/ftrace/ftrace-direct-modify.c:331:50: error: too few arguments to function call, expected 4, have 3 + 331 | unregister_ftrace_direct(&direct, my_tramp, true); + | ~~~~~~~~~~~~~~~~~~~~~~~~ ^ +../include/linux/ftrace.h:540:5: note: 'unregister_ftrace_direct' declared here + 540 | int unregister_ftrace_direct(struct ftrace_ops *ops, unsigned long ip, unsigned long addr, + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 541 | bool free_filters); + | ~~~~~~~~~~~~~~~~~ +3 errors generated. +make[5]: *** [../scripts/Makefile.build:287: samples/ftrace/ftrace-direct-modify.o] Error 1 +../samples/ftrace/ftrace-direct-multi.c:228:65: error: too few arguments to function call, expected 3, have 2 + 228 | return register_ftrace_direct(&direct, (unsigned long) my_tramp); + | ~~~~~~~~~~~~~~~~~~~~~~ ^ +../include/linux/ftrace.h:539:5: note: 'register_ftrace_direct' declared here + 539 | int register_ftrace_direct(struct ftrace_ops *ops, unsigned long ip, unsigned long addr); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../samples/ftrace/ftrace-direct-multi.c:233:66: error: too few arguments to function call, expected 4, have 3 + 233 | unregister_ftrace_direct(&direct, (unsigned long) my_tramp, true); + | ~~~~~~~~~~~~~~~~~~~~~~~~ ^ +../include/linux/ftrace.h:540:5: note: 'unregister_ftrace_direct' declared here + 540 | int unregister_ftrace_direct(struct ftrace_ops *ops, unsigned long ip, unsigned long addr, + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 541 | bool free_filters); + | ~~~~~~~~~~~~~~~~~ +2 errors generated. +make[5]: *** [../scripts/Makefile.build:287: samples/ftrace/ftrace-direct-multi.o] Error 1 +../samples/ftrace/ftrace-direct-multi-modify.c:347:48: error: too few arguments to function call, expected 4, have 2 + 347 | ret = modify_ftrace_direct(&direct, tramps[t]); + | ~~~~~~~~~~~~~~~~~~~~ ^ +../include/linux/ftrace.h:542:5: note: 'modify_ftrace_direct' declared here + 542 | int modify_ftrace_direct(struct ftrace_ops *ops, unsigned long ip, unsigned long addr, bool lock_direct_mutex); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../samples/ftrace/ftrace-direct-multi-modify.c:365:48: error: too few arguments to function call, expected 3, have 2 + 365 | ret = register_ftrace_direct(&direct, my_tramp); + | ~~~~~~~~~~~~~~~~~~~~~~ ^ +../include/linux/ftrace.h:539:5: note: 'register_ftrace_direct' declared here + 539 | int register_ftrace_direct(struct ftrace_ops *ops, unsigned long ip, unsigned long addr); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../samples/ftrace/ftrace-direct-multi-modify.c:375:50: error: too few arguments to function call, expected 4, have 3 + 375 | unregister_ftrace_direct(&direct, my_tramp, true); + | ~~~~~~~~~~~~~~~~~~~~~~~~ ^ +../include/linux/ftrace.h:540:5: note: 'unregister_ftrace_direct' declared here + 540 | int unregister_ftrace_direct(struct ftrace_ops *ops, unsigned long ip, unsigned long addr, + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 541 | bool free_filters); + | ~~~~~~~~~~~~~~~~~ +3 errors generated. +make[5]: *** [../scripts/Makefile.build:287: samples/ftrace/ftrace-direct-multi-modify.o] Error 1 +make[4]: *** [../scripts/Makefile.build:555: samples/ftrace] Error 2 +make[4]: *** Waiting for unfinished jobs.... +make[3]: *** [../scripts/Makefile.build:555: samples] Error 2 +make[3]: *** Waiting for unfinished jobs.... @@ -14,32 +110,0 @@ -../arch/x86/kernel/process.c:966:10: warning: variable 'hi' set but not used [-Wunused-but-set-variable] - 966 | u32 lo, hi; - | ^ -1 warning generated. -../kernel/sched/core.c:6454:1: warning: unused function 'class_core_lock_lock_ptr' [-Wunused-function] - 6454 | DEFINE_LOCK_GUARD_1(core_lock, int, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 6455 | sched_core_lock(*_T->lock, &_T->flags), - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 6456 | sched_core_unlock(*_T->lock, &_T->flags), - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 6457 | unsigned long flags) - | ~~~~~~~~~~~~~~~~~~~~ -../include/linux/cleanup.h:427:49: note: expanded from macro 'DEFINE_LOCK_GUARD_1' - 427 | __DEFINE_CLASS_IS_CONDITIONAL(_name, false); \ - | ^ - 428 | __DEFINE_UNLOCK_GUARD(_name, _type, _unlock, __VA_ARGS__) \ - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../include/linux/cleanup.h:406:10: note: expanded from macro '\ -__DEFINE_UNLOCK_GUARD' - 406 | \ - | ^ - 407 | __DEFINE_GUARD_LOCK_PTR(_name, &_T->lock) - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../include/linux/cleanup.h:314:23: note: expanded from macro '\ -__DEFINE_GUARD_LOCK_PTR' - 314 | static inline void * class_##_name##_lock_ptr(class_##_name##_t *_T) \ - | ^~~~~~~~~~~~~~~~~~~~~~~~ -:145:1: note: expanded from here - 145 | class_core_lock_lock_ptr - | ^~~~~~~~~~~~~~~~~~~~~~~~ -1 warning generated. @@ -92 +157,32 @@ -Warning: ../drivers/nvdimm/core.c:220 function parameter 'len' not described in 'nd_uuid_store' +../arch/x86/kernel/process.c:966:10: warning: variable 'hi' set but not used [-Wunused-but-set-variable] + 966 | u32 lo, hi; + | ^ +1 warning generated. +../kernel/sched/core.c:6454:1: warning: unused function 'class_core_lock_lock_ptr' [-Wunused-function] + 6454 | DEFINE_LOCK_GUARD_1(core_lock, int, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 6455 | sched_core_lock(*_T->lock, &_T->flags), + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 6456 | sched_core_unlock(*_T->lock, &_T->flags), + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 6457 | unsigned long flags) + | ~~~~~~~~~~~~~~~~~~~~ +../include/linux/cleanup.h:427:49: note: expanded from macro 'DEFINE_LOCK_GUARD_1' + 427 | __DEFINE_CLASS_IS_CONDITIONAL(_name, false); \ + | ^ + 428 | __DEFINE_UNLOCK_GUARD(_name, _type, _unlock, __VA_ARGS__) \ + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/cleanup.h:406:10: note: expanded from macro '\ +__DEFINE_UNLOCK_GUARD' + 406 | \ + | ^ + 407 | __DEFINE_GUARD_LOCK_PTR(_name, &_T->lock) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/cleanup.h:314:23: note: expanded from macro '\ +__DEFINE_GUARD_LOCK_PTR' + 314 | static inline void * class_##_name##_lock_ptr(class_##_name##_t *_T) \ + | ^~~~~~~~~~~~~~~~~~~~~~~~ +:145:1: note: expanded from here + 145 | class_core_lock_lock_ptr + | ^~~~~~~~~~~~~~~~~~~~~~~~ +1 warning generated. @@ -93,0 +190 @@ +Warning: ../drivers/nvdimm/core.c:220 function parameter 'len' not described in 'nd_uuid_store' @@ -113,2 +210,2 @@ -../kernel/trace/ftrace.c:6311:6: warning: variable 'err' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] - 6311 | if (!new_hash) +../kernel/trace/ftrace.c:6137:6: warning: variable 'err' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] + 6137 | if (!new_hash) @@ -116,2 +213,2 @@ -../kernel/trace/ftrace.c:6340:9: note: uninitialized use occurs here - 6340 | return err; +../kernel/trace/ftrace.c:6166:9: note: uninitialized use occurs here + 6166 | return err; @@ -119,2 +216,2 @@ -../kernel/trace/ftrace.c:6311:2: note: remove the 'if' if its condition is always false - 6311 | if (!new_hash) +../kernel/trace/ftrace.c:6137:2: note: remove the 'if' if its condition is always false + 6137 | if (!new_hash) @@ -122 +219 @@ - 6312 | goto out_unlock; + 6138 | goto out_unlock; @@ -124,2 +221,2 @@ -../kernel/trace/ftrace.c:6307:6: warning: variable 'err' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] - 6307 | if (!filter_hash) +../kernel/trace/ftrace.c:6133:6: warning: variable 'err' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] + 6133 | if (!filter_hash) @@ -127,2 +224,2 @@ -../kernel/trace/ftrace.c:6340:9: note: uninitialized use occurs here - 6340 | return err; +../kernel/trace/ftrace.c:6166:9: note: uninitialized use occurs here + 6166 | return err; @@ -130,2 +227,2 @@ -../kernel/trace/ftrace.c:6307:2: note: remove the 'if' if its condition is always false - 6307 | if (!filter_hash) +../kernel/trace/ftrace.c:6133:2: note: remove the 'if' if its condition is always false + 6133 | if (!filter_hash) @@ -133 +230 @@ - 6308 | goto out_unlock; + 6134 | goto out_unlock; @@ -135,2 +232,2 @@ -../kernel/trace/ftrace.c:6302:7: warning: variable 'err' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] - 6302 | if (ops->flags & FTRACE_OPS_FL_ENABLED) +../kernel/trace/ftrace.c:6128:7: warning: variable 'err' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] + 6128 | if (ops->flags & FTRACE_OPS_FL_ENABLED) @@ -138,2 +235,2 @@ -../kernel/trace/ftrace.c:6340:9: note: uninitialized use occurs here - 6340 | return err; +../kernel/trace/ftrace.c:6166:9: note: uninitialized use occurs here + 6166 | return err; @@ -141,2 +238,2 @@ -../kernel/trace/ftrace.c:6302:3: note: remove the 'if' if its condition is always false - 6302 | if (ops->flags & FTRACE_OPS_FL_ENABLED) +../kernel/trace/ftrace.c:6128:3: note: remove the 'if' if its condition is always false + 6128 | if (ops->flags & FTRACE_OPS_FL_ENABLED) @@ -144 +241 @@ - 6303 | goto out_unlock; + 6129 | goto out_unlock; @@ -146,2 +243,2 @@ -../kernel/trace/ftrace.c:6300:7: warning: variable 'err' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] - 6300 | if (ops->func || ops->trampoline) +../kernel/trace/ftrace.c:6126:7: warning: variable 'err' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] + 6126 | if (ops->func || ops->trampoline) @@ -149,2 +246,2 @@ -../kernel/trace/ftrace.c:6340:9: note: uninitialized use occurs here - 6340 | return err; +../kernel/trace/ftrace.c:6166:9: note: uninitialized use occurs here + 6166 | return err; @@ -152,2 +249,2 @@ -../kernel/trace/ftrace.c:6300:3: note: remove the 'if' if its condition is always false - 6300 | if (ops->func || ops->trampoline) +../kernel/trace/ftrace.c:6126:3: note: remove the 'if' if its condition is always false + 6126 | if (ops->func || ops->trampoline) @@ -155 +252 @@ - 6301 | goto out_unlock; + 6127 | goto out_unlock; @@ -157,2 +254,2 @@ -../kernel/trace/ftrace.c:6300:7: warning: variable 'err' is used uninitialized whenever '||' condition is true [-Wsometimes-uninitialized] - 6300 | if (ops->func || ops->trampoline) +../kernel/trace/ftrace.c:6126:7: warning: variable 'err' is used uninitialized whenever '||' condition is true [-Wsometimes-uninitialized] + 6126 | if (ops->func || ops->trampoline) @@ -160,2 +257,2 @@ -../kernel/trace/ftrace.c:6340:9: note: uninitialized use occurs here - 6340 | return err; +../kernel/trace/ftrace.c:6166:9: note: uninitialized use occurs here + 6166 | return err; @@ -163,2 +260,2 @@ -../kernel/trace/ftrace.c:6300:7: note: remove the '||' if its condition is always false - 6300 | if (ops->func || ops->trampoline) +../kernel/trace/ftrace.c:6126:7: note: remove the '||' if its condition is always false + 6126 | if (ops->func || ops->trampoline) @@ -166,2 +263,2 @@ -../kernel/trace/ftrace.c:6290:8: warning: variable 'err' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] - 6290 | if (__ftrace_lookup_ip(direct_functions, entry->ip)) +../kernel/trace/ftrace.c:6116:8: warning: variable 'err' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] + 6116 | if (__ftrace_lookup_ip(direct_functions, entry->ip)) @@ -169,2 +266,2 @@ -../kernel/trace/ftrace.c:6340:9: note: uninitialized use occurs here - 6340 | return err; +../kernel/trace/ftrace.c:6166:9: note: uninitialized use occurs here + 6166 | return err; @@ -172,2 +269,2 @@ -../kernel/trace/ftrace.c:6290:4: note: remove the 'if' if its condition is always false - 6290 | if (__ftrace_lookup_ip(direct_functions, entry->ip)) +../kernel/trace/ftrace.c:6116:4: note: remove the 'if' if its condition is always false + 6116 | if (__ftrace_lookup_ip(direct_functions, entry->ip)) @@ -175 +272 @@ - 6291 | goto out_unlock; + 6117 | goto out_unlock; @@ -177,2 +274,2 @@ -../kernel/trace/ftrace.c:6278:18: note: initialize the variable 'err' to silence this warning - 6278 | int i, size, err; +../kernel/trace/ftrace.c:6104:18: note: initialize the variable 'err' to silence this warning + 6104 | int i, size, err; @@ -181,0 +279,9 @@ +Warning: ../kernel/trace/ftrace.c:5970 function parameter 'ip' not described in 'register_ftrace_direct' +Warning: ../kernel/trace/ftrace.c:6001 function parameter 'ip' not described in 'unregister_ftrace_direct' +Warning: ../kernel/trace/ftrace.c:6033 function parameter 'ip' not described in 'modify_ftrace_direct' +Warning: ../kernel/trace/ftrace.c:6033 function parameter 'lock_direct_mutex' not described in 'modify_ftrace_direct' +Warning: ../drivers/gpu/drm/scheduler/sched_main.c:396 function parameter 'result' not described in 'drm_sched_job_done' +../drivers/gpu/drm/vc4/vc4_drv.c:301:8: warning: cast to smaller integer type 'enum vc4_gen' from 'const void *' [-Wvoid-pointer-to-enum-cast] + 301 | gen = (enum vc4_gen)of_device_get_match_data(dev); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +1 warning generated. @@ -198 +303,0 @@ -Warning: ../fs/gfs2/glock.c:1264 function parameter 'ip' not described in '__gfs2_holder_init' @@ -231 +336 @@ -Warning: ../drivers/gpu/drm/scheduler/sched_main.c:396 function parameter 'result' not described in 'drm_sched_job_done' +Warning: ../fs/gfs2/glock.c:1264 function parameter 'ip' not described in '__gfs2_holder_init' @@ -280,4 +384,0 @@ -../drivers/gpu/drm/vc4/vc4_drv.c:301:8: warning: cast to smaller integer type 'enum vc4_gen' from 'const void *' [-Wvoid-pointer-to-enum-cast] - 301 | gen = (enum vc4_gen)of_device_get_match_data(dev); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -1 warning generated. @@ -294,0 +396,3 @@ +make[2]: *** [/home/nipa/net-next/wt-0/Makefile:2003: .] Error 2 +make[1]: *** [/home/nipa/net-next/wt-0/Makefile:248: __sub-make] Error 2 +make: *** [Makefile:248: __sub-make] Error 2 Per-file breakdown --- /tmp/tmp.lvzmjCcbV4 2025-07-29 06:10:03.274666824 -0700 +++ /tmp/tmp.H6CIxqqTmF 2025-07-29 06:10:03.276666814 -0700 @@ -14,0 +15,5 @@ + 2 ../samples/ftrace/ftrace-direct.c + 3 ../samples/ftrace/ftrace-direct-modify.c + 2 ../samples/ftrace/ftrace-direct-multi.c + 3 ../samples/ftrace/ftrace-direct-multi-modify.c + 2 ../samples/ftrace/ftrace-direct-too.c