Skip to contentSkip to conversation

Fixed most indent issues in tty_io.c

PATCH Sandro Volery 4 participants 8 messages Sep 7, 2019 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 7 lines
Quoted 6 lines
Quoted 3 lines · Greg KH

On Sat, Sep 07, 2019 at 07:23:59PM +0200, Sandro Volery wrote:
Dear Greg,
I am pretty sure the issue was, that I did too many things at once. However, all the things I did are related to spaces / tabs, maybe that still works?

Quoted 5 lines

<snip>

For some reason you sent this only to me, which is a bit rude to everyone else on the mailing list. I'll be glad to respond if you resend it to everyone.

I'm sorry, newbie here. I thought it'd be better to not annoy everyone with responses but learning things everyday I guess :)

I am pretty sure the issue with my patch was that there was too many changes, however all of them were spaces and tabs related, so I think this could be fine?

Sincerely,
Sandro V

#2 lore raw
Quoted 7 lines · Sandro Volery
Quoted 7 lines
Quoted 6 lines
Quoted 3 lines · Greg KH

On Sat, Sep 07, 2019 at 07:23:59PM +0200, Sandro Volery wrote:
Dear Greg,
I am pretty sure the issue was, that I did too many things at once. However, all the things I did are related to spaces / tabs, maybe that still works?

Quoted 7 lines
Quoted 5 lines

<snip>

For some reason you sent this only to me, which is a bit rude to everyone else on the mailing list. I'll be glad to respond if you resend it to everyone.

I'm sorry, newbie here. I thought it'd be better to not annoy everyone with responses but learning things everyday I guess :)

No problem, but you should also line-wrap your emails :)

Quoted 1 line

I am pretty sure the issue with my patch was that there was too many changes, however all of them were spaces and tabs related, so I think this could be fine?

As the bot said, break it out into "one patch per logical change", and "fix all whitespace issues" is not "one logical change".

thanks,

greg k-h

#3 lore raw
Quoted 16 lines · Greg KH
Quoted 9 lines · Sandro Volery
Quoted 9 lines
Quoted 6 lines
Quoted 6 lines
Quoted 3 lines · Greg KH

On Sat, Sep 07, 2019 at 07:23:59PM +0200, Sandro Volery wrote:
Dear Greg,
I am pretty sure the issue was, that I did too many things at once. However, all the things I did are related to spaces / tabs, maybe that still works?

<snip>

Quoted 7 lines
Quoted 5 lines
Quoted 3 lines

For some reason you sent this only to me, which is a bit rude to everyone else on the mailing list. I'll be glad to respond if you resend it to everyone.

I'm sorry, newbie here. I thought it'd be better to not annoy everyone with responses but learning things everyday I guess :)

No problem, but you should also line-wrap your emails :)

I've just been told that before, I'll try to change those settings asap.

Quoted 5 lines
Quoted 2 lines

I am pretty sure the issue with my patch was that there was too many changes, however all of them were spaces and tabs related, so I think this could be fine?

As the bot said, break it out into "one patch per logical change", and "fix all whitespace issues" is not "one logical change".

So a logical change would be if I make one patch
to replace all spaces with tabs and a separate
patch to add a space before the : ?

Thanks,
Sandro V.

#4 lore raw
Quoted 28 lines · Sandro Volery
Quoted 16 lines · Greg KH
Quoted 9 lines · Sandro Volery
Quoted 9 lines
Quoted 6 lines
Quoted 6 lines
Quoted 3 lines · Greg KH

On Sat, Sep 07, 2019 at 07:23:59PM +0200, Sandro Volery wrote:
Dear Greg,
I am pretty sure the issue was, that I did too many things at once. However, all the things I did are related to spaces / tabs, maybe that still works?

<snip>

Quoted 7 lines
Quoted 5 lines
Quoted 3 lines

For some reason you sent this only to me, which is a bit rude to everyone else on the mailing list. I'll be glad to respond if you resend it to everyone.

I'm sorry, newbie here. I thought it'd be better to not annoy everyone with responses but learning things everyday I guess :)

No problem, but you should also line-wrap your emails :)

I've just been told that before, I'll try to change those settings asap.

Quoted 1 line
Quoted 8 lines
Quoted 4 lines
Quoted 1 line

I am pretty sure the issue with my patch was that there was too many changes, however all of them were spaces and tabs related, so I think this could be fine?

As the bot said, break it out into "one patch per logical change", and "fix all whitespace issues" is not "one logical change".

So a logical change would be if I make one patch
to replace all spaces with tabs and a separate
patch to add a space before the : ?

Yes, that would be good. Make it a patch series please.

thanks,

greg k-h

#5 lore raw

Sandro V

Quoted 33 lines · Greg KH
Quoted 30 lines · Sandro Volery
Quoted 16 lines
Quoted 5 lines · Greg KH
Quoted 9 lines · Sandro Volery
Quoted 9 lines
Quoted 6 lines
Quoted 6 lines
Quoted 3 lines · Greg KH

On Sat, Sep 07, 2019 at 07:23:59PM +0200, Sandro Volery wrote:
Dear Greg,
I am pretty sure the issue was, that I did too many things at once. However, all the things I did are related to spaces / tabs, maybe that still works?

<snip>

Quoted 7 lines
Quoted 5 lines
Quoted 3 lines

For some reason you sent this only to me, which is a bit rude to everyone else on the mailing list. I'll be glad to respond if you resend it to everyone.

I'm sorry, newbie here. I thought it'd be better to not annoy everyone with responses but learning things everyday I guess :)

No problem, but you should also line-wrap your emails :)

I've just been told that before, I'll try to change those settings asap.

Quoted 3 lines
Quoted 2 lines

I am pretty sure the issue with my patch was that there was too many changes, however all of them were spaces and tabs related, so I think this could be fine?

Quoted 8 lines
Quoted 6 lines
Quoted 2 lines

As the bot said, break it out into "one patch per logical change", and "fix all whitespace issues" is not "one logical change".

So a logical change would be if I make one patch
to replace all spaces with tabs and a separate
patch to add a space before the : ?

Yes, that would be good. Make it a patch series please.

Thanks!

Any suggestion on how I should do the line wrapping when I want to send emails from my phone? Since I don't always have my laptop handy.

Sandro V.

#6 lore raw
In reply to Greg KH
Quoted 13 lines · Greg KH
Quoted 12 lines · Sandro Volery
Quoted 11 lines
Quoted 5 lines
Quoted 2 lines · Greg KH

On Sat, Sep 07, 2019 at 07:23:59PM +0200, Sandro Volery wrote:
Dear Greg,
I am pretty sure the issue was, that I did too many things at once. However, all the things I did are related to spaces / tabs, maybe that still works?

<snip>

For some reason you sent this only to me, which is a bit rude to everyone else on the mailing list. I'll be glad to respond if you resend it to everyone.

Quoted 8 lines
Quoted 1 line

I'm sorry, newbie here. I thought it'd be better to not annoy everyone with responses but learning things everyday I guess :)

No problem, but you should also line-wrap your emails :)

Quoted 1 line

I am pretty sure the issue with my patch was that there was too many changes, however all of them were spaces and tabs related, so I think this could be fine?

As the bot said, break it out into "one patch per logical change", and "fix all whitespace issues" is not "one logical change".

As long as git diff -w shows no difference and a compiled object comparison before and after the change shows no difference, I think it's fine.

In fact, it avoid multiple commits where the only changes are whitespace.

#7 lore raw
Quoted 22 lines · Joe Perches
Quoted 17 lines · Greg KH
Quoted 7 lines · Sandro Volery
Quoted 6 lines
Quoted 5 lines
Quoted 2 lines · Greg KH

On Sat, Sep 07, 2019 at 07:23:59PM +0200, Sandro Volery wrote:
Dear Greg,
I am pretty sure the issue was, that I did too many things at once. However, all the things I did are related to spaces / tabs, maybe that still works?

Quoted 7 lines
Quoted 5 lines

<snip>

For some reason you sent this only to me, which is a bit rude to everyone else on the mailing list. I'll be glad to respond if you resend it to everyone.

I'm sorry, newbie here. I thought it'd be better to not annoy everyone with responses but learning things everyday I guess :)

No problem, but you should also line-wrap your emails :)

Quoted 8 lines
Quoted 4 lines
Quoted 1 line

I am pretty sure the issue with my patch was that there was too many changes, however all of them were spaces and tabs related, so I think this could be fine?

As the bot said, break it out into "one patch per logical change", and "fix all whitespace issues" is not "one logical change".

As long as git diff -w shows no difference and a compiled object comparison before and after the change shows no difference, I think it's fine.

My thoughts, too. I didn't feel comfortable arguing as a newbie tho so I'll see what I can do once I get home.

Quoted 6 lines

In fact, it avoid multiple commits where the only changes are whitespace.

#8 lore raw
Quoted 1 line · Sandro Volery
Quoted 1 line · Joe Perches

[]

Quoted 6 lines
Quoted 3 lines

As long as git diff -w shows no difference and a compiled object comparison before and after the change shows no difference, I think it's fine.

My thoughts, too. I didn't feel comfortable arguing as a newbie tho so I'll see what I can do once I get home.

If you do that, it's important to mention both elements in the commit message:

1: git diff -w shows no difference
2: pre and post compilation objects are identical

It is also good to verify that allyesconfig and defconfig objects with the minimal CONFIG_ required for compilation are also identical.

Whitespace only changes should only change horizontal spacing and should not have vertical line changes.