Re: [PATCH 1/2] pinctrl: samsung: Use unsigned int for number of controller IO mem resources

From: Sylwester Nawrocki
Date: Tue Jun 20 2017 - 08:11:36 EST


On 06/15/2017 06:33 PM, Krzysztof Kozlowski wrote:
Number of IO memory resources cannot be negative obviously and the
driver depends silently on this (by iterating from 0 to
nr_ext_resources+1). Make this requirement explicit.

Signed-off-by: Krzysztof Kozlowski<krzk@xxxxxxxxxx>

Reviewed-by: Sylwester Nawrocki <s.nawrocki@xxxxxxxxxxx>

--
Regards,
Sylwester