platform_get_irq() can fail here and we must check its return value.
Signed-off-by: Arvind Yadav
---
changes in v2 :
Add failure case '<= 0' instead of '< 0'. If IRQ0 is not valid.
drivers/mfd/intel-lpss-acpi.c | 2 ++
1 file changed, 2 insertions(+)
platform_get_irq() can fail here and we must check its return value.
Signed-off-by: Arvind Yadav
---
changes in v2 :
Add failure case '<= 0' instead of '< 0'. If IRQ0 is not valid.
drivers/mfd/intel-lpss-acpi.c | 2 ++
1 file changed, 2 insertions(+)
diff --git
2 matches
Mail list logo