[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <93e67699-a0c4-7fe7-6c38-aeff68a3881f@canonical.com>
Date: Tue, 25 May 2021 07:42:30 -0400
From: Krzysztof Kozlowski <krzysztof.kozlowski@...onical.com>
To: samirweng1979 <samirweng1979@....com>, davem@...emloft.net
Cc: linux-nfc@...ts.01.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org,
wengjianfeng <wengjianfeng@...ong.com>
Subject: Re: [PATCH] nfc: st-nci: remove unnecessary labels
On 24/05/2021 23:12, samirweng1979 wrote:
> From: wengjianfeng <wengjianfeng@...ong.com>
>
> In some functions, use goto exit statement, which just return r.
This is not parseable. Imperative "use goto" suggest that it's the
change you make.
> and exit label only used once in each funciton, so we use return
Every sentence in English starts with capital letter. They however
cannto start with "and" because it joins two parts of sentences.
s/funciton/use the spellcheck please/
The code looks good, but please spend some time to make the description
understandable. You can also make it very short, to avoid complicated
sentences. Look for examples in Linux kernel how other people wrote it.
Best regards,
Krzysztof
Powered by blists - more mailing lists