Fix typo: *assing ==> assign *alloced ==> allocated *Retun ==> Return *excute ==> execute v1->v2: *reverse 'iff' *update changelog
Showing the changes to kernel/workqueue.c (1 of 2 files). Show all
Unified · Split
| @@ -524,7 +524,7 @@ static inline void debug_work_deactivate(struct work_struct *work) { } · 523 unmodified lines | ||
| 524 | 524 | #endif |
| 525 | 525 | |
| 526 | 526 | /** |
| 527 | − * worker_pool_assign_id - allocate ID and assing it to @pool | |
| 527 | + * worker_pool_assign_id - allocate ID and assign it to @pool | |
| 528 | 528 | * @pool: the pool pointer of interest |
| 529 | 529 | * |
| 530 | 530 | * Returns 0 if ID in [0, WORK_OFFQ_POOL_NONE) is allocated and assigned |
| @@ -3763,7 +3763,7 @@ static void pwq_adjust_max_active(struct pool_workqueue *pwq) · 3232 unmodified lines | ||
| 3763 | 3763 | raw_spin_unlock_irqrestore(&pwq->pool->lock, flags); |
| 3764 | 3764 | } |
| 3765 | 3765 | |
| 3766 | −/* initialize newly alloced @pwq which is associated with @wq and @pool */ | |
| 3766 | +/* initialize newly allocated @pwq which is associated with @wq and @pool */ | |
| 3767 | 3767 | static void init_pwq(struct pool_workqueue *pwq, struct workqueue_struct *wq, |
| 3768 | 3768 | struct worker_pool *pool) |
| 3769 | 3769 | { |
| @@ -5331,7 +5331,7 @@ static int workqueue_apply_unbound_cpumask(void) · 1561 unmodified lines | ||
| 5331 | 5331 | * the affinity of all unbound workqueues. This function check the @cpumask |
| 5332 | 5332 | * and apply it to all unbound workqueues and updates all pwqs of them. |
| 5333 | 5333 | * |
| 5334 | − * Retun: 0 - Success | |
| 5334 | + * Return: 0 - Success | |
| 5335 | 5335 | * -EINVAL - Invalid @cpumask |
| 5336 | 5336 | * -ENOMEM - Failed to allocate memory for attrs or pwqs. |
| 5337 | 5337 | */ |