[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdajavmT20-w0Bahj_AvJRXQnfSiwkY-Vevm_dXD6VLaaw@mail.gmail.com>
Date: Mon, 15 Mar 2021 16:34:14 +0100
From: Linus Walleij <linus.walleij@...aro.org>
To: Jia-Ju Bai <baijiaju1990@...il.com>
Cc: Souptick Joarder <jrdr.linux@...il.com>,
Zheng Yongjun <zhengyongjun3@...wei.com>,
"Alexander A. Klimov" <grandmaster@...klimov.de>,
"open list:GPIO SUBSYSTEM" <linux-gpio@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] pinctrl: ti: fix error return code of ti_iodelay_probe()
On Sat, Mar 6, 2021 at 1:51 PM Jia-Ju Bai <baijiaju1990@...il.com> wrote:
> When ti_iodelay_pinconf_init_dev() fails, no error return code of
> ti_iodelay_probe() is assigned.
> To fix this bug, ret is assigned with the return value of
> ti_iodelay_pinconf_init_dev(), and then ret is checked.
>
> Reported-by: TOTE Robot <oslab@...nghua.edu.cn>
> Signed-off-by: Jia-Ju Bai <baijiaju1990@...il.com>
Patch applied!
Yours,
Linus Walleij
Powered by blists - more mailing lists