summaryrefslogtreecommitdiffstats
path: root/net/packet
diff options
context:
space:
mode:
authorUlf Magnusson2018-01-12 07:47:47 +0100
committerMasahiro Yamada2018-01-21 16:49:29 +0100
commit6479f327dea60ddc2be065c7d174273fb4837f03 (patch)
tree9b8639c5b9ef8676cb8d1640b19a82bc4c0a62ff /net/packet
parentkconfig: drop 'boolean' keyword (diff)
downloadkernel-qcow2-linux-6479f327dea60ddc2be065c7d174273fb4837f03.tar.gz
kernel-qcow2-linux-6479f327dea60ddc2be065c7d174273fb4837f03.tar.xz
kernel-qcow2-linux-6479f327dea60ddc2be065c7d174273fb4837f03.zip
kconfig: Warn if there is more than one help text
Avoids mistakes like in the following real-world example, where only the final help string ("Say Y...") was used. This particular example was fixed in commit 561b29e4ec8d ("media: fix media Kconfig help syntax issues"). config DVB_NETUP_UNIDVB ... select DVB_CXD2841ER if MEDIA_SUBDRV_AUTOSELECT ---help--- Support for NetUP PCI express Universal DVB card. help Say Y when you want to support NetUP Dual Universal DVB card ... This now prints the following warning: drivers/media/pci/netup_unidvb:13: warning: 'DVB_NETUP_UNIDVB' defined with more than one help text -- only the last one will be used Also free() any extra help strings. Signed-off-by: Ulf Magnusson <ulfalizer@gmail.com> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'net/packet')
0 files changed, 0 insertions, 0 deletions