* [PATCH 0/3] media: fix typos and repeated words in comments
@ 2026-09-04 11:34 Hemanth Selam
2026-09-04 11:34 ` [PATCH 1/3] media: fix typos " Hemanth Selam
0 siblings, 1 reply; 2+ messages in thread
From: Hemanth Selam @ 2026-09-04 11:34 UTC (permalink / raw)
To: Matthias Brugger, AngeloGioacchino Del Regno
Cc: linux-kernel, linux-arm-kernel, linux-mediatek
This corrects 3 misspellings and repeated words in comments. Each is a
separate patch so that any one of them can be dropped without touching
the rest.
Nothing outside comments changes. Every touched C file was checked by
dropping its comments, replacing each string literal with a placeholder
and collapsing whitespace; what remained was identical before and after,
so the compiled code cannot differ.
The mistakes were found with scripts/checkpatch.pl against the list in
scripts/spelling.txt. The scanning, the edits and the changelogs were
produced with Cursor running the claude-opus-5 model, from a request to
find and fix spelling mistakes across the tree, and every correction was
then re-checked by the comparison described above. Words that name an
identifier were left alone deliberately, even when they read as typos,
because correcting the prose would make the comment disagree with the
code it describes.
Tested by building x86_64 defconfig at v7.3-rc1-269-gbc35965f6940, which
is clean. Nothing else was built, so any patch touching code that
x86_64 defconfig does not compile has been read but not compiled.
Hemanth Selam (3):
media: fix typos in comments
media: fix repeated words in comments
media: pci: fix repeated word in log message
drivers/media/dvb-frontends/drxd_map_firm.h | 4 ++--
drivers/media/i2c/adv7175.c | 2 +-
drivers/media/i2c/ccs/ccs-data.h | 4 ++--
drivers/media/i2c/hi847.c | 2 +-
drivers/media/i2c/ov772x.c | 2 +-
drivers/media/i2c/wm8739.c | 2 +-
drivers/media/pci/cx18/cx23418.h | 2 +-
drivers/media/pci/saa7146/mxb.c | 4 ++--
drivers/media/pci/saa7164/saa7164-core.c | 2 +-
drivers/media/platform/mediatek/mdp/mtk_mdp_ipi.h | 2 +-
drivers/media/platform/mediatek/vcodec/decoder/vdec_ipi_msg.h | 4 ++--
drivers/media/platform/renesas/rcar_drif.c | 2 +-
drivers/media/platform/renesas/vsp1/vsp1_dl.c | 2 +-
drivers/media/radio/si4713/si4713.c | 2 +-
drivers/media/usb/dvb-usb/dib0700_core.c | 2 +-
drivers/media/usb/gspca/ov519.c | 2 +-
drivers/media/usb/gspca/w996Xcf.c | 2 +-
.../atomisp/pci/isp/kernels/s3a/s3a_1.0/ia_css_s3a_types.h | 4 ++--
drivers/staging/media/av7110/av7110.c | 2 +-
19 files changed, 24 insertions(+), 24 deletions(-)
--
2.48.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH 1/3] media: fix typos in comments
2026-09-04 11:34 [PATCH 0/3] media: fix typos and repeated words in comments Hemanth Selam
@ 2026-09-04 11:34 ` Hemanth Selam
0 siblings, 0 replies; 2+ messages in thread
From: Hemanth Selam @ 2026-09-04 11:34 UTC (permalink / raw)
To: Mauro Carvalho Chehab, Sakari Ailus, Jacopo Mondi, Andy Walls,
Hans Verkuil, Minghsiu Tsai, Houlong Wei, Andrew-CT Chen,
Matthias Brugger, AngeloGioacchino Del Regno, Tiffany Lin,
Yunfei Dong, Fabrizio Castro, Geert Uytterhoeven, Magnus Damm,
Eduardo Valentin, Hans de Goede, Andy Shevchenko,
Greg Kroah-Hartman
Cc: linux-kernel, linux-media, linux-arm-kernel, linux-mediatek,
linux-renesas-soc, linux-staging
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 <hemanth.selam@gmail.com>
---
drivers/media/dvb-frontends/drxd_map_firm.h | 4 ++--
drivers/media/i2c/ccs/ccs-data.h | 4 ++--
drivers/media/i2c/hi847.c | 2 +-
drivers/media/i2c/ov772x.c | 2 +-
drivers/media/i2c/wm8739.c | 2 +-
drivers/media/pci/cx18/cx23418.h | 2 +-
drivers/media/pci/saa7146/mxb.c | 4 ++--
drivers/media/platform/mediatek/mdp/mtk_mdp_ipi.h | 2 +-
drivers/media/platform/mediatek/vcodec/decoder/vdec_ipi_msg.h | 4 ++--
drivers/media/platform/renesas/rcar_drif.c | 2 +-
drivers/media/radio/si4713/si4713.c | 2 +-
drivers/media/usb/dvb-usb/dib0700_core.c | 2 +-
drivers/media/usb/gspca/w996Xcf.c | 2 +-
.../atomisp/pci/isp/kernels/s3a/s3a_1.0/ia_css_s3a_types.h | 4 ++--
drivers/staging/media/av7110/av7110.c | 2 +-
15 files changed, 20 insertions(+), 20 deletions(-)
diff --git a/drivers/media/dvb-frontends/drxd_map_firm.h b/drivers/media/dvb-frontends/drxd_map_firm.h
index bdcc63576df1..a6585e53d879 100644
--- a/drivers/media/dvb-frontends/drxd_map_firm.h
+++ b/drivers/media/dvb-frontends/drxd_map_firm.h
@@ -10,8 +10,8 @@
/*
* Note: originally, this file contained 12000+ lines of data
- * Probably a few lines for every firwmare assembler instruction. However,
- * only a few defines were actually used. So, removed all uneeded lines.
+ * Probably a few lines for every firmware assembler instruction. However,
+ * only a few defines were actually used. So, removed all unneeded lines.
* If ever needed, the other lines can be easily obtained via git history.
*/
diff --git a/drivers/media/i2c/ccs/ccs-data.h b/drivers/media/i2c/ccs/ccs-data.h
index 638df69804ec..522466b81929 100644
--- a/drivers/media/i2c/ccs/ccs-data.h
+++ b/drivers/media/i2c/ccs/ccs-data.h
@@ -160,7 +160,7 @@ struct ccs_pdaf_pix_loc_pixel_desc_group {
* @main_offset_y: Start Y coordinate of PDAF pixel blocks
* @global_pdaf_type: PDAF pattern type
* @block_width: Width of a block in pixels
- * @block_height: Heigth of a block in pixels
+ * @block_height: Height of a block in pixels
* @num_block_desc_groups: Number of block descriptor groups
* @block_desc_groups: Block descriptor groups
* @num_pixel_desc_grups: Number of pixel descriptor groups
@@ -197,7 +197,7 @@ struct ccs_pdaf_pix_loc {
* @module_rules: Rules for the module
* @sensor_pdaf: PDAF data for the sensor
* @module_pdaf: PDAF data for the module
- * @license_length: Lenght of the license data
+ * @license_length: Length of the license data
* @license: License data
* @end: Whether or not there's an end block
* @backing: Raw data, pointed to from elsewhere so keep it around
diff --git a/drivers/media/i2c/hi847.c b/drivers/media/i2c/hi847.c
index def01aa07b2f..710328d7984f 100644
--- a/drivers/media/i2c/hi847.c
+++ b/drivers/media/i2c/hi847.c
@@ -2187,7 +2187,7 @@ struct hi847 {
/* Current mode */
const struct hi847_mode *cur_mode;
- /* To serialize asynchronus callbacks */
+ /* To serialize asynchronous callbacks */
struct mutex mutex;
};
diff --git a/drivers/media/i2c/ov772x.c b/drivers/media/i2c/ov772x.c
index be3ba284ee0b..041f3b02e222 100644
--- a/drivers/media/i2c/ov772x.c
+++ b/drivers/media/i2c/ov772x.c
@@ -122,7 +122,7 @@
#define LC_COEFB 0x4B /* Lens B channel compensation coefficient */
#define LC_COEFR 0x4C /* Lens R channel compensation coefficient */
-#define FIXGAIN 0x4D /* Analog fix gain amplifer */
+#define FIXGAIN 0x4D /* Analog fix gain amplifier */
#define AREF0 0x4E /* Sensor reference control */
#define AREF1 0x4F /* Sensor reference current control */
#define AREF2 0x50 /* Analog reference control */
diff --git a/drivers/media/i2c/wm8739.c b/drivers/media/i2c/wm8739.c
index db62bafb447c..9eaf48f1c3a2 100644
--- a/drivers/media/i2c/wm8739.c
+++ b/drivers/media/i2c/wm8739.c
@@ -217,7 +217,7 @@ static int wm8739_probe(struct i2c_client *client)
/* reset */
wm8739_write(sd, R15, 0x00);
- /* filter setting, high path, offet clear */
+ /* filter setting, high path, offset clear */
wm8739_write(sd, R5, 0x000);
/* ADC, OSC, Power Off mode Disable */
wm8739_write(sd, R6, 0x000);
diff --git a/drivers/media/pci/cx18/cx23418.h b/drivers/media/pci/cx18/cx23418.h
index 22486f39bcda..4ee45be757cb 100644
--- a/drivers/media/pci/cx18/cx23418.h
+++ b/drivers/media/pci/cx18/cx23418.h
@@ -24,7 +24,7 @@
#define CX18_CREATE_TASK (MGR_CMD_MASK | 0x0001)
/* Description: This command destroys an instance of a task
- IN[0] - Task handle. Hanlde of the task to destroy
+ IN[0] - Task handle. Handle of the task to destroy
ReturnCode - One of the ERR_SYS_... */
#define CX18_DESTROY_TASK (MGR_CMD_MASK | 0x0002)
diff --git a/drivers/media/pci/saa7146/mxb.c b/drivers/media/pci/saa7146/mxb.c
index d759e8a87e24..129d41c1862b 100644
--- a/drivers/media/pci/saa7146/mxb.c
+++ b/drivers/media/pci/saa7146/mxb.c
@@ -37,7 +37,7 @@
/* global variable */
static int mxb_num;
-/* initial frequence the tuner will be tuned to.
+/* initial frequency the tuner will be tuned to.
in verden (lower saxony, germany) 4148 is a
channel called "phoenix" */
static int freq = 4148;
@@ -429,7 +429,7 @@ static int mxb_init_done(struct saa7146_dev* dev)
/* some stuff is done via direct write to the registers */
/* this is ugly, but because of the fact that this is completely
- hardware dependend, it should be done directly... */
+ hardware dependent, it should be done directly... */
saa7146_write(dev, DD1_STREAM_B, 0x00000000);
saa7146_write(dev, DD1_INIT, 0x02000200);
saa7146_write(dev, MC2, (MASK_09 | MASK_25 | MASK_10 | MASK_26));
diff --git a/drivers/media/platform/mediatek/mdp/mtk_mdp_ipi.h b/drivers/media/platform/mediatek/mdp/mtk_mdp_ipi.h
index b810c96695c8..9744e00b0066 100644
--- a/drivers/media/platform/mediatek/mdp/mtk_mdp_ipi.h
+++ b/drivers/media/platform/mediatek/mdp/mtk_mdp_ipi.h
@@ -56,7 +56,7 @@ struct mdp_ipi_comm {
* @ipi_id : IPI_MDP
* @ap_inst : AP mtk_mdp_vpu address
* @vpu_inst_addr : VPU MDP instance address
- * @status : VPU exeuction result
+ * @status : VPU execution result
*/
struct mdp_ipi_comm_ack {
uint32_t msg_id;
diff --git a/drivers/media/platform/mediatek/vcodec/decoder/vdec_ipi_msg.h b/drivers/media/platform/mediatek/vcodec/decoder/vdec_ipi_msg.h
index 47070be2a991..c2c2a3a63dfd 100644
--- a/drivers/media/platform/mediatek/vcodec/decoder/vdec_ipi_msg.h
+++ b/drivers/media/platform/mediatek/vcodec/decoder/vdec_ipi_msg.h
@@ -53,7 +53,7 @@ struct vdec_ap_ipi_cmd {
/**
* struct vdec_vpu_ipi_ack - generic VPU to AP ipi command format
* @msg_id : vdec_ipi_msgid
- * @status : VPU exeuction result
+ * @status : VPU execution result
* @ap_inst_addr : AP video decoder instance address
*/
struct vdec_vpu_ipi_ack {
@@ -98,7 +98,7 @@ struct vdec_ap_ipi_dec_start {
/**
* struct vdec_vpu_ipi_init_ack - for VPU_IPIMSG_DEC_INIT_ACK
* @msg_id : VPU_IPIMSG_DEC_INIT_ACK
- * @status : VPU exeuction result
+ * @status : VPU execution result
* @ap_inst_addr : AP vcodec_vpu_inst instance address
* @vpu_inst_addr : VPU decoder instance address
* @vdec_abi_version: ABI version of the firmware. Kernel can use it to
diff --git a/drivers/media/platform/renesas/rcar_drif.c b/drivers/media/platform/renesas/rcar_drif.c
index 0844934f7aa6..bd67e8e16f53 100644
--- a/drivers/media/platform/renesas/rcar_drif.c
+++ b/drivers/media/platform/renesas/rcar_drif.c
@@ -464,7 +464,7 @@ rcar_drif_get_fbuf(struct rcar_drif_sdr *sdr)
rcar_drif_frame_buf, list);
if (!fbuf) {
/*
- * App is late in enqueing buffers. Samples lost & there will
+ * App is late in enqueuing buffers. Samples lost & there will
* be a gap in sequence number when app recovers
*/
rdrif_dbg(sdr, "\napp late: prod %u\n", sdr->produced);
diff --git a/drivers/media/radio/si4713/si4713.c b/drivers/media/radio/si4713/si4713.c
index 0c0354566b0a..150d07f6b319 100644
--- a/drivers/media/radio/si4713/si4713.c
+++ b/drivers/media/radio/si4713/si4713.c
@@ -667,7 +667,7 @@ static int si4713_tx_tune_measure(struct si4713_device *sdev, u16 frequency,
/*
* si4713_tx_tune_status- Returns the status of the tx_tune_freq, tx_tune_mea or
* tx_tune_power commands. This command return the current
- * frequency, output voltage in dBuV, the antenna tunning
+ * frequency, output voltage in dBuV, the antenna tuning
* capacitance value and the received noise level. The
* command also clears the stcint interrupt bit when the
* first bit of its arguments is high.
diff --git a/drivers/media/usb/dvb-usb/dib0700_core.c b/drivers/media/usb/dvb-usb/dib0700_core.c
index 1caabb51ea47..5d2fa7037c00 100644
--- a/drivers/media/usb/dvb-usb/dib0700_core.c
+++ b/drivers/media/usb/dvb-usb/dib0700_core.c
@@ -560,7 +560,7 @@ int dib0700_download_firmware(struct usb_device *udev, const struct firmware *fw
fw_version = (buf[8] << 24) | (buf[9] << 16) | (buf[10] << 8) | buf[11];
/* set the buffer size - DVB-USB is allocating URB buffers
- * only after the firwmare download was successful */
+ * only after the firmware download was successful */
for (i = 0; i < dib0700_device_count; i++) {
for (adap_num = 0; adap_num < dib0700_devices[i].num_adapters;
adap_num++) {
diff --git a/drivers/media/usb/gspca/w996Xcf.c b/drivers/media/usb/gspca/w996Xcf.c
index 79baa0c1a031..700c39fe307c 100644
--- a/drivers/media/usb/gspca/w996Xcf.c
+++ b/drivers/media/usb/gspca/w996Xcf.c
@@ -407,7 +407,7 @@ static void w9968cf_set_crop_window(struct sd *sd)
if (sd->sensor == SEN_OV7620) {
/*
- * Sigh, this is dependend on the clock / framerate changes
+ * Sigh, this is dependent on the clock / framerate changes
* made by the frequency control, sick.
*
* Note we cannot use v4l2_ctrl_g_ctrl here, as we get called
diff --git a/drivers/staging/media/atomisp/pci/isp/kernels/s3a/s3a_1.0/ia_css_s3a_types.h b/drivers/staging/media/atomisp/pci/isp/kernels/s3a/s3a_1.0/ia_css_s3a_types.h
index b8206d2f3d31..97e63082d254 100644
--- a/drivers/staging/media/atomisp/pci/isp/kernels/s3a/s3a_1.0/ia_css_s3a_types.h
+++ b/drivers/staging/media/atomisp/pci/isp/kernels/s3a/s3a_1.0/ia_css_s3a_types.h
@@ -102,8 +102,8 @@ struct ia_css_3a_grid_info {
* awb_lg_*: Thresholds to check the saturated bayer pixels for AWB.
* Condition of effective pixel for AWB level gate check:
* bayer(sensor) <= awb_lg_high_raw &&
- * bayer(when AWB statisitcs is calculated) >= awb_lg_low &&
- * bayer(when AWB statisitcs is calculated) <= awb_lg_high
+ * bayer(when AWB statistics is calculated) >= awb_lg_low &&
+ * bayer(when AWB statistics is calculated) <= awb_lg_high
* af_fir*: Coefficients of high pass filter to calculate AF statistics.
*
* ISP block: S3A1(ae_y_* for AE/AF, awb_lg_* for AWB)
diff --git a/drivers/staging/media/av7110/av7110.c b/drivers/staging/media/av7110/av7110.c
index 06c43b5f8a87..432404eceaea 100644
--- a/drivers/staging/media/av7110/av7110.c
+++ b/drivers/staging/media/av7110/av7110.c
@@ -2347,7 +2347,7 @@ static int av7110_attach(struct saa7146_dev *dev,
/* RESET SAA7146 */
saa7146_write(dev, MC1, MASK_31);
- /* autodetection success seems to be time-dependend after reset */
+ /* autodetection success seems to be time-dependent after reset */
/* Fix VSYNC level */
saa7146_setgpio(dev, 3, SAA7146_GPIO_OUTLO);
--
2.48.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-09-04 11:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-04 11:34 [PATCH 0/3] media: fix typos and repeated words in comments Hemanth Selam
2026-09-04 11:34 ` [PATCH 1/3] media: fix typos " Hemanth Selam
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox