Skip to contentSkip to conversation

usb: collapse USB_STORAGE Kconfig comment

PATCH New David Disseldorp 1 participant 1 message Nov 27, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 usb: collapse USB_STORAGE Kconfig comment

The two Kconfig "comment" calls render in /proc/config.gz as split sections:
#
# NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may #

#

 # also be needed; see USB_STORAGE Help for more info
 #

"make menuconfig" renders the comments as:
*** NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may *** *** also be needed; see USB_STORAGE Help for more info ***

Kconfig doesn't support splitting a comment cleanly over two lines, so just collapse it into a single oversize comment.

---
Changes since v1:
- slightly rework commit message

 drivers/usb/storage/Kconfig | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/usb/storage/Kconfig +1 -2
index d17b60a644efb..4be1d617d63db 100644
@@ -3,8 +3,7 @@
 # USB Storage driver configuration
 #
 
-comment "NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may"
-comment "also be needed; see USB_STORAGE Help for more info"
+comment "NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may also be needed; see USB_STORAGE Help for more info"
 
 config USB_STORAGE
 	tristate "USB Mass Storage support"
Signature · 1 line
2.43.0