mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Krzysztof Kozlowski <krzk@kernel.org>
To: Frank Li <Frank.li@oss.nxp.com>,
	Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Cc: Bjorn Andersson <andersson@kernel.org>,
	Michael Turquette <mturquette@baylibre.com>,
	Stephen Boyd <sboyd@kernel.org>, Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Robert Foss <rfoss@kernel.org>, Todor Tomov <todor.too@gmail.com>,
	Mauro Carvalho Chehab <mchehab@kernel.org>,
	Konrad Dybcio <konradybcio@kernel.org>,
	Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>,
	Bryan O'Donoghue <bod@kernel.org>,
	Loic Poulain <loic.poulain@oss.qualcomm.com>,
	Vinod Koul <vkoul@kernel.org>,
	Neil Armstrong <neil.armstrong@linaro.org>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Kishon Vijay Abraham I <kishon@kernel.org>,
	Felipe Balbi <balbi@ti.com>,
	linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-media@vger.kernel.org, linux-phy@lists.infradead.org,
	stable@vger.kernel.org
Subject: Re: [PATCH v16 1/5] phy: core: Fix use-after-free in phy_get paths
Date: Mon, 14 Sep 2026 17:49:07 +0200	[thread overview]
Message-ID: <5abdc1b7-5fd9-4b1d-975b-eceb3ba57a82@kernel.org> (raw)
In-Reply-To: <aqf835LdzdNZR8rh@SMW015318>

On 14/09/2026 15:55, Frank Li wrote:
> On Mon, Sep 14, 2026 at 12:37:06PM +0100, Bryan O'Donoghue wrote:
>> On 11/09/2026 21:56, Frank Li wrote:
>>> suggested subject:
>>>
>>> phy: core: use phy_provider_mutex protect between _of_phy_get and try_module_get()
>>
>> A pattern I try to encourage and role-model is making fixes very explicit
>> and obvious - frequently I'll ask people to prefix their patches fixing
>> things with Fix.
> 
> Generally, I got feedback from most maintainer is
> 
> 	do something to fix ...

You got it wrong, I think.

> 
> "do something" become more important. the most maintaniner dont like simple
> said

"Do something" is not more important, because you repeat the diff.

> 	- fix build warning
> 	- simplify code
> 	- fix UAF
> 	- fix memory leask
> 

Exactly all above are "do something"...

> I think it is reasonable, git log --oneline ..., if just list
> 	"fix build warning", which is hard to locate patch because there
> are too much "fix build warning".

And "rename function to fix build warning" is not better, because rename
is obvious from the diff. Title should not say what you are doing, but
explain the nature of the bug being fixed, so "fix build warning due to
typo in foo bar" would be better.

Best regards,
Krzysztof

  reply	other threads:[~2026-09-14 15:49 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-06 11:52 [PATCH v16 0/5] Add phy_get_by_of_node and devm helper Bryan O'Donoghue
2026-09-06 11:52 ` [PATCH v16 1/5] phy: core: Fix use-after-free in phy_get paths Bryan O'Donoghue
2026-09-11 20:56   ` Frank Li
2026-09-14 11:37     ` Bryan O'Donoghue
2026-09-14 13:55       ` Frank Li
2026-09-14 15:49         ` Krzysztof Kozlowski [this message]
2026-09-06 11:52 ` [PATCH v16 2/5] phy: core: Add phy_get_by_of_node() Bryan O'Donoghue
2026-09-06 11:52 ` [PATCH v16 3/5] phy: core: Add devm_phy_get_by_of_node() Bryan O'Donoghue
2026-09-11 21:09   ` Frank Li
2026-09-14 11:03     ` Bryan O'Donoghue
2026-09-06 11:52 ` [PATCH v16 4/5] media: qcom: camss: Add support for PHY API devices Bryan O'Donoghue
2026-09-06 11:52 ` [PATCH v16 5/5] media: qcom: camss: Use data-lanes starting at 1 for new CSIPHY mode Bryan O'Donoghue
2026-09-06 13:03   ` Nihal Kumar Gupta

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=5abdc1b7-5fd9-4b1d-975b-eceb3ba57a82@kernel.org \
    --to=krzk@kernel.org \
    --cc=Frank.li@oss.nxp.com \
    --cc=andersson@kernel.org \
    --cc=balbi@ti.com \
    --cc=bod@kernel.org \
    --cc=bryan.odonoghue@linaro.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=kishon@kernel.org \
    --cc=konradybcio@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=linux-phy@lists.infradead.org \
    --cc=loic.poulain@oss.qualcomm.com \
    --cc=mchehab@kernel.org \
    --cc=mturquette@baylibre.com \
    --cc=neil.armstrong@linaro.org \
    --cc=rfoss@kernel.org \
    --cc=robh@kernel.org \
    --cc=sboyd@kernel.org \
    --cc=stable@vger.kernel.org \
    --cc=todor.too@gmail.com \
    --cc=vkoul@kernel.org \
    --cc=vladimir.zapolskiy@linaro.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

all inboxes | Powered by JetHome®