]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: hv: Remove unnecessary use of %hx
authorKrzysztof Wilczyński <kw@linux.com>
Fri, 8 Oct 2021 22:27:30 +0000 (22:27 +0000)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 12 Oct 2021 18:33:39 +0000 (13:33 -0500)
commit2b427b10719eb53be9b22feaa7e3bafb8f9b2877
tree77866036c9f15bbf18b15da916a8ff504cdf6e19
parentd63ea2c704431125b54e7abac18684cefbf29c6f
PCI: hv: Remove unnecessary use of %hx

"dom_req" is a u16 but varargs automatically promotes it to int, so there's
no point in using the %h modifier.  Drop it.

See deabdf7d821e ("docs: printk-formats: Stop encouraging use of
unnecessary %h[xudi] and %hh[xudi]") and 604b031cd3d7 ("checkpatch: add
warning for unnecessary use of %h[xudi] and %hh[xudi]").

Link: https://lore.kernel.org/r/20211008222732.2868493-1-kw@linux.com
Signed-off-by: Krzysztof Wilczyński <kw@linux.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/controller/pci-hyperv.c