Pull trivial tree changes from Jiri Kosina: "Patches from trivial.git that keep the world turning around. Mostly documentation and comment fixes, and a two corner-case code fixes from Alan Cox" * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: kexec, Kconfig: spell "architecture" properly mm: fix cleancache debugfs directory path blackfin: mach-common: ints-priority: remove unused function doubletalk: probe failure causes OOPS ARM: cache-l2x0.c: Make it clear that cache-l2x0 handles L310 cache controller msdos_fs.h: fix 'fields' in comment scsi: aic7xxx: fix comment ARM: l2c: fix comment ibmraid: fix writeable attribute with no store method dynamic_debug: fix comment doc: usbmon: fix spelling s/unpriviledged/unprivileged/ x86: init_mem_mapping(): use capital BIOS in comment
Unified · Split
| @@ -231,7 +231,7 @@ number. Number zero (/dev/usbmon0) is special and means "all buses". · 230 unmodified lines | ||
| 231 | 231 | Note that specific naming policy is set by your Linux distribution. |
| 232 | 232 | |
| 233 | 233 | If you create /dev/usbmon0 by hand, make sure that it is owned by root |
| 234 | −and has mode 0600. Otherwise, unpriviledged users will be able to snoop | |
| 234 | +and has mode 0600. Otherwise, unprivileged users will be able to snoop | |
| 235 | 235 | keyboard traffic. |
| 236 | 236 | |
| 237 | 237 | The following ioctl calls are available, with MON_IOC_MAGIC 0x92: |
| @@ -85,7 +85,7 @@ lock the page to ensure serial behavior. · 84 unmodified lines | ||
| 85 | 85 | CLEANCACHE PERFORMANCE METRICS |
| 86 | 86 | |
| 87 | 87 | If properly configured, monitoring of cleancache is done via debugfs in |
| 88 | −the /sys/kernel/debug/mm/cleancache directory. The effectiveness of cleancache | |
| 88 | +the /sys/kernel/debug/cleancache directory. The effectiveness of cleancache | |
| 89 | 89 | can be measured (across all filesystems) with: |
| 90 | 90 | |
| 91 | 91 | succ_gets - number of gets that were successful |
| @@ -1,5 +1,5 @@ | ||
| 1 | 1 | /* |
| 2 | − * arch/arm/mm/cache-l2x0.c - L210/L220 cache controller support | |
| 2 | + * arch/arm/mm/cache-l2x0.c - L210/L220/L310 cache controller support | |
| 3 | 3 | * |
| 4 | 4 | * Copyright (C) 2007 ARM Limited |
| 5 | 5 | * |
| @@ -979,7 +979,7 @@ static int __init l2x0_cache_size_of_parse(const struct device_node *np, · 973 unmodified lines | ||
| 979 | 979 | /* All these l2 caches have the same line = block size actually */ |
| 980 | 980 | if (!line_size) { |
| 981 | 981 | if (block_size) { |
| 982 | − /* If linesize if not given, it is equal to blocksize */ | |
| 982 | + /* If linesize is not given, it is equal to blocksize */ | |
| 983 | 983 | line_size = block_size; |
| 984 | 984 | } else { |
| 985 | 985 | /* Fall back to known size */ |
| @@ -429,14 +429,6 @@ static void init_software_driven_irq(void) · 428 unmodified lines | ||
| 429 | 429 | bfin_sec_enable_ssi(37); |
| 430 | 430 | } |
| 431 | 431 | |
| 432 | −void bfin_sec_resume(void) | |
| 433 | −{ | |
| 434 | − bfin_write_SEC_SCI(0, SEC_CCTL, SEC_CCTL_RESET); | |
| 435 | − udelay(100); | |
| 436 | − bfin_write_SEC_GCTL(SEC_GCTL_EN); | |
| 437 | − bfin_write_SEC_SCI(0, SEC_CCTL, SEC_CCTL_EN | SEC_CCTL_NMI_EN); | |
| 438 | −} | |
| 439 | − | |
| 440 | 432 | void handle_sec_sfi_fault(uint32_t gstat) |
| 441 | 433 | { |
| 442 | 434 | |
| @@ -608,7 +608,7 @@ void __init init_mem_mapping(void) · 607 unmodified lines | ||
| 608 | 608 | * |
| 609 | 609 | * |
| 610 | 610 | * On x86, access has to be given to the first megabyte of ram because that area |
| 611 | − * contains bios code and data regions used by X and dosemu and similar apps. | |
| 611 | + * contains BIOS code and data regions used by X and dosemu and similar apps. | |
| 612 | 612 | * Access has to be given to non-kernel-ram areas as well, these contain the PCI |
| 613 | 613 | * mmio resources as well as potential bios/acpi data regions. |
| 614 | 614 | */ |
| @@ -1298,7 +1298,7 @@ rescan_fifos: · 1297 unmodified lines | ||
| 1298 | 1298 | |
| 1299 | 1299 | /* |
| 1300 | 1300 | * Wait for any inprogress DMA to complete and clear DMA state |
| 1301 | − * if this if for an SCB in the qinfifo. | |
| 1301 | + * if this is for an SCB in the qinfifo. | |
| 1302 | 1302 | */ |
| 1303 | 1303 | while (((ccscbctl = ahd_inb(ahd, CCSCBCTL)) & (CCARREN|CCSCBEN)) != 0) { |
| 1304 | 1304 | |
| @@ -4223,7 +4223,7 @@ static ssize_t pmcraid_show_adapter_id( · 4222 unmodified lines | ||
| 4223 | 4223 | static struct device_attribute pmcraid_adapter_id_attr = { |
| 4224 | 4224 | .attr = { |
| 4225 | 4225 | .name = "adapter_id", |
| 4226 | − .mode = S_IRUGO | S_IWUSR, | |
| 4226 | + .mode = S_IRUGO, | |
| 4227 | 4227 | }, |
| 4228 | 4228 | .show = pmcraid_show_adapter_id, |
| 4229 | 4229 | }; |
| @@ -325,7 +325,7 @@ static struct synth_settings *synth_interrogate(struct spk_synth *synth) · 324 unmodified lines | ||
| 325 | 325 | |
| 326 | 326 | static int synth_probe(struct spk_synth *synth) |
| 327 | 327 | { |
| 328 | − unsigned int port_val = 0; | |
| 328 | + unsigned int port_val = 0; | |
| 329 | 329 | int i = 0; |
| 330 | 330 | struct synth_settings *sp; |
| 331 | 331 | |
| @@ -361,7 +361,8 @@ static int synth_probe(struct spk_synth *synth) · 29 unmodified lines | ||
| 361 | 361 | port_val &= 0xfbff; |
| 362 | 362 | if (port_val != 0x107f) { |
| 363 | 363 | pr_info("DoubleTalk PC: not found\n"); |
| 364 | − synth_release_region(synth_lpc, SYNTH_IO_EXTENT); | |
| 364 | + if (synth_lpc) | |
| 365 | + synth_release_region(synth_lpc, SYNTH_IO_EXTENT); | |
| 365 | 366 | return -ENODEV; |
| 366 | 367 | } |
| 367 | 368 | while (inw_p(synth_lpc) != 0x147f) |
| @@ -369,7 +370,7 @@ static int synth_probe(struct spk_synth *synth) · 1 unmodified line | ||
| 369 | 370 | sp = synth_interrogate(synth); |
| 370 | 371 | pr_info("%s: %03x-%03x, ROM ver %s, s/n %u, driver: %s\n", |
| 371 | 372 | synth->long_name, synth_lpc, synth_lpc+SYNTH_IO_EXTENT - 1, |
| 372 | − sp->rom_version, sp->serial_number, synth->version); | |
| 373 | + sp->rom_version, sp->serial_number, synth->version); | |
| 373 | 374 | synth->alive = 1; |
| 374 | 375 | return 0; |
| 375 | 376 | } |
| @@ -134,7 +134,7 @@ struct fat_boot_sector { · 133 unmodified lines | ||
| 134 | 134 | __u8 vol_id[4]; /* volume ID */ |
| 135 | 135 | __u8 vol_label[11]; /* volume label */ |
| 136 | 136 | __u8 fs_type[8]; /* file system type */ |
| 137 | − /* other fiealds are not added here */ | |
| 137 | + /* other fields are not added here */ | |
| 138 | 138 | } fat16; |
| 139 | 139 | |
| 140 | 140 | struct { |
| @@ -157,7 +157,7 @@ struct fat_boot_sector { · 16 unmodified lines | ||
| 157 | 157 | __u8 vol_id[4]; /* volume ID */ |
| 158 | 158 | __u8 vol_label[11]; /* volume label */ |
| 159 | 159 | __u8 fs_type[8]; /* file system type */ |
| 160 | − /* other fiealds are not added here */ | |
| 160 | + /* other fields are not added here */ | |
| 161 | 161 | } fat32; |
| 162 | 162 | }; |
| 163 | 163 | }; |
| @@ -2512,7 +2512,7 @@ static int kexec_apply_relocations(struct kimage *image) · 2511 unmodified lines | ||
| 2512 | 2512 | continue; |
| 2513 | 2513 | |
| 2514 | 2514 | /* |
| 2515 | − * Respective archicture needs to provide support for applying | |
| 2515 | + * Respective architecture needs to provide support for applying | |
| 2516 | 2516 | * relocations of type SHT_RELA/SHT_REL. |
| 2517 | 2517 | */ |
| 2518 | 2518 | if (sechdrs[i].sh_type == SHT_RELA) |
| @@ -636,7 +636,7 @@ config DEBUG_STACKOVERFLOW · 635 unmodified lines | ||
| 636 | 636 | depends on DEBUG_KERNEL && HAVE_DEBUG_STACKOVERFLOW |
| 637 | 637 | ---help--- |
| 638 | 638 | Say Y here if you want to check for overflows of kernel, IRQ |
| 639 | − and exception stacks (if your archicture uses them). This | |
| 639 | + and exception stacks (if your architecture uses them). This | |
| 640 | 640 | option will show detailed messages if free stack space drops |
| 641 | 641 | below a certain limit. |
| 642 | 642 | |
| @@ -641,7 +641,7 @@ static __init int ddebug_setup_query(char *str) · 640 unmodified lines | ||
| 641 | 641 | __setup("ddebug_query=", ddebug_setup_query); |
| 642 | 642 | |
| 643 | 643 | /* |
| 644 | − * File_ops->write method for <debugfs>/dynamic_debug/conrol. Gathers the | |
| 644 | + * File_ops->write method for <debugfs>/dynamic_debug/control. Gathers the | |
| 645 | 645 | * command text from userspace, parses and executes it. |
| 646 | 646 | */ |
| 647 | 647 | #define USER_BUF_PAGE 4096 |
| @@ -25,7 +25,7 @@ · 24 unmodified lines | ||
| 25 | 25 | static struct cleancache_ops *cleancache_ops __read_mostly; |
| 26 | 26 | |
| 27 | 27 | /* |
| 28 | − * Counters available via /sys/kernel/debug/frontswap (if debugfs is | |
| 28 | + * Counters available via /sys/kernel/debug/cleancache (if debugfs is | |
| 29 | 29 | * properly configured. These are for information only so are not protected |
| 30 | 30 | * against increment races. |
| 31 | 31 | */ |