aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorMarek BehĂșn <kabel@kernel.org>2021-10-05 20:09:47 +0200
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>2021-10-07 14:27:58 +0100
commit67cb2a4c93499c2c22704998fd1fd2bc35194d8e (patch)
tree1c8ea20f1198d41335317d30680818b800df98ab /scripts/gdb/linux/utils.py
parent1fb95d7d3c7a926b002fe8a6bd27a1cb428b46dc (diff)
downloadlinux-67cb2a4c93499c2c22704998fd1fd2bc35194d8e.tar.gz
linux-67cb2a4c93499c2c22704998fd1fd2bc35194d8e.tar.bz2
linux-67cb2a4c93499c2c22704998fd1fd2bc35194d8e.zip
PCI: aardvark: Deduplicate code in advk_pcie_rd_conf()
Avoid code repetition in advk_pcie_rd_conf() by handling errors with goto jump, as is customary in kernel. Link: https://lore.kernel.org/r/20211005180952.6812-9-kabel@kernel.org Fixes: 43f5c77bcbd2 ("PCI: aardvark: Fix reporting CRS value") Signed-off-by: Marek BehĂșn <kabel@kernel.org> Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions