From: poza@codeaurora.org
To: Bjorn Helgaas <helgaas@kernel.org>
Cc: linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [RFC PATCH v1 0/9] PCI/portdrv: Squash into one file
Date: Mon, 11 Jun 2018 13:47:26 +0530 [thread overview]
Message-ID: <1ade8ebfbd2e02177d2f6afa3d805bb0@codeaurora.org> (raw)
In-Reply-To: <152848853199.14051.12670957565366345798.stgit@bhelgaas-glaptop.roam.corp.google.com>
On 2018-06-09 01:42, Bjorn Helgaas wrote:
> The portdrv code is scattered across several files, which makes it a
> bit of
> a hassle to browse. Consolidate it all in a single file.
>
Although I do not have any objection is merging the code,
It looks to me that the 2 files served purpose of keeping
portdrv device functionality in one file > portdrv_pci.c
while, port driver helper and exported service functions for services
are in > portdrv_core.c
If that was the original intention, it just looks okay to me.
But I am not sure the way the code is now, we can call is scattered,
and also I do not think by merging it, we can call it more organised.
although certainly it looks easier to browse as you are suggesting.
little less confusing.
> This is all pure code moves; no functional changes intended. Well,
> there
> is a function rename, but it shouldn't change any behavior.
>
> ---
>
> Bjorn Helgaas (9):
> PCI/portdrv: Rename resume_iter() to prevent name collision
> PCI/portdrv: Squash pieces of portdrv_core.c into portdrv_pci.c
> PCI/portdrv: Squash PM-related code into portdrv_pci.c
> PCI/portdrv: Squash device removal code into portdrv_pci.c
> PCI/portdrv: Squash lookup interfaces into portdrv_pci.c
> PCI/portdrv: Squash service driver registration into
> portdrv_pci.c
> PCI/portdrv: Move private definitions to portdrv_pci.c
> PCI/portdrv: Clean up whitespace
> PCI/portdrv: Rename portdrv_pci.c to portdrv.c
>
>
> drivers/pci/pcie/Makefile | 6
> drivers/pci/pcie/portdrv.c | 822
> +++++++++++++++++++++++++++++++++++++++
> drivers/pci/pcie/portdrv.h | 15 -
> drivers/pci/pcie/portdrv_core.c | 578 ---------------------------
> drivers/pci/pcie/portdrv_pci.c | 261 ------------
> 5 files changed, 824 insertions(+), 858 deletions(-)
> create mode 100644 drivers/pci/pcie/portdrv.c
> delete mode 100644 drivers/pci/pcie/portdrv_core.c
> delete mode 100644 drivers/pci/pcie/portdrv_pci.c
prev parent reply other threads:[~2018-06-11 8:17 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-08 20:12 [RFC PATCH v1 0/9] PCI/portdrv: Squash into one file Bjorn Helgaas
2018-06-08 20:12 ` [PATCH v1 1/9] PCI/portdrv: Rename resume_iter() to prevent name collision Bjorn Helgaas
2018-06-08 20:12 ` [PATCH v1 2/9] PCI/portdrv: Squash pieces of portdrv_core.c into portdrv_pci.c Bjorn Helgaas
2018-06-08 20:12 ` [PATCH v1 3/9] PCI/portdrv: Squash PM-related code " Bjorn Helgaas
2018-06-08 20:12 ` [PATCH v1 4/9] PCI/portdrv: Squash device removal " Bjorn Helgaas
2018-06-08 20:12 ` [PATCH v1 5/9] PCI/portdrv: Squash lookup interfaces " Bjorn Helgaas
2018-06-08 20:12 ` [PATCH v1 6/9] PCI/portdrv: Squash service driver registration " Bjorn Helgaas
2018-06-08 20:12 ` [PATCH v1 7/9] PCI/portdrv: Move private definitions to portdrv_pci.c Bjorn Helgaas
2018-06-08 20:12 ` [PATCH v1 8/9] PCI/portdrv: Clean up whitespace Bjorn Helgaas
2018-06-08 20:12 ` [PATCH v1 9/9] PCI/portdrv: Rename portdrv_pci.c to portdrv.c Bjorn Helgaas
[not found] ` <20180608203810.GA19717@wunner.de>
[not found] ` <CAErSpo68YimHfzyLC6CqukPGb=5di6oMFth1rG3Ub3ZwVha7=g@mail.gmail.com>
2018-06-10 16:23 ` [RFC PATCH v1 0/9] PCI/portdrv: Squash into one file Lukas Wunner
2018-06-11 13:24 ` Bjorn Helgaas
2018-06-11 8:17 ` poza [this message]
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=1ade8ebfbd2e02177d2f6afa3d805bb0@codeaurora.org \
--to=poza@codeaurora.org \
--cc=helgaas@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.