Skip to contentSkip to conversation

linux-next: Signed-off-by missing for commits in the arm-soc tree

DISCUSSION Stephen Rothwell 5 participants 7 messages Jul 15, 2018 – Jul 16, 2018 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

Commits

b8ccf02a5014 ("ARM: dts: bcm283x: Add the PMU to the devicetree.") b7dd29b401f5 ("ARM: dts: bcm283x: Add Transposer block") 74d1e007915f ("hwmon: Add support for RPi voltage sensor") 70eea1bbb556 ("firmware: raspberrypi: Register hwmon driver") a1547e0bca51 ("firmware: raspberrypi: Remove VLA usage")

are missing a Signed-off-by from their committer.

Signature · 9 lines
Cheers,
Stephen Rothwell
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20180716/752046b0/attachment.sig>
#1 lore raw

Thanks Stephen, I keep saying every time you catch these that I need to run the same script. :(

Florian, I wonder if this happened when you rebased to squash in the fix?

I'll figure out where to get this into my workflow so we catch it before I merge from now on.

-Olof

Quoted 15 lines · Stephen Rothwell

Hi all,

Commits

b8ccf02a5014 ("ARM: dts: bcm283x: Add the PMU to the devicetree.") b7dd29b401f5 ("ARM: dts: bcm283x: Add Transposer block") 74d1e007915f ("hwmon: Add support for RPi voltage sensor") 70eea1bbb556 ("firmware: raspberrypi: Register hwmon driver") a1547e0bca51 ("firmware: raspberrypi: Remove VLA usage")

are missing a Signed-off-by from their committer.

--
Cheers,
Stephen Rothwell

#2 lore raw
Quoted 4 lines · Olof Johansson

Thanks Stephen, I keep saying every time you catch these that I need to run the same script. :(

Florian, I wonder if this happened when you rebased to squash in the fix?

Humm, could be, all I did (and it was not the first time) was to do an interactive rebase with --preserve-merges. AFAICT, all of these commits came from Eric's pull request, so what I typically do is just sign off on the merge commit, but do not apply my SoB to all commits coming from that pull request if that makes sense?

Quoted 23 lines

I'll figure out where to get this into my workflow so we catch it before I merge from now on.

-Olof

Quoted 15 lines · Stephen Rothwell

Hi all,

Commits

b8ccf02a5014 ("ARM: dts: bcm283x: Add the PMU to the devicetree.") b7dd29b401f5 ("ARM: dts: bcm283x: Add Transposer block") 74d1e007915f ("hwmon: Add support for RPi voltage sensor") 70eea1bbb556 ("firmware: raspberrypi: Register hwmon driver") a1547e0bca51 ("firmware: raspberrypi: Remove VLA usage")

are missing a Signed-off-by from their committer.

--
Cheers,
Stephen Rothwell

Signature · 1 line
Florian
#3 lore raw
Quoted 6 lines · Florian Fainelli
Quoted 3 lines · Olof Johansson

Thanks Stephen, I keep saying every time you catch these that I need to run the same script. :(

Quoted 7 lines
Quoted 1 line

Florian, I wonder if this happened when you rebased to squash in the fix?

Humm, could be, all I did (and it was not the first time) was to do an interactive rebase with --preserve-merges. AFAICT, all of these commits came from Eric's pull request, so what I typically do is just sign off on the merge commit, but do not apply my SoB to all commits coming from that pull request if that makes sense?

When you rebase, if the commit is re-applied, the committer changes to you, so you need to add your SoB to all commits you rebased.

I suppose you could override it with GIT_COMMITTER_NAME and GIT_COMMITTER_EMAIL environment variables, but that sort of distorts the SoB if any changes were added due to rebasing, such as resolution of merge conflicts.

ChenYu

#4 lore raw
Quoted 9 lines · Chen-Yu Tsai
Quoted 8 lines · Florian Fainelli
Quoted 4 lines · Olof Johansson

Thanks Stephen, I keep saying every time you catch these that I need to run the same script. :(

Florian, I wonder if this happened when you rebased to squash in the fix?

Quoted 8 lines
Quoted 5 lines

Humm, could be, all I did (and it was not the first time) was to do an interactive rebase with --preserve-merges. AFAICT, all of these commits came from Eric's pull request, so what I typically do is just sign off on the merge commit, but do not apply my SoB to all commits coming from that pull request if that makes sense?

When you rebase, if the commit is re-applied, the committer changes to you, so you need to add your SoB to all commits you rebased.

Indeed, thanks for bringing that up Chen-Yu.

Quoted 8 lines

I suppose you could override it with GIT_COMMITTER_NAME and GIT_COMMITTER_EMAIL environment variables, but that sort of distorts the SoB if any changes were added due to rebasing, such as resolution of merge conflicts.

ChenYu

Signature · 1 line
Florian
#5 lore raw
In reply to Chen-Yu Tsai
Quoted 15 lines · Chen-Yu Tsai
Quoted 6 lines · Florian Fainelli
Quoted 3 lines · Olof Johansson

Thanks Stephen, I keep saying every time you catch these that I need to run the same script. :(

Quoted 7 lines
Quoted 1 line

Florian, I wonder if this happened when you rebased to squash in the fix?

Humm, could be, all I did (and it was not the first time) was to do an interactive rebase with --preserve-merges. AFAICT, all of these commits came from Eric's pull request, so what I typically do is just sign off on the merge commit, but do not apply my SoB to all commits coming from that pull request if that makes sense?

Quoted 7 lines

When you rebase, if the commit is re-applied, the committer changes to you, so you need to add your SoB to all commits you rebased.

I suppose you could override it with GIT_COMMITTER_NAME and GIT_COMMITTER_EMAIL environment variables, but that sort of distorts the SoB if any changes were added due to rebasing, such as resolution of merge conflicts.

A different point: should *anyone* be rebasing commits that they did not themselves commit. Discuss.

IMHO no - the commits were made public, and anyone could pull the tree from which they came in order to do further work before submitting that. Rebasing changes the commit IDs, which can lead to duplicate commits ending up in mainline. With other changes on top, this causes totally unnecessary conflicts.

Signature · 3 lines
RMK's Patch system: http://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line in suburbia: sync at 13.8Mbps down 630kbps up
According to speedtest.net: 13Mbps down 490kbps up
#6 lore raw
Quoted 24 lines · Russell King - ARM Linux
Quoted 15 lines · Chen-Yu Tsai
Quoted 6 lines · Florian Fainelli
Quoted 3 lines · Olof Johansson

Thanks Stephen, I keep saying every time you catch these that I need to run the same script. :(

Quoted 7 lines
Quoted 1 line

Florian, I wonder if this happened when you rebased to squash in the fix?

Humm, could be, all I did (and it was not the first time) was to do an interactive rebase with --preserve-merges. AFAICT, all of these commits came from Eric's pull request, so what I typically do is just sign off on the merge commit, but do not apply my SoB to all commits coming from that pull request if that makes sense?

Quoted 7 lines

When you rebase, if the commit is re-applied, the committer changes to you, so you need to add your SoB to all commits you rebased.

I suppose you could override it with GIT_COMMITTER_NAME and GIT_COMMITTER_EMAIL environment variables, but that sort of distorts the SoB if any changes were added due to rebasing, such as resolution of merge conflicts.

Quoted 9 lines

A different point: should *anyone* be rebasing commits that they did not themselves commit. Discuss.

IMHO no - the commits were made public, and anyone could pull the tree from which they came in order to do further work before submitting that. Rebasing changes the commit IDs, which can lead to duplicate commits ending up in mainline. With other changes on top, this causes totally unnecessary conflicts.

Well in that case, I thought it would be cleaner to just squash Arnd's build fix since the commit had not been merged into arm-soc, but I will keep in mind not to do that anymore.

Signature · 1 line
Florian