char: Replace HTTP links with HTTPS onesRationale:Reduces attack surface on kernel devs opening the links for MITMas HTTPS traffic is much harder to manipulate.Deterministic algorithm:For each
char: Replace HTTP links with HTTPS onesRationale:Reduces attack surface on kernel devs opening the links for MITMas HTTPS traffic is much harder to manipulate.Deterministic algorithm:For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`: If neither `\bgnu\.org/license`, nor `\bmozilla\.org/MPL\b`: If both the HTTP and HTTPS versions return 200 OK and serve the same content: Replace HTTP with HTTPS.Signed-off-by: Alexander A. Klimov <grandmaster@al2klimov.de>Link: https://lore.kernel.org/r/20200713104453.33414-1-grandmaster@al2klimov.deSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
show more ...
treewide: replace '---help---' in Kconfig files with 'help'Since commit 84af7a6194e4 ("checkpatch: kconfig: prefer 'help' over'---help---'"), the number of '---help---' has been graduallydecreasi
treewide: replace '---help---' in Kconfig files with 'help'Since commit 84af7a6194e4 ("checkpatch: kconfig: prefer 'help' over'---help---'"), the number of '---help---' has been graduallydecreasing, but there are still more than 2400 instances.This commit finishes the conversion. While I touched the lines,I also fixed the indentation.There are a variety of indentation styles found. a) 4 spaces + '---help---' b) 7 spaces + '---help---' c) 8 spaces + '---help---' d) 1 space + 1 tab + '---help---' e) 1 tab + '---help---' (correct indentation) f) 1 tab + 1 space + '---help---' g) 1 tab + 2 spaces + '---help---'In order to convert all of them to 1 tab + 'help', I ran thefollowing commend: $ find . -name 'Kconfig*' | xargs sed -i 's/^[[:space:]]*---help---/\thelp/'Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 176Based on 1 normalized pattern(s): this program is free software you can redistribute it and or modify it under the terms of th
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 176Based on 1 normalized pattern(s): this program is free software you can redistribute it and or modify it under the terms of the gnu general public license version 2 as published by the free software foundation this program is distributed in the hope that it will be useful but without any warranty without even the implied warranty of merchantability or fitness for a particular purpose see the gnu general public license for more details you should have received a copy of the gnu general public license along with this program if not write to the free software foundation inc 675 mass ave cambridge ma 02139 usaextracted by the scancode license scanner the SPDX license identifier GPL-2.0-onlyhas been chosen to replace the boilerplate/reference in 44 file(s).Signed-off-by: Thomas Gleixner <tglx@linutronix.de>Reviewed-by: Allison Randal <allison@lohutok.net>Reviewed-by: Steve Winslow <swinslow@gmail.com>Reviewed-by: Alexios Zavras <alexios.zavras@intel.com>Cc: linux-spdx@vger.kernel.orgLink: https://lkml.kernel.org/r/20190528170025.980374610@linutronix.deSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
misc: remove redundant 'default n' from Kconfig-s'default n' is the default value for any bool or tristate Kconfigsetting so there is no need to write it explicitly.Also since commit f467c5640c2
misc: remove redundant 'default n' from Kconfig-s'default n' is the default value for any bool or tristate Kconfigsetting so there is no need to write it explicitly.Also since commit f467c5640c29 ("kconfig: only write '# CONFIG_FOOis not set' for visible symbols") the Kconfig behavior is the sameregardless of 'default n' being present or not: ... One side effect of (and the main motivation for) this change is making the following two definitions behave exactly the same: config FOO bool config FOO bool default n With this change, neither of these will generate a '# CONFIG_FOO is not set' line (assuming FOO isn't selected/implied). That might make it clearer to people that a bare 'default n' is redundant. ...Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>Acked-by: Frederic Barrat <fbarrat@linux.ibm.com>Acked-by: Arnd Bergmann <arnd@arndb.de>Acked-by: Michael Ellerman <mpe@ellerman.id.au>Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
treewide: Add SPDX license identifier - Makefile/KconfigAdd SPDX license identifiers to all Make/Kconfig files which: - Have no license information of any formThese files fall under the project
treewide: Add SPDX license identifier - Makefile/KconfigAdd SPDX license identifiers to all Make/Kconfig files which: - Have no license information of any formThese files fall under the project license, GPL v2 only. The resulting SPDXlicense identifier is: GPL-2.0-onlySigned-off-by: Thomas Gleixner <tglx@linutronix.de>Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
misc: echo: Remove unnecessary parentheses and simplify check for zeroClang warns when multiple pairs of parentheses are used for a singleconditional statement.drivers/misc/echo/echo.c:384:27: w
misc: echo: Remove unnecessary parentheses and simplify check for zeroClang warns when multiple pairs of parentheses are used for a singleconditional statement.drivers/misc/echo/echo.c:384:27: warning: equality comparison withextraneous parentheses [-Wparentheses-equality] if ((ec->nonupdate_dwell == 0)) { ~~~~~~~~~~~~~~~~~~~~^~~~drivers/misc/echo/echo.c:384:27: note: remove extraneous parenthesesaround the comparison to silence this warning if ((ec->nonupdate_dwell == 0)) { ~ ^ ~drivers/misc/echo/echo.c:384:27: note: use '=' to turn this equalitycomparison into an assignment if ((ec->nonupdate_dwell == 0)) { ^~ =1 warning generated.Remove them and while we're at it, simplify the zero check as '!var' isused more than 'var == 0'.Reported-by: Nick Desaulniers <ndesaulniers@google.com>Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
misc: Remove Blackfin DSP echo supportRemove Blackfin DSP echo supportSigned-off-by: Aaron Wu <aaron.wu@analog.com>Signed-off-by: Arnd Bergmann <arnd@arndb.de>
staging: echo: move to drivers/misc/The code is clean, there are users of it, so it doesn't belong instaging anymore, move it to drivers/misc/.Cc: Steve Underwood <steveu@coppice.org>Cc: David
staging: echo: move to drivers/misc/The code is clean, there are users of it, so it doesn't belong instaging anymore, move it to drivers/misc/.Cc: Steve Underwood <steveu@coppice.org>Cc: David Rowe <david@rowetel.com>Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>