[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190920142444.GP5610@atomide.com>
Date: Fri, 20 Sep 2019 07:24:44 -0700
From: Tony Lindgren <tony@...mide.com>
To: Colin King <colin.king@...onical.com>
Cc: Linus Walleij <linus.walleij@...aro.org>,
YueHaibing <yuehaibing@...wei.com>, Nishanth Menon <nm@...com>,
Tero Kristo <t-kristo@...com>, linux-gpio@...r.kernel.org,
kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] pinctl: ti: iodelay: fix error checking on
pinctrl_count_index_with_args call
* Colin King <colin.king@...onical.com> [190920 12:21]:
> From: Colin Ian King <colin.king@...onical.com>
>
> The call to pinctrl_count_index_with_args checks for a -EINVAL return
> however this function calls pinctrl_get_list_and_count and this can
> return -ENOENT. Rather than check for a specific error, fix this by
> checking for any error return to catch the -ENOENT case.
Acked-by: Tony Lindgren <tony@...mide.com>
Powered by blists - more mailing lists