Skip to content

Commit 8faaaea

Browse files
standby24x7Jiri Kosina
authored andcommitted
treewide: fix comments and printk msgs
This patch fixed several typo in printk from various part of kernel source. Signed-off-by: Masanari Iida <standby24x7@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
1 parent 97e81ac commit 8faaaea

11 files changed

Lines changed: 12 additions & 12 deletions

File tree

‎arch/powerpc/platforms/powernv/opal-flash.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ struct opal_sg_list {
126126

127127
struct validate_flash_t {
128128
int status; /* Return status */
129-
void *buf; /* Candiate image buffer */
129+
void *buf; /* Candidate image buffer */
130130
uint32_t buf_size; /* Image size */
131131
uint32_t result; /* Update results token */
132132
};
@@ -500,7 +500,7 @@ static int alloc_image_buf(char *buffer, size_t count)
500500

501501
memcpy(&image_header, (void *)buffer, sizeof(struct image_header_t));
502502
image_data.size = be32_to_cpu(image_header.size);
503-
pr_debug("FLASH: Candiate image size = %u\n", image_data.size);
503+
pr_debug("FLASH: Candidate image size = %u\n", image_data.size);
504504

505505
if (image_data.size > MAX_IMAGE_SIZE) {
506506
pr_warn("FLASH: Too large image\n");

‎drivers/i2c/busses/i2c-stu300.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -801,7 +801,7 @@ static int stu300_xfer_msg(struct i2c_adapter *adap,
801801
/* Check that the bus is free, or wait until some timeout occurs */
802802
ret = stu300_wait_while_busy(dev);
803803
if (ret != 0) {
804-
dev_err(&dev->pdev->dev, "timout waiting for transfer "
804+
dev_err(&dev->pdev->dev, "timeout waiting for transfer "
805805
"to commence.\n");
806806
goto exit_disable;
807807
}

‎drivers/misc/fsa9480.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ static int fsa9480_irq_init(struct fsa9480_usbsw *usbsw)
396396
IRQF_TRIGGER_FALLING | IRQF_ONESHOT,
397397
"fsa9480 micro USB", usbsw);
398398
if (ret) {
399-
dev_err(&client->dev, "failed to reqeust IRQ\n");
399+
dev_err(&client->dev, "failed to request IRQ\n");
400400
return ret;
401401
}
402402

‎drivers/misc/mei/nfc.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ static void mei_nfc_init(struct work_struct *work)
428428
mutex_unlock(&dev->device_lock);
429429

430430
if (mei_nfc_if_version(ndev) < 0) {
431-
dev_err(&dev->pdev->dev, "Could not get the NFC interfave version");
431+
dev_err(&dev->pdev->dev, "Could not get the NFC interface version");
432432

433433
goto err;
434434
}

‎drivers/net/wan/lmc/lmc_main.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2126,7 +2126,7 @@ static void lmc_driver_timeout(struct net_device *dev)
21262126

21272127
spin_unlock_irqrestore(&sc->lmc_lock, flags);
21282128

2129-
lmc_trace(dev, "lmc_driver_timout out");
2129+
lmc_trace(dev, "lmc_driver_timeout out");
21302130

21312131

21322132
}

‎drivers/scsi/qla2xxx/qla_nx2.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2253,7 +2253,7 @@ qla8044_minidump_process_rdmem(struct scsi_qla_host *vha,
22532253

22542254
if (r_addr & 0xf) {
22552255
ql_dbg(ql_dbg_p3p, vha, 0xb0f1,
2256-
"[%s]: Read addr 0x%x not 16 bytes alligned\n",
2256+
"[%s]: Read addr 0x%x not 16 bytes aligned\n",
22572257
__func__, r_addr);
22582258
return QLA_FUNCTION_FAILED;
22592259
}

‎drivers/scsi/qla4xxx/ql4_83xx.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ int qla4_83xx_drv_lock(struct scsi_qla_host *ha)
465465
}
466466
/* Recovery Failed, some other function
467467
* has the lock, wait for 2secs and retry */
468-
ql4_printk(KERN_INFO, ha, "%s: IDC lock Recovery by %d failed, Retrying timout\n",
468+
ql4_printk(KERN_INFO, ha, "%s: IDC lock Recovery by %d failed, Retrying timeout\n",
469469
__func__, ha->func_num);
470470
timeout = 0;
471471
}

‎drivers/tty/serial/crisv10.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2153,7 +2153,7 @@ static void flush_timeout_function(unsigned long data)
21532153

21542154
fast_timers[info->line].function = NULL;
21552155
serial_fast_timer_expired++;
2156-
TIMERD(DEBUG_LOG(info->line, "flush_timout %i ", info->line));
2156+
TIMERD(DEBUG_LOG(info->line, "flush_timeout %i ", info->line));
21572157
TIMERD(DEBUG_LOG(info->line, "num expired: %i\n", serial_fast_timer_expired));
21582158
check_flush_timeout(info);
21592159
}

‎drivers/usb/serial/kobil_sct.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ static int kobil_open(struct tty_struct *tty, struct usb_serial_port *port)
194194
KOBIL_TIMEOUT
195195
);
196196
dev_dbg(dev, "%s - Send get_HW_version URB returns: %i\n", __func__, result);
197-
dev_dbg(dev, "Harware version: %i.%i.%i\n", transfer_buffer[0],
197+
dev_dbg(dev, "Hardware version: %i.%i.%i\n", transfer_buffer[0],
198198
transfer_buffer[1], transfer_buffer[2]);
199199

200200
/* get firmware version */

‎fs/btrfs/tests/free-space-tests.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ static int test_bitmaps_and_extents(struct btrfs_block_group_cache *cache)
266266
}
267267

268268
if (test_check_exists(cache, 512 * 1024, 3 * 1024 * 1024)) {
269-
test_msg("Left over peices after removing overlapping\n");
269+
test_msg("Left over pieces after removing overlapping\n");
270270
return -1;
271271
}
272272

0 commit comments

Comments
 (0)