linux-staging.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [PATCH] staging: most: fix line ending with '('
@ 2023-03-22 14:35 Khadija Kamran
  2023-03-23  4:53 ` Greg Kroah-Hartman
  0 siblings, 1 reply; 7+ messages in thread
From: Khadija Kamran @ 2023-03-22 14:35 UTC (permalink / raw)
  To: outreachy
  Cc: Parthiban Veerasooran, Christian Gromm, Greg Kroah-Hartman,
	linux-staging, linux-kernel

Splitting function header to multiple lines because of 80 characters per
line limit, results in ending the function call line with '('.
This leads to CHECK reported by checkpatch.pl

Move the first parameter right after the '(' in the function call line.
Align the rest of the parameters to the opening parenthesis.

Signed-off-by: Khadija Kamran <kamrankhadijadj@gmail.com>
---
 drivers/staging/most/dim2/hal.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/most/dim2/hal.c b/drivers/staging/most/dim2/hal.c
index a5d40b5b138a..6abe3ab2b2cf 100644
--- a/drivers/staging/most/dim2/hal.c
+++ b/drivers/staging/most/dim2/hal.c
@@ -346,9 +346,8 @@ static void dim2_clear_ctram(void)
 		dim2_clear_ctr(ctr_addr);
 }

-static void dim2_configure_channel(
-	u8 ch_addr, u8 type, u8 is_tx, u16 dbr_address, u16 hw_buffer_size,
-	u16 packet_length)
+static void dim2_configure_channel(u8 ch_addr, u8 type, u8 is_tx, u16 dbr_address,
+				   u16 hw_buffer_size, u16 packet_length)
 {
 	dim2_configure_cdt(ch_addr, dbr_address, hw_buffer_size, packet_length);
 	dim2_configure_cat(MLB_CAT, ch_addr, type, is_tx ? 1 : 0);
--
2.34.1


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

* Re: [PATCH] staging: most: fix line ending with '('
  2023-03-22 14:35 [PATCH] staging: most: fix line ending with '(' Khadija Kamran
@ 2023-03-23  4:53 ` Greg Kroah-Hartman
  2023-03-23 12:08   ` Khadija Kamran
  2023-03-23 15:17   ` Khadija Kamran
  0 siblings, 2 replies; 7+ messages in thread
From: Greg Kroah-Hartman @ 2023-03-23  4:53 UTC (permalink / raw)
  To: Khadija Kamran
  Cc: outreachy, Parthiban Veerasooran, Christian Gromm, linux-staging,
	linux-kernel

On Wed, Mar 22, 2023 at 07:35:38PM +0500, Khadija Kamran wrote:
> Splitting function header to multiple lines because of 80 characters per
> line limit, results in ending the function call line with '('.
> This leads to CHECK reported by checkpatch.pl
> 
> Move the first parameter right after the '(' in the function call line.
> Align the rest of the parameters to the opening parenthesis.
> 
> Signed-off-by: Khadija Kamran <kamrankhadijadj@gmail.com>
> ---
>  drivers/staging/most/dim2/hal.c | 5 ++---
>  1 file changed, 2 insertions(+), 3 deletions(-)

You have 2 patches here with identical subject lines, yet they do
different things :(

I've dropped all of your pending patches now for the most driver as I'm
totally confused.  Please resend them all as a proper patch series with
updated subject lines.

thanks,

greg k-h

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

* Re: [PATCH] staging: most: fix line ending with '('
  2023-03-23  4:53 ` Greg Kroah-Hartman
@ 2023-03-23 12:08   ` Khadija Kamran
  2023-03-23 15:17   ` Khadija Kamran
  1 sibling, 0 replies; 7+ messages in thread
From: Khadija Kamran @ 2023-03-23 12:08 UTC (permalink / raw)
  To: Greg Kroah-Hartman
  Cc: outreachy, Parthiban Veerasooran, Christian Gromm, linux-staging,
	linux-kernel

On Thu, Mar 23, 2023 at 05:53:19AM +0100, Greg Kroah-Hartman wrote:
> On Wed, Mar 22, 2023 at 07:35:38PM +0500, Khadija Kamran wrote:
> > Splitting function header to multiple lines because of 80 characters per
> > line limit, results in ending the function call line with '('.
> > This leads to CHECK reported by checkpatch.pl
> > 
> > Move the first parameter right after the '(' in the function call line.
> > Align the rest of the parameters to the opening parenthesis.
> > 
> > Signed-off-by: Khadija Kamran <kamrankhadijadj@gmail.com>
> > ---
> >  drivers/staging/most/dim2/hal.c | 5 ++---
> >  1 file changed, 2 insertions(+), 3 deletions(-)
> 
> You have 2 patches here with identical subject lines, yet they do
> different things :(
> 
> I've dropped all of your pending patches now for the most driver as I'm
> totally confused.  Please resend them all as a proper patch series with
> updated subject lines.
>

Hey Greg,

Okay understood. Sorry for the inconvenience.

Regards,
Khadija

> thanks,
> 
> greg k-h

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

* Re: [PATCH] staging: most: fix line ending with '('
  2023-03-23  4:53 ` Greg Kroah-Hartman
  2023-03-23 12:08   ` Khadija Kamran
@ 2023-03-23 15:17   ` Khadija Kamran
  2023-03-23 15:28     ` Greg Kroah-Hartman
  1 sibling, 1 reply; 7+ messages in thread
From: Khadija Kamran @ 2023-03-23 15:17 UTC (permalink / raw)
  To: Greg Kroah-Hartman
  Cc: outreachy, Parthiban Veerasooran, Christian Gromm, linux-staging,
	linux-kernel

On Thu, Mar 23, 2023 at 05:53:19AM +0100, Greg Kroah-Hartman wrote:
> On Wed, Mar 22, 2023 at 07:35:38PM +0500, Khadija Kamran wrote:
> > Splitting function header to multiple lines because of 80 characters per
> > line limit, results in ending the function call line with '('.
> > This leads to CHECK reported by checkpatch.pl
> > 
> > Move the first parameter right after the '(' in the function call line.
> > Align the rest of the parameters to the opening parenthesis.
> > 
> > Signed-off-by: Khadija Kamran <kamrankhadijadj@gmail.com>
> > ---
> >  drivers/staging/most/dim2/hal.c | 5 ++---
> >  1 file changed, 2 insertions(+), 3 deletions(-)
> 
> You have 2 patches here with identical subject lines, yet they do
> different things :(
>
> I've dropped all of your pending patches now for the most driver as I'm
> totally confused.  Please resend them all as a proper patch series with
> updated subject lines.
>

Hey Greg!

I took your message literally and sent a RESEND PATCH. I should've sent
a new version of the patch instead.

Would it be okay if I send patch revisions with changed subjects now?

My apologies for the inconvenience.

Regards,
Khadija

> thanks,
> 
> greg k-h

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

* Re: [PATCH] staging: most: fix line ending with '('
  2023-03-23 15:17   ` Khadija Kamran
@ 2023-03-23 15:28     ` Greg Kroah-Hartman
  2023-03-23 21:11       ` Khadija Kamran
  0 siblings, 1 reply; 7+ messages in thread
From: Greg Kroah-Hartman @ 2023-03-23 15:28 UTC (permalink / raw)
  To: Khadija Kamran
  Cc: outreachy, Parthiban Veerasooran, Christian Gromm, linux-staging,
	linux-kernel

On Thu, Mar 23, 2023 at 08:17:59PM +0500, Khadija Kamran wrote:
> On Thu, Mar 23, 2023 at 05:53:19AM +0100, Greg Kroah-Hartman wrote:
> > On Wed, Mar 22, 2023 at 07:35:38PM +0500, Khadija Kamran wrote:
> > > Splitting function header to multiple lines because of 80 characters per
> > > line limit, results in ending the function call line with '('.
> > > This leads to CHECK reported by checkpatch.pl
> > > 
> > > Move the first parameter right after the '(' in the function call line.
> > > Align the rest of the parameters to the opening parenthesis.
> > > 
> > > Signed-off-by: Khadija Kamran <kamrankhadijadj@gmail.com>
> > > ---
> > >  drivers/staging/most/dim2/hal.c | 5 ++---
> > >  1 file changed, 2 insertions(+), 3 deletions(-)
> > 
> > You have 2 patches here with identical subject lines, yet they do
> > different things :(
> >
> > I've dropped all of your pending patches now for the most driver as I'm
> > totally confused.  Please resend them all as a proper patch series with
> > updated subject lines.
> >
> 
> Hey Greg!
> 
> I took your message literally and sent a RESEND PATCH. I should've sent
> a new version of the patch instead.

What message?

Remember, we get hundreds of patches a day to review and have a short
term memory of a squirrel..  make it obvious what is happening when
resending or sending a new version, otherwise we are confused.

> Would it be okay if I send patch revisions with changed subjects now?

What would you want to see if you were on the recieving end of this
patch to know what to do with it?

thanks,

greg k-h

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

* Re: [PATCH] staging: most: fix line ending with '('
  2023-03-23 15:28     ` Greg Kroah-Hartman
@ 2023-03-23 21:11       ` Khadija Kamran
  0 siblings, 0 replies; 7+ messages in thread
From: Khadija Kamran @ 2023-03-23 21:11 UTC (permalink / raw)
  To: Greg Kroah-Hartman
  Cc: outreachy, Parthiban Veerasooran, Christian Gromm, linux-staging,
	linux-kernel

On Thu, Mar 23, 2023 at 04:28:41PM +0100, Greg Kroah-Hartman wrote:
> On Thu, Mar 23, 2023 at 08:17:59PM +0500, Khadija Kamran wrote:
> > On Thu, Mar 23, 2023 at 05:53:19AM +0100, Greg Kroah-Hartman wrote:
> > > On Wed, Mar 22, 2023 at 07:35:38PM +0500, Khadija Kamran wrote:
> > > > Splitting function header to multiple lines because of 80 characters per
> > > > line limit, results in ending the function call line with '('.
> > > > This leads to CHECK reported by checkpatch.pl
> > > > 
> > > > Move the first parameter right after the '(' in the function call line.
> > > > Align the rest of the parameters to the opening parenthesis.
> > > > 
> > > > Signed-off-by: Khadija Kamran <kamrankhadijadj@gmail.com>
> > > > ---
> > > >  drivers/staging/most/dim2/hal.c | 5 ++---
> > > >  1 file changed, 2 insertions(+), 3 deletions(-)
> > > 
> > > You have 2 patches here with identical subject lines, yet they do
> > > different things :(
> > >
> > > I've dropped all of your pending patches now for the most driver as I'm
> > > totally confused.  Please resend them all as a proper patch series with
> > > updated subject lines.
> > >
> > 
> > Hey Greg!
> > 
> > I took your message literally and sent a RESEND PATCH. I should've sent
> > a new version of the patch instead.
> 
> What message?
> 
> Remember, we get hundreds of patches a day to review and have a short
> term memory of a squirrel..  make it obvious what is happening when
> resending or sending a new version, otherwise we are confused.
>

Okay noted. I apologize for my mistakes.

Thank you for your time.

> > Would it be okay if I send patch revisions with changed subjects now?
> 
> What would you want to see if you were on the recieving end of this
> patch to know what to do with it?
> 

I have sent revisions with an explanation about why the patches are
being sent again and what changes are made.

I hope I am not making any mistakes.

Regards,
Khadija

> thanks,
> 
> greg k-h

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

* [PATCH] staging: most: fix line ending with '('
@ 2023-03-22 14:54 Khadija Kamran
  0 siblings, 0 replies; 7+ messages in thread
From: Khadija Kamran @ 2023-03-22 14:54 UTC (permalink / raw)
  To: outreachy
  Cc: Parthiban Veerasooran, Christian Gromm, Greg Kroah-Hartman,
	linux-staging, linux-kernel

Splitting function header to multiple lines because of 80 characters per
line limit, results in ending the function call line with '('.
This leads to CHECK reported by checkpatch.pl

Move the function parameters right after the '(' in the function call
line.

Signed-off-by: Khadija Kamran <kamrankhadijadj@gmail.com>
---
 drivers/staging/most/video/video.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/staging/most/video/video.c b/drivers/staging/most/video/video.c
index ffa97ef21ea5..6254a5df2502 100644
--- a/drivers/staging/most/video/video.c
+++ b/drivers/staging/most/video/video.c
@@ -365,8 +365,7 @@ static const struct video_device comp_videodev_template = {

 /**************************************************************************/

-static struct most_video_dev *get_comp_dev(
-	struct most_interface *iface, int channel_idx)
+static struct most_video_dev *get_comp_dev(struct most_interface *iface, int channel_idx)
 {
 	struct most_video_dev *mdev;
 	unsigned long flags;
--
2.34.1


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

end of thread, other threads:[~2023-03-23 21:11 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-22 14:35 [PATCH] staging: most: fix line ending with '(' Khadija Kamran
2023-03-23  4:53 ` Greg Kroah-Hartman
2023-03-23 12:08   ` Khadija Kamran
2023-03-23 15:17   ` Khadija Kamran
2023-03-23 15:28     ` Greg Kroah-Hartman
2023-03-23 21:11       ` Khadija Kamran
2023-03-22 14:54 Khadija Kamran

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).