Skip to content

Commit

Permalink
ps3: Correct some typos in comments
Browse files Browse the repository at this point in the history
Fixed some typos that were currently identified with codespell, the
details are as follows:

  drivers/ps3/ps3-lpm.c:94: rigths ==> rights
  drivers/ps3/ps3-sys-manager.c:365: acnowledge ==> acknowledge
  drivers/ps3/ps3-vuart.c:470: remaning ==> remaining
  drivers/ps3/ps3-vuart.c:471: transmision ==> transmission
  drivers/ps3/sys-manager-core.c:15: Staticly ==> Statically

Signed-off-by: Shen Lichuan <[email protected]>
Acked-by: Geoff Levand <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://patch.msgid.link/[email protected]
  • Loading branch information
Shen Lichuan authored and mpe committed Nov 14, 2024
1 parent 83b5a40 commit e9d3270
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion drivers/ps3/ps3-lpm.c
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ struct ps3_lpm_shadow_regs {
* struct ps3_lpm_priv - Private lpm device data.
*
* @open: An atomic variable indicating the lpm driver has been opened.
* @rights: The lpm rigths granted by the system policy module. A logical
* @rights: The lpm rights granted by the system policy module. A logical
* OR of enum ps3_lpm_rights.
* @node_id: The node id of a BE processor whose performance monitor this
* lpar has the right to use.
Expand Down
2 changes: 1 addition & 1 deletion drivers/ps3/ps3-sys-manager.c
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ static int ps3_sys_manager_send_request_shutdown(
* ps3_sys_manager_send_response - Send a 'response' to the system manager.
* @status: zero = success, others fail.
*
* The guest sends this message to the system manager to acnowledge success or
* The guest sends this message to the system manager to acknowledge success or
* failure of a command sent by the system manager.
*/

Expand Down
4 changes: 2 additions & 2 deletions drivers/ps3/ps3-vuart.c
Original file line number Diff line number Diff line change
Expand Up @@ -467,8 +467,8 @@ struct list_buffer {
*
* If the port is idle on entry as much of the incoming data is written to
* the port as the port will accept. Otherwise a list buffer is created
* and any remaning incoming data is copied to that buffer. The buffer is
* then enqueued for transmision via the transmit interrupt.
* and any remaining incoming data is copied to that buffer. The buffer is
* then enqueued for transmission via the transmit interrupt.
*/

int ps3_vuart_write(struct ps3_system_bus_device *dev, const void *buf,
Expand Down
2 changes: 1 addition & 1 deletion drivers/ps3/sys-manager-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#include <asm/ps3.h>

/**
* Staticly linked routines that allow late binding of a loaded sys-manager
* Statically linked routines that allow late binding of a loaded sys-manager
* module.
*/

Expand Down

0 comments on commit e9d3270

Please sign in to comment.