Skip to content

Commit 29afc4e

Browse files
committed
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
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
2 parents 1d9c5d7 + edb0ec0 commit 29afc4e

13 files changed

Lines changed: 17 additions & 24 deletions

File tree

‎Documentation/usb/usbmon.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ number. Number zero (/dev/usbmon0) is special and means "all buses".
231231
Note that specific naming policy is set by your Linux distribution.
232232

233233
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
235235
keyboard traffic.
236236

237237
The following ioctl calls are available, with MON_IOC_MAGIC 0x92:

‎Documentation/vm/cleancache.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ lock the page to ensure serial behavior.
8585
CLEANCACHE PERFORMANCE METRICS
8686

8787
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
8989
can be measured (across all filesystems) with:
9090

9191
succ_gets - number of gets that were successful

‎arch/arm/mm/cache-l2x0.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
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
33
*
44
* Copyright (C) 2007 ARM Limited
55
*
@@ -979,7 +979,7 @@ static int __init l2x0_cache_size_of_parse(const struct device_node *np,
979979
/* All these l2 caches have the same line = block size actually */
980980
if (!line_size) {
981981
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 */
983983
line_size = block_size;
984984
} else {
985985
/* Fall back to known size */

‎arch/blackfin/mach-common/ints-priority.c‎

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -429,14 +429,6 @@ static void init_software_driven_irq(void)
429429
bfin_sec_enable_ssi(37);
430430
}
431431

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-
440432
void handle_sec_sfi_fault(uint32_t gstat)
441433
{
442434

‎arch/x86/mm/init.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -608,7 +608,7 @@ void __init init_mem_mapping(void)
608608
*
609609
*
610610
* 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.
612612
* Access has to be given to non-kernel-ram areas as well, these contain the PCI
613613
* mmio resources as well as potential bios/acpi data regions.
614614
*/

‎drivers/scsi/aic7xxx/aic79xx_core.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1298,7 +1298,7 @@ ahd_flush_qoutfifo(struct ahd_softc *ahd)
12981298

12991299
/*
13001300
* 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.
13021302
*/
13031303
while (((ccscbctl = ahd_inb(ahd, CCSCBCTL)) & (CCARREN|CCSCBEN)) != 0) {
13041304

‎drivers/scsi/pmcraid.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4223,7 +4223,7 @@ static ssize_t pmcraid_show_adapter_id(
42234223
static struct device_attribute pmcraid_adapter_id_attr = {
42244224
.attr = {
42254225
.name = "adapter_id",
4226-
.mode = S_IRUGO | S_IWUSR,
4226+
.mode = S_IRUGO,
42274227
},
42284228
.show = pmcraid_show_adapter_id,
42294229
};

‎drivers/staging/speakup/speakup_dtlk.c‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ static struct synth_settings *synth_interrogate(struct spk_synth *synth)
325325

326326
static int synth_probe(struct spk_synth *synth)
327327
{
328-
unsigned int port_val = 0;
328+
unsigned int port_val = 0;
329329
int i = 0;
330330
struct synth_settings *sp;
331331

@@ -361,15 +361,16 @@ static int synth_probe(struct spk_synth *synth)
361361
port_val &= 0xfbff;
362362
if (port_val != 0x107f) {
363363
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);
365366
return -ENODEV;
366367
}
367368
while (inw_p(synth_lpc) != 0x147f)
368369
cpu_relax(); /* wait until it's ready */
369370
sp = synth_interrogate(synth);
370371
pr_info("%s: %03x-%03x, ROM ver %s, s/n %u, driver: %s\n",
371372
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);
373374
synth->alive = 1;
374375
return 0;
375376
}

‎include/uapi/linux/msdos_fs.h‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ struct fat_boot_sector {
134134
__u8 vol_id[4]; /* volume ID */
135135
__u8 vol_label[11]; /* volume label */
136136
__u8 fs_type[8]; /* file system type */
137-
/* other fiealds are not added here */
137+
/* other fields are not added here */
138138
} fat16;
139139

140140
struct {
@@ -157,7 +157,7 @@ struct fat_boot_sector {
157157
__u8 vol_id[4]; /* volume ID */
158158
__u8 vol_label[11]; /* volume label */
159159
__u8 fs_type[8]; /* file system type */
160-
/* other fiealds are not added here */
160+
/* other fields are not added here */
161161
} fat32;
162162
};
163163
};

‎kernel/kexec.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2512,7 +2512,7 @@ static int kexec_apply_relocations(struct kimage *image)
25122512
continue;
25132513

25142514
/*
2515-
* Respective archicture needs to provide support for applying
2515+
* Respective architecture needs to provide support for applying
25162516
* relocations of type SHT_RELA/SHT_REL.
25172517
*/
25182518
if (sechdrs[i].sh_type == SHT_RELA)

0 commit comments

Comments
 (0)