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


Groups > linux.kernel > #1742913

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

From kbuild test robot <lkp@intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2 01/16] hyper-v: trace vmbus_on_msg_dpc()
Date 2017-10-02 02:20 +0200
Message-ID <uvWCK-mC-13@gated-at.bofh.it> (permalink)
References <uv3wC-6Hg-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

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

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH v2 01/16] hyper-v: trace vmbus_on_msg_dpc() Vitaly Kuznetsov <vkuznets@redhat.com> - 2017-09-29 15:30 +0200
  Re: [PATCH v2 01/16] hyper-v: trace vmbus_on_msg_dpc() kbuild test robot <lkp@intel.com> - 2017-10-02 02:20 +0200

csiph-web