lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Fri, 14 Oct 2011 14:27:10 +0200
From:	Paul Bolle <pebolle@...cali.nl>
To:	linux-kernel@...r.kernel.org
Subject: [PATCH 00/21] drop unused Kconfig symbols

This set of patches removes unused Kconfig symbols from Kconfig files
across the tree. Roughly half of the changes turned out to be in the
cris architecture.

Unused Kconfig symbols were identified using a few silly scripts. I
actually expected more unused symbols. It's likely I missed a few. Maybe
I'll discover more in a next iteration using smarter scripts. (If I find
the courage to do this again, that is.)

Testing was done with "git grep" only. (Well, "git grep" and a lot of
tedious manual inspection of these Kconfig files.) I lack the
(intellectual) bandwidth to come up with some reasonable test, given the
fact that this touches a lot of architectures, subsystems and drivers I
know absolutely nothing about. Any suggestions?

Paul Bolle (21):
  alpha: drop unused Kconfig symbol
  blackfin: drop unused Kconfig symbol
  sparc: drop unused Kconfig symbol
  um: drop unused Kconfig symbol
  sh: drop unused Kconfig symbol
  unicore32: drop unused Kconfig symbols
  score: drop unused Kconfig symbols
  m32r: drop unused Kconfig symbol
  samples: drop unused Kconfig symbol
  tomoyo: drop unused Kconfig symbols
  ARM: drop unused Kconfig symbols
  m68k: drop unused Kconfig symbols
  openrisc: drop unused Kconfig symbols
  mips: drop unused Kconfig symbols
  powerpc: drop unused Kconfig symbols
  x86: drop unused Kconfig symbol
  stmmac: drop unused Kconfig symbol
  pci: drop unused Kconfig symbol
  scsi: drop unused Kconfig symbol
  staging: drop unused Kconfig symbols
  cris: drop unused Kconfig symbols

 arch/alpha/Kconfig                         |    5 -
 arch/arm/mach-at91/Kconfig                 |    6 -
 arch/arm/mach-ixp4xx/Kconfig               |    1 +
 arch/arm/mach-pxa/Kconfig                  |    3 -
 arch/blackfin/Kconfig                      |    4 -
 arch/cris/Kconfig                          |   49 ----
 arch/cris/arch-v10/drivers/Kconfig         |   23 --
 arch/cris/arch-v32/drivers/Kconfig         |  380 ----------------------------
 arch/cris/arch-v32/mach-a3/Kconfig         |    4 -
 arch/m32r/Kconfig                          |    7 -
 arch/m68k/Kconfig                          |   28 +--
 arch/m68k/Kconfig.nommu                    |   44 ----
 arch/mips/Kconfig                          |   14 -
 arch/mips/powertv/Kconfig                  |    2 -
 arch/mips/powertv/asic/Kconfig             |   28 --
 arch/openrisc/Kconfig                      |   12 -
 arch/powerpc/Kconfig                       |   22 --
 arch/powerpc/platforms/40x/Kconfig         |    5 -
 arch/powerpc/platforms/Kconfig.cputype     |    8 -
 arch/powerpc/platforms/embedded6xx/Kconfig |    4 -
 arch/powerpc/platforms/prep/Kconfig        |    9 -
 arch/powerpc/platforms/wsp/Kconfig         |    5 -
 arch/score/Kconfig                         |   19 --
 arch/sh/Kconfig                            |    4 -
 arch/sparc/Kconfig                         |    7 +-
 arch/um/Kconfig.x86                        |    3 -
 arch/unicore32/Kconfig.debug               |   14 -
 arch/x86/Kconfig                           |    3 -
 drivers/net/stmmac/Kconfig                 |    9 -
 drivers/pci/Kconfig                        |   11 -
 drivers/scsi/Kconfig                       |   14 -
 drivers/staging/et131x/Kconfig             |    9 -
 drivers/staging/pohmelfs/Kconfig           |    8 -
 samples/Kconfig                            |    6 -
 security/tomoyo/Kconfig                    |   24 --
 35 files changed, 3 insertions(+), 791 deletions(-)
 delete mode 100644 arch/mips/powertv/asic/Kconfig

-- 
1.7.4.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ