[PATCH 1/3] soc: ti: Use list_first_entry_or_null() at appropriate places
Santosh Shilimkar
santosh.shilimkar at gmail.com
Mon Oct 27 09:34:25 PDT 2014
Alex,
On 10/26/2014 02:37 AM, Axel Lin wrote:
> Use list_first_entry_or_null() for first_region() and first_queue_range().
>
> list_first_entry() expects the list is not empty, so first_region() and
> first_queue_range() never return NULL.
> Thus use list_first_entry_or_null() instead.
>
> Signed-off-by: Axel Lin <axel.lin at ingics.com>
> ---
Thanks. I will pick the $subject and other two patches and queue
them up for next merge window.
Regards,
Santosh
More information about the linux-arm-kernel
mailing list