aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Documentation/PCI/MSI-HOWTO.txt2
-rw-r--r--Documentation/SubmittingDrivers4
-rw-r--r--Documentation/SubmittingPatches4
-rw-r--r--Documentation/laptops/freefall.c1
-rw-r--r--Documentation/scsi/ncr53c8xx.txt2
-rw-r--r--Documentation/security/LSM.txt2
-rw-r--r--Documentation/zh_CN/SubmittingDrivers4
-rw-r--r--arch/arm/mach-msm/Kconfig3
-rw-r--r--arch/hexagon/include/asm/cache.h2
-rw-r--r--arch/sh/boards/Kconfig2
-rw-r--r--drivers/cpuidle/governors/menu.c2
-rw-r--r--drivers/gpu/drm/gma500/mid_bios.c1
-rw-r--r--drivers/irqchip/irq-gic.c2
-rw-r--r--drivers/mfd/intel_msic.c2
-rw-r--r--drivers/scsi/mvsas/mv_sas.c24
-rw-r--r--drivers/usb/phy/phy.c2
-rw-r--r--fs/befs/linuxvfs.c2
-rw-r--r--scripts/Makefile.modinst2
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
576is handled in the individual device driver, but occasionally it's necessary 576is handled in the individual device driver, but occasionally it's necessary
577to handle this with a quirk. Some drivers have an option to disable use 577to handle this with a quirk. Some drivers have an option to disable use
578of MSI. While this is a convenient workaround for the driver author, 578of MSI. While this is a convenient workaround for the driver author,
579it is not good practise, and should not be emulated. 579it is not good practice, and should not be emulated.
580 580
5815.4. Finding why MSIs are disabled on a device 5815.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
149KernelTrap:
150 Occasional Linux kernel articles and developer interviews
151 http://kerneltrap.org/
152
153KernelNewbies: 149KernelNewbies:
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
399This practise is particularly helpful if you maintain a stable branch and 399This practice is particularly helpful if you maintain a stable branch and
400want at the same time to credit the author, track changes, merge the fix, 400want at the same time to credit the author, track changes, merge the fix,
401and protect the submitter from complaints. Note that under no circumstances 401and protect the submitter from complaints. Note that under no circumstances
402can you change the author's identity (the From header), as it is the one 402can you change the author's identity (the From header), as it is the one
403which appears in the changelog. 403which appears in the changelog.
404 404
405Special note to back-porters: It seems to be a common and useful practise 405Special note to back-porters: It seems to be a common and useful practice
406to insert an indication of the origin of a patch at the top of the commit 406to insert an indication of the origin of a patch at the top of the commit
407message (just after the subject line) to facilitate tracking. For instance, 407message (just after the subject line) to facilitate tracking. For instance,
408here's what we see in 2.6-stable : 408here'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)
1095SCSI_NCR_SETUP_MASTER_PARITY (default: defined) 1095SCSI_NCR_SETUP_MASTER_PARITY (default: defined)
1096 If defined, master parity checking is enabled. 1096 If defined, master parity checking is enabled.
1097 1097
1098SCSI_NCR_SETUP_MASTER_PARITY (default: defined) 1098SCSI_NCR_SETUP_SCSI_PARITY (default: defined)
1099 If defined, SCSI parity checking is enabled. 1099 If defined, SCSI parity checking is enabled.
1100 1100
1101SCSI_NCR_PROFILE_SUPPORT (default: not defined) 1101SCSI_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.
22For more details on capabilities, see capabilities(7) in the Linux 22For more details on capabilities, see capabilities(7) in the Linux
23man-pages project. 23man-pages project.
24 24
25Based on http://kerneltrap.org/Linux/Documenting_Security_Module_Intent, 25Based on https://lkml.org/lkml/2007/10/26/215,
26a new LSM is accepted into the kernel when its intent (a description of 26a new LSM is accepted into the kernel when its intent (a description of
27what it tries to protect against and in what cases one would expect to 27what it tries to protect against and in what cases one would expect to
28use it) has been appropriately documented in Documentation/security/. 28use 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
153KernelTrap:
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
109config MSM_SCM
110 bool
111
112endif 109endif
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
371menu "Magic Panel R2 options" 371menu "Magic Panel R2 options"
372 372
373config SH_MAGIC_PANEL_R2_VERSION 373config 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}
148EXPORT_SYMBOL_GPL(usb_get_phy); 148EXPORT_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)