[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20241224162117.000046e7@huawei.com>
Date: Tue, 24 Dec 2024 16:21:17 +0000
From: Jonathan Cameron <Jonathan.Cameron@...wei.com>
To: Zijun Hu <zijun_hu@...oud.com>
CC: Greg Kroah-Hartman <gregkh@...uxfoundation.org>, "Rafael J. Wysocki"
<rafael@...nel.org>, Tejun Heo <tj@...nel.org>, Josef Bacik
<josef@...icpanda.com>, Jens Axboe <axboe@...nel.dk>, Boris Burkov
<boris@....io>, Davidlohr Bueso <dave@...olabs.net>, Dave Jiang
<dave.jiang@...el.com>, Alison Schofield <alison.schofield@...el.com>, Vishal
Verma <vishal.l.verma@...el.com>, Ira Weiny <ira.weiny@...el.com>, Dan
Williams <dan.j.williams@...el.com>, <linux-kernel@...r.kernel.org>,
<cgroups@...r.kernel.org>, <linux-block@...r.kernel.org>,
<linux-cxl@...r.kernel.org>, Zijun Hu <quic_zijuhu@...cinc.com>
Subject: Re: [PATCH v4 8/8] driver core: Move 2 one line device finding APIs
to header
On Tue, 24 Dec 2024 20:33:44 +0800
Zijun Hu <zijun_hu@...oud.com> wrote:
> On 2024/12/24 04:11, Jonathan Cameron wrote:
> >> From: Zijun Hu <quic_zijuhu@...cinc.com>
> >>
> >> The following device finding APIs only have one line code in function body
> >> device_find_child_by_name()
> >> device_find_any_child()
> >>
> >> Move them to header as static inline function.
> > Why drop the docs?
> >
> thank you Jonathan for code review.
>
> will add these comments back in next revision.
>
> i do not notice the comments include important info, and think the API
> name prompts what the API does, so remove the comments. my mistake.
I don't mind that much, just that you should state your reasoning in the
patch description.
Jonathan
>
> >> Signed-off-by: Zijun Hu <quic_zijuhu@...cinc.com>
>
>
Powered by blists - more mailing lists