aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/tasks.py
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2017-01-17 16:36:23 +0300
committerWill Deacon <[email protected]>2017-02-06 18:59:52 +0000
commit5e5afa6cbdae5cc2ceda232a68a9ddc943d1d5ce (patch)
treeb8506031daa06c0be542d5362103e3f9783487f5 /scripts/gdb/linux/tasks.py
parent030abd8a5d33057524c6c11c28d3191f3b5c63f6 (diff)
ACPI/IORT: Fix the error return code in iort_add_smmu_platform_device()
The function iort_add_smmu_platform_device() accidentally returns 0 (ie PTR_ERR(pdev) where pdev == NULL) if platform_device_alloc() fails; fix the bug by returning a proper error value. Fixes: 846f0e9e74a0 ("ACPI/IORT: Add support for ARM SMMU platform devices creation") Acked-by: Hanjun Guo <[email protected]> Signed-off-by: Dan Carpenter <[email protected]> [[email protected]: improved commit log] Signed-off-by: Lorenzo Pieralisi <[email protected]> Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions