From: Bjorn Helgaas <helgaas@kernel.org>
To: guilherme giacomo simoes <trintaeoitogc@gmail.com>
Cc: scott@spiteful.org, bhelgaas@google.com, namcao@linutronix.de,
ngn@ngn.tf, linux-pci@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [RESEND PATCH] PCI: remove already resolved TODO
Date: Thu, 12 Dec 2024 10:36:29 -0600 [thread overview]
Message-ID: <20241212163629.GA3346193@bhelgaas> (raw)
In-Reply-To: <20241212110233.787581-1-trintaeoitogc@gmail.com>
On Thu, Dec 12, 2024 at 08:02:33AM -0300, guilherme giacomo simoes wrote:
> The get_power and set_power fields is used, and only hardware_test is
> really not used. So, after commit
> 5b036cada481a7a3bf30d333298f6d83dfb19bed ("PCI: cpcihp: Remove unused
> struct cpci_hp_controller_ops.hardware_test") this TODO is completed.
The entire 40-char SHA-1 is overkill; use 12:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/5.Posting.rst?id=v6.12#n204
I see a test and call for .get_power() and .set_power(), but no actual
implementations, so I think they can be removed as well, can't they?
If so, I'll wait for that removal before applying this patch.
> Signed-off-by: guilherme giacomo simoes <trintaeoitogc@gmail.com>
In
https://lore.kernel.org/r/20241014131917.324667-1-trintaeoitogc@gmail.com,
you capitalized your names. What's your preference? I'd like to use
your name correctly and consistently.
> ---
> drivers/pci/hotplug/TODO | 4 ----
> 1 file changed, 4 deletions(-)
>
> diff --git a/drivers/pci/hotplug/TODO b/drivers/pci/hotplug/TODO
> index 92e6e20e8595..7397374af171 100644
> --- a/drivers/pci/hotplug/TODO
> +++ b/drivers/pci/hotplug/TODO
> @@ -2,10 +2,6 @@ Contributions are solicited in particular to remedy the following issues:
>
> cpcihp:
>
> -* There are no implementations of the ->hardware_test, ->get_power and
> - ->set_power callbacks in struct cpci_hp_controller_ops. Why were they
> - introduced? Can they be removed from the struct?
> -
> * Returned code from pci_hp_add_bridge() is not checked.
>
> cpqphp:
> --
> 2.34.1
>
next prev parent reply other threads:[~2024-12-12 16:36 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-12 11:02 [RESEND PATCH] PCI: remove already resolved TODO guilherme giacomo simoes
2024-12-12 16:36 ` Bjorn Helgaas [this message]
2024-12-13 15:17 ` Guilherme Giacomo Simoes
2024-12-13 16:56 ` Bjorn Helgaas
2024-12-13 18:06 ` Guilherme Giacomo Simoes
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=20241212163629.GA3346193@bhelgaas \
--to=helgaas@kernel.org \
--cc=bhelgaas@google.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=namcao@linutronix.de \
--cc=ngn@ngn.tf \
--cc=scott@spiteful.org \
--cc=trintaeoitogc@gmail.com \
/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