[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20231217030850.GA1150418@rocinante>
Date: Sun, 17 Dec 2023 12:08:50 +0900
From: Krzysztof WilczyĆski <kw@...ux.com>
To: Christophe JAILLET <christophe.jaillet@...adoo.fr>
Cc: Xiaowei Song <songxiaowei@...ilicon.com>,
Binghui Wang <wangbinghui@...ilicon.com>,
Lorenzo Pieralisi <lpieralisi@...nel.org>,
Rob Herring <robh@...nel.org>, Bjorn Helgaas <bhelgaas@...gle.com>,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org,
linux-pci@...r.kernel.org
Subject: Re: [PATCH v2] PCI: kirin: Use devm_kasprintf()
Hello,
> Use devm_kasprintf() instead of hand writing it.
> This saves the need of an intermediate buffer.
>
> There was also no reason to use the _const() version of devm_kstrdup().
> The string was known be not constant.
Applied to controller/kirin, thank you!
[1/1] PCI: kirin: Use devm_kasprintf() to dynamically allocate clock names
https://git.kernel.org/pci/pci/c/9f5077ef8f81
Krzysztof
Powered by blists - more mailing lists