Messages in this thread | | | Date | Wed, 17 Jun 2020 09:07:03 -0300 | From | Jason Gunthorpe <> | Subject | Re: drivers/infiniband/hw/mlx5/qp.c:2904:3: note: in expansion of macro 'mlx5_ib_dbg' |
| |
On Wed, Jun 17, 2020 at 04:52:02PM +0800, kernel test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master > head: 69119673bd50b176ded34032fadd41530fb5af21 > commit: e383085c24255821e79d3c2aa6302d804b6a1c48 RDMA/mlx5: Set ECE options during QP create > date: 3 weeks ago > config: i386-allyesconfig (attached as .config) > compiler: gcc-9 (Debian 9.3.0-13) 9.3.0 > reproduce (this is a W=1 build): > git checkout e383085c24255821e79d3c2aa6302d804b6a1c48 > # save the attached .config to linux build tree > make W=1 ARCH=i386 > > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot <lkp@intel.com>
I think this should be fixed by:
commit 4f5747cf8e5947479a27a3597829e45d6d8d73e0 Author: Tom Seewald <tseewald@gmail.com> Date: Thu Jun 4 21:30:12 2020 -0500
RDMA/mlx5: Fix -Wformat warning in check_ucmd_data()
Variables of type size_t should use %zu rather than %lu [1]. The variables "inlen", "ucmd", "last", and "size" are all size_t, so use the correct format specifiers.
[1] https://www.kernel.org/doc/html/latest/core-api/printk-formats.html
Fixes: e383085c2425 ("RDMA/mlx5: Set ECE options during QP create") Link: https://lore.kernel.org/r/20200605023012.9527-1-tseewald@gmail.com Signed-off-by: Tom Seewald <tseewald@gmail.com> Acked-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Jason
| |