Hi Christophe,
On 2017/1/24 4:50, Christophe JAILLET wrote:
If 'platform_device_alloc()' returns NULL, the current code returns
0, which means success. Return -ENOMEM instead.
Fixes: 846f0e9e74a0 ("ACPI/IORT: Add support for ARM SMMU platform devices
creation")
Signed-off-by: Christophe JAILL
If 'platform_device_alloc()' returns NULL, the current code returns
0, which means success. Return -ENOMEM instead.
Fixes: 846f0e9e74a0 ("ACPI/IORT: Add support for ARM SMMU platform devices
creation")
Signed-off-by: Christophe JAILLET
---
drivers/acpi/arm64/iort.c | 2 +-
1 file changed, 1 in
2 matches
Mail list logo