Skip to content

remove undocumented type definition alias

Christoph Jaeger linux-kbuild lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3kconfig: regenerate parserscripts/kconfig/zconf.tab.c_shipped+561 -6831 reply
2/3kconfig: remove undocumented type definition alias 'boolean'arch/cris/arch-v32/drivers/Kconfig arch/mips/pmcs-msp71xx/Kconfig drivers/connector/Kconfig +35 more+125 -1318 replies
3/3kconfig: rename S_BOOLEAN to S_BOOL for consistencyscripts/kconfig/confdata.c scripts/kconfig/expr.c scripts/kconfig/expr.h +10 more+53 -531 reply

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchPaul Bolle
1/3T-b
2/3
3/3A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] remove undocumented type definition alias

This patchset removes support for the undocumented type definition keyword 'boolean', that is used in some config option definitions, in favor of the much more widely used 'bool'. Both are semantically equivalent.

% git grep -w bool -- '*Kconfig*' | wc -l
7065
% git grep -w boolean -- '*Kconfig*' | wc -l
94

Having this alias is more confusing than helpful.

This change was suggested by Daniel Borkmann <[email protected]>.

Patch 3/3 is purely cosmetic and therefore optional.

Christoph Jaeger (3):
kconfig: regenerate parser
kconfig: remove undocumented type definition alias 'boolean'
kconfig: rename S_BOOLEAN to S_BOOL for consistency

 arch/cris/arch-v32/drivers/Kconfig   |    2 +-
 arch/mips/pmcs-msp71xx/Kconfig       |    6 +-
 drivers/connector/Kconfig            |    2 +-
 drivers/hwmon/Kconfig                |    2 +-
 drivers/i2c/Kconfig                  |    4 +-
 drivers/iio/Kconfig                  |    4 +-
 drivers/isdn/hardware/mISDN/Kconfig  |    2 +-
 drivers/md/Kconfig                   |    4 +-
 drivers/md/persistent-data/Kconfig   |    2 +-
 drivers/net/ethernet/ti/Kconfig      |    4 +-
 drivers/net/usb/Kconfig              |   12 +-
 drivers/net/wireless/rt2x00/Kconfig  |    6 +-
 drivers/pci/pcie/aer/Kconfig         |    2 +-
 drivers/rtc/Kconfig                  |    8 +-
 drivers/spi/Kconfig                  |    6 +-
 drivers/staging/board/Kconfig        |    2 +-
 drivers/staging/emxx_udc/Kconfig     |    2 +-
 drivers/staging/iio/Kconfig          |    4 +-
 drivers/tty/serial/Kconfig           |    2 +-
 drivers/usb/gadget/Kconfig           |   26 +-
 drivers/usb/gadget/legacy/Kconfig    |    2 +-
 drivers/usb/gadget/udc/Kconfig       |    4 +-
 drivers/usb/phy/Kconfig              |    2 +-
 init/Kconfig                         |    4 +-
 lib/Kconfig                          |   30 +-
 mm/Kconfig                           |   22 +-
 net/Kconfig                          |   14 +-
 net/sched/Kconfig                    |    2 +-
 scripts/kconfig/confdata.c           |   22 +-
 scripts/kconfig/expr.c               |   10 +-
 scripts/kconfig/expr.h               |    2 +-
 scripts/kconfig/gconf.c              |    4 +-
 scripts/kconfig/mconf.c              |    6 +-
 scripts/kconfig/menu.c               |   10 +-
 scripts/kconfig/nconf.c              |    4 +-
 scripts/kconfig/qconf.cc             |   10 +-
 scripts/kconfig/symbol.c             |   34 +-
 scripts/kconfig/zconf.gperf          |    5 +-
 scripts/kconfig/zconf.hash.c_shipped |   53 +-
 scripts/kconfig/zconf.tab.c_shipped  | 1248 +++++++++++++++-------------------
 scripts/kconfig/zconf.y              |    6 +-
 security/integrity/Kconfig           |    4 +-
 security/integrity/evm/Kconfig       |    2 +-
 43 files changed, 737 insertions(+), 865 deletions(-)
Signature · 1 line
2.1.0