Skip to contentSkip to conversation

linux-next: Signed-off-by missing for commit in the kselftest tree

DISCUSSION Stephen Rothwell 2 participants 3 messages Nov 27, 2018 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi Shuah,

Commit

623ea0df7083 ("selftests: firmware: remove use of non-standard diff -Z option")

is missing a Signed-off-by from its author.

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw
Quoted 8 lines · Stephen Rothwell

Hi Shuah,

Commit

623ea0df7083 ("selftests: firmware: remove use of non-standard diff -Z option")

is missing a Signed-off-by from its author.

Thanks for catching this. I will fix it. This is the result of change log content messing up the commit: The diff -Z in the change log resulted in throwing out the Signed-off and Acked-by.

-----------------------------------------------------------------
diff -Z is used to trim the trailing whitespace when comparing the loaded firmware file with the source firmware file. However, per the comment in the source code, -Z should not be necessary. In testing, the input and output files are identical.

Additionally, -Z is not a standard option and is not available in environments such as busybox. When -Z is not supported, diff fails with a usage error, which is suppressed, but then causes read_firmwares() to exit with a false failure message.
--------------------------------------------------------------------

Oh well! I will fix-up the change-log and amend the commit.

thanks,
-- Shuah

#2 lore raw

Hi Shuah,

Quoted 4 lines · On Tue, 27 Nov 2018 14:17:57 -0700 shuah <[email protected]> wrote:

Thanks for catching this. I will fix it. This is the result of change log content messing up the commit: The diff -Z in the change log resulted in throwing out the Signed-off and Acked-by.

Tricky :-(

Quoted 6 lines

-----------------------------------------------------------------
diff -Z is used to trim the trailing whitespace when comparing the loaded firmware file with the source firmware file. However, per the comment in the source code, -Z should not be necessary. In testing, the input and output files are identical.

Quoted 7 lines

Additionally, -Z is not a standard option and is not available in environments such as busybox. When -Z is not supported, diff fails with a usage error, which is suppressed, but then causes read_firmwares() to exit with a false failure message.
--------------------------------------------------------------------

Oh well! I will fix-up the change-log and amend the commit.

Thanks.

Signature · 2 lines
Cheers,
Stephen Rothwell