From: kbuild test robot <lkp@intel.com>
To: "Håkon Bugge" <Haakon.Bugge@oracle.com>
Cc: kbuild-all@01.org, Doug Ledford <dledford@redhat.com>,
yishaih@mellanox.com, linux-rdma@vger.kernel.org,
linux-kernel@vger.kernel.org, jgg@ziepe.ca,
jackm@dev.mellanox.co.il
Subject: Re: [PATCH 2/2] IB/mlx4: Add port and TID to MAD debug print
Date: Tue, 18 Sep 2018 04:15:32 +0800 [thread overview]
Message-ID: <201809180427.HZdNM73B%fengguang.wu@intel.com> (raw)
In-Reply-To: <20180917145309.1255642-3-Haakon.Bugge@oracle.com>
[-- Attachment #1: Type: text/plain, Size: 2529 bytes --]
Hi Håkon,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on linus/master]
[also build test WARNING on v4.19-rc4 next-20180913]
[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/H-kon-Bugge/IB-mlx4-Enable-debug-print-of-SMPs/20180917-232956
config: i386-allmodconfig (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
reproduce:
# save the attached .config to linux build tree
make ARCH=i386
All warnings (new ones prefixed by >>):
In file included from drivers/infiniband/hw/mlx4/mad.c:46:0:
drivers/infiniband/hw/mlx4/mad.c: In function 'ib_process_mad':
>> drivers/infiniband/hw/mlx4/mlx4_ib.h:57:21: warning: format '%x' expects argument of type 'unsigned int', but argument 10 has type 'long long unsigned int' [-Wformat=]
#define pr_fmt(fmt) "<" MLX4_IB_DRV_NAME "> %s: " fmt, __func__
^
include/linux/dynamic_debug.h:127:35: note: in expansion of macro 'pr_fmt'
__dynamic_pr_debug(&descriptor, pr_fmt(fmt), \
^~~~~~
include/linux/printk.h:340:2: note: in expansion of macro 'dynamic_pr_debug'
dynamic_pr_debug(fmt, ##__VA_ARGS__)
^~~~~~~~~~~~~~~~
drivers/infiniband/hw/mlx4/mad.c:811:3: note: in expansion of macro 'pr_debug'
pr_debug("received MAD: port:%d slid:%d sqpn:%d "
^~~~~~~~
drivers/infiniband/hw/mlx4/mad.c:812:48: note: format string is defined here
"dlid_bits:%d dqpn:%d wc_flags:0x%x tid:%08x cls:%x mtd:%x atr:%x\n",
~~~^
%08llx
vim +57 drivers/infiniband/hw/mlx4/mlx4_ib.h
b1d8eb5a Jack Morgenstein 2012-06-19 53
b1d8eb5a Jack Morgenstein 2012-06-19 54 #ifdef pr_fmt
b1d8eb5a Jack Morgenstein 2012-06-19 55 #undef pr_fmt
b1d8eb5a Jack Morgenstein 2012-06-19 56 #endif
b1d8eb5a Jack Morgenstein 2012-06-19 @57 #define pr_fmt(fmt) "<" MLX4_IB_DRV_NAME "> %s: " fmt, __func__
b1d8eb5a Jack Morgenstein 2012-06-19 58
:::::: The code at line 57 was first introduced by commit
:::::: b1d8eb5a213640f1be98a90e73a241d15b70045c IB/mlx4: Add debug prints
:::::: TO: Jack Morgenstein <jackm@dev.mellanox.co.il>
:::::: CC: Roland Dreier <roland@purestorage.com>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 65199 bytes --]
prev parent reply other threads:[~2018-09-17 20:15 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-17 14:53 [PATCH 0/2] IB/mlx4: Enable debug print of SMPs and enhance output for MADs Håkon Bugge
2018-09-17 14:53 ` [PATCH 1/2] IB/mlx4: Enable debug print of SMPs Håkon Bugge
2018-09-17 17:52 ` Leon Romanovsky
2018-09-17 14:53 ` [PATCH 2/2] IB/mlx4: Add port and TID to MAD debug print Håkon Bugge
2018-09-17 16:05 ` kbuild test robot
2018-09-17 17:52 ` Leon Romanovsky
2018-09-17 20:15 ` kbuild test robot [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201809180427.HZdNM73B%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=Haakon.Bugge@oracle.com \
--cc=dledford@redhat.com \
--cc=jackm@dev.mellanox.co.il \
--cc=jgg@ziepe.ca \
--cc=kbuild-all@01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rdma@vger.kernel.org \
--cc=yishaih@mellanox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox