diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2014-08-07 00:03:53 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-08-07 00:03:53 -0400 |
commit | 158c12948f3012fbe15f066f308db23502d3db0a (patch) | |
tree | 7ff4843e1818ebf4a3d0877a3db8756327719fa2 | |
parent | 172bfe09dc52aef29f9c5c0bd9f77a558120faf4 (diff) | |
parent | 51a7097426f2243e192df4979c2bf197e6f2ce61 (diff) |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
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
...
-rw-r--r-- | Documentation/PCI/MSI-HOWTO.txt | 2 | ||||
-rw-r--r-- | Documentation/SubmittingDrivers | 4 | ||||
-rw-r--r-- | Documentation/SubmittingPatches | 4 | ||||
-rw-r--r-- | Documentation/laptops/freefall.c | 1 | ||||
-rw-r--r-- | Documentation/scsi/ncr53c8xx.txt | 2 | ||||
-rw-r--r-- | Documentation/security/LSM.txt | 2 | ||||
-rw-r--r-- | Documentation/zh_CN/SubmittingDrivers | 4 | ||||
-rw-r--r-- | arch/arm/mach-msm/Kconfig | 3 | ||||
-rw-r--r-- | arch/hexagon/include/asm/cache.h | 2 | ||||
-rw-r--r-- | arch/sh/boards/Kconfig | 2 | ||||
-rw-r--r-- | drivers/cpuidle/governors/menu.c | 2 | ||||
-rw-r--r-- | drivers/gpu/drm/gma500/mid_bios.c | 1 | ||||
-rw-r--r-- | drivers/irqchip/irq-gic.c | 2 | ||||
-rw-r--r-- | drivers/mfd/intel_msic.c | 2 | ||||
-rw-r--r-- | drivers/scsi/mvsas/mv_sas.c | 24 | ||||
-rw-r--r-- | drivers/usb/phy/phy.c | 2 | ||||
-rw-r--r-- | fs/befs/linuxvfs.c | 2 | ||||
-rw-r--r-- | scripts/Makefile.modinst | 2 |
18 files changed, 26 insertions, 37 deletions
diff --git a/Documentation/PCI/MSI-HOWTO.txt b/Documentation/PCI/MSI-HOWTO.txt index 10a93696e55a..0d920d54536d 100644 --- a/Documentation/PCI/MSI-HOWTO.txt +++ b/Documentation/PCI/MSI-HOWTO.txt | |||
@@ -576,7 +576,7 @@ Some devices are known to have faulty MSI implementations. Usually this | |||
576 | is handled in the individual device driver, but occasionally it's necessary | 576 | is handled in the individual device driver, but occasionally it's necessary |
577 | to handle this with a quirk. Some drivers have an option to disable use | 577 | to handle this with a quirk. Some drivers have an option to disable use |
578 | of MSI. While this is a convenient workaround for the driver author, | 578 | of MSI. While this is a convenient workaround for the driver author, |
579 | it is not good practise, and should not be emulated. | 579 | it is not good practice, and should not be emulated. |
580 | 580 | ||
581 | 5.4. Finding why MSIs are disabled on a device | 581 | 5.4. Finding why MSIs are disabled on a device |
582 | 582 | ||
diff --git a/Documentation/SubmittingDrivers b/Documentation/SubmittingDrivers index 36d16bbf72c6..31d372609ac0 100644 --- a/Documentation/SubmittingDrivers +++ b/Documentation/SubmittingDrivers | |||
@@ -146,10 +146,6 @@ LWN.net: | |||
146 | Porting drivers from prior kernels to 2.6: | 146 | Porting drivers from prior kernels to 2.6: |
147 | http://lwn.net/Articles/driver-porting/ | 147 | http://lwn.net/Articles/driver-porting/ |
148 | 148 | ||
149 | KernelTrap: | ||
150 | Occasional Linux kernel articles and developer interviews | ||
151 | http://kerneltrap.org/ | ||
152 | |||
153 | KernelNewbies: | 149 | KernelNewbies: |
154 | Documentation and assistance for new kernel programmers | 150 | Documentation and assistance for new kernel programmers |
155 | http://kernelnewbies.org/ | 151 | http://kernelnewbies.org/ |
diff --git a/Documentation/SubmittingPatches b/Documentation/SubmittingPatches index 7e9abb8a276b..dcadffcab2dc 100644 --- a/Documentation/SubmittingPatches +++ b/Documentation/SubmittingPatches | |||
@@ -396,13 +396,13 @@ you are responsible for last-minute changes. Example : | |||
396 | [lucky@maintainer.example.org: struct foo moved from foo.c to foo.h] | 396 | [lucky@maintainer.example.org: struct foo moved from foo.c to foo.h] |
397 | Signed-off-by: Lucky K Maintainer <lucky@maintainer.example.org> | 397 | Signed-off-by: Lucky K Maintainer <lucky@maintainer.example.org> |
398 | 398 | ||
399 | This practise is particularly helpful if you maintain a stable branch and | 399 | This practice is particularly helpful if you maintain a stable branch and |
400 | want at the same time to credit the author, track changes, merge the fix, | 400 | want at the same time to credit the author, track changes, merge the fix, |
401 | and protect the submitter from complaints. Note that under no circumstances | 401 | and protect the submitter from complaints. Note that under no circumstances |
402 | can you change the author's identity (the From header), as it is the one | 402 | can you change the author's identity (the From header), as it is the one |
403 | which appears in the changelog. | 403 | which appears in the changelog. |
404 | 404 | ||
405 | Special note to back-porters: It seems to be a common and useful practise | 405 | Special note to back-porters: It seems to be a common and useful practice |
406 | to insert an indication of the origin of a patch at the top of the commit | 406 | to insert an indication of the origin of a patch at the top of the commit |
407 | message (just after the subject line) to facilitate tracking. For instance, | 407 | message (just after the subject line) to facilitate tracking. For instance, |
408 | here's what we see in 2.6-stable : | 408 | here's what we see in 2.6-stable : |
diff --git a/Documentation/laptops/freefall.c b/Documentation/laptops/freefall.c index aab2ff09e868..d4173186555c 100644 --- a/Documentation/laptops/freefall.c +++ b/Documentation/laptops/freefall.c | |||
@@ -34,6 +34,7 @@ static int set_unload_heads_path(char *device) | |||
34 | if (strlen(device) <= 5 || strncmp(device, "/dev/", 5) != 0) | 34 | if (strlen(device) <= 5 || strncmp(device, "/dev/", 5) != 0) |
35 | return -EINVAL; | 35 | return -EINVAL; |
36 | strncpy(devname, device + 5, sizeof(devname) - 1); | 36 | strncpy(devname, device + 5, sizeof(devname) - 1); |
37 | devname[sizeof(devname) - 1] = '\0'; | ||
37 | strncpy(device_path, device, sizeof(device_path) - 1); | 38 | strncpy(device_path, device, sizeof(device_path) - 1); |
38 | 39 | ||
39 | snprintf(unload_heads_path, sizeof(unload_heads_path) - 1, | 40 | snprintf(unload_heads_path, sizeof(unload_heads_path) - 1, |
diff --git a/Documentation/scsi/ncr53c8xx.txt b/Documentation/scsi/ncr53c8xx.txt index cda5f8fa2c66..1d508dcbf859 100644 --- a/Documentation/scsi/ncr53c8xx.txt +++ b/Documentation/scsi/ncr53c8xx.txt | |||
@@ -1095,7 +1095,7 @@ SCSI_NCR_SETUP_FORCE_SYNC_NEGO (default: not defined) | |||
1095 | SCSI_NCR_SETUP_MASTER_PARITY (default: defined) | 1095 | SCSI_NCR_SETUP_MASTER_PARITY (default: defined) |
1096 | If defined, master parity checking is enabled. | 1096 | If defined, master parity checking is enabled. |
1097 | 1097 | ||
1098 | SCSI_NCR_SETUP_MASTER_PARITY (default: defined) | 1098 | SCSI_NCR_SETUP_SCSI_PARITY (default: defined) |
1099 | If defined, SCSI parity checking is enabled. | 1099 | If defined, SCSI parity checking is enabled. |
1100 | 1100 | ||
1101 | SCSI_NCR_PROFILE_SUPPORT (default: not defined) | 1101 | SCSI_NCR_PROFILE_SUPPORT (default: not defined) |
diff --git a/Documentation/security/LSM.txt b/Documentation/security/LSM.txt index c335a763a2ed..3db7e671c440 100644 --- a/Documentation/security/LSM.txt +++ b/Documentation/security/LSM.txt | |||
@@ -22,7 +22,7 @@ system, building their checks on top of the defined capability hooks. | |||
22 | For more details on capabilities, see capabilities(7) in the Linux | 22 | For more details on capabilities, see capabilities(7) in the Linux |
23 | man-pages project. | 23 | man-pages project. |
24 | 24 | ||
25 | Based on http://kerneltrap.org/Linux/Documenting_Security_Module_Intent, | 25 | Based on https://lkml.org/lkml/2007/10/26/215, |
26 | a new LSM is accepted into the kernel when its intent (a description of | 26 | a new LSM is accepted into the kernel when its intent (a description of |
27 | what it tries to protect against and in what cases one would expect to | 27 | what it tries to protect against and in what cases one would expect to |
28 | use it) has been appropriately documented in Documentation/security/. | 28 | use it) has been appropriately documented in Documentation/security/. |
diff --git a/Documentation/zh_CN/SubmittingDrivers b/Documentation/zh_CN/SubmittingDrivers index 5889f8df6312..d313f5d8448d 100644 --- a/Documentation/zh_CN/SubmittingDrivers +++ b/Documentation/zh_CN/SubmittingDrivers | |||
@@ -150,10 +150,6 @@ LWN.net: | |||
150 | 将旧版内核的驱动程序移植到 2.6 版: | 150 | 将旧版内核的驱动程序移植到 2.6 版: |
151 | http://lwn.net/Articles/driver-porting/ | 151 | http://lwn.net/Articles/driver-porting/ |
152 | 152 | ||
153 | KernelTrap: | ||
154 | Linux 内核的最新动态以及开发者访谈 | ||
155 | http://kerneltrap.org/ | ||
156 | |||
157 | 内核新手(KernelNewbies): | 153 | 内核新手(KernelNewbies): |
158 | 为新的内核开发者提供文档和帮助 | 154 | 为新的内核开发者提供文档和帮助 |
159 | http://kernelnewbies.org/ | 155 | http://kernelnewbies.org/ |
diff --git a/arch/arm/mach-msm/Kconfig b/arch/arm/mach-msm/Kconfig index 9b26976fb084..a6b50e62a495 100644 --- a/arch/arm/mach-msm/Kconfig +++ b/arch/arm/mach-msm/Kconfig | |||
@@ -106,7 +106,4 @@ config MSM_GPIOMUX | |||
106 | help | 106 | help |
107 | Support for MSM V1 TLMM GPIOMUX architecture. | 107 | Support for MSM V1 TLMM GPIOMUX architecture. |
108 | 108 | ||
109 | config MSM_SCM | ||
110 | bool | ||
111 | |||
112 | endif | 109 | endif |
diff --git a/arch/hexagon/include/asm/cache.h b/arch/hexagon/include/asm/cache.h index f4ca594fdf8c..263511719a4a 100644 --- a/arch/hexagon/include/asm/cache.h +++ b/arch/hexagon/include/asm/cache.h | |||
@@ -28,7 +28,7 @@ | |||
28 | #define __cacheline_aligned __aligned(L1_CACHE_BYTES) | 28 | #define __cacheline_aligned __aligned(L1_CACHE_BYTES) |
29 | #define ____cacheline_aligned __aligned(L1_CACHE_BYTES) | 29 | #define ____cacheline_aligned __aligned(L1_CACHE_BYTES) |
30 | 30 | ||
31 | /* See http://kerneltrap.org/node/15100 */ | 31 | /* See http://lwn.net/Articles/262554/ */ |
32 | #define __read_mostly | 32 | #define __read_mostly |
33 | 33 | ||
34 | #endif | 34 | #endif |
diff --git a/arch/sh/boards/Kconfig b/arch/sh/boards/Kconfig index e331e5373b8e..89963d13f930 100644 --- a/arch/sh/boards/Kconfig +++ b/arch/sh/boards/Kconfig | |||
@@ -371,7 +371,7 @@ if SH_MAGIC_PANEL_R2 | |||
371 | menu "Magic Panel R2 options" | 371 | menu "Magic Panel R2 options" |
372 | 372 | ||
373 | config SH_MAGIC_PANEL_R2_VERSION | 373 | config SH_MAGIC_PANEL_R2_VERSION |
374 | int SH_MAGIC_PANEL_R2_VERSION | 374 | int "Magic Panel R2 Version" |
375 | default "3" | 375 | default "3" |
376 | help | 376 | help |
377 | Set the version of the Magic Panel R2 | 377 | Set the version of the Magic Panel R2 |
diff --git a/drivers/cpuidle/governors/menu.c b/drivers/cpuidle/governors/menu.c index c3732fa74f82..ae5a42595e1c 100644 --- a/drivers/cpuidle/governors/menu.c +++ b/drivers/cpuidle/governors/menu.c | |||
@@ -398,7 +398,7 @@ static void menu_update(struct cpuidle_driver *drv, struct cpuidle_device *dev) | |||
398 | * | 398 | * |
399 | * Any measured amount of time will include the exit latency. | 399 | * Any measured amount of time will include the exit latency. |
400 | * Since we are interested in when the wakeup begun, not when it | 400 | * Since we are interested in when the wakeup begun, not when it |
401 | * was completed, we must substract the exit latency. However, if | 401 | * was completed, we must subtract the exit latency. However, if |
402 | * the measured amount of time is less than the exit latency, | 402 | * the measured amount of time is less than the exit latency, |
403 | * assume the state was never reached and the exit latency is 0. | 403 | * assume the state was never reached and the exit latency is 0. |
404 | */ | 404 | */ |
diff --git a/drivers/gpu/drm/gma500/mid_bios.c b/drivers/gpu/drm/gma500/mid_bios.c index a97e38e284fa..d75ecb3bdee7 100644 --- a/drivers/gpu/drm/gma500/mid_bios.c +++ b/drivers/gpu/drm/gma500/mid_bios.c | |||
@@ -39,7 +39,6 @@ static void mid_get_fuse_settings(struct drm_device *dev) | |||
39 | #define FB_REG06 0xD0810600 | 39 | #define FB_REG06 0xD0810600 |
40 | #define FB_MIPI_DISABLE (1 << 11) | 40 | #define FB_MIPI_DISABLE (1 << 11) |
41 | #define FB_REG09 0xD0810900 | 41 | #define FB_REG09 0xD0810900 |
42 | #define FB_REG09 0xD0810900 | ||
43 | #define FB_SKU_MASK 0x7000 | 42 | #define FB_SKU_MASK 0x7000 |
44 | #define FB_SKU_SHIFT 12 | 43 | #define FB_SKU_SHIFT 12 |
45 | #define FB_SKU_100 0 | 44 | #define FB_SKU_100 0 |
diff --git a/drivers/irqchip/irq-gic.c b/drivers/irqchip/irq-gic.c index 9c1f883fc5a3..4b959e606fe8 100644 --- a/drivers/irqchip/irq-gic.c +++ b/drivers/irqchip/irq-gic.c | |||
@@ -1,6 +1,4 @@ | |||
1 | /* | 1 | /* |
2 | * linux/arch/arm/common/gic.c | ||
3 | * | ||
4 | * Copyright (C) 2002 ARM Limited, All Rights Reserved. | 2 | * Copyright (C) 2002 ARM Limited, All Rights Reserved. |
5 | * | 3 | * |
6 | * This program is free software; you can redistribute it and/or modify | 4 | * This program is free software; you can redistribute it and/or modify |
diff --git a/drivers/mfd/intel_msic.c b/drivers/mfd/intel_msic.c index 049fd23af54a..443e7cddff28 100644 --- a/drivers/mfd/intel_msic.c +++ b/drivers/mfd/intel_msic.c | |||
@@ -27,7 +27,7 @@ | |||
27 | 27 | ||
28 | /* | 28 | /* |
29 | * MSIC interrupt tree is readable from SRAM at INTEL_MSIC_IRQ_PHYS_BASE. | 29 | * MSIC interrupt tree is readable from SRAM at INTEL_MSIC_IRQ_PHYS_BASE. |
30 | * Since IRQ block starts from address 0x002 we need to substract that from | 30 | * Since IRQ block starts from address 0x002 we need to subtract that from |
31 | * the actual IRQ status register address. | 31 | * the actual IRQ status register address. |
32 | */ | 32 | */ |
33 | #define MSIC_IRQ_STATUS(x) (INTEL_MSIC_IRQ_PHYS_BASE + ((x) - 2)) | 33 | #define MSIC_IRQ_STATUS(x) (INTEL_MSIC_IRQ_PHYS_BASE + ((x) - 2)) |
diff --git a/drivers/scsi/mvsas/mv_sas.c b/drivers/scsi/mvsas/mv_sas.c index 6c1f223a8e1d..ac52f7c99513 100644 --- a/drivers/scsi/mvsas/mv_sas.c +++ b/drivers/scsi/mvsas/mv_sas.c | |||
@@ -1344,19 +1344,23 @@ void mvs_dev_gone_notify(struct domain_device *dev) | |||
1344 | { | 1344 | { |
1345 | unsigned long flags = 0; | 1345 | unsigned long flags = 0; |
1346 | struct mvs_device *mvi_dev = dev->lldd_dev; | 1346 | struct mvs_device *mvi_dev = dev->lldd_dev; |
1347 | struct mvs_info *mvi = mvi_dev->mvi_info; | 1347 | struct mvs_info *mvi; |
1348 | |||
1349 | spin_lock_irqsave(&mvi->lock, flags); | ||
1350 | 1348 | ||
1351 | if (mvi_dev) { | 1349 | if (!mvi_dev) { |
1352 | mv_dprintk("found dev[%d:%x] is gone.\n", | ||
1353 | mvi_dev->device_id, mvi_dev->dev_type); | ||
1354 | mvs_release_task(mvi, dev); | ||
1355 | mvs_free_reg_set(mvi, mvi_dev); | ||
1356 | mvs_free_dev(mvi_dev); | ||
1357 | } else { | ||
1358 | mv_dprintk("found dev has gone.\n"); | 1350 | mv_dprintk("found dev has gone.\n"); |
1351 | return; | ||
1359 | } | 1352 | } |
1353 | |||
1354 | mvi = mvi_dev->mvi_info; | ||
1355 | |||
1356 | spin_lock_irqsave(&mvi->lock, flags); | ||
1357 | |||
1358 | mv_dprintk("found dev[%d:%x] is gone.\n", | ||
1359 | mvi_dev->device_id, mvi_dev->dev_type); | ||
1360 | mvs_release_task(mvi, dev); | ||
1361 | mvs_free_reg_set(mvi, mvi_dev); | ||
1362 | mvs_free_dev(mvi_dev); | ||
1363 | |||
1360 | dev->lldd_dev = NULL; | 1364 | dev->lldd_dev = NULL; |
1361 | mvi_dev->sas_device = NULL; | 1365 | mvi_dev->sas_device = NULL; |
1362 | 1366 | ||
diff --git a/drivers/usb/phy/phy.c b/drivers/usb/phy/phy.c index 36b6bce33b20..6d0f6080eceb 100644 --- a/drivers/usb/phy/phy.c +++ b/drivers/usb/phy/phy.c | |||
@@ -147,7 +147,7 @@ err0: | |||
147 | } | 147 | } |
148 | EXPORT_SYMBOL_GPL(usb_get_phy); | 148 | EXPORT_SYMBOL_GPL(usb_get_phy); |
149 | 149 | ||
150 | /** | 150 | /** |
151 | * devm_usb_get_phy_by_phandle - find the USB PHY by phandle | 151 | * devm_usb_get_phy_by_phandle - find the USB PHY by phandle |
152 | * @dev - device that requests this phy | 152 | * @dev - device that requests this phy |
153 | * @phandle - name of the property holding the phy phandle value | 153 | * @phandle - name of the property holding the phy phandle value |
diff --git a/fs/befs/linuxvfs.c b/fs/befs/linuxvfs.c index a16fbd4e8241..0d6c07cc1149 100644 --- a/fs/befs/linuxvfs.c +++ b/fs/befs/linuxvfs.c | |||
@@ -799,13 +799,11 @@ befs_fill_super(struct super_block *sb, void *data, int silent) | |||
799 | 799 | ||
800 | befs_debug(sb, "---> %s", __func__); | 800 | befs_debug(sb, "---> %s", __func__); |
801 | 801 | ||
802 | #ifndef CONFIG_BEFS_RW | ||
803 | if (!(sb->s_flags & MS_RDONLY)) { | 802 | if (!(sb->s_flags & MS_RDONLY)) { |
804 | befs_warning(sb, | 803 | befs_warning(sb, |
805 | "No write support. Marking filesystem read-only"); | 804 | "No write support. Marking filesystem read-only"); |
806 | sb->s_flags |= MS_RDONLY; | 805 | sb->s_flags |= MS_RDONLY; |
807 | } | 806 | } |
808 | #endif /* CONFIG_BEFS_RW */ | ||
809 | 807 | ||
810 | /* | 808 | /* |
811 | * Set dummy blocksize to read super block. | 809 | * Set dummy blocksize to read super block. |
diff --git a/scripts/Makefile.modinst b/scripts/Makefile.modinst index ecbb44797e28..95ec7b35e8b6 100644 --- a/scripts/Makefile.modinst +++ b/scripts/Makefile.modinst | |||
@@ -31,6 +31,6 @@ $(modules): | |||
31 | 31 | ||
32 | 32 | ||
33 | # Declare the contents of the .PHONY variable as phony. We keep that | 33 | # Declare the contents of the .PHONY variable as phony. We keep that |
34 | # information in a variable se we can use it in if_changed and friends. | 34 | # information in a variable so we can use it in if_changed and friends. |
35 | 35 | ||
36 | .PHONY: $(PHONY) | 36 | .PHONY: $(PHONY) |