diff options
author | Dexuan Cui | 2018-10-18 07:09:31 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2018-11-11 21:58:27 +0100 |
commit | 16d1342bc41ad417812f8a800a1799b5d1c026dc (patch) | |
tree | e461a18fecf650dfe23f78348e8306627d0d15db /drivers/hv | |
parent | hv_utils: update name in struct hv_driver util_drv (diff) | |
download | kernel-qcow2-linux-16d1342bc41ad417812f8a800a1799b5d1c026dc.tar.gz kernel-qcow2-linux-16d1342bc41ad417812f8a800a1799b5d1c026dc.tar.xz kernel-qcow2-linux-16d1342bc41ad417812f8a800a1799b5d1c026dc.zip |
Drivers: hv: kvp: Use %u to print U32
I didn't find a real issue. Let's just make it consistent with the
next "case REG_U64:" where %llu is used.
Signed-off-by: Dexuan Cui <decui@microsoft.com>
Cc: K. Y. Srinivasan <kys@microsoft.com>
Cc: Haiyang Zhang <haiyangz@microsoft.com>
Cc: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hv')
-rw-r--r-- | drivers/hv/hv_kvp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hv/hv_kvp.c b/drivers/hv/hv_kvp.c index a7513a8a8e37..2530e17939b1 100644 --- a/drivers/hv/hv_kvp.c +++ b/drivers/hv/hv_kvp.c @@ -430,7 +430,7 @@ kvp_send_key(struct work_struct *dummy) val32 = in_msg->body.kvp_set.data.value_u32; message->body.kvp_set.data.value_size = sprintf(message->body.kvp_set.data.value, - "%d", val32) + 1; + "%u", val32) + 1; break; case REG_U64: |