]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
x86/hyperv: Cosmetic changes in irqdomain.c for readability
authorMukesh R <mrathor@linux.microsoft.com>
Mon, 1 Jun 2026 22:51:16 +0000 (15:51 -0700)
committerWei Liu <wei.liu@kernel.org>
Mon, 8 Jun 2026 05:59:49 +0000 (22:59 -0700)
commit982cb55bec4a8aa73569dba4739a3de1ee2c25d9
tree3cc54c1c20e66904ee9e10e26f80d2e783105f9b
parentc14efec1452098ec97d30423e4120e4fa90e0663
x86/hyperv: Cosmetic changes in irqdomain.c for readability

Make cosmetic changes:
 o Rename struct pci_dev *dev to *pdev since there are cases of
   struct device *dev in the file and all over the kernel
 o Rename hv_build_pci_dev_id to hv_build_devid_type_pci in anticipation
   of building different types of device ids
 o Fix checkpatch.pl issues with return and extraneous printk
 o Replace spaces with tabs
 o Rename struct hv_devid *xxx to struct hv_devid *hv_devid given code
   paths involve many types of device ids
 o Fix indentation in a large if block by using goto.

There are no functional changes.

Reviewed-by: Souradeep Chakrabarti <schakrabarti@linux.microsoft.com>
Reviewed-by: Anirudh Rayabharam (Microsoft) <anirudh@anirudhrb.com>
Signed-off-by: Mukesh R <mrathor@linux.microsoft.com>
Signed-off-by: Wei Liu <wei.liu@kernel.org>
arch/x86/hyperv/irqdomain.c