From: Kees Cook <keescook@chromium.org>
To: linux-kernel@vger.kernel.org
Cc: Kees Cook <keescook@chromium.org>, Andy Whitcroft <apw@canonical.com>
Subject: [PATCH 001/104] checkpatch: warn about using CONFIG_EXPERIMENTAL
Date: Mon, 5 Nov 2012 15:03:18 -0800 [thread overview]
Message-ID: <1352156701-4038-2-git-send-email-keescook@chromium.org> (raw)
In-Reply-To: <1352156701-4038-1-git-send-email-keescook@chromium.org>
This config item has not carried much meaning for a while now and is
almost always enabled by default. As agreed during the Linux kernel
summit, it is being removed. This will discourage future addition of
CONFIG_EXPERIMENTAL while it is being phased out.
Cc: Andy Whitcroft <apw@canonical.com>
Signed-off-by: Kees Cook <keescook@chromium.org>
---
scripts/checkpatch.pl | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index 21a9f5d..f8b33ed 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -1757,6 +1757,13 @@ sub process {
#print "is_start<$is_start> is_end<$is_end> length<$length>\n";
}
+# Discourage the addition of CONFIG_EXPERIMENTAL in Kconfig.
+ if ($realfile =~ /Kconfig/ &&
+ $line =~ /.\s*depends on\s+.*\bEXPERIMENTAL\b/) {
+ WARN("CONFIG_EXPERIMENTAL",
+ "Use of CONFIG_EXPERIMENTAL is deprecated. For alternatives, see:\nhttps://lkml.org/lkml/2012/10/23/580\n");
+ }
+
if (($realfile =~ /Makefile.*/ || $realfile =~ /Kbuild.*/) &&
($line =~ /\+(EXTRA_[A-Z]+FLAGS).*/)) {
my $flag = $1;
--
1.7.9.5
next prev parent reply other threads:[~2012-11-05 23:32 UTC|newest]
Thread overview: 123+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-05 23:03 [PATCH v2 000/104] remove CONFIG_EXPERIMENTAL Kees Cook
2012-11-05 23:03 ` Kees Cook [this message]
2012-11-06 4:18 ` [PATCH 001/104] checkpatch: warn about using CONFIG_EXPERIMENTAL Joe Perches
2012-11-12 22:43 ` Kees Cook
2012-11-12 22:49 ` Joe Perches
2012-11-05 23:03 ` [PATCH 002/104] drivers/net/ethernet/fujitsu: remove depends on CONFIG_EXPERIMENTAL Kees Cook
2012-11-05 23:03 ` [PATCH 003/104] drivers/net/ethernet/icplus: " Kees Cook
2012-11-05 23:03 ` [PATCH 004/104] drivers/net/ethernet/microchip: " Kees Cook
2012-11-05 23:03 ` [PATCH 005/104] drivers/net/ethernet/racal: " Kees Cook
2012-11-05 23:03 ` [PATCH 006/104] drivers/net/ethernet/seeq: " Kees Cook
2012-11-05 23:03 ` [PATCH 007/104] drivers/net/ethernet/stmicro/stmmac: " Kees Cook
2012-11-05 23:03 ` [PATCH 008/104] drivers/net/ethernet/sun: " Kees Cook
2012-11-05 23:03 ` [PATCH 009/104] drivers/net/hippi: " Kees Cook
2012-11-05 23:03 ` [PATCH 010/104] drivers/net/irda: " Kees Cook
2012-11-05 23:03 ` [PATCH 011/104] drivers/net/ppp: " Kees Cook
2012-11-05 23:03 ` [PATCH 012/104] drivers/net/wireless: " Kees Cook
2012-11-05 23:03 ` [PATCH 013/104] drivers/net/wireless/ath/ath6kl: " Kees Cook
2012-11-05 23:03 ` [PATCH 014/104] drivers/net/wireless/ath/carl9170: " Kees Cook
2012-11-05 23:03 ` [PATCH 015/104] drivers/net/wireless/b43: " Kees Cook
2012-11-05 23:03 ` [PATCH 016/104] drivers/net/wireless/ipw2x00: " Kees Cook
2012-11-05 23:03 ` [PATCH 017/104] drivers/net/wireless/p54: " Kees Cook
2012-11-05 23:03 ` [PATCH 018/104] drivers/net/wireless/rt2x00: " Kees Cook
2012-11-05 23:03 ` [PATCH 019/104] drivers/net/wireless/rtl818x: " Kees Cook
2012-11-05 23:03 ` [PATCH 020/104] drivers/net/wireless/ti/wl1251: " Kees Cook
2012-11-16 18:20 ` Luciano Coelho
2012-11-05 23:03 ` [PATCH 021/104] drivers/net/wireless/zd1211rw: " Kees Cook
2012-11-05 23:03 ` [PATCH 022/104] Documentation/laptops: " Kees Cook
2012-11-05 23:03 ` [PATCH 023/104] Documentation/networking: " Kees Cook
2012-11-05 23:03 ` [PATCH 024/104] arch/alpha: " Kees Cook
2012-11-06 8:13 ` Matt Turner
2012-11-05 23:03 ` [PATCH 025/104] arch/arm: " Kees Cook
2012-11-05 23:03 ` [PATCH 026/104] arch/arm/mach-s3c24xx: " Kees Cook
2012-11-05 23:03 ` [PATCH 027/104] arch/blackfin: " Kees Cook
2012-11-05 23:03 ` [PATCH 028/104] arch/microblaze/platform: " Kees Cook
2012-11-05 23:03 ` [PATCH 029/104] arch/mips/jazz: " Kees Cook
2012-11-05 23:03 ` [PATCH 030/104] arch/mips: " Kees Cook
2012-11-05 23:03 ` [PATCH 031/104] arch/mips/sgi-ip27: " Kees Cook
2012-11-05 23:03 ` [PATCH 032/104] arch/parisc: " Kees Cook
2012-11-05 23:03 ` [PATCH 033/104] arch/powerpc/kvm: " Kees Cook
2012-11-05 23:03 ` [PATCH 034/104] arch/powerpc/platforms/85xx: " Kees Cook
2012-11-05 23:03 ` [PATCH 035/104] arch/powerpc/platforms/cell: " Kees Cook
2012-11-05 23:03 ` [PATCH 036/104] arch/powerpc: " Kees Cook
2012-11-05 23:03 ` [PATCH 037/104] arch/s390: " Kees Cook
2012-11-06 8:45 ` Heiko Carstens
2012-11-05 23:03 ` [PATCH 038/104] arch/sh: " Kees Cook
2012-11-05 23:03 ` [PATCH 039/104] arch/tile/kvm: " Kees Cook
2012-11-05 23:03 ` [PATCH 040/104] drivers/acpi: " Kees Cook
2012-11-05 23:03 ` [PATCH 041/104] drivers/ata: " Kees Cook
2012-11-05 23:03 ` [PATCH 042/104] drivers/block/paride: " Kees Cook
2012-11-05 23:04 ` [PATCH 043/104] drivers/cpufreq: " Kees Cook
2012-11-06 13:49 ` Rafael J. Wysocki
2012-11-05 23:04 ` [PATCH 044/104] drivers/edac: " Kees Cook
2012-11-05 23:04 ` [PATCH 045/104] drivers/gpio: " Kees Cook
2012-11-05 23:04 ` [PATCH 046/104] drivers/gpu/drm/ast: " Kees Cook
2012-11-05 23:04 ` [PATCH 047/104] drivers/gpu/drm/cirrus: " Kees Cook
2012-11-05 23:04 ` [PATCH 048/104] drivers/gpu/drm/gma500: " Kees Cook
2012-11-05 23:04 ` [PATCH 049/104] drivers/gpu/drm/mgag200: " Kees Cook
2012-11-05 23:04 ` [PATCH 050/104] drivers/i2c/busses: " Kees Cook
2012-11-05 23:04 ` [PATCH 051/104] drivers/idle: " Kees Cook
2012-11-05 23:04 ` [PATCH 052/104] drivers/input/keyboard: " Kees Cook
2012-11-05 23:04 ` [PATCH 053/104] drivers/input/misc: " Kees Cook
2012-11-05 23:04 ` [PATCH 054/104] drivers/iommu: " Kees Cook
2012-11-05 23:04 ` [PATCH 055/104] drivers/isdn/hisax: " Kees Cook
2012-11-05 23:04 ` [PATCH 056/104] drivers/leds: " Kees Cook
2012-11-05 23:04 ` [PATCH 057/104] drivers/macintosh: " Kees Cook
2012-11-05 23:04 ` [PATCH 058/104] drivers/md: " Kees Cook
2012-11-05 23:04 ` [PATCH 059/104] drivers/md/persistent-data: " Kees Cook
2012-11-05 23:04 ` [PATCH 060/104] drivers/memstick/host: " Kees Cook
2012-11-05 23:04 ` [PATCH 061/104] drivers/memstick: " Kees Cook
2012-11-05 23:04 ` [PATCH 062/104] drivers/mtd: " Kees Cook
2012-11-05 23:04 ` [PATCH 063/104] drivers/mtd/chips: " Kees Cook
2012-11-05 23:04 ` [PATCH 064/104] drivers/mtd/devices: " Kees Cook
2012-11-05 23:04 ` [PATCH 065/104] drivers/mtd/nand: " Kees Cook
2012-11-05 23:04 ` [PATCH 066/104] drivers/parport: " Kees Cook
2012-11-05 23:04 ` [PATCH 067/104] drivers/pci/pcie: " Kees Cook
2012-11-05 23:04 ` [PATCH 068/104] drivers/pcmcia: " Kees Cook
2012-11-06 7:11 ` Haojian Zhuang
2012-11-05 23:04 ` [PATCH 069/104] drivers/platform/x86: " Kees Cook
2012-11-05 23:04 ` [PATCH 070/104] drivers/pnp/pnpbios: " Kees Cook
2012-11-05 23:04 ` [PATCH 071/104] drivers/pps: " Kees Cook
2012-11-05 23:04 ` [PATCH 072/104] drivers/remoteproc: " Kees Cook
2012-11-05 23:04 ` [PATCH 073/104] drivers/scsi: " Kees Cook
2012-11-05 23:04 ` [PATCH 074/104] drivers/scsi/arm: " Kees Cook
2012-11-05 23:04 ` [PATCH 075/104] drivers/scsi/device_handler: " Kees Cook
2012-11-05 23:04 ` [PATCH 076/104] drivers/spi: " Kees Cook
2012-11-05 23:04 ` [PATCH 077/104] drivers/target/sbp: " Kees Cook
2012-11-07 0:30 ` Nicholas A. Bellinger
2012-11-07 2:22 ` Kees Cook
2012-11-07 2:44 ` Nicholas A. Bellinger
2012-11-05 23:04 ` [PATCH 078/104] drivers/uwb: " Kees Cook
2012-11-05 23:04 ` [PATCH 079/104] drivers/vhost: " Kees Cook
2012-11-05 23:04 ` [PATCH 080/104] drivers/video: " Kees Cook
2012-11-05 23:04 ` [PATCH 081/104] drivers/video/console: " Kees Cook
2012-11-05 23:04 ` [PATCH 082/104] drivers/video/geode: " Kees Cook
2012-11-05 23:04 ` [PATCH 083/104] drivers/video/omap: " Kees Cook
2012-11-05 23:04 ` [PATCH 084/104] drivers/vlynq: " Kees Cook
2012-11-05 23:04 ` [PATCH 085/104] drivers/watchdog: " Kees Cook
2012-11-05 23:04 ` [PATCH 086/104] fs/9p: " Kees Cook
2012-11-05 23:04 ` [PATCH 087/104] fs/adfs: " Kees Cook
2012-11-05 23:04 ` [PATCH 088/104] fs/affs: " Kees Cook
2012-11-05 23:04 ` [PATCH 089/104] fs/afs: " Kees Cook
2012-11-05 23:04 ` [PATCH 090/104] fs/befs: " Kees Cook
2012-11-05 23:04 ` [PATCH 091/104] fs/bfs: " Kees Cook
2012-11-05 23:04 ` [PATCH 092/104] fs/btrfs: " Kees Cook
2012-11-05 23:04 ` [PATCH 093/104] fs/cifs: " Kees Cook
2012-11-05 23:04 ` [PATCH 094/104] fs/dlm: " Kees Cook
2012-11-05 23:04 ` [PATCH 095/104] fs/efs: " Kees Cook
2012-11-05 23:04 ` [PATCH 096/104] fs/hfs: " Kees Cook
2012-11-05 23:04 ` [PATCH 097/104] fs/jffs2: " Kees Cook
2012-11-05 23:04 ` [PATCH 098/104] fs/logfs: " Kees Cook
2012-11-05 23:04 ` [PATCH 099/104] fs/nfsd: " Kees Cook
2012-11-05 23:04 ` [PATCH 100/104] fs/ufs: " Kees Cook
2012-11-05 23:04 ` [PATCH 101/104] kernel/gcov: " Kees Cook
2012-11-06 10:58 ` Peter 1 Oberparleiter
2012-11-05 23:04 ` [PATCH 102/104] lib: " Kees Cook
2012-11-05 23:05 ` [PATCH 103/104] mm: " Kees Cook
2012-11-06 1:22 ` David Rientjes
2012-11-06 1:54 ` Kees Cook
2012-11-06 1:57 ` Kees Cook
2012-11-06 5:57 ` David Rientjes
2012-11-06 14:55 ` Kees Cook
2012-11-05 23:05 ` [PATCH 104/104] final removal of CONFIG_EXPERIMENTAL Kees Cook
2012-11-06 17:14 ` [PATCH v2 000/104] remove CONFIG_EXPERIMENTAL Geert Uytterhoeven
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1352156701-4038-2-git-send-email-keescook@chromium.org \
--to=keescook@chromium.org \
--cc=apw@canonical.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox