Skip to contentSkip to conversation

staging: comedi: comedi_fops: fix alignment to match open parenthesis

PATCH Superseded Comfort Oyewole 4 participants 5 messages Oct 18 – Oct 20

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: comedi: comedi_fops: fix alignment to match open parenthesis

Fix the alignment issue in order to adhere to kernel coding style

---
 drivers/comedi/comedi_fops.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
drivers/comedi/comedi_fops.c +3 -1
index c09bbe04be6c..efa6dc6d40a6 100644
@@ -2648,7 +2648,9 @@ static __poll_t comedi_poll(struct file *file, poll_table *wait)
 }
 
 static unsigned int comedi_buf_copy_to_user(struct comedi_subdevice *s,
-	void __user *dest, unsigned int src_offset, unsigned int n)
+					    void __user *dest,
+					    unsigned int src_offset,
+					    unsigned int n)
 {
 	struct comedi_buf_map *bm = s->async->buf_map;
 	struct comedi_buf_page *buf_page_list = bm->page_list;
Signature · 1 line
2.53.0
maintainer
#1 lore raw
Quoted 6 lines · Comfort Oyewole

Fix the alignment issue in order to adhere to kernel coding style

---
 drivers/comedi/comedi_fops.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

This is not a staging driver, why is staging in the subject line and the cc list?

thanks,

greg k-h

#2 lore raw

-----Original Message-----
From: Greg KH <[email protected]>
To: Comfort Oyewole <[email protected]>
Cc: [email protected], [email protected], [email protected], [email protected], [email protected]
Subject: Re: [PATCH] staging: comedi: comedi_fops: fix alignment to match open parenthesis
Date: 10/18/2026 02:30:05 PM

Quoted 6 lines · Comfort Oyewole

Fix the alignment issue in order to adhere to kernel coding style

---
 drivers/comedi/comedi_fops.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

This is not a staging driver, why is staging in the subject line and the
cc list?
Sorry, I made a mistake while working on my first patch. I just realised the staging drivers are located under drivers/staging dir. Is there anything I can do to correct this?

thanks,

greg k-h

#3 lore raw
Quoted 22 lines · Comfort Oyewole

-----Original Message-----
From: Greg KH <[email protected]>
To: Comfort Oyewole <[email protected]>
Cc: [email protected], [email protected], [email protected], [email protected], [email protected]
Subject: Re: [PATCH] staging: comedi: comedi_fops: fix alignment to match open parenthesis
Date: 10/18/2026 02:30:05 PM

Quoted 7 lines · Comfort Oyewole

Fix the alignment issue in order to adhere to kernel coding style

---
drivers/comedi/comedi_fops.c | 4 +++-

1 file changed, 3 insertions(+), 1 deletion(-)
Quoted 4 lines

This is not a staging driver, why is staging in the subject line and the
cc list?
Sorry, I made a mistake while working on my first patch. I just realised the staging drivers are located under drivers/staging dir. Is there anything I can do to correct this?

Just work on something else.

Julia

Quoted 1 line
#4 lore raw
Quoted 22 lines · Julia Lawall
Quoted 22 lines · Comfort Oyewole

-----Original Message-----
From: Greg KH <[email protected]>
To: Comfort Oyewole <[email protected]>
Cc: [email protected], [email protected], [email protected], [email protected], [email protected]
Subject: Re: [PATCH] staging: comedi: comedi_fops: fix alignment to match open parenthesis
Date: 10/18/2026 02:30:05 PM

Quoted 7 lines · Comfort Oyewole

Fix the alignment issue in order to adhere to kernel coding style

---
drivers/comedi/comedi_fops.c | 4 +++-

1 file changed, 3 insertions(+), 1 deletion(-)
Quoted 7 lines
Quoted 4 lines

This is not a staging driver, why is staging in the subject line and the
cc list?
Sorry, I made a mistake while working on my first patch. I just realised the staging drivers are located under drivers/staging dir. Is there anything I can do to correct this?

Just work on something else.

Comfort,

The comedi driver isn't part of staging. You can see who looks after it in the MAINTAINERS file or with:

./scripts/get_maintainer.pl -f drivers/comedi/comedi_fops.c

That lists Ian Abbott and H Hartley Sweeten as maintainers, with [email protected] as the list.

There's no dedicated patchwork for comedi. Some subsystems do have one.
https://patchwork.kernel.org/

Drivers outside staging have different expectations. A clean-up style fix may not warrant a change.

You can still send it if you'd like to see that change in the driver, but I think it could be separate from Outreachy and staging.

Good luck with your next patch.

Jeremy

Quoted 4 lines

Julia

Quoted 1 line