misc: fix typos in comments
PATCH 1/1 misc: fix typos in comments
Fix typos in comments, reported by scripts/checkpatch.pl using the misspelling list in scripts/spelling.txt. Only touches comments, no code changes.
Assisted-by Cursor:claude-opus-5
Signed-off-by Hemanth Selam <[email protected]>
--- drivers/char/lp.c | 2 +- drivers/misc/gehc-achc.c | 2 +- drivers/misc/genwqe/card_base.c | 6 +++--- drivers/misc/genwqe/card_ddcb.c | 4 ++-- drivers/misc/genwqe/card_utils.c | 2 +- drivers/misc/vmw_vmci/vmci_datagram.c | 2 +- drivers/misc/vmw_vmci/vmci_queue_pair.c | 2 +- 7 files changed, 10 insertions(+), 10 deletions(-)
drivers/char/lp.c +1 -1
@@ -30,7 +30,7 @@* CAREFUL will block a bit after in lp_check_status(). * Andrea Arcangeli, 15 Oct 1998 * Obsoleted and removed all the lowlevel stuff implemented in the last -* month to use the IEEE1284 functions (that handle the _new_ compatibilty +* month to use the IEEE1284 functions (that handle the _new_ compatibility * mode fine). */
drivers/misc/gehc-achc.c +1 -1
@@ -369,7 +369,7 @@ static int ezport_firmware_flash_data(struct spi_device *spi,dev_dbg (&spi->dev,"EzPort verify flashed data...\n" ); ret =ezport_firmware_compare_data (spi, data, size); -/* allow missing FW verfication in secure mode */ +/* allow missing FW verification in secure mode */ if (ret == -EACCES ) ret =0 ;
drivers/misc/genwqe/card_base.c +3 -3
@@ -286,7 +286,7 @@ int genwqe_flash_readback_fails(struct genwqe_dev *cd)* @cd: GenWQE device information * * Note: From a design perspective it turned out to be a bad idea to -* use codes here to specifiy the frequency/speed values. An old +* use codes here to specify the frequency/speed values. An old * driver cannot understand new codes and is therefore always a * problem. Better is to measure out the value or put the * speed/frequency directly into a register which is always a valid
@@ -904,7 +904,7 @@ static int genwqe_reload_bistream(struct genwqe_dev *cd)* * Condition for the health-thread to trigger: * a) when a kthread_stop() request comes in or -* b) a critical GFIR occured +* b) a critical GFIR occurred * * Informational GFIRs are checked and potentially printed in * GENWQE_HEALTH_CHECK_INTERVAL seconds.
@@ -1210,7 +1210,7 @@ static int genwqe_probe(struct pci_dev *pci_dev, }/** -* genwqe_remove() - Called when device is removed (hot-plugable) +* genwqe_remove() - Called when device is removed (hot-pluggable) * @pci_dev: PCI device information struct * * Or when driver is unloaded respecitively when unbind is done.
drivers/misc/genwqe/card_ddcb.c +2 -2
@@ -460,7 +460,7 @@ static int genwqe_check_ddcb_queue(struct genwqe_dev *cd,/** * __genwqe_wait_ddcb(): Waits until DDCB is completed * @cd: pointer to genwqe device descriptor -* @req: pointer to requsted DDCB parameters +* @req: pointer to requested DDCB parameters * * The Service Layer will update the RETC in DDCB when processing is * pending or done.
@@ -543,7 +543,7 @@ int __genwqe_wait_ddcb(struct genwqe_dev *cd, struct ddcb_requ *req)return -EINVAL ; } -/* Severe error occured. Driver is forced to stop operation */ +/* Severe error occurred. Driver is forced to stop operation */ if (cd->card_state !=GENWQE_CARD_USED ) { dev_err(&pci_dev->dev, "[%s] err: DDCB#%d forced to stop (rc=%d)\n",
drivers/misc/genwqe/card_utils.c +1 -1
@@ -1003,7 +1003,7 @@ u64 genwqe_read_vreg(struct genwqe_dev *cd, u32 reg, int func)* @cd: genwqe device descriptor * * Note: From a design perspective it turned out to be a bad idea to -* use codes here to specifiy the frequency/speed values. An old +* use codes here to specify the frequency/speed values. An old * driver cannot understand new codes and is therefore always a * problem. Better is to measure out the value or put the * speed/frequency directly into a register which is always a valid
drivers/misc/vmw_vmci/vmci_datagram.c +1 -1
@@ -434,7 +434,7 @@ EXPORT_SYMBOL_GPL(vmci_datagram_create_handle_priv);* @out_handle: vmci_handle that is populated as a result of this function. * * Creates a host context datagram endpoint and returns a handle to -* it. Same as vmci_datagram_create_handle_priv without the priviledge +* it. Same as vmci_datagram_create_handle_priv without the privilege * flags argument. */ int vmci_datagram_create_handle(u32 resource_id,
drivers/misc/vmw_vmci/vmci_queue_pair.c +1 -1
@@ -2668,7 +2668,7 @@ static ssize_t qp_dequeue_locked(struct vmci_queue *produce_q,* @consume_qsize: Desired size of the consumer queue. * @peer: ContextID of the peer. * @flags: VMCI flags. -* @priv_flags: VMCI priviledge flags. +* @priv_flags: VMCI privilege flags. * * This is the client interface for allocating the memory for a * vmci_qp structure and then attaching to the underlying
Signature · 1 line
2.48.1
Greg Kroah-Hartman
maintainerQuoted 8 lines · Hemanth Selam
Fix typos in comments, reported by
scripts/checkpatch.plusing the misspelling list inscripts/spelling.txt. Only touches comments, no code changes.Assisted-by Cursor:claude-opus-5Signed-off-by Hemanth Selam <[email protected]>--- drivers/char/lp.c | 2 +-
This is not in drivers/misc :(
thanks,
greg k-h