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]
Message-Id: <20240927062457.223066-1-yujiaoliang@vivo.com>
Date: Fri, 27 Sep 2024 14:24:56 +0800
From: Yu Jiaoliang <yujiaoliang@...o.com>
To: Adam Radford <aradford@...il.com>,
	"James E.J. Bottomley" <James.Bottomley@...senPartnership.com>,
	"Martin K. Petersen" <martin.petersen@...cle.com>,
	Khalid Aziz <khalid@...ehiking.org>,
	Matthew Wilcox <willy@...radead.org>,
	Hannes Reinecke <hare@...e.com>,
	Oliver Neukum <oliver@...kum.org>,
	Ali Akcaagac <aliakc@....de>,
	Jamie Lenehan <lenehan@...bble.org>,
	linux-scsi@...r.kernel.org,
	linux-kernel@...r.kernel.org
Cc: opensource.kernel@...o.com
Subject: [PATCH v1] scsi: Fix tpos in comments across various files

This patch fixes several typos found in the comments within the driver/scsi
directory. The changes are purely cosmetic and do not affect functionality.

Signed-off-by: Yu Jiaoliang <yujiaoliang@...o.com>
---
 drivers/scsi/3w-9xxx.c    |  2 +-
 drivers/scsi/3w-sas.c     |  2 +-
 drivers/scsi/FlashPoint.c |  2 +-
 drivers/scsi/advansys.c   |  2 +-
 drivers/scsi/dc395x.c     | 16 ++++++++--------
 5 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/drivers/scsi/3w-9xxx.c b/drivers/scsi/3w-9xxx.c
index 6fb61c88ea11..895eb17ff402 100644
--- a/drivers/scsi/3w-9xxx.c
+++ b/drivers/scsi/3w-9xxx.c
@@ -1694,7 +1694,7 @@ static int twa_reset_sequence(TW_Device_Extension *tw_dev, int soft_reset)
 	return retval;
 } /* End twa_reset_sequence() */
 
-/* This funciton returns unit geometry in cylinders/heads/sectors */
+/* This function returns unit geometry in cylinders/heads/sectors */
 static int twa_scsi_biosparam(struct scsi_device *sdev, struct block_device *bdev, sector_t capacity, int geom[])
 {
 	int heads, sectors, cylinders;
diff --git a/drivers/scsi/3w-sas.c b/drivers/scsi/3w-sas.c
index caa6713a62a4..c7e242aa7e20 100644
--- a/drivers/scsi/3w-sas.c
+++ b/drivers/scsi/3w-sas.c
@@ -1403,7 +1403,7 @@ static int twl_reset_device_extension(TW_Device_Extension *tw_dev, int ioctl_res
 	return retval;
 } /* End twl_reset_device_extension() */
 
-/* This funciton returns unit geometry in cylinders/heads/sectors */
+/* This function returns unit geometry in cylinders/heads/sectors */
 static int twl_scsi_biosparam(struct scsi_device *sdev, struct block_device *bdev, sector_t capacity, int geom[])
 {
 	int heads, sectors;
diff --git a/drivers/scsi/FlashPoint.c b/drivers/scsi/FlashPoint.c
index 9e77b8e1ea7c..e62653ac497b 100644
--- a/drivers/scsi/FlashPoint.c
+++ b/drivers/scsi/FlashPoint.c
@@ -6472,7 +6472,7 @@ static void FPT_BusMasterInit(u32 p_port)
  *
  * Function: FPT_DiagEEPROM
  *
- * Description: Verfiy checksum and 'Key' and initialize the EEPROM if
+ * Description: Verify checksum and 'Key' and initialize the EEPROM if
  *              necessary.
  *
  *---------------------------------------------------------------------*/
diff --git a/drivers/scsi/advansys.c b/drivers/scsi/advansys.c
index fd4fcb37863d..3e7755a3d020 100644
--- a/drivers/scsi/advansys.c
+++ b/drivers/scsi/advansys.c
@@ -5575,7 +5575,7 @@ static int AdvInitAsc38C1600Driver(ADV_DVC_VAR *asc_dvc)
 	/*
 	 * Each ASC-38C1600 function has two connectors. Only an HVD device
 	 * can not be connected to either connector. An LVD device or SE device
-	 * may be connected to either connecor. If an SE device is connected,
+	 * may be connected to either connector. If an SE device is connected,
 	 * then at most Ultra speed (20 Mhz) can be used on both connectors.
 	 *
 	 * If an HVD device is attached, return an error.
diff --git a/drivers/scsi/dc395x.c b/drivers/scsi/dc395x.c
index d108a86e196e..a8651669ead5 100644
--- a/drivers/scsi/dc395x.c
+++ b/drivers/scsi/dc395x.c
@@ -106,7 +106,7 @@
 
 
 /*
- * Output a kernel mesage at the specified level and append the
+ * Output a kernel message at the specified level and append the
  * driver name and a ": " to the start of the message
  */
 #define dprintkl(level, format, arg...)  \
@@ -115,10 +115,10 @@
 
 #ifdef DEBUG_MASK
 /*
- * print a debug message - this is formated with KERN_DEBUG, then the
+ * print a debug message - this is formatted with KERN_DEBUG, then the
  * driver name followed by a ": " and then the message is output. 
  * This also checks that the specified debug level is enabled before
- * outputing the message
+ * outputting the message
  */
 #define dprintkdbg(type, format, arg...) \
 	do { \
@@ -788,7 +788,7 @@ static void waiting_process_next(struct AdapterCtlBlk *acb)
 
 	/*
 	 * Loop over the dcb, but we start somewhere (potentially) in
-	 * the middle of the loop so we need to manully do this.
+	 * the middle of the loop so we need to manually do this.
 	 */
 	pos = start;
 	do {
@@ -1027,7 +1027,7 @@ static int dc395x_queue_command_lck(struct scsi_cmnd *cmd)
 	/*
 	 * Complete the command immediatey, and then return 0 to
 	 * indicate that we have handled the command. This is usually
-	 * done when the commad is for things like non existent
+	 * done when the command is for things like non existent
 	 * devices.
 	 */
 	done(cmd);
@@ -1940,7 +1940,7 @@ static void data_out_phase0(struct AdapterCtlBlk *acb, struct ScsiReqBlk *srb,
 				DC395x_read32(acb, TRM_S1040_DMA_CXCNT));
 		}
 		/*
-		 * calculate all the residue data that not yet tranfered
+		 * calculate all the residue data that not yet transferred
 		 * SCSI transfer counter + left in SCSI FIFO data
 		 *
 		 * .....TRM_S1040_SCSI_COUNTER (24bits)
@@ -3429,7 +3429,7 @@ static void set_basic_config(struct AdapterCtlBlk *acb)
 	DC395x_write8(acb, TRM_S1040_SCSI_CONFIG1, 0x03);	/* was 0x13: default */
 	/* program Host ID                  */
 	DC395x_write8(acb, TRM_S1040_SCSI_HOSTID, acb->scsi_host->this_id);
-	/* set ansynchronous transfer       */
+	/* set asynchronous transfer       */
 	DC395x_write8(acb, TRM_S1040_SCSI_OFFSET, 0x00);
 	/* Turn LED control off */
 	wval = DC395x_read16(acb, TRM_S1040_GEN_CONTROL) & 0x7F;
@@ -3530,7 +3530,7 @@ static void request_sense(struct AdapterCtlBlk *acb, struct DeviceCtlBlk *dcb,
 /**
  * device_alloc - Allocate a new device instance. This create the
  * devices instance and sets up all the data items. The adapter
- * instance is required to obtain confiuration information for this
+ * instance is required to obtain configuration information for this
  * device. This does *not* add this device to the adapters device
  * list.
  *
-- 
2.34.1


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ