Skip to contentSkip to conversation

drivers: w1: coding style corrections

PATCH In review Ben Werbowyj 2 participants 8 messages Jul 23, 2016 – Aug 4, 2016 Kernel janitors

lore
Share & tools
lore
#0 lore raw

cover drivers: w1: coding style corrections

Coding style corrections for the Dallas 1-Wire driver. Changes made were reported by the checkpatch.pl script.

Ben Werbowyj (2):
drivers: w1: insert whitespace around operators
drivers: w1: insert blank line after declaration

 drivers/w1/slaves/w1_ds2406.c | 31 ++++++++++++++++---------------
 1 file changed, 16 insertions(+), 15 deletions(-)
Signature · 1 line
2.1.4
Acked-by on the v1 series
#1 lore raw

Hi Ben

23.07.2016, 07:12, "Ben Werbowyj" <[email protected]>:

Quoted 9 lines

Coding style corrections for the Dallas 1-Wire driver. Changes made were reported by the checkpatch.pl script.

Ben Werbowyj (2):
  drivers: w1: insert whitespace around operators
  drivers: w1: insert blank line after declaration

 drivers/w1/slaves/w1_ds2406.c | 31 ++++++++++++++++---------------

 1 file changed, 16 insertions(+), 15 deletions(-)

Looks good to me, thank you

#2 lore raw

cover drivers: w1: coding style corrections

In reply to Ben Werbowyj

Coding style corrections for the Dallas 1-wire driver. Changes made were reported by the checkpatch.pl script.

Ben Werbowyj (2):
driver: w1: fix quoted strings split across lines
drivers: w1: fix order of operands in comparisons

 drivers/w1/masters/omap_hdq.c | 31 +++++++++++++++++--------------
 1 file changed, 17 insertions(+), 14 deletions(-)
Signature · 1 line
2.1.4
#3 lore raw
In reply to Ben Werbowyj

Hi Ben

24.07.2016, 01:46, "Ben Werbowyj" <[email protected]>:

Quoted 9 lines

Coding style corrections for the Dallas 1-wire driver. Changes made were reported by the checkpatch.pl script.

Ben Werbowyj (2):
  driver: w1: fix quoted strings split across lines
  drivers: w1: fix order of operands in comparisons

 drivers/w1/masters/omap_hdq.c | 31 +++++++++++++++++--------------

 1 file changed, 17 insertions(+), 14 deletions(-)

Patch looks good to me.

Please combine the whole w1 space-string cleanups into single patch, it will be much easier to review and ack.

#4 lore raw
In reply to Ben Werbowyj

Hi Evgeniy,

Quoted 10 lines · Evgeniy Polyakov

Hi Ben

24.07.2016, 01:46, "Ben Werbowyj" <[email protected]>:

Quoted 7 lines

Coding style corrections for the Dallas 1-wire driver. Changes made were reported by the checkpatch.pl script.

Ben Werbowyj (2):
driver: w1: fix quoted strings split across lines
drivers: w1: fix order of operands in comparisons

Quoted 7 lines
Quoted 2 lines
 drivers/w1/masters/omap_hdq.c | 31 +++++++++++++++++--------------
 1 file changed, 17 insertions(+), 14 deletions(-)

Patch looks good to me.

Please combine the whole w1 space-string cleanups into single patch, it will be much easier to review and ack.

Thanks for the feedback/review. I will group together any more cleanups. I was working
with smaller patches as the kernel patching guides I've read mention that this is a good
way to get started.

Ben

#5 lore raw
In reply to Ben Werbowyj

Hi Ben

25.07.2016, 00:27, "Ben Werbowyj" <[email protected]>:

Quoted 8 lines
Quoted 2 lines

 Please combine the whole w1 space-string cleanups into single patch, it will be much easier to review and ack.

Thanks for the feedback/review. I will group together any more cleanups. I was working
with smaller patches as the kernel patching guides I've read mention that this is a good
way to get started.

That's generally a good idea to work with smaller patches, but if you perform a large portion of quite similar things like cleaning up coding style, it is much easier to combine them into single patchset.

You can send separate patch per file if you like, but it is really much easier to review it this will be a single patchset with many separate patches (and mails) than many different sets.

#6 lore raw
In reply to Ben Werbowyj

Hi Evgeniy,

Quoted 13 lines · Evgeniy Polyakov

Hi Ben

25.07.2016, 00:27, "Ben Werbowyj" <[email protected]>:

Quoted 8 lines
Quoted 2 lines

Please combine the whole w1 space-string cleanups into single patch, it will be much easier to review and ack.

Thanks for the feedback/review. I will group together any more cleanups. I was working
with smaller patches as the kernel patching guides I've read mention that this is a good
way to get started.

Quoted 7 lines

That's generally a good idea to work with smaller patches, but if you perform a large portion of quite similar things like cleaning up coding style, it is much easier to combine them into single patchset.

You can send separate patch per file if you like, but it is really much easier to review it this will be a single patchset with many separate patches (and mails) than many different sets.

I'm working on the cleanups as one patch per file to combine into a patchset as you suggested. I've previously submitted a patch for one of the files and I'm not entirely sure if I should create further patches with my earlier patch applied, or if I should use the current state of the file from the linux-next repository.

I don't want to create merge conflicts and headaches from what are essentially trivial cleanup patches.

Ben

#7 lore raw
In reply to Ben Werbowyj

Hi Ben

04.08.2016, 04:05, "Ben Werbowyj" <[email protected]>:

Quoted 8 lines

I'm working on the cleanups as one patch per file to combine into a patchset as you suggested. I've previously submitted a patch for one of the files and I'm not entirely sure if I should create further patches with my earlier patch applied, or if I should use the current state of the file from the linux-next repository.

I don't want to create merge conflicts and headaches from what are essentially trivial cleanup patches.

Please use -next repository as a base