mbox series

[0/2] Fix inconsistent of format with argument type

Message ID 20200930010838.1266872-1-yebin10@huawei.com
Headers show
Series Fix inconsistent of format with argument type | expand

Message

Ye Bin Sept. 30, 2020, 1:08 a.m. UTC
Ye Bin (2):
  pktgen: Fix inconsistent of format with argument type in pktgen.c
  net-sysfs: Fix inconsistent of format with argument type in 
    net-sysfs.c

 net/core/net-sysfs.c |  4 ++--
 net/core/pktgen.c    | 10 +++++-----
 2 files changed, 7 insertions(+), 7 deletions(-)

Comments

David Miller Oct. 2, 2020, 1:45 a.m. UTC | #1
From: Ye Bin <yebin10@huawei.com>
Date: Wed, 30 Sep 2020 09:08:38 +0800

> Fix follow warnings:
> [net/core/net-sysfs.c:1161]: (warning) %u in format string (no. 1)
> 	requires 'unsigned int' but the argument type is 'int'.
> [net/core/net-sysfs.c:1162]: (warning) %u in format string (no. 1)
> 	requires 'unsigned int' but the argument type is 'int'.
> 
> Reported-by: Hulk Robot <hulkci@huawei.com>
> Signed-off-by: Ye Bin <yebin10@huawei.com>

Applied.