Skip to contentSkip to conversation

ata: libata-scsi: Fix ata_scsi_hotplug() reference in kernel-doc

PATCH Applied Karl Mehltretter 3 participants 3 messages Sep 12 libata

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ata: libata-scsi: Fix ata_scsi_hotplug() reference in kernel-doc

The ata_scsi_remove_dev() comment misspells its caller as ata_eh_scsi_hotplug(). The caller is ata_scsi_hotplug(). Correct the reference, which predates libata's move from drivers/scsi to drivers/ata.

Fixes 580b2102327a ("[PATCH] libata-hp: implement SCSI part of hotplug")
Assisted-by LLM
---
 drivers/ata/libata-scsi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/ata/libata-scsi.c +1 -1
index b3666519b648dc039b1f85938f3a5b7ba201b1e5..db43fd7b6418205ca8e882c6f18a89ba3af9acb7 100644
@@ -5382,7 +5382,7 @@ bool ata_scsi_offline_dev(struct ata_device *dev)
  *	ata_scsi_remove_dev - remove attached SCSI device
  *	@dev: ATA device to remove attached SCSI device for
  *
- *	This function is called from ata_eh_scsi_hotplug() and
+ *	This function is called from ata_scsi_hotplug() and
  *	responsible for removing the SCSI device attached to @dev.
  *
  *	LOCKING:
Signature · 1 line
2.39.5 (Apple Git-154)
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 8 lines · Karl Mehltretter

The ata_scsi_remove_dev() comment misspells its caller as ata_eh_scsi_hotplug(). The caller is ata_scsi_hotplug(). Correct the reference, which predates libata's move from drivers/scsi to drivers/ata.

Fixes 580b2102327a ("[PATCH] libata-hp: implement SCSI part of hotplug")
Assisted-by LLM
Signature · 2 lines
Damien Le Moal
Western Digital Research
maintainer Applied
#2 lore raw
In reply to Karl Mehltretter
Quoted 6 lines · Karl Mehltretter

The ata_scsi_remove_dev() comment misspells its caller as ata_eh_scsi_hotplug(). The caller is ata_scsi_hotplug(). Correct the reference, which predates libata's move from drivers/scsi to drivers/ata.

Applied to libata/linux.git (for-7.4), thanks!

[1/1] ata: libata-scsi: Fix ata_scsi_hotplug() reference in kernel-doc

      https://git.kernel.org/libata/linux/c/5915ab52

Kind regards,
Niklas