Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
authorLinus Torvalds <torvalds@linux-foundation.org>
Wed, 11 Feb 2015 02:57:15 +0000 (18:57 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 11 Feb 2015 02:57:15 +0000 (18:57 -0800)
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

13 files changed:
Documentation/usb/usbmon.txt
Documentation/vm/cleancache.txt
arch/arm/mm/cache-l2x0.c
arch/blackfin/mach-common/ints-priority.c
arch/x86/mm/init.c
drivers/scsi/aic7xxx/aic79xx_core.c
drivers/scsi/pmcraid.c
drivers/staging/speakup/speakup_dtlk.c
include/uapi/linux/msdos_fs.h
kernel/kexec.c
lib/Kconfig.debug
lib/dynamic_debug.c
mm/cleancache.c

index c42bb9c..7587d84 100644 (file)
@@ -231,7 +231,7 @@ number. Number zero (/dev/usbmon0) is special and means "all buses".
 Note that specific naming policy is set by your Linux distribution.
 
 If you create /dev/usbmon0 by hand, make sure that it is owned by root
-and has mode 0600. Otherwise, unpriviledged users will be able to snoop
+and has mode 0600. Otherwise, unprivileged users will be able to snoop
 keyboard traffic.
 
 The following ioctl calls are available, with MON_IOC_MAGIC 0x92:
index 142fbb0..01d7628 100644 (file)
@@ -85,7 +85,7 @@ lock the page to ensure serial behavior.
 CLEANCACHE PERFORMANCE METRICS
 
 If properly configured, monitoring of cleancache is done via debugfs in
-the /sys/kernel/debug/mm/cleancache directory.  The effectiveness of cleancache
+the /sys/kernel/debug/cleancache directory.  The effectiveness of cleancache
 can be measured (across all filesystems) with:
 
 succ_gets      - number of gets that were successful
index 5e65ca8..c7fc009 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * arch/arm/mm/cache-l2x0.c - L210/L220 cache controller support
+ * arch/arm/mm/cache-l2x0.c - L210/L220/L310 cache controller support
  *
  * Copyright (C) 2007 ARM Limited
  *
@@ -979,7 +979,7 @@ static int __init l2x0_cache_size_of_parse(const struct device_node *np,
        /* All these l2 caches have the same line = block size actually */
        if (!line_size) {
                if (block_size) {
-                       /* If linesize if not given, it is equal to blocksize */
+                       /* If linesize is not given, it is equal to blocksize */
                        line_size = block_size;
                } else {
                        /* Fall back to known size */
index dd2af74..7236bdf 100644 (file)
@@ -429,14 +429,6 @@ static void init_software_driven_irq(void)
        bfin_sec_enable_ssi(37);
 }
 
-void bfin_sec_resume(void)
-{
-       bfin_write_SEC_SCI(0, SEC_CCTL, SEC_CCTL_RESET);
-       udelay(100);
-       bfin_write_SEC_GCTL(SEC_GCTL_EN);
-       bfin_write_SEC_SCI(0, SEC_CCTL, SEC_CCTL_EN | SEC_CCTL_NMI_EN);
-}
-
 void handle_sec_sfi_fault(uint32_t gstat)
 {
 
index 079c3b6..649da47 100644 (file)
@@ -608,7 +608,7 @@ void __init init_mem_mapping(void)
  *
  *
  * On x86, access has to be given to the first megabyte of ram because that area
- * contains bios code and data regions used by X and dosemu and similar apps.
+ * contains BIOS code and data regions used by X and dosemu and similar apps.
  * Access has to be given to non-kernel-ram areas as well, these contain the PCI
  * mmio resources as well as potential bios/acpi data regions.
  */
index 0bcacf7..97f2acc 100644 (file)
@@ -1298,7 +1298,7 @@ rescan_fifos:
 
        /*
         * Wait for any inprogress DMA to complete and clear DMA state
-        * if this if for an SCB in the qinfifo.
+        * if this is for an SCB in the qinfifo.
         */
        while (((ccscbctl = ahd_inb(ahd, CCSCBCTL)) & (CCARREN|CCSCBEN)) != 0) {
 
index 8c27b6a..8551008 100644 (file)
@@ -4223,7 +4223,7 @@ static ssize_t pmcraid_show_adapter_id(
 static struct device_attribute pmcraid_adapter_id_attr = {
        .attr = {
                 .name = "adapter_id",
-                .mode = S_IRUGO | S_IWUSR,
+                .mode = S_IRUGO,
                 },
        .show = pmcraid_show_adapter_id,
 };
index 4e059ea..89592c0 100644 (file)
@@ -325,7 +325,7 @@ static struct synth_settings *synth_interrogate(struct spk_synth *synth)
 
 static int synth_probe(struct spk_synth *synth)
 {
-               unsigned int port_val = 0;
+       unsigned int port_val = 0;
        int i = 0;
        struct synth_settings *sp;
 
@@ -361,7 +361,8 @@ static int synth_probe(struct spk_synth *synth)
        port_val &= 0xfbff;
        if (port_val != 0x107f) {
                pr_info("DoubleTalk PC: not found\n");
-               synth_release_region(synth_lpc, SYNTH_IO_EXTENT);
+               if (synth_lpc)
+                       synth_release_region(synth_lpc, SYNTH_IO_EXTENT);
                return -ENODEV;
        }
        while (inw_p(synth_lpc) != 0x147f)
@@ -369,7 +370,7 @@ static int synth_probe(struct spk_synth *synth)
        sp = synth_interrogate(synth);
        pr_info("%s: %03x-%03x, ROM ver %s, s/n %u, driver: %s\n",
                synth->long_name, synth_lpc, synth_lpc+SYNTH_IO_EXTENT - 1,
-        sp->rom_version, sp->serial_number, synth->version);
+               sp->rom_version, sp->serial_number, synth->version);
        synth->alive = 1;
        return 0;
 }
index e284ff9..e956704 100644 (file)
@@ -134,7 +134,7 @@ struct fat_boot_sector {
                        __u8    vol_id[4];      /* volume ID */
                        __u8    vol_label[11];  /* volume label */
                        __u8    fs_type[8];             /* file system type */
-                       /* other fiealds are not added here */
+                       /* other fields are not added here */
                } fat16;
 
                struct {
@@ -157,7 +157,7 @@ struct fat_boot_sector {
                        __u8    vol_id[4];      /* volume ID */
                        __u8    vol_label[11];  /* volume label */
                        __u8    fs_type[8];             /* file system type */
-                       /* other fiealds are not added here */
+                       /* other fields are not added here */
                } fat32;
        };
 };
index 9a8a01a..c852776 100644 (file)
@@ -2512,7 +2512,7 @@ static int kexec_apply_relocations(struct kimage *image)
                        continue;
 
                /*
-                * Respective archicture needs to provide support for applying
+                * Respective architecture needs to provide support for applying
                 * relocations of type SHT_RELA/SHT_REL.
                 */
                if (sechdrs[i].sh_type == SHT_RELA)
index a2ca213..61689a8 100644 (file)
@@ -636,7 +636,7 @@ config DEBUG_STACKOVERFLOW
        depends on DEBUG_KERNEL && HAVE_DEBUG_STACKOVERFLOW
        ---help---
          Say Y here if you want to check for overflows of kernel, IRQ
-         and exception stacks (if your archicture uses them). This
+         and exception stacks (if your architecture uses them). This
          option will show detailed messages if free stack space drops
          below a certain limit.
 
index 527799d..d8f3d31 100644 (file)
@@ -641,7 +641,7 @@ static __init int ddebug_setup_query(char *str)
 __setup("ddebug_query=", ddebug_setup_query);
 
 /*
- * File_ops->write method for <debugfs>/dynamic_debug/conrol.  Gathers the
+ * File_ops->write method for <debugfs>/dynamic_debug/control.  Gathers the
  * command text from userspace, parses and executes it.
  */
 #define USER_BUF_PAGE 4096
index d0eac43..053bcd8 100644 (file)
@@ -25,7 +25,7 @@
 static struct cleancache_ops *cleancache_ops __read_mostly;
 
 /*
- * Counters available via /sys/kernel/debug/frontswap (if debugfs is
+ * Counters available via /sys/kernel/debug/cleancache (if debugfs is
  * properly configured.  These are for information only so are not protected
  * against increment races.
  */