Commit 6774def6 authored by Masanari Iida's avatar Masanari Iida Committed by Jiri Kosina

treewide: fix typo in printk and Kconfig

This patch fix spelling typo in printk and Kconfig within
various part of kernel sources.
Signed-off-by: default avatarMasanari Iida <standby24x7@gmail.com>
Acked-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent cbd25516
...@@ -1092,7 +1092,7 @@ static int __init edac_devinit(void) ...@@ -1092,7 +1092,7 @@ static int __init edac_devinit(void)
name = edac_device_names[i]; name = edac_device_names[i];
dev = platform_device_register_simple(name, -1, NULL, 0); dev = platform_device_register_simple(name, -1, NULL, 0);
if (IS_ERR(dev)) { if (IS_ERR(dev)) {
pr_err("Registation of %s failed!\n", name); pr_err("Registration of %s failed!\n", name);
err = PTR_ERR(dev); err = PTR_ERR(dev);
} }
} }
...@@ -1103,7 +1103,7 @@ static int __init edac_devinit(void) ...@@ -1103,7 +1103,7 @@ static int __init edac_devinit(void)
dev = platform_device_register_simple("octeon_lmc_edac", dev = platform_device_register_simple("octeon_lmc_edac",
i, NULL, 0); i, NULL, 0);
if (IS_ERR(dev)) { if (IS_ERR(dev)) {
pr_err("Registation of octeon_lmc_edac %d failed!\n", i); pr_err("Registration of octeon_lmc_edac %d failed!\n", i);
err = PTR_ERR(dev); err = PTR_ERR(dev);
} }
} }
......
...@@ -708,7 +708,7 @@ static int __init octeon_pci_setup(void) ...@@ -708,7 +708,7 @@ static int __init octeon_pci_setup(void)
if (IS_ERR(platform_device_register_simple("octeon_pci_edac", if (IS_ERR(platform_device_register_simple("octeon_pci_edac",
-1, NULL, 0))) -1, NULL, 0)))
pr_err("Registation of co_pci_edac failed!\n"); pr_err("Registration of co_pci_edac failed!\n");
octeon_pci_dma_init(); octeon_pci_dma_init();
......
...@@ -661,7 +661,7 @@ int kvmppc_load_last_inst(struct kvm_vcpu *vcpu, enum instruction_type type, ...@@ -661,7 +661,7 @@ int kvmppc_load_last_inst(struct kvm_vcpu *vcpu, enum instruction_type type,
if (unlikely((pr && !(mas3 & MAS3_UX)) || if (unlikely((pr && !(mas3 & MAS3_UX)) ||
(!pr && !(mas3 & MAS3_SX)))) { (!pr && !(mas3 & MAS3_SX)))) {
pr_err_ratelimited( pr_err_ratelimited(
"%s: Instuction emulation from guest addres %08lx without execute permission\n", "%s: Instruction emulation from guest address %08lx without execute permission\n",
__func__, geaddr); __func__, geaddr);
return EMULATE_AGAIN; return EMULATE_AGAIN;
} }
...@@ -673,7 +673,7 @@ int kvmppc_load_last_inst(struct kvm_vcpu *vcpu, enum instruction_type type, ...@@ -673,7 +673,7 @@ int kvmppc_load_last_inst(struct kvm_vcpu *vcpu, enum instruction_type type,
if (has_feature(vcpu, VCPU_FTR_MMU_V2) && if (has_feature(vcpu, VCPU_FTR_MMU_V2) &&
unlikely((mas2 & MAS2_I) || (mas2 & MAS2_W) || !(mas2 & MAS2_M))) { unlikely((mas2 & MAS2_I) || (mas2 & MAS2_W) || !(mas2 & MAS2_M))) {
pr_err_ratelimited( pr_err_ratelimited(
"%s: Instuction emulation from guest addres %08lx mismatches storage attributes\n", "%s: Instruction emulation from guest address %08lx mismatches storage attributes\n",
__func__, geaddr); __func__, geaddr);
return EMULATE_AGAIN; return EMULATE_AGAIN;
} }
...@@ -686,7 +686,7 @@ int kvmppc_load_last_inst(struct kvm_vcpu *vcpu, enum instruction_type type, ...@@ -686,7 +686,7 @@ int kvmppc_load_last_inst(struct kvm_vcpu *vcpu, enum instruction_type type,
/* Guard against emulation from devices area */ /* Guard against emulation from devices area */
if (unlikely(!page_is_ram(pfn))) { if (unlikely(!page_is_ram(pfn))) {
pr_err_ratelimited("%s: Instruction emulation from non-RAM host addres %08llx is not supported\n", pr_err_ratelimited("%s: Instruction emulation from non-RAM host address %08llx is not supported\n",
__func__, addr); __func__, addr);
return EMULATE_AGAIN; return EMULATE_AGAIN;
} }
......
...@@ -1334,7 +1334,7 @@ init_card(struct l1oip *hc, int pri, int bundle) ...@@ -1334,7 +1334,7 @@ init_card(struct l1oip *hc, int pri, int bundle)
if (id[l1oip_cnt] == 0) { if (id[l1oip_cnt] == 0) {
printk(KERN_WARNING "Warning: No 'id' value given or " printk(KERN_WARNING "Warning: No 'id' value given or "
"0, this is highly unsecure. Please use 32 " "0, this is highly unsecure. Please use 32 "
"bit randmom number 0x...\n"); "bit random number 0x...\n");
} }
hc->id = id[l1oip_cnt]; hc->id = id[l1oip_cnt];
if (debug & DEBUG_L1OIP_INIT) if (debug & DEBUG_L1OIP_INIT)
......
...@@ -490,7 +490,7 @@ static int budget_patch_attach (struct saa7146_dev* dev, struct saa7146_pci_exte ...@@ -490,7 +490,7 @@ static int budget_patch_attach (struct saa7146_dev* dev, struct saa7146_pci_exte
if(detected == 0) if(detected == 0)
printk("budget-patch not detected or saa7146 in non-default state.\n" printk("budget-patch not detected or saa7146 in non-default state.\n"
"try enabling ressetting of 7146 with MASK_31 in MC1 register\n"); "try enabling resetting of 7146 with MASK_31 in MC1 register\n");
else else
printk("BUDGET-PATCH DETECTED.\n"); printk("BUDGET-PATCH DETECTED.\n");
......
...@@ -1090,7 +1090,7 @@ tape_3590_print_io_sim_msg_f1(struct tape_device *device, struct irb *irb) ...@@ -1090,7 +1090,7 @@ tape_3590_print_io_sim_msg_f1(struct tape_device *device, struct irb *irb)
"channel path 0x%x on CU", "channel path 0x%x on CU",
sense->fmt.f71.md[1]); sense->fmt.f71.md[1]);
else else
snprintf(service, BUFSIZE, "Repair will disable cannel" snprintf(service, BUFSIZE, "Repair will disable channel"
" paths (0x%x-0x%x) on CU", " paths (0x%x-0x%x) on CU",
sense->fmt.f71.md[1], sense->fmt.f71.md[2]); sense->fmt.f71.md[1], sense->fmt.f71.md[2]);
break; break;
...@@ -1481,7 +1481,7 @@ tape_3590_irq(struct tape_device *device, struct tape_request *request, ...@@ -1481,7 +1481,7 @@ tape_3590_irq(struct tape_device *device, struct tape_request *request,
} }
if (irb->scsw.cmd.dstat & DEV_STAT_CHN_END) { if (irb->scsw.cmd.dstat & DEV_STAT_CHN_END) {
DBF_EVENT(2, "cannel end\n"); DBF_EVENT(2, "channel end\n");
return TAPE_IO_PENDING; return TAPE_IO_PENDING;
} }
......
...@@ -6740,7 +6740,7 @@ static int __init megasas_init(void) ...@@ -6740,7 +6740,7 @@ static int __init megasas_init(void)
rval = pci_register_driver(&megasas_pci_driver); rval = pci_register_driver(&megasas_pci_driver);
if (rval) { if (rval) {
printk(KERN_DEBUG "megasas: PCI hotplug regisration failed \n"); printk(KERN_DEBUG "megasas: PCI hotplug registration failed \n");
goto err_pcidrv; goto err_pcidrv;
} }
......
...@@ -335,7 +335,7 @@ static int target_xcopy_parse_segment_descriptors(struct se_cmd *se_cmd, ...@@ -335,7 +335,7 @@ static int target_xcopy_parse_segment_descriptors(struct se_cmd *se_cmd,
desc += XCOPY_SEGMENT_DESC_LEN; desc += XCOPY_SEGMENT_DESC_LEN;
break; break;
default: default:
pr_err("XCOPY unspported segment descriptor" pr_err("XCOPY unsupported segment descriptor"
"type: 0x%02x\n", desc[0]); "type: 0x%02x\n", desc[0]);
goto out; goto out;
} }
......
...@@ -701,7 +701,7 @@ config PDC_CONSOLE ...@@ -701,7 +701,7 @@ config PDC_CONSOLE
Saying Y here will enable the software based PDC console to be Saying Y here will enable the software based PDC console to be
used as the system console. This is useful for machines in used as the system console. This is useful for machines in
which the hardware based console has not been written yet. The which the hardware based console has not been written yet. The
following steps must be competed to use the PDC console: following steps must be completed to use the PDC console:
1. create the device entry (mknod /dev/ttyB0 c 11 0) 1. create the device entry (mknod /dev/ttyB0 c 11 0)
2. Edit the /etc/inittab to start a getty listening on /dev/ttyB0 2. Edit the /etc/inittab to start a getty listening on /dev/ttyB0
......
...@@ -396,7 +396,7 @@ static int hidg_setup(struct usb_function *f, ...@@ -396,7 +396,7 @@ static int hidg_setup(struct usb_function *f,
case ((USB_DIR_OUT | USB_TYPE_CLASS | USB_RECIP_INTERFACE) << 8 case ((USB_DIR_OUT | USB_TYPE_CLASS | USB_RECIP_INTERFACE) << 8
| HID_REQ_SET_REPORT): | HID_REQ_SET_REPORT):
VDBG(cdev, "set_report | wLenght=%d\n", ctrl->wLength); VDBG(cdev, "set_report | wLength=%d\n", ctrl->wLength);
goto stall; goto stall;
break; break;
......
...@@ -132,7 +132,7 @@ static ssize_t store_uframe_periodic_max(struct device *dev, ...@@ -132,7 +132,7 @@ static ssize_t store_uframe_periodic_max(struct device *dev,
if (allocated_max > uframe_periodic_max) { if (allocated_max > uframe_periodic_max) {
ehci_info(ehci, ehci_info(ehci,
"cannot decrease uframe_periodic_max becase " "cannot decrease uframe_periodic_max because "
"periodic bandwidth is already allocated " "periodic bandwidth is already allocated "
"(%u > %u)\n", "(%u > %u)\n",
allocated_max, uframe_periodic_max); allocated_max, uframe_periodic_max);
......
...@@ -4958,7 +4958,7 @@ static ssize_t store_uframe_periodic_max(struct device *dev, ...@@ -4958,7 +4958,7 @@ static ssize_t store_uframe_periodic_max(struct device *dev,
if (allocated_max > uframe_periodic_max) { if (allocated_max > uframe_periodic_max) {
fotg210_info(fotg210, fotg210_info(fotg210,
"cannot decrease uframe_periodic_max becase " "cannot decrease uframe_periodic_max because "
"periodic bandwidth is already allocated " "periodic bandwidth is already allocated "
"(%u > %u)\n", "(%u > %u)\n",
allocated_max, uframe_periodic_max); allocated_max, uframe_periodic_max);
......
...@@ -4893,7 +4893,7 @@ static ssize_t store_uframe_periodic_max(struct device *dev, ...@@ -4893,7 +4893,7 @@ static ssize_t store_uframe_periodic_max(struct device *dev,
if (allocated_max > uframe_periodic_max) { if (allocated_max > uframe_periodic_max) {
fusbh200_info(fusbh200, fusbh200_info(fusbh200,
"cannot decrease uframe_periodic_max becase " "cannot decrease uframe_periodic_max because "
"periodic bandwidth is already allocated " "periodic bandwidth is already allocated "
"(%u > %u)\n", "(%u > %u)\n",
allocated_max, uframe_periodic_max); allocated_max, uframe_periodic_max);
......
...@@ -2772,7 +2772,7 @@ int journal_init(struct super_block *sb, const char *j_dev_name, ...@@ -2772,7 +2772,7 @@ int journal_init(struct super_block *sb, const char *j_dev_name,
if (journal_init_dev(sb, journal, j_dev_name) != 0) { if (journal_init_dev(sb, journal, j_dev_name) != 0) {
reiserfs_warning(sb, "sh-462", reiserfs_warning(sb, "sh-462",
"unable to initialize jornal device"); "unable to initialize journal device");
goto free_and_return; goto free_and_return;
} }
......
...@@ -342,7 +342,7 @@ int main(int argc, char *argv[]) ...@@ -342,7 +342,7 @@ int main(int argc, char *argv[])
iobuf[i].requested = ret; iobuf[i].requested = ret;
printf("submit: %d requests buf: %d\n", ret, i); printf("submit: %d requests buf: %d\n", ret, i);
} else } else
perror("unable to submit reqests"); perror("unable to submit requests");
} }
/* if event is ready to read */ /* if event is ready to read */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment