Skip to content

Commit 8f04019

Browse files
Shen Lichuantakaswie
authored andcommitted
firewire: Correct some typos
Fixed some confusing typos that were currently identified with codespell, the details are as follows: drivers/firewire/core-topology.c:59: containted ==> contained drivers/firewire/core.h:83: reenable ==> re-enable drivers/firewire/ohci.c:1387: apppends ==> appends drivers/firewire/ohci.c:2216: superceded ==> superseded drivers/firewire/ohci.c:2617: litte ==> little Signed-off-by: Shen Lichuan <shenlichuan@vivo.com> Link: https://lore.kernel.org/r/20240930023344.7535-1-shenlichuan@vivo.com Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
1 parent 9852d85 commit 8f04019

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

drivers/firewire/core-topology.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ static struct fw_node *fw_node_create(u32 sid, int port_count, int color)
5656
* two cases: either the path goes through this node, in which case
5757
* the hop count is the sum of the two biggest child depths plus 2.
5858
* Or it could be the case that the max hop path is entirely
59-
* containted in a child tree, in which case the max hop count is just
59+
* contained in a child tree, in which case the max hop count is just
6060
* the max hop count of this child.
6161
*/
6262
static void update_hop_count(struct fw_node *node)

drivers/firewire/core.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ struct fw_card_driver {
8080
/*
8181
* Allow the specified node ID to do direct DMA out and in of
8282
* host memory. The card will disable this for all node when
83-
* a bus reset happens, so driver need to reenable this after
83+
* a bus reset happens, so driver need to re-enable this after
8484
* bus reset. Returns 0 on success, -ENODEV if the card
8585
* doesn't support this, -ESTALE if the generation doesn't
8686
* match.

drivers/firewire/ohci.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1384,7 +1384,7 @@ struct driver_data {
13841384
};
13851385

13861386
/*
1387-
* This function apppends a packet to the DMA queue for transmission.
1387+
* This function appends a packet to the DMA queue for transmission.
13881388
* Must always be called with the ochi->lock held to ensure proper
13891389
* generation handling and locking around packet queue manipulation.
13901390
*/
@@ -2213,7 +2213,7 @@ static irqreturn_t irq_handler(int irq, void *data)
22132213

22142214
if (unlikely(param_debug > 0)) {
22152215
dev_notice_ratelimited(ohci->card.device,
2216-
"The debug parameter is superceded by tracepoints events, and deprecated.");
2216+
"The debug parameter is superseded by tracepoints events, and deprecated.");
22172217
}
22182218

22192219
/*
@@ -2614,7 +2614,7 @@ static int ohci_set_config_rom(struct fw_card *card,
26142614
* ConfigRomHeader and BusOptions doesn't honor the
26152615
* noByteSwapData bit, so with a be32 config rom, the
26162616
* controller will load be32 values in to these registers
2617-
* during the atomic update, even on litte endian
2617+
* during the atomic update, even on little endian
26182618
* architectures. The workaround we use is to put a 0 in the
26192619
* header quadlet; 0 is endian agnostic and means that the
26202620
* config rom isn't ready yet. In the bus reset tasklet we

0 commit comments

Comments
 (0)