[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <b9626e96-4bdb-e7e1-51e7-a99210de4c32@web.de>
Date: Sun, 19 Apr 2020 13:19:05 +0200
From: Markus Elfring <Markus.Elfring@....de>
To: Tang Bin <tangbin@...s.chinamobile.com>,
Shengju Zhang <zhangshengju@...s.chinamobile.com>
Cc: Lee Jones <lee.jones@...aro.org>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mfd: asic3: Add error checking return in
asic3_mfd_probe()
> In the function asic3_mfd_probe(), when get resource or irq
> failed, the value returned just detected and debug error message,
> but there were no error checking return. So add the right error
> checking return.
I suggest to improve the commit message.
Would you like to adjust the patch subject?
> And remove the redundant 'ret = 0'.
I propose to reconsider this interpretation of the source code here.
How do you think about to move the mentioned statement into an else branch
at the end?
Regards,
Markus
Powered by blists - more mailing lists