[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20241121201417.GA767990@rocinante>
Date: Fri, 22 Nov 2024 05:14:17 +0900
From: Krzysztof Wilczyński <kw@...ux.com>
To: Manivannan Sadhasivam <manivannan.sadhasivam@...aro.org>
Cc: Bjorn Helgaas <helgaas@...nel.org>, Bjorn Helgaas <bhelgaas@...gle.com>,
Bartosz Golaszewski <bartosz.golaszewski@...aro.org>,
Bartosz Golaszewski <brgl@...ev.pl>, linux-pci@...r.kernel.org,
linux-kernel@...r.kernel.org,
Dmitry Baryshkov <dmitry.baryshkov@...aro.org>,
Johan Hovold <johan+linaro@...nel.org>,
Abel Vesa <abel.vesa@...aro.org>,
Stephan Gerhold <stephan.gerhold@...aro.org>,
Srinivas Kandagatla <srinivas.kandagatla@...aro.org>,
Bjorn Andersson <bjorn.andersson@....qualcomm.com>,
stable+noautosel@...nel.org,
Krishna chaitanya chundru <quic_krichai@...cinc.com>
Subject: Re: [PATCH v2 3/5] PCI/pwrctl: Ensure that the pwrctl drivers are
probed before the PCI client drivers
On 24-11-22 03:28:24, Krzysztof Wilczyński wrote:
> Hello,
>
> [...]
> > > - pci_err(dev, "failed to add device link between %s and %s\n",
> > > - dev_name(&dev->dev), pdev->name);
> > > + pci_err(dev, "failed to add device link to power control device %s\n",
> >
> > Maybe use 'pwrctrl' instead of 'power control'?
>
> Changed, thank you! This makes the verbiage consistent with other
> messages, code comments, etc.
... this one might have slip into the after merge window.
Also, Bjorn and I, we had a conversation about the correct wording here in
user-facing messages.
The "power control" vs "pwrctrl", etc. There is a single existing
precedent within the code base for the "pwrctrl" use per:
55: ret = devm_pci_pwrctrl_device_set_ready(dev, &data->ctx);
56- if (ret)
57- return dev_err_probe(dev, ret,
58: "Failed to register the pwrctrl wrapper\n");
So, we should be consistent within the documentation and anything user-facing
around what wording we use, I believe. Whichever it will be in the end.
Krzysztof
Powered by blists - more mailing lists