drivers/scsi/.tmp_esp_scsi.o: warning: objtool: scsi_esp_intr()+0x9f9: sibling call from callable instruction with modified stack frame

From: kbuild test robot
Date: Sun Jan 21 2018 - 06:09:57 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: d517bb79f4994a87cfc2ddd4cc76bd1a627d4bed
commit: 2a0098d70640dda192a79966c14d449e7a34d675 objtool: Fix seg fault with gold linker
date: 5 days ago
config: x86_64-randconfig-v0-01211536 (attached as .config)
compiler: gcc-7 (Debian 7.2.0-12) 7.2.1 20171025
reproduce:
git checkout 2a0098d70640dda192a79966c14d449e7a34d675
# save the attached .config to linux build tree
make ARCH=x86_64

All warnings (new ones prefixed by >>):

Cyclomatic Complexity 1 include/linux/log2.h:__ilog2_u64
Cyclomatic Complexity 1 include/linux/list.h:INIT_LIST_HEAD
Cyclomatic Complexity 1 include/linux/list.h:__list_del
Cyclomatic Complexity 1 include/linux/list.h:list_empty
Cyclomatic Complexity 1 include/asm-generic/getorder.h:__get_order
Cyclomatic Complexity 3 include/linux/string.h:memset
Cyclomatic Complexity 4 include/linux/string.h:memcpy
Cyclomatic Complexity 1 include/linux/spinlock.h:spinlock_check
Cyclomatic Complexity 1 include/linux/spinlock.h:spin_unlock_irqrestore
Cyclomatic Complexity 1 include/linux/slab.h:kmalloc_order_trace
Cyclomatic Complexity 68 include/linux/slab.h:kmalloc_large
Cyclomatic Complexity 3 include/linux/slab.h:kmalloc
Cyclomatic Complexity 1 include/linux/slab.h:kzalloc
Cyclomatic Complexity 1 include/scsi/scsi_host.h:shost_priv
Cyclomatic Complexity 1 include/scsi/scsi_cmnd.h:scsi_sg_count
Cyclomatic Complexity 1 include/scsi/scsi_cmnd.h:scsi_sglist
Cyclomatic Complexity 1 drivers/scsi/esp_scsi.c:esp_log_fill_regs
Cyclomatic Complexity 1 drivers/scsi/esp_scsi.c:esp_event
Cyclomatic Complexity 2 drivers/scsi/esp_scsi.c:esp_set_all_config3
Cyclomatic Complexity 3 drivers/scsi/esp_scsi.c:esp_map_dma
Cyclomatic Complexity 2 drivers/scsi/esp_scsi.c:esp_cur_dma_addr
Cyclomatic Complexity 2 drivers/scsi/esp_scsi.c:esp_cur_dma_len
Cyclomatic Complexity 2 drivers/scsi/esp_scsi.c:esp_unmap_dma
Cyclomatic Complexity 2 drivers/scsi/esp_scsi.c:esp_save_pointers
Cyclomatic Complexity 2 drivers/scsi/esp_scsi.c:esp_restore_pointers
Cyclomatic Complexity 3 drivers/scsi/esp_scsi.c:esp_check_command_len
Cyclomatic Complexity 3 drivers/scsi/esp_scsi.c:esp_write_tgt_config3
Cyclomatic Complexity 3 drivers/scsi/esp_scsi.c:esp_write_tgt_sync
Cyclomatic Complexity 5 drivers/scsi/esp_scsi.c:esp_dma_length_limit
Cyclomatic Complexity 1 drivers/scsi/esp_scsi.c:esp_need_to_nego_wide
Cyclomatic Complexity 5 drivers/scsi/esp_scsi.c:esp_need_to_nego_sync
Cyclomatic Complexity 1 drivers/scsi/esp_scsi.c:compose_result
Cyclomatic Complexity 5 drivers/scsi/esp_scsi.c:esp_get_revision
Cyclomatic Complexity 2 drivers/scsi/esp_scsi.c:esp_init_swstate
Cyclomatic Complexity 5 drivers/scsi/esp_scsi.c:esp_set_clock_params
Cyclomatic Complexity 3 drivers/scsi/esp_scsi.c:esp_slave_alloc
Cyclomatic Complexity 1 drivers/scsi/esp_scsi.c:esp_info
Cyclomatic Complexity 2 drivers/scsi/esp_scsi.c:esp_get_signalling
Cyclomatic Complexity 2 drivers/scsi/esp_scsi.c:scsi_esp_cmd
Cyclomatic Complexity 3 drivers/scsi/esp_scsi.c:hme_read_fifo
Cyclomatic Complexity 4 drivers/scsi/esp_scsi.c:esp_send_dma_cmd
Cyclomatic Complexity 2 drivers/scsi/esp_scsi.c:esp_check_gross_error
Cyclomatic Complexity 5 drivers/scsi/esp_scsi.c:esp_check_spur_intr
Cyclomatic Complexity 3 drivers/scsi/esp_scsi.c:esp_dump_cmd_log
Cyclomatic Complexity 5 drivers/scsi/esp_scsi.c:esp_autosense
Cyclomatic Complexity 6 drivers/scsi/esp_scsi.c:esp_advance_dma
Cyclomatic Complexity 1 drivers/scsi/esp_scsi.c:esp_clear_hold
Cyclomatic Complexity 2 drivers/scsi/esp_scsi.c:esp_free_lun_tag
Cyclomatic Complexity 8 drivers/scsi/esp_scsi.c:esp_alloc_lun_tag
Cyclomatic Complexity 2 include/linux/list.h:__list_del_entry
Cyclomatic Complexity 1 include/linux/list.h:list_del
Cyclomatic Complexity 2 include/linux/list.h:__list_add
Cyclomatic Complexity 1 include/linux/list.h:list_add
Cyclomatic Complexity 1 drivers/scsi/esp_scsi.c:esp_put_ent
Cyclomatic Complexity 2 drivers/scsi/esp_scsi.c:esp_reset_cleanup_one
Cyclomatic Complexity 12 drivers/scsi/esp_scsi.c:esp_reset_cleanup
Cyclomatic Complexity 1 include/linux/list.h:list_move
Cyclomatic Complexity 1 include/linux/list.h:list_add_tail
Cyclomatic Complexity 2 drivers/scsi/esp_scsi.c:esp_schedule_reset
Cyclomatic Complexity 16 drivers/scsi/esp_scsi.c:esp_reconnect_with_tag
Cyclomatic Complexity 11 drivers/scsi/esp_scsi.c:esp_reconnect
Cyclomatic Complexity 4 drivers/scsi/esp_scsi.c:esp_flush_fifo
Cyclomatic Complexity 16 drivers/scsi/esp_scsi.c:esp_reset_esp
Cyclomatic Complexity 1 drivers/scsi/esp_scsi.c:esp_bootup_reset
Cyclomatic Complexity 6 drivers/scsi/esp_scsi.c:esp_msgin_wdtr
Cyclomatic Complexity 7 drivers/scsi/esp_scsi.c:find_and_prep_issuable_command
Cyclomatic Complexity 27 drivers/scsi/esp_scsi.c:esp_maybe_execute_command
Cyclomatic Complexity 5 drivers/scsi/esp_scsi.c:esp_cmd_is_done
Cyclomatic Complexity 10 drivers/scsi/esp_scsi.c:esp_finish_select
Cyclomatic Complexity 19 drivers/scsi/esp_scsi.c:esp_data_bytes_sent
Cyclomatic Complexity 1 drivers/scsi/esp_scsi.c:esp_event_queue_full
Cyclomatic Complexity 6 drivers/scsi/esp_scsi.c:esp_setsync
Cyclomatic Complexity 9 drivers/scsi/esp_scsi.c:esp_msgin_sdtr
Cyclomatic Complexity 3 drivers/scsi/esp_scsi.c:esp_msgin_extended
Cyclomatic Complexity 4 drivers/scsi/esp_scsi.c:esp_msgin_reject
Cyclomatic Complexity 14 drivers/scsi/esp_scsi.c:esp_msgin_process
Cyclomatic Complexity 64 drivers/scsi/esp_scsi.c:esp_process_event
Cyclomatic Complexity 22 drivers/scsi/esp_scsi.c:__esp_interrupt
Cyclomatic Complexity 6 drivers/scsi/esp_scsi.c:scsi_esp_intr
Cyclomatic Complexity 1 include/linux/delay.h:ssleep
Cyclomatic Complexity 1 drivers/scsi/esp_scsi.c:esp_eh_host_reset_handler
Cyclomatic Complexity 1 include/scsi/scsi_host.h:scsi_add_host
Cyclomatic Complexity 3 drivers/scsi/esp_scsi.c:scsi_esp_register
Cyclomatic Complexity 1 drivers/scsi/esp_scsi.c:scsi_esp_unregister
Cyclomatic Complexity 4 include/scsi/scsi_host.h:dev_to_shost
Cyclomatic Complexity 1 drivers/scsi/esp_scsi.c:esp_target_destroy
Cyclomatic Complexity 1 drivers/scsi/esp_scsi.c:esp_target_alloc
Cyclomatic Complexity 1 drivers/scsi/esp_scsi.c:esp_set_width
Cyclomatic Complexity 2 drivers/scsi/esp_scsi.c:esp_set_offset
Cyclomatic Complexity 1 drivers/scsi/esp_scsi.c:esp_set_period
Cyclomatic Complexity 1 drivers/scsi/esp_scsi.c:esp_slave_destroy
Cyclomatic Complexity 3 drivers/scsi/esp_scsi.c:esp_slave_configure
Cyclomatic Complexity 1 include/linux/completion.h:__init_completion
Cyclomatic Complexity 2 drivers/scsi/esp_scsi.c:esp_eh_bus_reset_handler
Cyclomatic Complexity 17 drivers/scsi/esp_scsi.c:esp_eh_abort_handler
Cyclomatic Complexity 3 drivers/scsi/esp_scsi.c:esp_get_ent
Cyclomatic Complexity 2 drivers/scsi/esp_scsi.c:esp_queuecommand_lck
Cyclomatic Complexity 1 drivers/scsi/esp_scsi.c:esp_queuecommand
Cyclomatic Complexity 1 drivers/scsi/esp_scsi.c:esp_exit
Cyclomatic Complexity 3 drivers/scsi/esp_scsi.c:esp_init
>> drivers/scsi/.tmp_esp_scsi.o: warning: objtool: scsi_esp_intr()+0x9f9: sibling call from callable instruction with modified stack frame

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: application/gzip