Thread (35 messages) 35 messages, 3 authors, 2020-09-20

Re: [PATCH v4 04/15] drivers/firmware/sdei: Avoid nested statements in sdei_init()

From: James Morse <james.morse@arm.com>
Date: 2020-09-18 16:13:20

Hi Gavin,

On 30/07/2020 02:45, Gavin Shan wrote:
In sdei_init(), the nested statements can be avoided by bailing
on error from platform_driver_register() or absent ACPI SDEI table.
With it, the code looks a bit more readable.
This is how the code ended up after the DT pattern was fixed out of existence.

Thanks for the cleanup.
Reviewed-by: James Morse <james.morse@arm.com>


Thanks,

James

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help