From: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
To: Cai Huoqing <caihuoqing@baidu.com>
Cc: Mark Greer <mgreer@animalcreek.com>,
linux-wireless@vger.kernel.org, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] nfc: trf7970a: Make use of the helper function dev_err_probe()
Date: Thu, 16 Sep 2021 21:27:56 +0200 [thread overview]
Message-ID: <21782e6d-038f-9009-ed8a-d65c2cdfb761@canonical.com> (raw)
In-Reply-To: <20210916153621.16576-1-caihuoqing@baidu.com>
On 16/09/2021 17:36, Cai Huoqing wrote:
> When possible use dev_err_probe help to properly deal with the
> PROBE_DEFER error, the benefit is that DEFER issue will be logged
> in the devices_deferred debugfs file.
> Using dev_err_probe() can reduce code size, and the error value
> gets printed.
>
> Signed-off-by: Cai Huoqing <caihuoqing@baidu.com>
> ---
> drivers/nfc/trf7970a.c | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
Please don't send patches one-by-one, but group them in series.
Same response - I think the preferred approach was Rob's dev_err removal.
P.S. You need to Cc all folks and all lists. The cc-list here is too short.
Best regards,
Krzysztof
prev parent reply other threads:[~2021-09-16 19:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-16 15:36 [PATCH] nfc: trf7970a: Make use of the helper function dev_err_probe() Cai Huoqing
2021-09-16 19:27 ` Krzysztof Kozlowski [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=21782e6d-038f-9009-ed8a-d65c2cdfb761@canonical.com \
--to=krzysztof.kozlowski@canonical.com \
--cc=caihuoqing@baidu.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=mgreer@animalcreek.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).