linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] PCI: endpoint: fix Kconfig indent style
@ 2022-08-15  2:50 Shunsuke Mie
  2022-08-15  3:00 ` Shunsuke Mie
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Shunsuke Mie @ 2022-08-15  2:50 UTC (permalink / raw)
  To: Jon Mason
  Cc: Kishon Vijay Abraham I, Lorenzo Pieralisi,
	Krzysztof Wilczyński, Bjorn Helgaas, Frank Li, Randy Dunlap,
	Ren Zhijie, Shunsuke Mie, linux-pci, linux-kernel

Change to follow the Kconfig style guide. This patch fixes to use tab
rather than space to indent, while help text is indented an additional
two spaces.

Fixes: e35f56bb0330 ("PCI: endpoint: Support NTB transfer between RC and EP")
Signed-off-by: Shunsuke Mie <mie@igel.co.jp>
---
 drivers/pci/endpoint/functions/Kconfig | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/drivers/pci/endpoint/functions/Kconfig b/drivers/pci/endpoint/functions/Kconfig
index 295a033ee9a2..9fd560886871 100644
--- a/drivers/pci/endpoint/functions/Kconfig
+++ b/drivers/pci/endpoint/functions/Kconfig
@@ -27,13 +27,13 @@ config PCI_EPF_NTB
 	  If in doubt, say "N" to disable Endpoint NTB driver.
 
 config PCI_EPF_VNTB
-        tristate "PCI Endpoint NTB driver"
-        depends on PCI_ENDPOINT
-        depends on NTB
-        select CONFIGFS_FS
-        help
-          Select this configuration option to enable the Non-Transparent
-          Bridge (NTB) driver for PCIe Endpoint. NTB driver implements NTB
-          between PCI Root Port and PCIe Endpoint.
+	tristate "PCI Endpoint NTB driver"
+	depends on PCI_ENDPOINT
+	depends on NTB
+	select CONFIGFS_FS
+	help
+	  Select this configuration option to enable the Non-Transparent
+	  Bridge (NTB) driver for PCIe Endpoint. NTB driver implements NTB
+	  between PCI Root Port and PCIe Endpoint.
 
-          If in doubt, say "N" to disable Endpoint NTB driver.
+	  If in doubt, say "N" to disable Endpoint NTB driver.
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [PATCH] PCI: endpoint: fix Kconfig indent style
  2022-08-15  2:50 [PATCH] PCI: endpoint: fix Kconfig indent style Shunsuke Mie
@ 2022-08-15  3:00 ` Shunsuke Mie
  2022-08-15 18:39   ` Bjorn Helgaas
  2022-08-15 18:41 ` Bjorn Helgaas
  2022-11-11 14:11 ` Lorenzo Pieralisi
  2 siblings, 1 reply; 7+ messages in thread
From: Shunsuke Mie @ 2022-08-15  3:00 UTC (permalink / raw)
  To: Jon Mason
  Cc: Kishon Vijay Abraham I, Lorenzo Pieralisi,
	Krzysztof Wilczyński, Bjorn Helgaas, Frank Li, Randy Dunlap,
	Ren Zhijie, linux-pci, Linux Kernel Mailing List

I have a question, not related to the patch. Could you please tell me
why the ntb related patches are managed outside the pci branch,
Helgaas's branch? It confused me a little to find the ntb branch.

Thanks,
Shunsuke

2022年8月15日(月) 11:50 Shunsuke Mie <mie@igel.co.jp>:
>
> Change to follow the Kconfig style guide. This patch fixes to use tab
> rather than space to indent, while help text is indented an additional
> two spaces.
>
> Fixes: e35f56bb0330 ("PCI: endpoint: Support NTB transfer between RC and EP")
> Signed-off-by: Shunsuke Mie <mie@igel.co.jp>
> ---
>  drivers/pci/endpoint/functions/Kconfig | 18 +++++++++---------
>  1 file changed, 9 insertions(+), 9 deletions(-)
>
> diff --git a/drivers/pci/endpoint/functions/Kconfig b/drivers/pci/endpoint/functions/Kconfig
> index 295a033ee9a2..9fd560886871 100644
> --- a/drivers/pci/endpoint/functions/Kconfig
> +++ b/drivers/pci/endpoint/functions/Kconfig
> @@ -27,13 +27,13 @@ config PCI_EPF_NTB
>           If in doubt, say "N" to disable Endpoint NTB driver.
>
>  config PCI_EPF_VNTB
> -        tristate "PCI Endpoint NTB driver"
> -        depends on PCI_ENDPOINT
> -        depends on NTB
> -        select CONFIGFS_FS
> -        help
> -          Select this configuration option to enable the Non-Transparent
> -          Bridge (NTB) driver for PCIe Endpoint. NTB driver implements NTB
> -          between PCI Root Port and PCIe Endpoint.
> +       tristate "PCI Endpoint NTB driver"
> +       depends on PCI_ENDPOINT
> +       depends on NTB
> +       select CONFIGFS_FS
> +       help
> +         Select this configuration option to enable the Non-Transparent
> +         Bridge (NTB) driver for PCIe Endpoint. NTB driver implements NTB
> +         between PCI Root Port and PCIe Endpoint.
>
> -          If in doubt, say "N" to disable Endpoint NTB driver.
> +         If in doubt, say "N" to disable Endpoint NTB driver.
> --
> 2.17.1
>

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] PCI: endpoint: fix Kconfig indent style
  2022-08-15  3:00 ` Shunsuke Mie
@ 2022-08-15 18:39   ` Bjorn Helgaas
  2022-08-16  1:31     ` Shunsuke Mie
  0 siblings, 1 reply; 7+ messages in thread
From: Bjorn Helgaas @ 2022-08-15 18:39 UTC (permalink / raw)
  To: Shunsuke Mie
  Cc: Jon Mason, Kishon Vijay Abraham I, Lorenzo Pieralisi,
	Krzysztof Wilczyński, Bjorn Helgaas, Frank Li, Randy Dunlap,
	Ren Zhijie, linux-pci, Linux Kernel Mailing List

On Mon, Aug 15, 2022 at 12:00:23PM +0900, Shunsuke Mie wrote:
> I have a question, not related to the patch. Could you please tell me
> why the ntb related patches are managed outside the pci branch,
> Helgaas's branch? It confused me a little to find the ntb branch.

My understanding is that the recent drivers/pci/endpoint/functions/*ntb.c
patches were merged by Jon because they had dependencies on other
patches in his tree.

In the future, I think most NTB-related patches in drivers/pci/ will
be merged via my PCI tree.

Bjorn

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] PCI: endpoint: fix Kconfig indent style
  2022-08-15  2:50 [PATCH] PCI: endpoint: fix Kconfig indent style Shunsuke Mie
  2022-08-15  3:00 ` Shunsuke Mie
@ 2022-08-15 18:41 ` Bjorn Helgaas
  2022-09-16  3:13   ` Shunsuke Mie
  2022-11-11 14:11 ` Lorenzo Pieralisi
  2 siblings, 1 reply; 7+ messages in thread
From: Bjorn Helgaas @ 2022-08-15 18:41 UTC (permalink / raw)
  To: Shunsuke Mie
  Cc: Jon Mason, Kishon Vijay Abraham I, Lorenzo Pieralisi,
	Krzysztof Wilczyński, Bjorn Helgaas, Frank Li, Randy Dunlap,
	Ren Zhijie, linux-pci, linux-kernel

On Mon, Aug 15, 2022 at 11:50:06AM +0900, Shunsuke Mie wrote:
> Change to follow the Kconfig style guide. This patch fixes to use tab
> rather than space to indent, while help text is indented an additional
> two spaces.
> 
> Fixes: e35f56bb0330 ("PCI: endpoint: Support NTB transfer between RC and EP")
> Signed-off-by: Shunsuke Mie <mie@igel.co.jp>

Thanks for doing this.  In the future make the subject line match the
history, e.g.,

  $ git log --oneline drivers/pci/endpoint/functions/Kconfig
  556a2c7dca33 ("PCI: endpoint: Fix Kconfig dependency")
  e35f56bb0330 ("PCI: endpoint: Support NTB transfer between RC and EP")
  8b821cf76150 ("PCI: endpoint: Add EP function driver to provide NTB functionality")
  98dbf5af4fdd ("PCI: endpoint: Select CRC32 to fix test build error")
  349e7a85b25f ("PCI: endpoint: functions: Add an EP function to test PCI")

Note that these are all capitalized ("Fix Kconfig indent style").

Lorenzo will likely fix this up when applying, so no need to repost
for this.

> ---
>  drivers/pci/endpoint/functions/Kconfig | 18 +++++++++---------
>  1 file changed, 9 insertions(+), 9 deletions(-)
> 
> diff --git a/drivers/pci/endpoint/functions/Kconfig b/drivers/pci/endpoint/functions/Kconfig
> index 295a033ee9a2..9fd560886871 100644
> --- a/drivers/pci/endpoint/functions/Kconfig
> +++ b/drivers/pci/endpoint/functions/Kconfig
> @@ -27,13 +27,13 @@ config PCI_EPF_NTB
>  	  If in doubt, say "N" to disable Endpoint NTB driver.
>  
>  config PCI_EPF_VNTB
> -        tristate "PCI Endpoint NTB driver"
> -        depends on PCI_ENDPOINT
> -        depends on NTB
> -        select CONFIGFS_FS
> -        help
> -          Select this configuration option to enable the Non-Transparent
> -          Bridge (NTB) driver for PCIe Endpoint. NTB driver implements NTB
> -          between PCI Root Port and PCIe Endpoint.
> +	tristate "PCI Endpoint NTB driver"
> +	depends on PCI_ENDPOINT
> +	depends on NTB
> +	select CONFIGFS_FS
> +	help
> +	  Select this configuration option to enable the Non-Transparent
> +	  Bridge (NTB) driver for PCIe Endpoint. NTB driver implements NTB
> +	  between PCI Root Port and PCIe Endpoint.
>  
> -          If in doubt, say "N" to disable Endpoint NTB driver.
> +	  If in doubt, say "N" to disable Endpoint NTB driver.
> -- 
> 2.17.1
> 

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] PCI: endpoint: fix Kconfig indent style
  2022-08-15 18:39   ` Bjorn Helgaas
@ 2022-08-16  1:31     ` Shunsuke Mie
  0 siblings, 0 replies; 7+ messages in thread
From: Shunsuke Mie @ 2022-08-16  1:31 UTC (permalink / raw)
  To: Bjorn Helgaas
  Cc: Jon Mason, Kishon Vijay Abraham I, Lorenzo Pieralisi,
	Krzysztof Wilczyński, Bjorn Helgaas, Frank Li, Randy Dunlap,
	Ren Zhijie, linux-pci, Linux Kernel Mailing List

Hi Bjom,

2022年8月16日(火) 3:39 Bjorn Helgaas <helgaas@kernel.org>:
>
> On Mon, Aug 15, 2022 at 12:00:23PM +0900, Shunsuke Mie wrote:
> > I have a question, not related to the patch. Could you please tell me
> > why the ntb related patches are managed outside the pci branch,
> > Helgaas's branch? It confused me a little to find the ntb branch.
>
> My understanding is that the recent drivers/pci/endpoint/functions/*ntb.c
> patches were merged by Jon because they had dependencies on other
> patches in his tree.
That makes sense.

> In the future, I think most NTB-related patches in drivers/pci/ will
> be merged via my PCI tree.
>
> Bjorn

Thanks,
Shunsuke

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] PCI: endpoint: fix Kconfig indent style
  2022-08-15 18:41 ` Bjorn Helgaas
@ 2022-09-16  3:13   ` Shunsuke Mie
  0 siblings, 0 replies; 7+ messages in thread
From: Shunsuke Mie @ 2022-09-16  3:13 UTC (permalink / raw)
  To: Bjorn Helgaas
  Cc: Jon Mason, Kishon Vijay Abraham I, Lorenzo Pieralisi,
	Krzysztof Wilczyński, Bjorn Helgaas, Frank Li, Randy Dunlap,
	Ren Zhijie, linux-pci, Linux Kernel Mailing List

Hi Lorenzo,

2022年8月16日(火) 3:41 Bjorn Helgaas <helgaas@kernel.org>:
>
> On Mon, Aug 15, 2022 at 11:50:06AM +0900, Shunsuke Mie wrote:
> > Change to follow the Kconfig style guide. This patch fixes to use tab
> > rather than space to indent, while help text is indented an additional
> > two spaces.
> >
> > Fixes: e35f56bb0330 ("PCI: endpoint: Support NTB transfer between RC and EP")
> > Signed-off-by: Shunsuke Mie <mie@igel.co.jp>
>
> Thanks for doing this.  In the future make the subject line match the
> history, e.g.,
>
>   $ git log --oneline drivers/pci/endpoint/functions/Kconfig
>   556a2c7dca33 ("PCI: endpoint: Fix Kconfig dependency")
>   e35f56bb0330 ("PCI: endpoint: Support NTB transfer between RC and EP")
>   8b821cf76150 ("PCI: endpoint: Add EP function driver to provide NTB functionality")
>   98dbf5af4fdd ("PCI: endpoint: Select CRC32 to fix test build error")
>   349e7a85b25f ("PCI: endpoint: functions: Add an EP function to test PCI")
>
> Note that these are all capitalized ("Fix Kconfig indent style").
>
> Lorenzo will likely fix this up when applying, so no need to repost
> for this.
This is a gentle ping.
>
> > ---
> >  drivers/pci/endpoint/functions/Kconfig | 18 +++++++++---------
> >  1 file changed, 9 insertions(+), 9 deletions(-)
> >
> > diff --git a/drivers/pci/endpoint/functions/Kconfig b/drivers/pci/endpoint/functions/Kconfig
> > index 295a033ee9a2..9fd560886871 100644
> > --- a/drivers/pci/endpoint/functions/Kconfig
> > +++ b/drivers/pci/endpoint/functions/Kconfig
> > @@ -27,13 +27,13 @@ config PCI_EPF_NTB
> >         If in doubt, say "N" to disable Endpoint NTB driver.
> >
> >  config PCI_EPF_VNTB
> > -        tristate "PCI Endpoint NTB driver"
> > -        depends on PCI_ENDPOINT
> > -        depends on NTB
> > -        select CONFIGFS_FS
> > -        help
> > -          Select this configuration option to enable the Non-Transparent
> > -          Bridge (NTB) driver for PCIe Endpoint. NTB driver implements NTB
> > -          between PCI Root Port and PCIe Endpoint.
> > +     tristate "PCI Endpoint NTB driver"
> > +     depends on PCI_ENDPOINT
> > +     depends on NTB
> > +     select CONFIGFS_FS
> > +     help
> > +       Select this configuration option to enable the Non-Transparent
> > +       Bridge (NTB) driver for PCIe Endpoint. NTB driver implements NTB
> > +       between PCI Root Port and PCIe Endpoint.
> >
> > -          If in doubt, say "N" to disable Endpoint NTB driver.
> > +       If in doubt, say "N" to disable Endpoint NTB driver.
> > --
> > 2.17.1
> >
thanks,
Shunsuke

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] PCI: endpoint: fix Kconfig indent style
  2022-08-15  2:50 [PATCH] PCI: endpoint: fix Kconfig indent style Shunsuke Mie
  2022-08-15  3:00 ` Shunsuke Mie
  2022-08-15 18:41 ` Bjorn Helgaas
@ 2022-11-11 14:11 ` Lorenzo Pieralisi
  2 siblings, 0 replies; 7+ messages in thread
From: Lorenzo Pieralisi @ 2022-11-11 14:11 UTC (permalink / raw)
  To: Shunsuke Mie, Jon Mason
  Cc: Lorenzo Pieralisi, Ren Zhijie, Randy Dunlap,
	Krzysztof Wilczyński, Bjorn Helgaas, linux-kernel,
	Kishon Vijay Abraham I, Frank Li, linux-pci

On Mon, 15 Aug 2022 11:50:06 +0900, Shunsuke Mie wrote:
> Change to follow the Kconfig style guide. This patch fixes to use tab
> rather than space to indent, while help text is indented an additional
> two spaces.
> 
> 

Applied to pci/misc, thanks!

[1/1] PCI: endpoint: fix Kconfig indent style
      https://git.kernel.org/lpieralisi/pci/c/2759ddf7535d

Thanks,
Lorenzo

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-11-11 14:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-15  2:50 [PATCH] PCI: endpoint: fix Kconfig indent style Shunsuke Mie
2022-08-15  3:00 ` Shunsuke Mie
2022-08-15 18:39   ` Bjorn Helgaas
2022-08-16  1:31     ` Shunsuke Mie
2022-08-15 18:41 ` Bjorn Helgaas
2022-09-16  3:13   ` Shunsuke Mie
2022-11-11 14:11 ` Lorenzo Pieralisi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).