PCI: Change capability register offsets to hex
authorBaruch Siach <baruch@tkos.co.il>
Thu, 18 Nov 2021 14:13:00 +0000 (16:13 +0200)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 15 Dec 2021 21:33:02 +0000 (15:33 -0600)
commitfb82437fdd8cd8ac41b1265e40a96668e33c3a8d
treef242e7fef3d5075c56e2852a632ff97f208a692b
parent4121485d271bd730537f613ce041e7ea659606a7
PCI: Change capability register offsets to hex

Convert offsets of capability registers from decimal to hex.  This matches
the spec documents and is less error prone.

[bhelgaas: also convert other capabilities with offsets > 8]
Suggested-by: Bjorn Helgaas <helgaas@kernel.org>
Link: https://lore.kernel.org/r/20210825160516.GA3576414@bjorn-Precision-5520/
Link: https://lore.kernel.org/r/aa067278adacbb59a675366052714081f4980f26.1637244780.git.baruch@tkos.co.il
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
include/uapi/linux/pci_regs.h