summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorLorenzo Pieralisi <lorenzo.pieralisi@arm.com>2019-07-22 19:14:33 +0300
committerWill Deacon <will@kernel.org>2019-08-05 13:06:34 +0300
commit3e77eeb7a27fc3dcf6b65e7ee01ac00bf5d2b4fb (patch)
tree50a8974948efcb06aca18e192477afa4f4cdf2bf /arch
parentb717480f5415201286cc9b5e3244513f54a327c4 (diff)
downloadlinux-3e77eeb7a27fc3dcf6b65e7ee01ac00bf5d2b4fb.tar.xz
ACPI/IORT: Rename arm_smmu_v3_set_proximity() 'node' local variable
Commit 36a2ba07757d ("ACPI/IORT: Reject platform device creation on NUMA node mapping failure") introduced a local variable 'node' in arm_smmu_v3_set_proximity() that shadows the struct acpi_iort_node pointer function parameter. Execution was unaffected but it is prone to errors and can lead to subtle bugs. Rename the local variable to prevent any issue. Reviewed-by: Hanjun Guo <guohanjun@huawei.com> Reported-by: Will Deacon <will@kernel.org> Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Cc: Will Deacon <will@kernel.org> Cc: Hanjun Guo <guohanjun@huawei.com> Cc: Sudeep Holla <sudeep.holla@arm.com> Cc: Catalin Marinas <catalin.marinas@arm.com> Cc: Robin Murphy <robin.murphy@arm.com> Cc: Kefeng Wang <wangkefeng.wang@huawei.com> Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions