History

irq: Fix typos in comments

Fix ~36 single-word typos in the IRQ, irqchip and irqdomain code comments.

Ingo Molnar committed 5 years ago

Commit a359f751 parent c93a5e223 files · +36 −36Browse files

Showing the changes to kernel (7 of 23 files). Show all

Unified · Split

7 files
  1. kernel/irq/chip.c +1 −1
  2. kernel/irq/dummychip.c +1 −1
  3. kernel/irq/irqdesc.c +1 −1
  4. kernel/irq/irqdomain.c +4 −4
  5. kernel/irq/manage.c +3 −3
  6. kernel/irq/msi.c +1 −1
  7. kernel/irq/timings.c +1 −1
kernel/irq/chip.c+1−1
@@ -808,7 +808,7 @@ void handle_edge_irq(struct irq_desc *desc) · 807 unmodified lines
808808 /*
809809 * When another irq arrived while we were handling
810810 * one, we could have masked the irq.
811− * Renable it, if it was not disabled in meantime.
811+ * Reenable it, if it was not disabled in meantime.
812812 */
813813 if (unlikely(desc->istate & IRQS_PENDING)) {
814814 if (!irqd_irq_disabled(&desc->irq_data) &&
kernel/irq/dummychip.c+1−1
@@ -13,7 +13,7 @@ · 12 unmodified lines
1313
1414 /*
1515 * What should we do if we get a hw irq event on an illegal vector?
16− * Each architecture has to answer this themself.
16+ * Each architecture has to answer this themselves.
1717 */
1818 static void ack_bad(struct irq_data *data)
1919 {
kernel/irq/irqdesc.c+1−1
@@ -31,7 +31,7 @@ static int __init irq_affinity_setup(char *str) · 30 unmodified lines
3131 cpulist_parse(str, irq_default_affinity);
3232 /*
3333 * Set at least the boot cpu. We don't want to end up with
34− * bugreports caused by random comandline masks
34+ * bugreports caused by random commandline masks
3535 */
3636 cpumask_set_cpu(smp_processor_id(), irq_default_affinity);
3737 return 1;
kernel/irq/irqdomain.c+4−4
@@ -62,7 +62,7 @@ EXPORT_SYMBOL_GPL(irqchip_fwnode_ops); · 61 unmodified lines
6262 * @name: Optional user provided domain name
6363 * @pa: Optional user-provided physical address
6464 *
65− * Allocate a struct irqchip_fwid, and return a poiner to the embedded
65+ * Allocate a struct irqchip_fwid, and return a pointer to the embedded
6666 * fwnode_handle (or NULL on failure).
6767 *
6868 * Note: The types IRQCHIP_FWNODE_NAMED and IRQCHIP_FWNODE_NAMED_ID are
@@ -665,7 +665,7 @@ unsigned int irq_create_mapping_affinity(struct irq_domain *domain, · 596 unmodified lines
665665
666666 pr_debug("irq_create_mapping(0x%p, 0x%lx)\n", domain, hwirq);
667667
668− /* Look for default domain if nececssary */
668+ /* Look for default domain if necessary */
669669 if (domain == NULL)
670670 domain = irq_default_domain;
671671 if (domain == NULL) {
@@ -906,7 +906,7 @@ unsigned int irq_find_mapping(struct irq_domain *domain, · 234 unmodified lines
906906 {
907907 struct irq_data *data;
908908
909− /* Look for default domain if nececssary */
909+ /* Look for default domain if necessary */
910910 if (domain == NULL)
911911 domain = irq_default_domain;
912912 if (domain == NULL)
@@ -1436,7 +1436,7 @@ int irq_domain_alloc_irqs_hierarchy(struct irq_domain *domain, · 523 unmodified lines
14361436 * The whole process to setup an IRQ has been split into two steps.
14371437 * The first step, __irq_domain_alloc_irqs(), is to allocate IRQ
14381438 * descriptor and required hardware resources. The second step,
1439− * irq_domain_activate_irq(), is to program hardwares with preallocated
1439+ * irq_domain_activate_irq(), is to program the hardware with preallocated
14401440 * resources. In this way, it's easier to rollback when failing to
14411441 * allocate resources.
14421442 */
kernel/irq/manage.c+3−3
@@ -326,7 +326,7 @@ static bool irq_set_affinity_deactivated(struct irq_data *data, · 325 unmodified lines
326326 * If the interrupt is not yet activated, just store the affinity
327327 * mask and do not call the chip driver at all. On activation the
328328 * driver has to make sure anyway that the interrupt is in a
329− * useable state so startup works.
329+ * usable state so startup works.
330330 */
331331 if (!IS_ENABLED(CONFIG_IRQ_DOMAIN_HIERARCHY) ||
332332 irqd_is_activated(data) || !irqd_affinity_on_activate(data))
@@ -1054,7 +1054,7 @@ again: · 721 unmodified lines
10541054 * to IRQS_INPROGRESS and the irq line is masked forever.
10551055 *
10561056 * This also serializes the state of shared oneshot handlers
1057− * versus "desc->threads_onehsot |= action->thread_mask;" in
1057+ * versus "desc->threads_oneshot |= action->thread_mask;" in
10581058 * irq_wake_thread(). See the comment there which explains the
10591059 * serialization.
10601060 */
@@ -1909,7 +1909,7 @@ static struct irqaction *__free_irq(struct irq_desc *desc, void *dev_id) · 848 unmodified lines
19091909 /* Last action releases resources */
19101910 if (!desc->action) {
19111911 /*
1912− * Reaquire bus lock as irq_release_resources() might
1912+ * Reacquire bus lock as irq_release_resources() might
19131913 * require it to deallocate resources over the slow bus.
19141914 */
19151915 chip_bus_lock(desc);
kernel/irq/msi.c+1−1
@@ -5,7 +5,7 @@ · 4 unmodified lines
55 *
66 * This file is licensed under GPLv2.
77 *
8− * This file contains common code to support Message Signalled Interrupt for
8+ * This file contains common code to support Message Signaled Interrupts for
99 * PCI compatible and non PCI compatible devices.
1010 */
1111 #include <linux/types.h>
kernel/irq/timings.c+1−1
@@ -485,7 +485,7 @@ static inline void irq_timings_store(int irq, struct irqt_stat *irqs, u64 ts) · 484 unmodified lines
485485
486486 /*
487487 * The interrupt triggered more than one second apart, that
488− * ends the sequence as predictible for our purpose. In this
488+ * ends the sequence as predictable for our purpose. In this
489489 * case, assume we have the beginning of a sequence and the
490490 * timestamp is the first value. As it is impossible to
491491 * predict anything at this point, return.

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t