* [PATCH] strcuture: Correct spelling mistakes in comments
@ 2023-05-04 9:05 Wang Honghui
2023-05-04 10:07 ` Bagas Sanjaya
0 siblings, 1 reply; 2+ messages in thread
From: Wang Honghui @ 2023-05-04 9:05 UTC (permalink / raw)
To: Oliver Neukum, Ali Akcaagac, Jamie Lenehan, James E.J. Bottomley,
Martin K. Petersen, dc395x, linux-scsi, linux-kernel
Subject: [PATCH] strcuture: Correct spelling mistakes in comments
Signed-off-by: Wang Honghui <honghui.wang@ucas.com.cn>
---
drivers/scsi/dc395x.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/scsi/dc395x.c b/drivers/scsi/dc395x.c
index c8e86f8a631e..a3f00e6e3296 100644
--- a/drivers/scsi/dc395x.c
+++ b/drivers/scsi/dc395x.c
@@ -3641,7 +3641,7 @@ static void adapter_add_device(struct AdapterCtlBlk *acb,
* adapter_remove_device - Removes the device instance from the adaptor
* instance. The device instance is not check in any way or freed by this.
* The caller is expected to take care of that. This will simply remove the
- * device from the adapters data strcutures.
+ * device from the adapters data structures.
*
* @acb: The adapter device to be updated
* @dcb: A device that has previously been added to the adapter.
@@ -3980,7 +3980,7 @@ static void trms1040_read_all(struct NvRamType *eeprom, unsigned long io_port)
* Checks the checksum and if it's not correct it uses a set of default
* values.
*
- * @eeprom: caller allocated strcuture to read the eeprom data into
+ * @eeprom: caller allocated structure to read the eeprom data into
* @io_port: io port to read from
**/
static void check_eeprom(struct NvRamType *eeprom, unsigned long io_port)
@@ -4578,7 +4578,7 @@ static void banner_display(void)
* dc395x_init_one - Initialise a single instance of the adapter.
*
* The PCI layer will call this once for each instance of the adapter
- * that it finds in the system. The pci_dev strcuture indicates which
+ * that it finds in the system. The pci_dev structure indicates which
* instance we are being called from.
*
* @dev: The PCI device to initialize.
--
2.34.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] strcuture: Correct spelling mistakes in comments
2023-05-04 9:05 [PATCH] strcuture: Correct spelling mistakes in comments Wang Honghui
@ 2023-05-04 10:07 ` Bagas Sanjaya
0 siblings, 0 replies; 2+ messages in thread
From: Bagas Sanjaya @ 2023-05-04 10:07 UTC (permalink / raw)
To: Wang Honghui, Oliver Neukum, Ali Akcaagac, Jamie Lenehan,
James E.J. Bottomley, Martin K. Petersen, dc395x, linux-scsi,
linux-kernel
[-- Attachment #1: Type: text/plain, Size: 2302 bytes --]
On Thu, May 04, 2023 at 05:05:51PM +0800, Wang Honghui wrote:
> Subject: [PATCH] strcuture: Correct spelling mistakes in comments
The patch subject should have been "scsi: dc395x: Correct 'structures'
spelling mistakes". For the description, though, I'd like to write
as 'As title', since the subject is self-explanatory.
Care to reroll?
>
> Signed-off-by: Wang Honghui <honghui.wang@ucas.com.cn>
> ---
> drivers/scsi/dc395x.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/scsi/dc395x.c b/drivers/scsi/dc395x.c
> index c8e86f8a631e..a3f00e6e3296 100644
> --- a/drivers/scsi/dc395x.c
> +++ b/drivers/scsi/dc395x.c
> @@ -3641,7 +3641,7 @@ static void adapter_add_device(struct AdapterCtlBlk *acb,
> * adapter_remove_device - Removes the device instance from the adaptor
> * instance. The device instance is not check in any way or freed by this.
> * The caller is expected to take care of that. This will simply remove the
> - * device from the adapters data strcutures.
> + * device from the adapters data structures.
> *
> * @acb: The adapter device to be updated
> * @dcb: A device that has previously been added to the adapter.
> @@ -3980,7 +3980,7 @@ static void trms1040_read_all(struct NvRamType *eeprom, unsigned long io_port)
> * Checks the checksum and if it's not correct it uses a set of default
> * values.
> *
> - * @eeprom: caller allocated strcuture to read the eeprom data into
> + * @eeprom: caller allocated structure to read the eeprom data into
> * @io_port: io port to read from
> **/
> static void check_eeprom(struct NvRamType *eeprom, unsigned long io_port)
> @@ -4578,7 +4578,7 @@ static void banner_display(void)
> * dc395x_init_one - Initialise a single instance of the adapter.
> *
> * The PCI layer will call this once for each instance of the adapter
> - * that it finds in the system. The pci_dev strcuture indicates which
> + * that it finds in the system. The pci_dev structure indicates which
> * instance we are being called from.
> *
> * @dev: The PCI device to initialize.
The diff LGTM, thanks!
For the diff only,
Reviewed-by: Bagas Sanjaya <bagasdotme@gmail.com>
--
An old man doll... just what I always wanted! - Clara
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-05-04 10:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-04 9:05 [PATCH] strcuture: Correct spelling mistakes in comments Wang Honghui
2023-05-04 10:07 ` Bagas Sanjaya
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox