Re: [PATCH for-next] RDMA/core: Fix incorrect print format specifier

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

 



On Thu, Jun 10, 2021 at 07:40:32PM +0800, Weihang Li wrote:
> From: Wenpeng Liang <liangwenpeng@xxxxxxxxxx>
> 
> There are some '%u' for 'int' and '%d' for 'unsigend int', they should be
> fixed.

What tool found these? Mildly surprised normal gcc doesn't complain
 
> Signed-off-by: Wenpeng Liang <liangwenpeng@xxxxxxxxxx>
> Signed-off-by: Weihang Li <liweihang@xxxxxxxxxx>
> ---
>  drivers/infiniband/core/cache.c       | 10 +++++-----
>  drivers/infiniband/core/cm.c          |  2 +-
>  drivers/infiniband/core/iwpm_msg.c    | 22 +++++++++++-----------
>  drivers/infiniband/core/iwpm_util.c   |  4 ++--
>  drivers/infiniband/core/mad.c         | 10 +++++-----
>  drivers/infiniband/core/netlink.c     |  2 +-
>  drivers/infiniband/core/rw.c          |  8 ++++----
>  drivers/infiniband/core/security.c    |  2 +-
>  drivers/infiniband/core/sysfs.c       | 10 +++++-----
>  drivers/infiniband/core/ud_header.c   |  8 ++++----
>  drivers/infiniband/core/umem_odp.c    |  2 +-
>  drivers/infiniband/core/user_mad.c    |  4 ++--
>  drivers/infiniband/core/uverbs_cmd.c  |  2 +-
>  drivers/infiniband/core/uverbs_uapi.c |  2 +-
>  drivers/infiniband/core/verbs.c       |  2 +-
>  15 files changed, 45 insertions(+), 45 deletions(-)

Applied to for-next, thanks

Jason



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux