Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1365815

drivers/scsi/mpt3sas/mpt3sas_scsih.o: warning: objtool: mpt3sas_scsih_event_callback()+0x105b: function has unreachable instruction

From kbuild test robot <fengguang.wu@intel.com>
Newsgroups linux.kernel
Subject drivers/scsi/mpt3sas/mpt3sas_scsih.o: warning: objtool: mpt3sas_scsih_event_callback()+0x105b: function has unreachable instruction
Date 2016-03-29 05:00 +0200
Message-ID <rhS2R-87a-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi Josh,

First bad commit (maybe != root cause):

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   1993b176a8224e371e0732ffada7ab9eb3b0912b
commit: c1d45c3abd49b5bf9447e435099c1b000dcde752 objtool: Support CROSS_COMPILE
date:   4 weeks ago
config: x86_64-randconfig-s2-03291000 (attached as .config)
reproduce:
        git checkout c1d45c3abd49b5bf9447e435099c1b000dcde752
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All warnings (new ones prefixed by >>):

   In file included from include/linux/kernel.h:13:0,
                    from include/linux/list.h:8,
                    from include/linux/module.h:9,
                    from drivers/scsi/mpt3sas/mpt3sas_scsih.c:45:
   drivers/scsi/mpt3sas/mpt3sas_scsih.c: In function '_firmware_event_work':
   include/linux/printk.h:259:2: warning: 'query_count' may be used uninitialized in this function [-Wmaybe-uninitialized]
     printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
     ^
   drivers/scsi/mpt3sas/mpt3sas_scsih.c:5828:6: note: 'query_count' was declared here
     u32 query_count;
         ^
   In file included from include/linux/kernel.h:13:0,
                    from include/linux/list.h:8,
                    from include/linux/module.h:9,
                    from drivers/scsi/mpt3sas/mpt3sas_scsih.c:45:
   include/linux/printk.h:259:2: warning: 'termination_count' may be used uninitialized in this function [-Wmaybe-uninitialized]
     printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
     ^
   drivers/scsi/mpt3sas/mpt3sas_scsih.c:5827:6: note: 'termination_count' was declared here
     u32 termination_count;
         ^
>> drivers/scsi/mpt3sas/mpt3sas_scsih.o: warning: objtool: mpt3sas_scsih_event_callback()+0x105b: function has unreachable instruction
   drivers/scsi/mpt3sas/mpt3sas_scsih.o: warning: objtool: mpt3sas_scsih_event_callback()+0x105e: function has unreachable instruction
   drivers/scsi/mpt3sas/mpt3sas_scsih.o: warning: objtool: mpt3sas_scsih_event_callback()+0x1060: function has unreachable instruction
   drivers/scsi/mpt3sas/mpt3sas_scsih.o: warning: objtool: mpt3sas_scsih_event_callback()+0x1064: function has unreachable instruction
   drivers/scsi/mpt3sas/mpt3sas_scsih.o: warning: objtool: mpt3sas_scsih_event_callback()+0x106a: function has unreachable instruction
   drivers/scsi/mpt3sas/mpt3sas_scsih.o: warning: objtool: mpt3sas_scsih_event_callback()+0x106d: function has unreachable instruction
   drivers/scsi/mpt3sas/mpt3sas_scsih.o: warning: objtool: mpt3sas_scsih_event_callback()+0x1074: function has unreachable instruction
   drivers/scsi/mpt3sas/mpt3sas_scsih.o: warning: objtool: mpt3sas_scsih_event_callback()+0x1079: function has unreachable instruction

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

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

drivers/scsi/mpt3sas/mpt3sas_scsih.o: warning: objtool:  mpt3sas_scsih_event_callback()+0x105b: function has unreachable instruction kbuild test robot <fengguang.wu@intel.com> - 2016-03-29 05:00 +0200

csiph-web