staging: atomisp: isp: fix open brace on new line
Subsystems (4)
PATCH 1/1 staging: atomisp: isp: fix open brace on new line
Fix checkpatch error "ERROR: that open brace { should be on the previous line" in ia_css_dvs.host.c:277.
---
Hi, I hope this should fix the indentation problems.
--- .../atomisp/pci/isp/kernels/dvs/dvs_1.0/ia_css_dvs.host.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/staging/media/atomisp/pci/isp/kernels/dvs/dvs_1.0/ia_css_dvs.host.c +1 -2
@@ -274,8 +274,7 @@ store_dvs_6axis_config( binary, dvs_in_frame_info); -if (!me) - { +if (!me) {IA_CSS_LEAVE_ERR_PRIVATE (-ENOMEM );return -ENOMEM ; }
Signature · 1 line
2.39.5
Guys, please, coordinate and issue only one (or a few) patch(es) per an issue. No need to send zillions patches for the same problem file-by-file.
Quoted 3 lines · Martin Weidenauer
Fix checkpatch error "ERROR: that open brace { should be on the previous line" in ia_css_dvs.host.c:277.
--
With Best Regards,
Andy Shevchenko
Quoted 6 lines · Andy Shevchenko
Guys, please, coordinate and issue only one (or a few) patch(es) per an issue. No need to send zillions patches for the same problem file-by-file.
Quoted 1 line · Martin Weidenauer
Quoted 7 lines
Quoted 2 lines
Fix checkpatch error "ERROR: that open brace { should be on the previous line" in ia_css_dvs.host.c:277.
--
With Best Regards,
Andy Shevchenko
I deeply apologize, however this was the instruction of our workshop in DebConf by Helen Koike <[email protected]>
Here is the link to the exact workshop:
<https://debconf25.debconf.org/talks/55-submit-your-first-contribution-to-the-linux-kernel/>
In grave apologies,
Martin
Quoted 6 lines · Martin Weidenauer
Quoted 3 lines · Andy Shevchenko
Guys, please, coordinate and issue only one (or a few) patch(es) per an issue. No need to send zillions patches for the same problem file-by-file.
Quoted 6 lines
Quoted 4 lines · Martin Weidenauer
Quoted 3 lines
Fix checkpatch error "ERROR: that open brace { should be on the previous line" in ia_css_dvs.host.c:277.
I deeply apologize, however this was the instruction of our workshop in DebConf by Helen Koike <[email protected]>
This may be okay for the driver that consists of let's say less than 10 files, AtomISP consists of dozens of files in several (nested) folders. It's not a good example for such an approach.
Quoted 2 lines
Here is the link to the exact workshop:
<https://debconf25.debconf.org/talks/55-submit-your-first-contribution-to-the-linux-kernel/>
Hmm... this really needs an update to explain how to work with the drivers that contain many files and literally tens of thousands lines of code.
In any case the problem with your contribution is not the code, the absence of coordination and possibility to clash with somebody else. Also it looks like a DDoS attack against maintainers capacity. The smaller patches are and the more of them --- the less the usefulness of all this activity as at some point that floods the maintainer's mailbox.
TL:DR; (always) Use common sense!
Signature · 2 lines
With Best Regards, Andy Shevchenko
Quoted 25 lines · Andy Shevchenko
Quoted 6 lines · Martin Weidenauer
Quoted 3 lines · Andy Shevchenko
Guys, please, coordinate and issue only one (or a few) patch(es) per an issue. No need to send zillions patches for the same problem file-by-file.
Quoted 6 lines
Quoted 4 lines · Martin Weidenauer
Quoted 3 lines
Fix checkpatch error "ERROR: that open brace { should be on the previous line" in ia_css_dvs.host.c:277.
I deeply apologize, however this was the instruction of our workshop in DebConf by Helen Koike <[email protected]>
This may be okay for the driver that consists of let's say less than 10 files, AtomISP consists of dozens of files in several (nested) folders. It's not a good example for such an approach.
Quoted 2 lines
Here is the link to the exact workshop:
<https://debconf25.debconf.org/talks/55-submit-your-first-contribution-to-the-linux-kernel/>Hmm... this really needs an update to explain how to work with the drivers that contain many files and literally tens of thousands lines of code.
Quoted 10 lines
In any case the problem with your contribution is not the code, the absence of coordination and possibility to clash with somebody else. Also it looks like a DDoS attack against maintainers capacity. The smaller patches are and the more of them --- the less the usefulness of all this activity as at some point that floods the maintainer's mailbox.
TL:DR; (always) Use common sense!
To be honest, such a contribution also seemed to me a bit useless but I thought all of this had been discussed with you maintainers beforehand.
As it seems this was not the case, although the workshop has shown us how easy it is to make contributions and for my part I will use the knowledge to make meaningful changes. So you can scrap this commit and I'll make a few commits in the next days which make more sense.
I apologize again and it is an honor for me to start contributing to your driver. Be well,
Martin
Quoted 33 lines · Martin Weidenauer
Quoted 32 lines · Andy Shevchenko
Quoted 6 lines · Martin Weidenauer
Quoted 3 lines · Andy Shevchenko
Guys, please, coordinate and issue only one (or a few) patch(es) per an issue. No need to send zillions patches for the same problem file-by-file.
Quoted 6 lines
Quoted 4 lines · Martin Weidenauer
Quoted 3 lines
Fix checkpatch error "ERROR: that open brace { should be on the previous line" in ia_css_dvs.host.c:277.
I deeply apologize, however this was the instruction of our workshop in DebConf by Helen Koike <[email protected]>
This may be okay for the driver that consists of let's say less than 10 files, AtomISP consists of dozens of files in several (nested) folders. It's not a good example for such an approach.
Quoted 2 lines
Here is the link to the exact workshop:
<https://debconf25.debconf.org/talks/55-submit-your-first-contribution-to-the-linux-kernel/>Hmm... this really needs an update to explain how to work with the drivers that contain many files and literally tens of thousands lines of code.
In any case the problem with your contribution is not the code, the absence of coordination and possibility to clash with somebody else. Also it looks like a DDoS attack against maintainers capacity. The smaller patches are and the more of them --- the less the usefulness of all this activity as at some point that floods the maintainer's mailbox.
Quoted 6 lines
Quoted 1 line
TL:DR; (always) Use common sense!
To be honest, such a contribution also seemed to me a bit useless but I thought all of this had been discussed with you maintainers beforehand.
As it seems this was not the case, although the workshop has shown us how easy it is to make contributions and for my part I will use the knowledge to make meaningful changes. So you can scrap this commit and I'll make a few commits in the next days which make more sense.
The problem is not the code, the contribution is okay and appreciated. The problem is that for _the same_ issue there are tons of patches from _different_ people. Just discuss who does what and send "one contributer == one issue" (under one issue, I mean class of the issues checkpatch or other tools report, for instance, the "if (foo) return;"-like which are on one line and needs to be two or more lines, do _all_ of them by _a single_ contributor.
Signature · 2 lines
With Best Regards, Andy Shevchenko
Greg KH
maintainerQuoted 41 lines · Andy Shevchenko
Quoted 33 lines · Martin Weidenauer
Quoted 32 lines · Andy Shevchenko
Quoted 6 lines · Martin Weidenauer
Quoted 3 lines · Andy Shevchenko
Guys, please, coordinate and issue only one (or a few) patch(es) per an issue. No need to send zillions patches for the same problem file-by-file.
Quoted 6 lines
Quoted 4 lines · Martin Weidenauer
Quoted 3 lines
Fix checkpatch error "ERROR: that open brace { should be on the previous line" in ia_css_dvs.host.c:277.
I deeply apologize, however this was the instruction of our workshop in DebConf by Helen Koike <[email protected]>
This may be okay for the driver that consists of let's say less than 10 files, AtomISP consists of dozens of files in several (nested) folders. It's not a good example for such an approach.
Quoted 2 lines
Here is the link to the exact workshop:
<https://debconf25.debconf.org/talks/55-submit-your-first-contribution-to-the-linux-kernel/>Hmm... this really needs an update to explain how to work with the drivers that contain many files and literally tens of thousands lines of code.
In any case the problem with your contribution is not the code, the absence of coordination and possibility to clash with somebody else. Also it looks like a DDoS attack against maintainers capacity. The smaller patches are and the more of them --- the less the usefulness of all this activity as at some point that floods the maintainer's mailbox.
Quoted 6 lines
Quoted 1 line
TL:DR; (always) Use common sense!
To be honest, such a contribution also seemed to me a bit useless but I thought all of this had been discussed with you maintainers beforehand.
As it seems this was not the case, although the workshop has shown us how easy it is to make contributions and for my part I will use the knowledge to make meaningful changes. So you can scrap this commit and I'll make a few commits in the next days which make more sense.
Quoted 7 lines
The problem is not the code, the contribution is okay and appreciated. The problem is that for
_thesame_issue there are tons of patches from _different_ people. Just discuss who does what and send "one contributer == one issue" (under one issue, I mean class of the issues checkpatch or other tools report, for instance, the "if (foo) return;"-like which are on one line and needs to be two or more lines, do _all_ of them by _asingle_contributor.
No, that's not necessary at all, really. Just take them in the order they come in and review/apply them as normal. Don't expect people to coordinate together, especially for staging stuff, that's crazy.
This is just part of staging, it's the maintainers job to help guide new contributors like this. If you don't want to do this, that's fine, just delete these media drivers out of staging then. And don't blame the submitters, it's not their fault at all.
thanks,
greg k-h
Quoted 50 lines · Greg KH
Quoted 41 lines · Andy Shevchenko
Quoted 33 lines · Martin Weidenauer
Quoted 32 lines · Andy Shevchenko
Quoted 6 lines · Martin Weidenauer
Quoted 3 lines · Andy Shevchenko
Guys, please, coordinate and issue only one (or a few) patch(es) per an issue. No need to send zillions patches for the same problem file-by-file.
Quoted 6 lines
Quoted 4 lines · Martin Weidenauer
Quoted 3 lines
Fix checkpatch error "ERROR: that open brace { should be on the previous line" in ia_css_dvs.host.c:277.
I deeply apologize, however this was the instruction of our workshop in DebConf by Helen Koike <[email protected]>
This may be okay for the driver that consists of let's say less than 10 files, AtomISP consists of dozens of files in several (nested) folders. It's not a good example for such an approach.
Quoted 2 lines
Here is the link to the exact workshop:
<https://debconf25.debconf.org/talks/55-submit-your-first-contribution-to-the-linux-kernel/>Hmm... this really needs an update to explain how to work with the drivers that contain many files and literally tens of thousands lines of code.
In any case the problem with your contribution is not the code, the absence of coordination and possibility to clash with somebody else. Also it looks like a DDoS attack against maintainers capacity. The smaller patches are and the more of them --- the less the usefulness of all this activity as at some point that floods the maintainer's mailbox.
Quoted 6 lines
Quoted 1 line
TL:DR; (always) Use common sense!
To be honest, such a contribution also seemed to me a bit useless but I thought all of this had been discussed with you maintainers beforehand.
As it seems this was not the case, although the workshop has shown us how easy it is to make contributions and for my part I will use the knowledge to make meaningful changes. So you can scrap this commit and I'll make a few commits in the next days which make more sense.
Quoted 7 lines
The problem is not the code, the contribution is okay and appreciated. The problem is that for
_thesame_issue there are tons of patches from _different_ people. Just discuss who does what and send "one contributer == one issue" (under one issue, I mean class of the issues checkpatch or other tools report, for instance, the "if (foo) return;"-like which are on one line and needs to be two or more lines, do _all_ of them by _asingle_contributor.
Quoted 3 lines
No, that's not necessary at all, really. Just take them in the order they come in and review/apply them as normal. Don't expect people to coordinate together, especially for staging stuff, that's crazy.
It might become hard to review, when there are many patches with the (almost the) same subject and same comment and the only difference is the file that is fixed. But fine, we can survive for now.
Quoted 4 lines
This is just part of staging, it's the maintainers job to help guide new contributors like this. If you don't want to do this, that's fine, just delete these media drivers out of staging then. And don't blame the submitters, it's not their fault at all.
It's not blaming, it's advice on how to make a flow easier to follow.
Signature · 2 lines
With Best Regards, Andy Shevchenko
Quoted 2 lines · Martin Weidenauer
Fix checkpatch error "ERROR: that open brace { should be on the previous line" in ia_css_dvs.host.c:277.
...
Quoted 1 line
Hi, I hope this should fix the indentation problems.
Missed versioning and changelog, but otherwise okay.
Signature · 2 lines
With Best Regards, Andy Shevchenko
Hi,
Quoted 11 lines · Andy Shevchenko
Quoted 2 lines · Martin Weidenauer
Fix checkpatch error "ERROR: that open brace { should be on the previous line" in ia_css_dvs.host.c:277.
...
Quoted 1 line
Hi, I hope this should fix the indentation problems.
Missed versioning and changelog, but otherwise okay.
Reviewed-by Andy Shevchenko <[email protected]>
This is addressed (among other things) by commit 0d321169bda4ada7ffc9a1ff6fdcd5e753f82878 in my atomisp branch.
Signature · 3 lines
Kind regards, Sakari Ailus