staging: comedi: comedi_fops: fix alignment to match open parenthesis
Subsystems (2)
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
@@ -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
Greg KH
maintainerQuoted 6 lines · Comfort Oyewole
Fix the alignment issue in order to adhere to kernel coding style
Signed-off-by Comfort Oyewole <[email protected]>--- 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
-----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
Signed-off-by Comfort Oyewole <[email protected]>--- 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
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 PMQuoted 7 lines · Comfort Oyewole
Fix the alignment issue in order to adhere to kernel coding style
Signed-off-by Comfort Oyewole <[email protected]>---
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 underdrivers/stagingdir. Is there anything I can do to correct this?
Just work on something else.
Julia
Quoted 1 line
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 PMQuoted 7 lines · Comfort Oyewole
Fix the alignment issue in order to adhere to kernel coding style
Signed-off-by Comfort Oyewole <[email protected]>---
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 underdrivers/stagingdir. 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