[PATCH v3 0/3] scsi: reduce CONFIG_SCSI_CONSTANTS=y impact by 8k

From: Rasmus Villemoes
Date: Tue Mar 22 2016 - 15:32:30 EST


This is mostly identical to v2 sent in November, rebased (cleanly) to
current mainline. The only change is that I've this time also updated
the Kconfig help text in 3/3, since the 75 KB was a bit
exaggerated. After these patches are applied, the impact of choosing
CONFIG_SCSI_CONSTANTS=y is about 36 KB, while it was about 44 KB
before. I took the liberty of including Hannes' Reviewed-by and
Douglas' Tested-by despite that addition.

Rasmus Villemoes (3):
scsi: make some Additional Sense strings more grep'able
scsi: move Additional Sense Codes to separate file
scsi: reduce CONFIG_SCSI_CONSTANTS=y impact by 8k

drivers/scsi/Kconfig | 4 +-
drivers/scsi/constants.c | 859 ++-------------------------------------------
drivers/scsi/sense_codes.h | 826 +++++++++++++++++++++++++++++++++++++++++++
3 files changed, 849 insertions(+), 840 deletions(-)
create mode 100644 drivers/scsi/sense_codes.h

--
2.1.4