Re: [PATCH v2 01/16] hyper-v: trace vmbus_on_msg_dpc()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Vitaly,

[auto build test WARNING on linus/master]
[also build test WARNING on v4.14-rc3 next-20170929]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Vitaly-Kuznetsov/hyper-v-trace-vmbus_on_msg_dpc/20171002-062040
config: i386-randconfig-x017-201740 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All warnings (new ones prefixed by >>):

   In file included from include/trace/define_trace.h:95:0,
                    from drivers/hv/hv_trace.h:29,
                    from drivers/hv/hv_trace.c:4:
   include/trace/trace_events.h:759:13: warning: 'print_fmt_vmbus_hdr_msg' defined but not used [-Wunused-variable]
    static char print_fmt_##call[] = print;     \
                ^
>> drivers/hv/./hv_trace.h:9:1: note: in expansion of macro 'DECLARE_EVENT_CLASS'
    DECLARE_EVENT_CLASS(vmbus_hdr_msg,
    ^~~~~~~~~~~~~~~~~~~
   In file included from include/trace/define_trace.h:95:0,
                    from drivers/hv/hv_trace.h:29,
                    from drivers/hv/hv_trace.c:4:
   include/trace/trace_events.h:363:37: warning: 'trace_event_type_funcs_vmbus_hdr_msg' defined but not used [-Wunused-variable]
    static struct trace_event_functions trace_event_type_funcs_##call = { \
                                        ^
>> drivers/hv/./hv_trace.h:9:1: note: in expansion of macro 'DECLARE_EVENT_CLASS'
    DECLARE_EVENT_CLASS(vmbus_hdr_msg,
    ^~~~~~~~~~~~~~~~~~~

vim +/DECLARE_EVENT_CLASS +9 drivers/hv/./hv_trace.h

     8	
   > 9	DECLARE_EVENT_CLASS(vmbus_hdr_msg,
    10		TP_PROTO(const struct vmbus_channel_message_header *hdr),
    11		TP_ARGS(hdr),
    12		TP_STRUCT__entry(__field(unsigned int, msgtype)),
    13		TP_fast_assign(__entry->msgtype = hdr->msgtype;),
    14		TP_printk("msgtype=%d", __entry->msgtype)
    15	);
    16	

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

Attachment: .config.gz
Description: application/gzip

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux