block: fix typos in comments
Subsystems (5)
PATCH 1/1 block: 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]>
--- block/blk-cgroup-rwstat.c | 2 +- block/blk-iocost.c | 6 +++--- block/blk-iolatency.c | 4 ++-- block/blk-merge.c | 2 +- block/blk-mq.c | 2 +- block/ioprio.c | 2 +- block/opal_proto.h | 4 ++-- block/partitions/sun.c | 2 +- block/sed-opal.c | 2 +- drivers/block/mtip32xx/mtip32xx.c | 2 +- drivers/block/mtip32xx/mtip32xx.h | 2 +- drivers/block/ublk_drv.c | 2 +- 12 files changed, 16 insertions(+), 16 deletions(-)
block/blk-cgroup-rwstat.c +1 -1
@@ -31,7 +31,7 @@ EXPORT_SYMBOL_GPL(blkg_rwstat_exit);* @pd: policy private data of interest * @rwstat: rwstat to print * -* Print @rwstat to @sf for the device assocaited with @pd. +* Print @rwstat to @sf for the device associated with @pd. */ u64 __blkg_prfill_rwstat (struct seq_file *sf,struct blkg_policy_data *pd,const struct blkg_rwstat_sample *rwstat)
block/blk-iocost.c +3 -3
@@ -68,7 +68,7 @@* gets 300/(100+300) or 75% share, and A0 and A1 equally splits the rest, * 12.5% each. The distribution mechanism only cares about these flattened * shares. They're called hweights (hierarchical weights) and always add -* upto 1 (WEIGHT_ONE). +* up to 1 (WEIGHT_ONE). * * A given cgroup's vtime runs slower in inverse proportion to its hweight. * For example, with 12.5% weight, A0's time runs 8 times slower (100/12.5)
@@ -833,7 +833,7 @@ static int ioc_autop_idx(struct ioc *ioc, struct gendisk *disk) }/* -* Take the followings as input +* Take the following as input * * @bps maximum sequential throughput * @seqiops maximum sequential 4k iops
@@ -2154,7 +2154,7 @@ static void ioc_forgive_debts(struct ioc *ioc, u64 usage_us_sum, int nr_debtors, }/* -* Check the active iocgs' state to avoid oversleeping and deactive +* Check the active iocgs' state to avoid oversleeping and deactivate * idle iocgs. * * Since waiters determine the sleep durations based on the vrate
block/blk-iolatency.c +2 -2
@@ -18,7 +18,7 @@* every configured node, and each configured node has it's own independent * queue depth. This means that we only care about our latency targets at the * peer level. Some group at the bottom of the hierarchy isn't going to affect -* a group at the end of some other path if we're only configred at leaf level. +* a group at the end of some other path if we're only configured at leaf level. * * Consider the following *
@@ -34,7 +34,7 @@* throttle "unloved", but nobody else. * * In this example "fast", "slow", and "normal" will be the only groups actually -* accounting their io latencies. We have to walk up the heirarchy to the root +* accounting their io latencies. We have to walk up the hierarchy to the root * on every submit and complete so we can do the appropriate stat recording and * adjust the queue depth of ourselves if needed. *
block/blk-merge.c +1 -1
@@ -401,7 +401,7 @@ int bio_split_io_at(struct bio *bio, const struct queue_limits *lim,* there may either be too many discontiguous vectors for the max * segments limit, or contain virtual boundary gaps without having a * valid block sized split. A zero byte result means one of those -* conditions occured. +* conditions occurred. */ bytes =ALIGN_DOWN (bytes,bio_split_alignment (bio, lim));if (!bytes)
block/blk-mq.c +1 -1
@@ -2358,7 +2358,7 @@ void blk_mq_run_hw_queue(struct blk_mq_hw_ctx *hctx, bool async)EXPORT_SYMBOL (blk_mq_run_hw_queue);/* -* Return prefered queue to dispatch from (if any) for non-mq aware IO +* Return preferred queue to dispatch from (if any) for non-mq aware IO * scheduler. */ static struct blk_mq_hw_ctx *blk_mq_get_sq_hctx (struct request_queue *q)
block/ioprio.c +1 -1
@@ -153,7 +153,7 @@ static int get_task_ioprio(struct task_struct *p)* Return raw IO priority value as set by userspace. We use this for * ioprio_get(pid, IOPRIO_WHO_PROCESS) so that we keep historical behavior and * also so that userspace can distinguish unset IO priority (which just gets -* overriden based on task's nice value) from IO priority set to some value. +* overridden based on task's nice value) from IO priority set to some value. */ static int get_task_raw_ioprio (struct task_struct *p) {
block/opal_proto.h +2 -2
@@ -237,7 +237,7 @@ enum opal_revertlsp {/* Packets derived from: * TCG_Storage_Architecture_Core_Spec_v2.01_r1.00 -* Secion: 3.2.3 ComPackets, Packets & Subpackets +* Section: 3.2.3 ComPackets, Packets & Subpackets */ /* Comm Packet (header) for transmissions. */
@@ -449,7 +449,7 @@ struct d0_single_user_mode { };/* -* Additonal Datastores feature +* Additional Datastores feature * * code == 0x0202 */
block/partitions/sun.c +1 -1
@@ -98,7 +98,7 @@ int sun_partition(struct parsed_partitions *state)/* * So that old Linux-Sun partitions continue to work, -* alow the VTOC to be used under the additional condition ... +* allow the VTOC to be used under the additional condition ... */ use_vtoc = use_vtoc || !(label->vtoc.sanity || label->vtoc.version || label->vtoc.nparts);
block/sed-opal.c +1 -1
@@ -2114,7 +2114,7 @@ static int set_lr_boolean_ace(struct opal_dev *dev,/* * Add boolean operator in postfix only with * two or more authorities being added in ACE -* expresion. +* expression. * */ if (u >0 )add_boolean_object_ref (&err, dev,OPAL_BOOLEAN_OR );
drivers/block/mtip32xx/mtip32xx.c +1 -1
@@ -2679,7 +2679,7 @@ static int mtip_hw_get_identify(struct driver_data *dd) } } -/* get write protect progess */ +/* get write protect progress */ memset (&attr242,0 ,sizeof (struct smart_attr ));if (mtip_get_smart_attr (dd->port,242 , &attr242)) dev_warn(&dd->pdev->dev,
drivers/block/mtip32xx/mtip32xx.h +1 -1
@@ -20,7 +20,7 @@/* Offset of Subsystem Device ID in pci confoguration space */ #define PCI_SUBSYSTEM_DEVICEID 0x2E -/* offset of Device Control register in PCIe extended capabilites space */ +/* offset of Device Control register in PCIe extended capabilities space */ #define PCIE_CONFIG_EXT_DEVICE_CONTROL_OFFSET 0x48/* check for erase mode support during secure erase */
drivers/block/ublk_drv.c +1 -1
@@ -2529,7 +2529,7 @@ static void ublk_ch_release_work_fn(struct work_struct *work)* * Wait until active references are dropped for avoiding use-after-free * -* registered buffer may be unregistered in io_ring's release hander, +* registered buffer may be unregistered in io_ring's release handler, * so have to wait by scheduling work function for avoiding the two * file release dependency. */
Signature · 1 line
2.48.1