Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
authorLinus Torvalds <torvalds@linux-foundation.org>
Thu, 7 Aug 2014 04:03:53 +0000 (21:03 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 7 Aug 2014 04:03:53 +0000 (21:03 -0700)
Pull trivial tree changes from Jiri Kosina:
 "Summer edition of trivial tree updates"

* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (23 commits)
  doc: fix two typos in watchdog-api.txt
  irq-gic: remove file name from heading comment
  MAINTAINERS: Add miscdevice.h to file list for char/misc drivers.
  scsi: mvsas: mv_sas.c: Fix for possible null pointer dereference
  doc: replace "practise" with "practice" in Documentation
  befs: remove check for CONFIG_BEFS_RW
  scsi: doc: fix 'SCSI_NCR_SETUP_MASTER_PARITY'
  drivers/usb/phy/phy.c: remove a leading space
  mfd: fix comment
  cpuidle: fix comment
  doc: hpfall.c: fix missing null-terminate after strncpy call
  usb: doc: hotplug.txt code typos
  kbuild: fix comment in Makefile.modinst
  SH: add proper prompt to SH_MAGIC_PANEL_R2_VERSION
  ARM: msm: Remove MSM_SCM
  crypto: Remove MPILIB_EXTRA
  doc: CN: remove dead link, kerneltrap.org no longer works
  media: update reference, kerneltrap.org no longer works
  hexagon: update reference, kerneltrap.org no longer works
  doc: LSM: update reference, kerneltrap.org no longer works
  ...

18 files changed:
Documentation/PCI/MSI-HOWTO.txt
Documentation/SubmittingDrivers
Documentation/SubmittingPatches
Documentation/laptops/freefall.c
Documentation/scsi/ncr53c8xx.txt
Documentation/security/LSM.txt
Documentation/zh_CN/SubmittingDrivers
arch/arm/mach-msm/Kconfig
arch/hexagon/include/asm/cache.h
arch/sh/boards/Kconfig
drivers/cpuidle/governors/menu.c
drivers/gpu/drm/gma500/mid_bios.c
drivers/irqchip/irq-gic.c
drivers/mfd/intel_msic.c
drivers/scsi/mvsas/mv_sas.c
drivers/usb/phy/phy.c
fs/befs/linuxvfs.c
scripts/Makefile.modinst

index 10a9369..0d920d5 100644 (file)
@@ -576,7 +576,7 @@ Some devices are known to have faulty MSI implementations.  Usually this
 is handled in the individual device driver, but occasionally it's necessary
 to handle this with a quirk.  Some drivers have an option to disable use
 of MSI.  While this is a convenient workaround for the driver author,
-it is not good practise, and should not be emulated.
+it is not good practice, and should not be emulated.
 
 5.4. Finding why MSIs are disabled on a device
 
index 36d16bb..31d3726 100644 (file)
@@ -146,10 +146,6 @@ LWN.net:
        Porting drivers from prior kernels to 2.6:
                http://lwn.net/Articles/driver-porting/
 
-KernelTrap:
-       Occasional Linux kernel articles and developer interviews
-       http://kerneltrap.org/
-
 KernelNewbies:
        Documentation and assistance for new kernel programmers
        http://kernelnewbies.org/
index 7e9abb8..dcadffc 100644 (file)
@@ -396,13 +396,13 @@ you are responsible for last-minute changes. Example :
        [lucky@maintainer.example.org: struct foo moved from foo.c to foo.h]
        Signed-off-by: Lucky K Maintainer <lucky@maintainer.example.org>
 
-This practise is particularly helpful if you maintain a stable branch and
+This practice is particularly helpful if you maintain a stable branch and
 want at the same time to credit the author, track changes, merge the fix,
 and protect the submitter from complaints. Note that under no circumstances
 can you change the author's identity (the From header), as it is the one
 which appears in the changelog.
 
-Special note to back-porters: It seems to be a common and useful practise
+Special note to back-porters: It seems to be a common and useful practice
 to insert an indication of the origin of a patch at the top of the commit
 message (just after the subject line) to facilitate tracking. For instance,
 here's what we see in 2.6-stable :
index aab2ff0..d417318 100644 (file)
@@ -34,6 +34,7 @@ static int set_unload_heads_path(char *device)
        if (strlen(device) <= 5 || strncmp(device, "/dev/", 5) != 0)
                return -EINVAL;
        strncpy(devname, device + 5, sizeof(devname) - 1);
+       devname[sizeof(devname) - 1] = '\0';
        strncpy(device_path, device, sizeof(device_path) - 1);
 
        snprintf(unload_heads_path, sizeof(unload_heads_path) - 1,
index cda5f8f..1d508dc 100644 (file)
@@ -1095,7 +1095,7 @@ SCSI_NCR_SETUP_FORCE_SYNC_NEGO    (default: not defined)
 SCSI_NCR_SETUP_MASTER_PARITY   (default: defined)
        If defined, master parity checking is enabled.
 
-SCSI_NCR_SETUP_MASTER_PARITY   (default: defined)
+SCSI_NCR_SETUP_SCSI_PARITY     (default: defined)
        If defined, SCSI parity checking is enabled.
 
 SCSI_NCR_PROFILE_SUPPORT       (default: not defined)
index c335a76..3db7e67 100644 (file)
@@ -22,7 +22,7 @@ system, building their checks on top of the defined capability hooks.
 For more details on capabilities, see capabilities(7) in the Linux
 man-pages project.
 
-Based on http://kerneltrap.org/Linux/Documenting_Security_Module_Intent,
+Based on https://lkml.org/lkml/2007/10/26/215,
 a new LSM is accepted into the kernel when its intent (a description of
 what it tries to protect against and in what cases one would expect to
 use it) has been appropriately documented in Documentation/security/.
index 5889f8d..d313f5d 100644 (file)
@@ -150,10 +150,6 @@ LWN.net:
        将旧版内核的驱动程序移植到 2.6 版:
                http://lwn.net/Articles/driver-porting/
 
-KernelTrap:
-       Linux 内核的最新动态以及开发者访谈
-       http://kerneltrap.org/
-
 内核新手(KernelNewbies):
        为新的内核开发者提供文档和帮助
        http://kernelnewbies.org/
index 9b26976..a6b50e6 100644 (file)
@@ -106,7 +106,4 @@ config MSM_GPIOMUX
        help
          Support for MSM V1 TLMM GPIOMUX architecture.
 
-config MSM_SCM
-       bool
-
 endif
index f4ca594..2635117 100644 (file)
@@ -28,7 +28,7 @@
 #define __cacheline_aligned    __aligned(L1_CACHE_BYTES)
 #define ____cacheline_aligned  __aligned(L1_CACHE_BYTES)
 
-/* See http://kerneltrap.org/node/15100  */
+/* See http://lwn.net/Articles/262554/ */
 #define __read_mostly
 
 #endif
index e331e53..89963d1 100644 (file)
@@ -371,7 +371,7 @@ if SH_MAGIC_PANEL_R2
 menu "Magic Panel R2 options"
 
 config SH_MAGIC_PANEL_R2_VERSION
-       int SH_MAGIC_PANEL_R2_VERSION
+       int "Magic Panel R2 Version"
        default "3"
        help
          Set the version of the Magic Panel R2
index c3732fa..ae5a425 100644 (file)
@@ -398,7 +398,7 @@ static void menu_update(struct cpuidle_driver *drv, struct cpuidle_device *dev)
         *
         * Any measured amount of time will include the exit latency.
         * Since we are interested in when the wakeup begun, not when it
-        * was completed, we must substract the exit latency. However, if
+        * was completed, we must subtract the exit latency. However, if
         * the measured amount of time is less than the exit latency,
         * assume the state was never reached and the exit latency is 0.
         */
index a97e38e..d75ecb3 100644 (file)
@@ -39,7 +39,6 @@ static void mid_get_fuse_settings(struct drm_device *dev)
 #define FB_REG06 0xD0810600
 #define FB_MIPI_DISABLE  (1 << 11)
 #define FB_REG09 0xD0810900
-#define FB_REG09 0xD0810900
 #define FB_SKU_MASK  0x7000
 #define FB_SKU_SHIFT 12
 #define FB_SKU_100 0
index 9c1f883..4b959e6 100644 (file)
@@ -1,6 +1,4 @@
 /*
- *  linux/arch/arm/common/gic.c
- *
  *  Copyright (C) 2002 ARM Limited, All Rights Reserved.
  *
  * This program is free software; you can redistribute it and/or modify
index 049fd23..443e7cd 100644 (file)
@@ -27,7 +27,7 @@
 
 /*
  * MSIC interrupt tree is readable from SRAM at INTEL_MSIC_IRQ_PHYS_BASE.
- * Since IRQ block starts from address 0x002 we need to substract that from
+ * Since IRQ block starts from address 0x002 we need to subtract that from
  * the actual IRQ status register address.
  */
 #define MSIC_IRQ_STATUS(x)     (INTEL_MSIC_IRQ_PHYS_BASE + ((x) - 2))
index 6c1f223..ac52f7c 100644 (file)
@@ -1344,19 +1344,23 @@ void mvs_dev_gone_notify(struct domain_device *dev)
 {
        unsigned long flags = 0;
        struct mvs_device *mvi_dev = dev->lldd_dev;
-       struct mvs_info *mvi = mvi_dev->mvi_info;
-
-       spin_lock_irqsave(&mvi->lock, flags);
+       struct mvs_info *mvi;
 
-       if (mvi_dev) {
-               mv_dprintk("found dev[%d:%x] is gone.\n",
-                       mvi_dev->device_id, mvi_dev->dev_type);
-               mvs_release_task(mvi, dev);
-               mvs_free_reg_set(mvi, mvi_dev);
-               mvs_free_dev(mvi_dev);
-       } else {
+       if (!mvi_dev) {
                mv_dprintk("found dev has gone.\n");
+               return;
        }
+
+       mvi = mvi_dev->mvi_info;
+
+       spin_lock_irqsave(&mvi->lock, flags);
+
+       mv_dprintk("found dev[%d:%x] is gone.\n",
+               mvi_dev->device_id, mvi_dev->dev_type);
+       mvs_release_task(mvi, dev);
+       mvs_free_reg_set(mvi, mvi_dev);
+       mvs_free_dev(mvi_dev);
+
        dev->lldd_dev = NULL;
        mvi_dev->sas_device = NULL;
 
index 36b6bce..6d0f608 100644 (file)
@@ -147,7 +147,7 @@ err0:
 }
 EXPORT_SYMBOL_GPL(usb_get_phy);
 
- /**
+/**
  * devm_usb_get_phy_by_phandle - find the USB PHY by phandle
  * @dev - device that requests this phy
  * @phandle - name of the property holding the phy phandle value
index a16fbd4..0d6c07c 100644 (file)
@@ -799,13 +799,11 @@ befs_fill_super(struct super_block *sb, void *data, int silent)
 
        befs_debug(sb, "---> %s", __func__);
 
-#ifndef CONFIG_BEFS_RW
        if (!(sb->s_flags & MS_RDONLY)) {
                befs_warning(sb,
                             "No write support. Marking filesystem read-only");
                sb->s_flags |= MS_RDONLY;
        }
-#endif                         /* CONFIG_BEFS_RW */
 
        /*
         * Set dummy blocksize to read super block.
index ecbb447..95ec7b3 100644 (file)
@@ -31,6 +31,6 @@ $(modules):
 
 
 # Declare the contents of the .PHONY variable as phony.  We keep that
-# information in a variable se we can use it in if_changed and friends.
+# information in a variable so we can use it in if_changed and friends.
 
 .PHONY: $(PHONY)