mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 1/6] staging: octeon: clean up the octeon ethernet driver
@ 2023-08-27 21:12 Oliver Crumrine
  2023-08-27 22:27 ` Nam Cao
  0 siblings, 1 reply; 4+ messages in thread
From: Oliver Crumrine @ 2023-08-27 21:12 UTC (permalink / raw)
  To: gregkh, colin.i.king, sumitraartsy, u.kleine-koenig, geert
  Cc: linux-kernel, linux-staging

Make the octeon ethernet driver better adhere to the
kernel coding standard

Signed-off-by: Oliver Crumrine <ozlinux@hotmail.com>
---
 drivers/staging/octeon/octeon-stubs.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/octeon/octeon-stubs.h b/drivers/staging/octeon/octeon-stubs.h
index 3e7b92cd2e35..9f269626b862 100644
--- a/drivers/staging/octeon/octeon-stubs.h
+++ b/drivers/staging/octeon/octeon-stubs.h
@@ -213,12 +213,12 @@ enum cvmx_fau_op_size {
 	CVMX_FAU_OP_SIZE_64 = 3
 };
 
-typedef enum {
+enum cvmx_spi_mode {
 	CVMX_SPI_MODE_UNKNOWN = 0,
 	CVMX_SPI_MODE_TX_HALFPLEX = 1,
 	CVMX_SPI_MODE_RX_HALFPLEX = 2,
 	CVMX_SPI_MODE_DUPLEX = 3
-} cvmx_spi_mode_t;
+};
 
 typedef enum {
 	CVMX_HELPER_INTERFACE_MODE_DISABLED,
@@ -1362,7 +1362,7 @@ static inline struct cvmx_wqe *cvmx_pow_work_request_sync(cvmx_pow_wait_t wait)
 }
 
 static inline int cvmx_spi_restart_interface(int interface,
-					cvmx_spi_mode_t mode, int timeout)
+					enum cvmx_spi_mode mode, int timeout)
 {
 	return 0;
 }
-- 
2.39.3


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

* Re: [PATCH 1/6] staging: octeon: clean up the octeon ethernet driver
  2023-08-27 21:12 [PATCH 1/6] staging: octeon: clean up the octeon ethernet driver Oliver Crumrine
@ 2023-08-27 22:27 ` Nam Cao
  2023-08-27 22:32   ` ozlinux
  0 siblings, 1 reply; 4+ messages in thread
From: Nam Cao @ 2023-08-27 22:27 UTC (permalink / raw)
  To: Oliver Crumrine
  Cc: gregkh, colin.i.king, sumitraartsy, u.kleine-koenig, geert,
	linux-kernel, linux-staging

On Sun, Aug 27, 2023 at 05:12:04PM -0400, Oliver Crumrine wrote:
> Make the octeon ethernet driver better adhere to the
> kernel coding standard
> 
> Signed-off-by: Oliver Crumrine <ozlinux@hotmail.com>

See this conversation about a similar mistake that you also made with your
patch series:
https://lore.kernel.org/linux-staging/ZOpq4t22iRXewekD@alolivei-thinkpadt480s.gru.csb/T/#t

Best regards,
Nam

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

* Re: [PATCH 1/6] staging: octeon: clean up the octeon ethernet driver
  2023-08-27 22:27 ` Nam Cao
@ 2023-08-27 22:32   ` ozlinux
  2023-08-27 22:47     ` Nam Cao
  0 siblings, 1 reply; 4+ messages in thread
From: ozlinux @ 2023-08-27 22:32 UTC (permalink / raw)
  To: Nam Cao
  Cc: gregkh, colin.i.king, sumitraartsy, u.kleine-koenig, geert,
	linux-kernel, linux-staging

On Mon, Aug 28, 2023 at 12:27:10AM +0200, Nam Cao wrote:
> On Sun, Aug 27, 2023 at 05:12:04PM -0400, Oliver Crumrine wrote:
> > Make the octeon ethernet driver better adhere to the
> > kernel coding standard
> > 
> > Signed-off-by: Oliver Crumrine <ozlinux@hotmail.com>
> 
> See this conversation about a similar mistake that you also made with your
> patch series:
> https://lore.kernel.org/linux-staging/ZOpq4t22iRXewekD@alolivei-thinkpadt480s.gru.csb/T/#t
> 
> Best regards,
> Nam

That is totally my bad. Should I leave it as is? Should I resend the
whole patch set? Should I resend just the last five, but attach them to
the first one? This is my first kernel patch, so I'll take any advice I
can get.

Thanks,
Oliver

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

* Re: [PATCH 1/6] staging: octeon: clean up the octeon ethernet driver
  2023-08-27 22:32   ` ozlinux
@ 2023-08-27 22:47     ` Nam Cao
  0 siblings, 0 replies; 4+ messages in thread
From: Nam Cao @ 2023-08-27 22:47 UTC (permalink / raw)
  To: ozlinux
  Cc: gregkh, colin.i.king, sumitraartsy, u.kleine-koenig, geert,
	linux-kernel, linux-staging

On Mon, Aug 28, 2023 at 12:32 AM <ozlinux@hotmail.com> wrote:
>
> On Mon, Aug 28, 2023 at 12:27:10AM +0200, Nam Cao wrote:
> > On Sun, Aug 27, 2023 at 05:12:04PM -0400, Oliver Crumrine wrote:
> > > Make the octeon ethernet driver better adhere to the
> > > kernel coding standard
> > >
> > > Signed-off-by: Oliver Crumrine <ozlinux@hotmail.com>
> >
> > See this conversation about a similar mistake that you also made with your
> > patch series:
> > https://lore.kernel.org/linux-staging/ZOpq4t22iRXewekD@alolivei-thinkpadt480s.gru.csb/T/#t
> >
> > Best regards,
> > Nam
>
> That is totally my bad. Should I leave it as is? Should I resend the
> whole patch set? Should I resend just the last five, but attach them to
> the first one? This is my first kernel patch, so I'll take any advice I
> can get.

You should resend everything. Don't forget to add the "v2" tag ;-)

Best regards,
Nam

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

end of thread, other threads:[~2023-08-27 22:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-27 21:12 [PATCH 1/6] staging: octeon: clean up the octeon ethernet driver Oliver Crumrine
2023-08-27 22:27 ` Nam Cao
2023-08-27 22:32   ` ozlinux
2023-08-27 22:47     ` Nam Cao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®