Merge branch 'master' into for-next
authorJiri Kosina <jkosina@suse.cz>
Tue, 26 Apr 2011 08:22:15 +0000 (10:22 +0200)
committerJiri Kosina <jkosina@suse.cz>
Tue, 26 Apr 2011 08:22:59 +0000 (10:22 +0200)
Fast-forwarded to current state of Linus' tree as there are patches to be
applied for files that didn't exist on the old branch.

97 files changed:
CREDITS
Documentation/stable_api_nonsense.txt
Documentation/sysctl/vm.txt
MAINTAINERS
arch/Kconfig
arch/arm/mach-at91/at91cap9_devices.c
arch/arm/mach-at91/at91sam9g45_devices.c
arch/arm/mach-at91/at91sam9rl_devices.c
arch/arm/mach-tegra/tegra2_clocks.c
arch/arm/mach-u300/gpio.c
arch/arm/mach-ux500/mbox-db5500.c
arch/arm/plat-iop/time.c
arch/m68k/include/asm/MC68EZ328.h
arch/m68k/include/asm/MC68VZ328.h
arch/mips/fw/arc/cmdline.c
arch/mips/fw/arc/env.c
arch/mips/fw/arc/identify.c
arch/mips/fw/arc/init.c
arch/mips/fw/arc/misc.c
arch/mips/fw/arc/salone.c
arch/mips/fw/arc/time.c
arch/mips/fw/arc/tree.c
arch/mips/include/asm/asmmacro-32.h
arch/mips/include/asm/asmmacro-64.h
arch/mips/include/asm/cpu.h
arch/mips/include/asm/r4kcache.h
arch/mips/include/asm/sgialib.h
arch/mips/include/asm/sgiarcs.h
arch/mips/kernel/octeon_switch.S
arch/mips/kernel/r2300_fpu.S
arch/mips/kernel/r2300_switch.S
arch/mips/kernel/r4k_fpu.S
arch/mips/kernel/r4k_switch.S
arch/mips/kernel/r6000_fpu.S
arch/mips/mm/c-r3k.c
arch/mips/mm/c-r4k.c
arch/mips/mm/c-tx39.c
arch/mips/mm/sc-ip22.c
arch/mips/mm/sc-r5k.c
arch/mips/mm/tlb-r3k.c
arch/mips/mm/tlb-r4k.c
arch/mips/mm/tlb-r8k.c
arch/mips/rb532/gpio.c
arch/mips/sgi-ip22/ip22-hpc.c
arch/mips/sgi-ip22/ip22-int.c
arch/mips/sgi-ip22/ip22-mc.c
arch/mips/sgi-ip22/ip22-setup.c
arch/s390/hypfs/hypfs.h
arch/um/drivers/mmapper_kern.c
arch/xtensa/configs/s6105_defconfig
drivers/base/memory.c
drivers/gpio/langwell_gpio.c
drivers/gpu/drm/radeon/radeon_fence.c
drivers/gpu/drm/radeon/radeon_ring.c
drivers/gpu/drm/ttm/ttm_object.c
drivers/leds/leds-mc13783.c
drivers/misc/cs5535-mfgpt.c
drivers/misc/ibmasm/ibmasmfs.c
drivers/net/can/softing/softing_main.c
drivers/net/sgiseeq.c
drivers/net/sgiseeq.h
drivers/net/wireless/iwlwifi/iwl-agn.c
drivers/net/wireless/rtlwifi/core.c
drivers/net/wireless/rtlwifi/pci.c
drivers/net/wireless/rtlwifi/rtl8192ce/hw.c
drivers/power/intel_mid_battery.c
drivers/scsi/be2iscsi/be_main.c
drivers/scsi/lpfc/lpfc_bsg.c
drivers/scsi/pm8001/pm8001_init.c
drivers/scsi/qla2xxx/qla_isr.c
drivers/scsi/sgiwd93.c
drivers/target/target_core_alua.c
drivers/target/target_core_transport.c
drivers/tty/serial/mrst_max3110.c
drivers/tty/tty_ioctl.c
drivers/video/console/newport_con.c
drivers/video/msm/mddi.c
drivers/video/mxsfb.c
drivers/watchdog/bcm63xx_wdt.c
drivers/xen/evtchn.c
drivers/xen/swiotlb-xen.c
fs/logfs/readwrite.c
fs/ocfs2/refcounttree.c
fs/partitions/ldm.c
fs/ufs/inode.c
include/linux/leds-regulator.h
include/video/newport.h
kernel/Kconfig.locks
kernel/pm_qos_params.c
lib/Kconfig.debug
lib/vsprintf.c
mm/hugetlb.c
mm/page_alloc.c
net/netfilter/ipset/ip_set_bitmap_ip.c
net/sunrpc/addr.c
security/selinux/selinuxfs.c
tools/power/x86/turbostat/turbostat.c

diff --git a/CREDITS b/CREDITS
index dca6abc..95c469c 100644 (file)
--- a/CREDITS
+++ b/CREDITS
@@ -328,7 +328,7 @@ S: Haifa, Israel
 N: Johannes Berg
 E: johannes@sipsolutions.net
 W: http://johannes.sipsolutions.net/
-P: 1024D/9AB78CA5 AD02 0176 4E29 C137 1DF6 08D2 FC44 CF86 9AB7 8CA5
+P: 4096R/7BF9099A C0EB C440 F6DA 091C 884D  8532 E0F3 73F3 7BF9 099A
 D: powerpc & 802.11 hacker
 
 N: Stephen R. van den Berg (AKA BuGless)
index 847b342..db3be89 100644 (file)
@@ -122,7 +122,7 @@ operating system to suffer.
 
 In both of these instances, all developers agreed that these were
 important changes that needed to be made, and they were made, with
-relatively little pain.  If Linux had to ensure that it preserve a
+relatively little pain.  If Linux had to ensure that it will preserve a
 stable source interface, a new interface would have been created, and
 the older, broken one would have had to be maintained over time, leading
 to extra work for the USB developers.  Since all Linux USB developers do
index 30289fa..96f0ee8 100644 (file)
@@ -481,10 +481,10 @@ the DMA zone.
 Type(A) is called as "Node" order. Type (B) is "Zone" order.
 
 "Node order" orders the zonelists by node, then by zone within each node.
-Specify "[Nn]ode" for zone order
+Specify "[Nn]ode" for node order
 
 "Zone Order" orders the zonelists by zone type, then by node within each
-zone.  Specify "[Zz]one"for zode order.
+zone.  Specify "[Zz]one" for zone order.
 
 Specify "[Dd]efault" to request automatic configuration.  Autoconfiguration
 will select "node" order in following case.
index 1380312..eeadc15 100644 (file)
@@ -729,7 +729,7 @@ ARM/EZX SMARTPHONES (A780, A910, A1200, E680, ROKR E2 and ROKR E6)
 M:     Daniel Ribeiro <drwyrm@gmail.com>
 M:     Stefan Schmidt <stefan@openezx.org>
 M:     Harald Welte <laforge@openezx.org>
-L:     openezx-devel@lists.openezx.org (subscribers-only)
+L:     openezx-devel@lists.openezx.org (moderated for non-subscribers)
 W:     http://www.openezx.org/
 S:     Maintained
 T:     topgit git://git.openezx.org/openezx.git
@@ -6200,6 +6200,7 @@ TRIVIAL PATCHES
 M:     Jiri Kosina <trivial@kernel.org>
 T:     git git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial.git
 S:     Maintained
+K:     ^Subject:.*(?i)trivial
 
 TTY LAYER
 M:     Greg Kroah-Hartman <gregkh@suse.de>
index f78c2be..8d24bac 100644 (file)
@@ -144,9 +144,6 @@ config HAVE_CLK
 config HAVE_DMA_API_DEBUG
        bool
 
-config HAVE_DEFAULT_NO_SPIN_MUTEXES
-       bool
-
 config HAVE_HW_BREAKPOINT
        bool
        depends on PERF_EVENTS
index 9ffbf3a..21020ce 100644 (file)
@@ -171,7 +171,7 @@ void __init at91_add_device_usba(struct usba_platform_data *data)
         */
        usba_udc_data.pdata.vbus_pin = -EINVAL;
        usba_udc_data.pdata.num_ep = ARRAY_SIZE(usba_udc_ep);
-       memcpy(usba_udc_data.ep, usba_udc_ep, sizeof(usba_udc_ep));;
+       memcpy(usba_udc_data.ep, usba_udc_ep, sizeof(usba_udc_ep));
 
        if (data && data->vbus_pin > 0) {
                at91_set_gpio_input(data->vbus_pin, 0);
index 1e8f275..5e9f8a4 100644 (file)
@@ -256,7 +256,7 @@ void __init at91_add_device_usba(struct usba_platform_data *data)
 {
        usba_udc_data.pdata.vbus_pin = -EINVAL;
        usba_udc_data.pdata.num_ep = ARRAY_SIZE(usba_udc_ep);
-       memcpy(usba_udc_data.ep, usba_udc_ep, sizeof(usba_udc_ep));;
+       memcpy(usba_udc_data.ep, usba_udc_ep, sizeof(usba_udc_ep));
 
        if (data && data->vbus_pin > 0) {
                at91_set_gpio_input(data->vbus_pin, 0);
index 53aaa94..c49262b 100644 (file)
@@ -145,7 +145,7 @@ void __init at91_add_device_usba(struct usba_platform_data *data)
         */
        usba_udc_data.pdata.vbus_pin = -EINVAL;
        usba_udc_data.pdata.num_ep = ARRAY_SIZE(usba_udc_ep);
-       memcpy(usba_udc_data.ep, usba_udc_ep, sizeof(usba_udc_ep));;
+       memcpy(usba_udc_data.ep, usba_udc_ep, sizeof(usba_udc_ep));
 
        if (data && data->vbus_pin > 0) {
                at91_set_gpio_input(data->vbus_pin, 0);
index 4459470..bb61807 100644 (file)
@@ -337,7 +337,7 @@ static int tegra2_super_clk_set_parent(struct clk *c, struct clk *p)
        const struct clk_mux_sel *sel;
        int shift;
 
-       val = clk_readl(c->reg + SUPER_CLK_MUX);;
+       val = clk_readl(c->reg + SUPER_CLK_MUX);
        BUG_ON(((val & SUPER_STATE_MASK) != SUPER_STATE_RUN) &&
                ((val & SUPER_STATE_MASK) != SUPER_STATE_IDLE));
        shift = ((val & SUPER_STATE_MASK) == SUPER_STATE_IDLE) ?
index d927901..94837a4 100644 (file)
@@ -581,8 +581,7 @@ static int __init gpio_probe(struct platform_device *pdev)
        if (!memres)
                goto err_no_resource;
 
-       if (request_mem_region(memres->start, memres->end - memres->start, "GPIO Controller")
-           == NULL) {
+       if (!request_mem_region(memres->start, resource_size(memres), "GPIO Controller")) {
                err = -ENODEV;
                goto err_no_ioregion;
        }
@@ -640,7 +639,7 @@ static int __init gpio_probe(struct platform_device *pdev)
                free_irq(gpio_ports[i].irq, &gpio_ports[i]);
        iounmap(virtbase);
  err_no_ioremap:
-       release_mem_region(memres->start, memres->end - memres->start);
+       release_mem_region(memres->start, resource_size(memres));
  err_no_ioregion:
  err_no_resource:
        clk_disable(clk);
@@ -660,7 +659,7 @@ static int __exit gpio_remove(struct platform_device *pdev)
        for (i = 0 ; i < U300_GPIO_NUM_PORTS; i++)
                free_irq(gpio_ports[i].irq, &gpio_ports[i]);
        iounmap(virtbase);
-       release_mem_region(memres->start, memres->end - memres->start);
+       release_mem_region(memres->start, resource_size(memres));
        clk_disable(clk);
        clk_put(clk);
        return 0;
index a4ffb9f..2b2d51c 100644 (file)
@@ -416,8 +416,7 @@ struct mbox *mbox_setup(u8 mbox_id, mbox_recv_cb_t *mbox_cb, void *priv)
        dev_dbg(&(mbox->pdev->dev),
                "Resource name: %s start: 0x%X, end: 0x%X\n",
                resource->name, resource->start, resource->end);
-       mbox->virtbase_peer =
-               ioremap(resource->start, resource->end - resource->start);
+       mbox->virtbase_peer = ioremap(resource->start, resource_size(resource));
        if (!mbox->virtbase_peer) {
                dev_err(&(mbox->pdev->dev), "Unable to ioremap peer mbox\n");
                mbox = NULL;
@@ -440,8 +439,7 @@ struct mbox *mbox_setup(u8 mbox_id, mbox_recv_cb_t *mbox_cb, void *priv)
        dev_dbg(&(mbox->pdev->dev),
                "Resource name: %s start: 0x%X, end: 0x%X\n",
                resource->name, resource->start, resource->end);
-       mbox->virtbase_local =
-               ioremap(resource->start, resource->end - resource->start);
+       mbox->virtbase_local = ioremap(resource->start, resource_size(resource));
        if (!mbox->virtbase_local) {
                dev_err(&(mbox->pdev->dev), "Unable to ioremap local mbox\n");
                mbox = NULL;
index 07f23bb..7cdc516 100644 (file)
@@ -17,7 +17,6 @@
 #include <linux/interrupt.h>
 #include <linux/time.h>
 #include <linux/init.h>
-#include <linux/sched.h>
 #include <linux/timex.h>
 #include <linux/sched.h>
 #include <linux/io.h>
index 69b7f91..d1bde58 100644 (file)
@@ -1047,7 +1047,7 @@ typedef volatile struct {
 
 #define WATCHDOG_EN    0x0001  /* Watchdog Enabled */
 #define WATCHDOG_ISEL  0x0002  /* Select the watchdog interrupt */
-#define WATCHDOG_INTF  0x0080  /* Watchdog interrupt occcured */
+#define WATCHDOG_INTF  0x0080  /* Watchdog interrupt occurred */
 #define WATCHDOG_CNT_MASK  0x0300      /* Watchdog Counter */
 #define WATCHDOG_CNT_SHIFT 8
 
index 2b9bf62..6bd1bf1 100644 (file)
@@ -1143,7 +1143,7 @@ typedef struct {
 
 #define WATCHDOG_EN    0x0001  /* Watchdog Enabled */
 #define WATCHDOG_ISEL  0x0002  /* Select the watchdog interrupt */
-#define WATCHDOG_INTF  0x0080  /* Watchdog interrupt occcured */
+#define WATCHDOG_INTF  0x0080  /* Watchdog interrupt occurred */
 #define WATCHDOG_CNT_MASK  0x0300      /* Watchdog Counter */
 #define WATCHDOG_CNT_SHIFT 8
 
index 5c8603c..9fdf07e 100644 (file)
@@ -5,7 +5,7 @@
  *
  * cmdline.c: Kernel command line creation using ARCS argc/argv.
  *
- * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com)
+ * Copyright (C) 1996 David S. Miller (davem@davemloft.net)
  */
 #include <linux/init.h>
 #include <linux/kernel.h>
index 6f5dd42..1118a26 100644 (file)
@@ -5,7 +5,7 @@
  *
  * env.c: ARCS environment variable routines.
  *
- * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com)
+ * Copyright (C) 1996 David S. Miller (davem@davemloft.net)
  */
 #include <linux/init.h>
 #include <linux/kernel.h>
index 0ce9acf..788060a 100644 (file)
@@ -9,7 +9,7 @@
  *
  * This code is based on arch/mips/sgi/kernel/system.c, which is
  *
- * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com)
+ * Copyright (C) 1996 David S. Miller (davem@davemloft.net)
  */
 #include <linux/init.h>
 #include <linux/kernel.h>
index 3ad8788..629b24d 100644 (file)
@@ -5,7 +5,7 @@
  *
  * PROM library initialisation code.
  *
- * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com)
+ * Copyright (C) 1996 David S. Miller (davem@davemloft.net)
  */
 #include <linux/init.h>
 #include <linux/kernel.h>
index e527c5f..29627fb 100644 (file)
@@ -5,7 +5,7 @@
  *
  * Miscellaneous ARCS PROM routines.
  *
- * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com)
+ * Copyright (C) 1996 David S. Miller (davem@davemloft.net)
  * Copyright (C) 1999 Ralf Baechle (ralf@gnu.org)
  * Copyright (C) 1999 Silicon Graphics, Inc.
  */
index e6afb64..9b56895 100644 (file)
@@ -2,7 +2,7 @@
  * Routines to load into memory and execute stand-along program images using
  * ARCS PROM firmware.
  *
- * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com)
+ * Copyright (C) 1996 David S. Miller (davem@davemloft.net)
  */
 #include <linux/init.h>
 #include <asm/sgialib.h>
index 42138c8..190cdb5 100644 (file)
@@ -5,7 +5,7 @@
  *
  * Extracting time information from ARCS prom.
  *
- * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com)
+ * Copyright (C) 1996 David S. Miller (davem@davemloft.net)
  */
 #include <linux/init.h>
 
index d68e5a5..924a37d 100644 (file)
@@ -5,7 +5,7 @@
  *
  * PROM component device tree code.
  *
- * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com)
+ * Copyright (C) 1996 David S. Miller (davem@davemloft.net)
  * Copyright (C) 1999 Ralf Baechle (ralf@gnu.org)
  * Copyright (C) 1999 Silicon Graphics, Inc.
  */
index 5de3963..2413afe 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * asmmacro.h: Assembler macros to make things easier to read.
  *
- * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com)
+ * Copyright (C) 1996 David S. Miller (davem@davemloft.net)
  * Copyright (C) 1998, 1999, 2003 Ralf Baechle
  */
 #ifndef _ASM_ASMMACRO_32_H
index 225feef..08a527d 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * asmmacro.h: Assembler macros to make things easier to read.
  *
- * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com)
+ * Copyright (C) 1996 David S. Miller (davem@davemloft.net)
  * Copyright (C) 1998, 1999 Ralf Baechle
  * Copyright (C) 1999 Silicon Graphics, Inc.
  */
index 8687753..e7af793 100644 (file)
@@ -2,7 +2,7 @@
  * cpu.h: Values of the PRId register used to match up
  *        various MIPS cpu types.
  *
- * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com)
+ * Copyright (C) 1996 David S. Miller (davem@davemloft.net)
  * Copyright (C) 2004  Maciej W. Rozycki
  */
 #ifndef _ASM_CPU_H
index 387bf59..54ea47d 100644 (file)
@@ -5,7 +5,7 @@
  *
  * Inline assembly cache operations.
  *
- * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com)
+ * Copyright (C) 1996 David S. Miller (davem@davemloft.net)
  * Copyright (C) 1997 - 2002 Ralf Baechle (ralf@gnu.org)
  * Copyright (C) 2004 Ralf Baechle (ralf@linux-mips.org)
  */
index 2a2f1bd..f581157 100644 (file)
@@ -5,7 +5,7 @@
  *
  * SGI ARCS firmware interface library for the Linux kernel.
  *
- * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com)
+ * Copyright (C) 1996 David S. Miller (davem@davemloft.net)
  * Copyright (C) 2001, 2002 Ralf Baechle (ralf@gnu.org)
  */
 #ifndef _ASM_SGIALIB_H
index 721327f..1493429 100644 (file)
@@ -5,7 +5,7 @@
  *
  * ARC firmware interface defines.
  *
- * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com)
+ * Copyright (C) 1996 David S. Miller (davem@davemloft.net)
  * Copyright (C) 1999, 2001 Ralf Baechle (ralf@gnu.org)
  * Copyright (C) 1999 Silicon Graphics, Inc.
  */
index dd18b26..ce89c80 100644 (file)
@@ -4,7 +4,7 @@
  * for more details.
  *
  * Copyright (C) 1994, 1995, 1996, 1998, 1999, 2002, 2003 Ralf Baechle
- * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com)
+ * Copyright (C) 1996 David S. Miller (davem@davemloft.net)
  * Copyright (C) 1994, 1995, 1996, by Andreas Busse
  * Copyright (C) 1999 Silicon Graphics, Inc.
  * Copyright (C) 2000 MIPS Technologies, Inc.
index ac68e68..61c8a0f 100644 (file)
@@ -6,7 +6,7 @@
  * Copyright (C) 1996, 1998 by Ralf Baechle
  *
  * Multi-arch abstraction and asm macros for easier reading:
- * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com)
+ * Copyright (C) 1996 David S. Miller (davem@davemloft.net)
  *
  * Further modifications to make this work:
  * Copyright (c) 1998 Harald Koerfgen
index 698414b..2938983 100644 (file)
@@ -5,7 +5,7 @@
  * Copyright (C) 1994, 1995, 1996 by Andreas Busse
  *
  * Multi-cpu abstraction and macros for easier reading:
- * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com)
+ * Copyright (C) 1996 David S. Miller (davem@davemloft.net)
  *
  * Further modifications to make this work:
  * Copyright (c) 1998-2000 Harald Koerfgen
index dbd42ad..55ffe14 100644 (file)
@@ -6,7 +6,7 @@
  * Copyright (C) 1996, 98, 99, 2000, 01 Ralf Baechle
  *
  * Multi-arch abstraction and asm macros for easier reading:
- * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com)
+ * Copyright (C) 1996 David S. Miller (davem@davemloft.net)
  *
  * Carsten Langgaard, carstenl@mips.com
  * Copyright (C) 2000 MIPS Technologies, Inc.
index 8893ee1..9414f93 100644 (file)
@@ -4,7 +4,7 @@
  * for more details.
  *
  * Copyright (C) 1994, 1995, 1996, 1998, 1999, 2002, 2003 Ralf Baechle
- * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com)
+ * Copyright (C) 1996 David S. Miller (davem@davemloft.net)
  * Copyright (C) 1994, 1995, 1996, by Andreas Busse
  * Copyright (C) 1999 Silicon Graphics, Inc.
  * Copyright (C) 2000 MIPS Technologies, Inc.
index 43cda53..da0fbe4 100644 (file)
@@ -8,7 +8,7 @@
  * Copyright (C) 1996 by Ralf Baechle
  *
  * Multi-arch abstraction and asm macros for easier reading:
- * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com)
+ * Copyright (C) 1996 David S. Miller (davem@davemloft.net)
  */
 #include <asm/asm.h>
 #include <asm/fpregdef.h>
index 54e5f7b..e6b0efd 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * r2300.c: R2000 and R3000 specific mmu/cache code.
  *
- * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com)
+ * Copyright (C) 1996 David S. Miller (davem@davemloft.net)
  *
  * with a lot of changes to make this thing work for R3000s
  * Tx39XX R4k style caches added. HK
index b4923a7..fd5cb57 100644 (file)
@@ -3,7 +3,7 @@
  * License.  See the file "COPYING" in the main directory of this archive
  * for more details.
  *
- * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com)
+ * Copyright (C) 1996 David S. Miller (davem@davemloft.net)
  * Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002 Ralf Baechle (ralf@gnu.org)
  * Copyright (C) 1999, 2000 Silicon Graphics, Inc.
  */
index 6515b44..d352fad 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * r2300.c: R2000 and R3000 specific mmu/cache code.
  *
- * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com)
+ * Copyright (C) 1996 David S. Miller (davem@davemloft.net)
  *
  * with a lot of changes to make this thing work for R3000s
  * Tx39XX R4k style caches added. HK
index 13adb57..a6bd11f 100644 (file)
@@ -2,7 +2,7 @@
  * sc-ip22.c: Indy cache management functions.
  *
  * Copyright (C) 1997, 2001 Ralf Baechle (ralf@gnu.org),
- * derived from r4xx0.c by David S. Miller (dm@engr.sgi.com).
+ * derived from r4xx0.c by David S. Miller (davem@davemloft.net).
  */
 #include <linux/init.h>
 #include <linux/kernel.h>
index f330d38..ae1e533 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * Copyright (C) 1997, 2001 Ralf Baechle (ralf@gnu.org),
- * derived from r4xx0.c by David S. Miller (dm@engr.sgi.com).
+ * derived from r4xx0.c by David S. Miller (davem@davemloft.net).
  */
 #include <linux/init.h>
 #include <linux/kernel.h>
index 0f5ab23..40424af 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * r2300.c: R2000 and R3000 specific mmu/cache code.
  *
- * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com)
+ * Copyright (C) 1996 David S. Miller (davem@davemloft.net)
  *
  * with a lot of changes to make this thing work for R3000s
  * Tx39XX R4k style caches added. HK
index c618eed..ba40325 100644 (file)
@@ -3,7 +3,7 @@
  * License.  See the file "COPYING" in the main directory of this archive
  * for more details.
  *
- * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com)
+ * Copyright (C) 1996 David S. Miller (davem@davemloft.net)
  * Copyright (C) 1997, 1998, 1999, 2000 Ralf Baechle ralf@gnu.org
  * Carsten Langgaard, carstenl@mips.com
  * Copyright (C) 2002 MIPS Technologies, Inc.  All rights reserved.
index 2b82f23..3d95f76 100644 (file)
@@ -3,7 +3,7 @@
  * License.  See the file "COPYING" in the main directory of this archive
  * for more details.
  *
- * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com)
+ * Copyright (C) 1996 David S. Miller (davem@davemloft.net)
  * Copyright (C) 1997, 1998, 1999, 2000 Ralf Baechle ralf@gnu.org
  * Carsten Langgaard, carstenl@mips.com
  * Copyright (C) 2002 MIPS Technologies, Inc.  All rights reserved.
index 37de05d..6c47dfe 100644 (file)
@@ -185,7 +185,7 @@ int __init rb532_gpio_init(void)
        struct resource *r;
 
        r = rb532_gpio_reg0_res;
-       rb532_gpio_chip->regbase = ioremap_nocache(r->start, r->end - r->start);
+       rb532_gpio_chip->regbase = ioremap_nocache(r->start, resource_size(r));
 
        if (!rb532_gpio_chip->regbase) {
                printk(KERN_ERR "rb532: cannot remap GPIO register 0\n");
index 5c00cdd..bb70589 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * ip22-hpc.c: Routines for generic manipulation of the HPC controllers.
  *
- * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com)
+ * Copyright (C) 1996 David S. Miller (davem@davemloft.net)
  * Copyright (C) 1998 Ralf Baechle
  */
 
index 476423a..b4d08e4 100644 (file)
@@ -2,7 +2,7 @@
  * ip22-int.c: Routines for generic manipulation of the INT[23] ASIC
  *             found on INDY and Indigo2 workstations.
  *
- * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com)
+ * Copyright (C) 1996 David S. Miller (davem@davemloft.net)
  * Copyright (C) 1997, 1998 Ralf Baechle (ralf@gnu.org)
  * Copyright (C) 1999 Andrew R. Baker (andrewb@uab.edu)
  *                    - Indigo2 changes
index 5268ac1..d22262e 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * ip22-mc.c: Routines for manipulating SGI Memory Controller.
  *
- * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com)
+ * Copyright (C) 1996 David S. Miller (davem@davemloft.net)
  * Copyright (C) 1999 Andrew R. Baker (andrewb@uab.edu) - Indigo2 changes
  * Copyright (C) 2003 Ladislav Michl  (ladis@linux-mips.org)
  * Copyright (C) 2004 Peter Fuerst    (pf@net.alphadv.de) - IP28
index 5deeb68..5e66213 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * ip22-setup.c: SGI specific setup, including init of the feature struct.
  *
- * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com)
+ * Copyright (C) 1996 David S. Miller (davem@davemloft.net)
  * Copyright (C) 1997, 1998 Ralf Baechle (ralf@gnu.org)
  */
 #include <linux/init.h>
index 80c1526..d9df5a0 100644 (file)
@@ -47,7 +47,7 @@ struct hypfs_dbfs_data {
        void                    *buf;
        void                    *buf_free_ptr;
        size_t                  size;
-       struct hypfs_dbfs_file  *dbfs_file;;
+       struct hypfs_dbfs_file  *dbfs_file;
        struct kref             kref;
 };
 
index 7e0619c..c0ef803 100644 (file)
@@ -116,7 +116,7 @@ static int __init mmapper_init(void)
        if (err) {
                printk(KERN_ERR "mmapper - misc_register failed, err = %d\n",
                       err);
-               return err;;
+               return err;
        }
        return 0;
 }
index 42b7feb..4891abb 100644 (file)
@@ -23,7 +23,6 @@ CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
 #
 CONFIG_EXPERIMENTAL=y
 CONFIG_BROKEN_ON_SMP=y
-CONFIG_LOCK_KERNEL=y
 CONFIG_INIT_ENV_ARG_LIMIT=32
 CONFIG_LOCALVERSION=""
 CONFIG_LOCALVERSION_AUTO=y
index 3da6a43..89ffb44 100644 (file)
@@ -396,15 +396,14 @@ memory_probe_store(struct class *class, struct class_attribute *attr,
                ret = add_memory(nid, phys_addr,
                                 PAGES_PER_SECTION << PAGE_SHIFT);
                if (ret)
-                       break;
+                       goto out;
 
                phys_addr += MIN_MEMORY_BLOCK_SIZE;
        }
 
-       if (ret)
-               count = ret;
-
-       return count;
+       ret = count;
+out:
+       return ret;
 }
 static CLASS_ATTR(probe, S_IWUSR, NULL, memory_probe_store);
 
index 560ab64..1b06f67 100644 (file)
@@ -122,7 +122,7 @@ static int lnw_gpio_direction_output(struct gpio_chip *chip,
        lnw_gpio_set(chip, offset, value);
        spin_lock_irqsave(&lnw->lock, flags);
        value = readl(gpdr);
-       value |= BIT(offset % 32);;
+       value |= BIT(offset % 32);
        writel(value, gpdr);
        spin_unlock_irqrestore(&lnw->lock, flags);
        return 0;
index bbcd1dd..1f82294 100644 (file)
@@ -322,7 +322,7 @@ void radeon_fence_unref(struct radeon_fence **fence)
 
        *fence = NULL;
        if (tmp) {
-               kref_put(&tmp->kref, &radeon_fence_destroy);
+               kref_put(&tmp->kref, radeon_fence_destroy);
        }
 }
 
index c6776e4..08c0233 100644 (file)
@@ -194,7 +194,7 @@ int radeon_ib_pool_init(struct radeon_device *rdev)
        r = radeon_bo_kmap(rdev->ib_pool.robj, &ptr);
        radeon_bo_unreserve(rdev->ib_pool.robj);
        if (r) {
-               DRM_ERROR("radeon: failed to map ib poll (%d).\n", r);
+               DRM_ERROR("radeon: failed to map ib pool (%d).\n", r);
                return r;
        }
        for (i = 0; i < RADEON_IB_POOL_SIZE; i++) {
index 75e9d6f..ebddd44 100644 (file)
@@ -206,7 +206,7 @@ void ttm_base_object_unref(struct ttm_base_object **p_base)
         */
 
        write_lock(&tdev->object_lock);
-       (void)kref_put(&base->refcount, &ttm_release_base);
+       kref_put(&base->refcount, ttm_release_base);
        write_unlock(&tdev->object_lock);
 }
 EXPORT_SYMBOL(ttm_base_object_unref);
index 06a5bb4..126ca79 100644 (file)
@@ -235,7 +235,7 @@ static int __devinit mc13783_leds_prepare(struct platform_device *pdev)
                                                        MC13783_LED_Cx_PERIOD;
 
        if (pdata->flags & MC13783_LED_TRIODE_TC3)
-               reg |= MC13783_LED_Cx_TRIODE_TC_BIT;;
+               reg |= MC13783_LED_Cx_TRIODE_TC_BIT;
 
        ret = mc13783_reg_write(dev, MC13783_REG_LED_CONTROL_5, reg);
        if (ret)
index d02d302..e01e08c 100644 (file)
@@ -329,7 +329,7 @@ done:
        return err;
 }
 
-static struct platform_driver cs5535_mfgpt_drv = {
+static struct platform_driver cs5535_mfgpt_driver = {
        .driver = {
                .name = DRV_NAME,
                .owner = THIS_MODULE,
@@ -340,7 +340,7 @@ static struct platform_driver cs5535_mfgpt_drv = {
 
 static int __init cs5535_mfgpt_init(void)
 {
-       return platform_driver_register(&cs5535_mfgpt_drv);
+       return platform_driver_register(&cs5535_mfgpt_driver);
 }
 
 module_init(cs5535_mfgpt_init);
index d2d5d23..8994772 100644 (file)
@@ -29,7 +29,7 @@
 
 /*
  * The IBMASM file virtual filesystem. It creates the following hierarchy
- * dymamically when mounted from user space:
+ * dynamically when mounted from user space:
  *
  *    /ibmasm
  *    |-- 0
index 7a70709..60a49e5 100644 (file)
@@ -797,7 +797,7 @@ static __devinit int softing_pdev_probe(struct platform_device *pdev)
        ret = -EINVAL;
        pres = platform_get_resource(pdev, IORESOURCE_MEM, 0);
        if (!pres)
-               goto platform_resource_failed;;
+               goto platform_resource_failed;
        card->dpram_phys = pres->start;
        card->dpram_size = pres->end - pres->start + 1;
        card->dpram = ioremap_nocache(card->dpram_phys, card->dpram_size);
index dd03bf6..54415c7 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * sgiseeq.c: Seeq8003 ethernet driver for SGI machines.
  *
- * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com)
+ * Copyright (C) 1996 David S. Miller (davem@davemloft.net)
  */
 
 #undef DEBUG
index 523104d..2211e29 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * sgiseeq.h: Defines for the Seeq8003 ethernet controller.
  *
- * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com)
+ * Copyright (C) 1996 David S. Miller (davem@davemloft.net)
  */
 #ifndef _SGISEEQ_H
 #define _SGISEEQ_H
index 321b18b..d1e2eb9 100644 (file)
@@ -2062,7 +2062,7 @@ static const char *desc_lookup(u32 num)
        max = ARRAY_SIZE(advanced_lookup) - 1;
        for (i = 0; i < max; i++) {
                if (advanced_lookup[i].num == num)
-                       break;;
+                       break;
        }
        return advanced_lookup[i].name;
 }
index e4f4aee..d52fa27 100644 (file)
@@ -719,7 +719,7 @@ static void rtl_op_set_tsf(struct ieee80211_hw *hw, u64 tsf)
 {
        struct rtl_priv *rtlpriv = rtl_priv(hw);
        struct rtl_mac *mac = rtl_mac(rtl_priv(hw));
-       u8 bibss = (mac->opmode == NL80211_IFTYPE_ADHOC) ? 1 : 0;;
+       u8 bibss = (mac->opmode == NL80211_IFTYPE_ADHOC) ? 1 : 0;
 
        mac->tsf = tsf;
        rtlpriv->cfg->ops->set_hw_reg(hw, HW_VAR_CORRECT_TSF, (u8 *) (&bibss));
index 5938f6e..c3a8c09 100644 (file)
@@ -1226,7 +1226,7 @@ static unsigned int _rtl_mac_to_hwqueue(__le16 fc,
                hw_queue_index = VI_QUEUE;
                break;
        case 2:
-               hw_queue_index = BE_QUEUE;;
+               hw_queue_index = BE_QUEUE;
                break;
        case 3:
                hw_queue_index = BK_QUEUE;
index 05477f4..7432c85 100644 (file)
@@ -729,7 +729,7 @@ static bool _rtl92ce_init_mac(struct ieee80211_hw *hw)
        rtl_write_word(rtlpriv, REG_CR, 0x2ff);
 
        if (_rtl92ce_llt_table_init(hw) == false)
-               return false;;
+               return false;
 
        rtl_write_dword(rtlpriv, REG_HISR, 0xffffffff);
        rtl_write_byte(rtlpriv, REG_HISRE, 0xff);
@@ -786,7 +786,7 @@ static bool _rtl92ce_init_mac(struct ieee80211_hw *hw)
 
        rtl_write_dword(rtlpriv, REG_MCUTST_1, 0x0);
 
-       return true;;
+       return true;
 }
 
 static void _rtl92ce_hw_configure(struct ieee80211_hw *hw)
index bce3a01..cffcb7c 100644 (file)
@@ -522,7 +522,7 @@ static int pmic_battery_set_charger(struct pmic_power_module_info *pbi,
        if (retval) {
                dev_warn(pbi->dev, "%s(): ipc pmic read failed\n",
                                                                __func__);
-               return retval;;
+               return retval;
        }
 
        return 0;
index 24e20ba..44ac4ae 100644 (file)
@@ -618,7 +618,7 @@ static void beiscsi_get_params(struct beiscsi_hba *phba)
                                    + BE2_NOPOUT_REQ));
        phba->params.cxns_per_ctrl = phba->fw_config.iscsi_cid_count;
        phba->params.asyncpdus_per_ctrl = phba->fw_config.iscsi_cid_count * 2;
-       phba->params.icds_per_ctrl = phba->fw_config.iscsi_icd_count;;
+       phba->params.icds_per_ctrl = phba->fw_config.iscsi_icd_count;
        phba->params.num_sge_per_io = BE2_SGE;
        phba->params.defpdu_hdr_sz = BE2_DEFPDU_HDR_SZ;
        phba->params.defpdu_data_sz = BE2_DEFPDU_DATA_SZ;
@@ -781,7 +781,7 @@ static irqreturn_t be_isr(int irq, void *dev_id)
        int isr;
 
        phba = dev_id;
-       ctrl = &phba->ctrl;;
+       ctrl = &phba->ctrl;
        isr = ioread32(ctrl->csr + CEV_ISR0_OFFSET +
                       (PCI_FUNC(ctrl->pdev->devfn) * CEV_ISR_SIZE));
        if (!isr)
index 77b2871..3811ea9 100644 (file)
@@ -598,7 +598,7 @@ lpfc_bsg_rport_els(struct fc_bsg_job *job)
        dd_data->context_un.iocb.cmdiocbq = cmdiocbq;
        dd_data->context_un.iocb.rspiocbq = rspiocbq;
        dd_data->context_un.iocb.set_job = job;
-       dd_data->context_un.iocb.bmp = NULL;;
+       dd_data->context_un.iocb.bmp = NULL;
        dd_data->context_un.iocb.ndlp = ndlp;
 
        if (phba->cfg_poll & DISABLE_FCP_RING_INT) {
index 002360d..172cefb 100644 (file)
@@ -160,7 +160,7 @@ static void pm8001_free(struct pm8001_hba_info *pm8001_ha)
 static void pm8001_tasklet(unsigned long opaque)
 {
        struct pm8001_hba_info *pm8001_ha;
-       pm8001_ha = (struct pm8001_hba_info *)opaque;;
+       pm8001_ha = (struct pm8001_hba_info *)opaque;
        if (unlikely(!pm8001_ha))
                BUG_ON(1);
        PM8001_CHIP_DISP->isr(pm8001_ha);
index 712518d..6c55c3c 100644 (file)
@@ -1051,7 +1051,7 @@ qla2x00_ct_entry(scsi_qla_host_t *vha, struct req_que *req,
                }
                DEBUG2(qla2x00_dump_buffer((uint8_t *)pkt, sizeof(*pkt)));
        } else {
-               bsg_job->reply->result =  DID_OK << 16;;
+               bsg_job->reply->result =  DID_OK << 16;
                bsg_job->reply->reply_payload_rcv_len =
                    bsg_job->reply_payload.payload_len;
                bsg_job->reply_len = 0;
@@ -1146,7 +1146,7 @@ qla24xx_els_ct_entry(scsi_qla_host_t *vha, struct req_que *req,
                DEBUG2(qla2x00_dump_buffer((uint8_t *)pkt, sizeof(*pkt)));
        }
        else {
-               bsg_job->reply->result =  DID_OK << 16;;
+               bsg_job->reply->result =  DID_OK << 16;
                bsg_job->reply->reply_payload_rcv_len = bsg_job->reply_payload.payload_len;
                bsg_job->reply_len = 0;
        }
index fef0e3c..3a9d85c 100644 (file)
@@ -3,7 +3,7 @@
  * License.  See the file "COPYING" in the main directory of this archive
  * for more details.
  *
- * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com)
+ * Copyright (C) 1996 David S. Miller (davem@davemloft.net)
  * Copyright (C) 1999 Andrew R. Baker (andrewb@uab.edu)
  * Copyright (C) 2001 Florian Lohoff (flo@rfc822.org)
  * Copyright (C) 2003, 07 Ralf Baechle (ralf@linux-mips.org)
index 30cbb74..47abb42 100644 (file)
@@ -1036,7 +1036,7 @@ core_alua_allocate_lu_gp(const char *name, int def_group)
        lu_gp = kmem_cache_zalloc(t10_alua_lu_gp_cache, GFP_KERNEL);
        if (!(lu_gp)) {
                printk(KERN_ERR "Unable to allocate struct t10_alua_lu_gp\n");
-               return ERR_PTR(-ENOMEM);;
+               return ERR_PTR(-ENOMEM);
        }
        INIT_LIST_HEAD(&lu_gp->lu_gp_list);
        INIT_LIST_HEAD(&lu_gp->lu_gp_mem_list);
@@ -1044,7 +1044,7 @@ core_alua_allocate_lu_gp(const char *name, int def_group)
        atomic_set(&lu_gp->lu_gp_ref_cnt, 0);
 
        if (def_group) {
-               lu_gp->lu_gp_id = se_global->alua_lu_gps_counter++;;
+               lu_gp->lu_gp_id = se_global->alua_lu_gps_counter++;
                lu_gp->lu_gp_valid_id = 1;
                se_global->alua_lu_gps_count++;
        }
index 9583b23..b9d3501 100644 (file)
@@ -2128,7 +2128,7 @@ static void transport_failure_reset_queue_depth(struct se_device *dev)
 {
        unsigned long flags;
 
-       spin_lock_irqsave(&SE_HBA(dev)->hba_queue_lock, flags);;
+       spin_lock_irqsave(&SE_HBA(dev)->hba_queue_lock, flags);
        atomic_inc(&dev->depth_left);
        atomic_inc(&SE_HBA(dev)->left_queue_depth);
        spin_unlock_irqrestore(&SE_HBA(dev)->hba_queue_lock, flags);
index 2f548af..1bd2845 100644 (file)
@@ -56,7 +56,7 @@ struct uart_max3110 {
        wait_queue_head_t wq;
        struct task_struct *main_thread;
        struct task_struct *read_thread;
-       struct mutex thread_mutex;;
+       struct mutex thread_mutex;
 
        u32 baud;
        u16 cur_conf;
index 21574cb..620c971 100644 (file)
@@ -309,7 +309,7 @@ EXPORT_SYMBOL(tty_termios_input_baud_rate);
  *     @ospeed: output speed
  *
  *     Encode the speeds set into the passed termios structure. This is
- *     used as a library helper for drivers os that they can report back
+ *     used as a library helper for drivers so that they can report back
  *     the actual speed selected when it differs from the speed requested
  *
  *     For maximal back compatibility with legacy SYS5/POSIX *nix behaviour
index 3772433..93317b5 100644 (file)
@@ -6,7 +6,7 @@
  * 
  * This driver is based on sgicons.c and cons_newport.
  * 
- * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com)
+ * Copyright (C) 1996 David S. Miller (davem@davemloft.net)
  * Copyright (C) 1997 Miguel de Icaza (miguel@nuclecu.unam.mx)
  */
 #include <linux/init.h>
index b66d86a..178b072 100644 (file)
@@ -679,7 +679,7 @@ static int __devinit mddi_probe(struct platform_device *pdev)
                printk(KERN_ERR "mddi: no associated mem resource!\n");
                return -ENOMEM;
        }
-       mddi->base = ioremap(resource->start, resource->end - resource->start);
+       mddi->base = ioremap(resource->start, resource_size(resource));
        if (!mddi->base) {
                printk(KERN_ERR "mddi: failed to remap base!\n");
                ret = -EINVAL;
index 7d02848..0b2f2dd 100644 (file)
@@ -401,7 +401,7 @@ static int mxsfb_set_par(struct fb_info *fb_info)
        writel(CTRL1_FIFO_CLEAR, host->base + LCDC_CTRL1 + REG_SET);
 
        ctrl = CTRL_BYPASS_COUNT | CTRL_MASTER |
-               CTRL_SET_BUS_WIDTH(host->ld_intf_width);;
+               CTRL_SET_BUS_WIDTH(host->ld_intf_width);
 
        switch (fb_info->var.bits_per_pixel) {
        case 16:
index 3c5045a..5064e83 100644 (file)
@@ -248,7 +248,7 @@ static int __devinit bcm63xx_wdt_probe(struct platform_device *pdev)
                return -ENODEV;
        }
 
-       bcm63xx_wdt_device.regs = ioremap_nocache(r->start, r->end - r->start);
+       bcm63xx_wdt_device.regs = ioremap_nocache(r->start, resource_size(r));
        if (!bcm63xx_wdt_device.regs) {
                dev_err(&pdev->dev, "failed to remap I/O resources\n");
                return -ENXIO;
index ef11daf..dbc13e9 100644 (file)
@@ -470,7 +470,7 @@ static int evtchn_open(struct inode *inode, struct file *filp)
 
        filp->private_data = u;
 
-       return nonseekable_open(inode, filp);;
+       return nonseekable_open(inode, filp);
 }
 
 static int evtchn_release(struct inode *inode, struct file *filp)
index 54469c3..65ea21a 100644 (file)
@@ -54,7 +54,7 @@ u64 start_dma_addr;
 
 static dma_addr_t xen_phys_to_bus(phys_addr_t paddr)
 {
-       return phys_to_machine(XPADDR(paddr)).maddr;;
+       return phys_to_machine(XPADDR(paddr)).maddr;
 }
 
 static phys_addr_t xen_bus_to_phys(dma_addr_t baddr)
index 9e22085..d8d0938 100644 (file)
@@ -481,7 +481,7 @@ static int inode_write_alias(struct super_block *sb,
                        val = inode_val0(inode);
                        break;
                case INODE_USED_OFS:
-                       val = cpu_to_be64(li->li_used_bytes);;
+                       val = cpu_to_be64(li->li_used_bytes);
                        break;
                case INODE_SIZE_OFS:
                        val = cpu_to_be64(i_size_read(inode));
index 5d32749..3c7606c 100644 (file)
@@ -3706,7 +3706,7 @@ int ocfs2_refcount_cow_xattr(struct inode *inode,
        context->cow_start = cow_start;
        context->cow_len = cow_len;
        context->ref_tree = ref_tree;
-       context->ref_root_bh = ref_root_bh;;
+       context->ref_root_bh = ref_root_bh;
        context->cow_object = xv;
 
        context->cow_duplicate_clusters = ocfs2_duplicate_clusters_by_jbd;
index ce4f624..410df07 100644 (file)
@@ -565,7 +565,7 @@ static bool ldm_validate_partition_table(struct parsed_partitions *state)
 
        data = read_part_sector(state, 0, &sect);
        if (!data) {
-               ldm_crit ("Disk read failed.");
+               ldm_info ("Disk read failed.");
                return false;
        }
 
index e765743..b4d791a 100644 (file)
@@ -409,7 +409,7 @@ out:
 }
 
 /**
- * ufs_getfrag_bloc() - `get_block_t' function, interface between UFS and
+ * ufs_getfrag_block() - `get_block_t' function, interface between UFS and
  * readpage, writepage and so on
  */
 
index 5a8eb38..e2337a8 100644 (file)
@@ -16,7 +16,7 @@
  * Use "vled" as supply id when declaring the regulator consumer:
  *
  * static struct regulator_consumer_supply pcap_regulator_VVIB_consumers [] = {
- *     { .dev_name = "leds-regulator.0", supply = "vled" },
+ *     { .dev_name = "leds-regulator.0", .supply = "vled" },
  * };
  *
  * If you have several regulator driven LEDs, you can append a numerical id to
index 3d7c4b4..de980a3 100644 (file)
@@ -3,7 +3,7 @@
  * newport.h: Defines and register layout for NEWPORT graphics
  *            hardware.
  *
- * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com)
+ * Copyright (C) 1996 David S. Miller (davem@davemloft.net)
  * 
  * Ulf Carlsson - Compatibility with the IRIX structures added
  */
index 88c92fb..5068e2a 100644 (file)
@@ -199,4 +199,4 @@ config INLINE_WRITE_UNLOCK_IRQRESTORE
        def_bool !DEBUG_SPINLOCK && ARCH_INLINE_WRITE_UNLOCK_IRQRESTORE
 
 config MUTEX_SPIN_ON_OWNER
-       def_bool SMP && !DEBUG_MUTEXES && !HAVE_DEFAULT_NO_SPIN_MUTEXES
+       def_bool SMP && !DEBUG_MUTEXES
index 0da058b..beb1846 100644 (file)
@@ -385,7 +385,7 @@ static ssize_t pm_qos_power_read(struct file *filp, char __user *buf,
        s32 value;
        unsigned long flags;
        struct pm_qos_object *o;
-       struct pm_qos_request_list *pm_qos_req = filp->private_data;;
+       struct pm_qos_request_list *pm_qos_req = filp->private_data;
 
        if (!pm_qos_req)
                return -EINVAL;
index c768bcd..a86bec1 100644 (file)
@@ -7,7 +7,8 @@ config PRINTK_TIME
          included in printk output.  This allows you to measure
          the interval between kernel operations, including bootup
          operations.  This is useful for identifying long delays
-         in kernel startup.
+         in kernel startup.  Or add printk.time=1 at boot-time.
+         See Documentation/kernel-parameters.txt
 
 config DEFAULT_MESSAGE_LOGLEVEL
        int "Default message log level (1-7)"
index bc0ac6b..dba35d1 100644 (file)
@@ -1161,8 +1161,7 @@ qualifier:
  * return is greater than or equal to @size, the resulting
  * string is truncated.
  *
- * Call this function if you are already dealing with a va_list.
- * You probably want snprintf() instead.
+ * If you're not already dealing with a va_list consider using snprintf().
  */
 int vsnprintf(char *buf, size_t size, const char *fmt, va_list args)
 {
@@ -1336,8 +1335,7 @@ EXPORT_SYMBOL(vsnprintf);
  * the @buf not including the trailing '\0'. If @size is == 0 the function
  * returns 0.
  *
- * Call this function if you are already dealing with a va_list.
- * You probably want scnprintf() instead.
+ * If you're not already dealing with a va_list consider using scnprintf().
  *
  * See the vsnprintf() documentation for format string extensions over C99.
  */
@@ -1416,8 +1414,7 @@ EXPORT_SYMBOL(scnprintf);
  * into @buf. Use vsnprintf() or vscnprintf() in order to avoid
  * buffer overflows.
  *
- * Call this function if you are already dealing with a va_list.
- * You probably want sprintf() instead.
+ * If you're not already dealing with a va_list consider using sprintf().
  *
  * See the vsnprintf() documentation for format string extensions over C99.
  */
index 8ee3bd8..bbb4a5b 100644 (file)
@@ -475,7 +475,7 @@ static struct page *dequeue_huge_page_vma(struct hstate *h,
 
        /* If reserves cannot be used, ensure enough pages are in the pool */
        if (avoid_reserve && h->free_huge_pages - h->resv_huge_pages == 0)
-               goto err;;
+               goto err;
 
        for_each_zone_zonelist_nodemask(zone, z, zonelist,
                                                MAX_NR_ZONES - 1, nodemask) {
index 9f8a97b..df9fc33 100644 (file)
@@ -3514,7 +3514,7 @@ static void setup_pagelist_highmark(struct per_cpu_pageset *p,
                pcp->batch = PAGE_SHIFT * 8;
 }
 
-static __meminit void setup_zone_pageset(struct zone *zone)
+static void setup_zone_pageset(struct zone *zone)
 {
        int cpu;
 
index a113ff0..ba2d166 100644 (file)
@@ -293,7 +293,7 @@ bitmap_ip_uadt(struct ip_set *set, struct nlattr *tb[],
 
        for (; !before(ip_to, ip); ip += map->hosts) {
                id = ip_to_id(map, ip);
-               ret = adtfn(set, &id, timeout);;
+               ret = adtfn(set, &id, timeout);
 
                if (ret && !ip_set_eexist(ret, flags))
                        return ret;
index 1419d0c..4195233 100644 (file)
@@ -151,7 +151,7 @@ static size_t rpc_pton4(const char *buf, const size_t buflen,
                return 0;
 
        sin->sin_family = AF_INET;
-       return sizeof(struct sockaddr_in);;
+       return sizeof(struct sockaddr_in);
 }
 
 #if defined(CONFIG_IPV6) || defined(CONFIG_IPV6_MODULE)
index ea39cb7..47b7d62 100644 (file)
@@ -280,7 +280,7 @@ static ssize_t sel_write_disable(struct file *file, const char __user *buf,
 
        length = -ENOMEM;
        if (count >= PAGE_SIZE)
-               goto out;;
+               goto out;
 
        /* No partial writes. */
        length = -EINVAL;
@@ -876,12 +876,12 @@ static ssize_t sel_write_user(struct file *file, char *buf, size_t size)
 
        length = task_has_security(current, SECURITY__COMPUTE_USER);
        if (length)
-               goto out;;
+               goto out;
 
        length = -ENOMEM;
        con = kzalloc(size + 1, GFP_KERNEL);
        if (!con)
-               goto out;;
+               goto out;
 
        length = -ENOMEM;
        user = kzalloc(size + 1, GFP_KERNEL);
@@ -941,7 +941,7 @@ static ssize_t sel_write_member(struct file *file, char *buf, size_t size)
        length = -ENOMEM;
        scon = kzalloc(size + 1, GFP_KERNEL);
        if (!scon)
-               goto out;;
+               goto out;
 
        length = -ENOMEM;
        tcon = kzalloc(size + 1, GFP_KERNEL);
index 362a0cb..6d8ef4a 100644 (file)
@@ -990,7 +990,7 @@ int fork_it(char **argv)
        if (!retval)
                print_counters(cnt_delta);
 
-       fprintf(stderr, "%.6f sec\n", tv_delta.tv_sec + tv_delta.tv_usec/1000000.0);;
+       fprintf(stderr, "%.6f sec\n", tv_delta.tv_sec + tv_delta.tv_usec/1000000.0);
 
        return 0;
 }