Re: [PATCH 1/3] soc: ti: Use list_first_entry_or_null() at appropriate places

From: Santosh Shilimkar
Date: Mon Oct 27 2014 - 12:34:04 EST


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@xxxxxxxxxx>
---

Thanks. I will pick the $subject and other two patches and queue
them up for next merge window.

Regards,
Santosh
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/