diff options
97 files changed, 113 insertions, 123 deletions
@@ -328,7 +328,7 @@ S: Haifa, Israel | |||
328 | N: Johannes Berg | 328 | N: Johannes Berg |
329 | E: johannes@sipsolutions.net | 329 | E: johannes@sipsolutions.net |
330 | W: http://johannes.sipsolutions.net/ | 330 | W: http://johannes.sipsolutions.net/ |
331 | P: 1024D/9AB78CA5 AD02 0176 4E29 C137 1DF6 08D2 FC44 CF86 9AB7 8CA5 | 331 | P: 4096R/7BF9099A C0EB C440 F6DA 091C 884D 8532 E0F3 73F3 7BF9 099A |
332 | D: powerpc & 802.11 hacker | 332 | D: powerpc & 802.11 hacker |
333 | 333 | ||
334 | N: Stephen R. van den Berg (AKA BuGless) | 334 | N: Stephen R. van den Berg (AKA BuGless) |
diff --git a/Documentation/stable_api_nonsense.txt b/Documentation/stable_api_nonsense.txt index 847b342b7b20..db3be892afb2 100644 --- a/Documentation/stable_api_nonsense.txt +++ b/Documentation/stable_api_nonsense.txt | |||
@@ -122,7 +122,7 @@ operating system to suffer. | |||
122 | 122 | ||
123 | In both of these instances, all developers agreed that these were | 123 | In both of these instances, all developers agreed that these were |
124 | important changes that needed to be made, and they were made, with | 124 | important changes that needed to be made, and they were made, with |
125 | relatively little pain. If Linux had to ensure that it preserve a | 125 | relatively little pain. If Linux had to ensure that it will preserve a |
126 | stable source interface, a new interface would have been created, and | 126 | stable source interface, a new interface would have been created, and |
127 | the older, broken one would have had to be maintained over time, leading | 127 | the older, broken one would have had to be maintained over time, leading |
128 | to extra work for the USB developers. Since all Linux USB developers do | 128 | to extra work for the USB developers. Since all Linux USB developers do |
diff --git a/Documentation/sysctl/vm.txt b/Documentation/sysctl/vm.txt index 30289fab86eb..96f0ee825bed 100644 --- a/Documentation/sysctl/vm.txt +++ b/Documentation/sysctl/vm.txt | |||
@@ -481,10 +481,10 @@ the DMA zone. | |||
481 | Type(A) is called as "Node" order. Type (B) is "Zone" order. | 481 | Type(A) is called as "Node" order. Type (B) is "Zone" order. |
482 | 482 | ||
483 | "Node order" orders the zonelists by node, then by zone within each node. | 483 | "Node order" orders the zonelists by node, then by zone within each node. |
484 | Specify "[Nn]ode" for zone order | 484 | Specify "[Nn]ode" for node order |
485 | 485 | ||
486 | "Zone Order" orders the zonelists by zone type, then by node within each | 486 | "Zone Order" orders the zonelists by zone type, then by node within each |
487 | zone. Specify "[Zz]one"for zode order. | 487 | zone. Specify "[Zz]one" for zone order. |
488 | 488 | ||
489 | Specify "[Dd]efault" to request automatic configuration. Autoconfiguration | 489 | Specify "[Dd]efault" to request automatic configuration. Autoconfiguration |
490 | will select "node" order in following case. | 490 | will select "node" order in following case. |
diff --git a/MAINTAINERS b/MAINTAINERS index 13803127b68f..eeadc15829b1 100644 --- a/MAINTAINERS +++ b/MAINTAINERS | |||
@@ -729,7 +729,7 @@ ARM/EZX SMARTPHONES (A780, A910, A1200, E680, ROKR E2 and ROKR E6) | |||
729 | M: Daniel Ribeiro <drwyrm@gmail.com> | 729 | M: Daniel Ribeiro <drwyrm@gmail.com> |
730 | M: Stefan Schmidt <stefan@openezx.org> | 730 | M: Stefan Schmidt <stefan@openezx.org> |
731 | M: Harald Welte <laforge@openezx.org> | 731 | M: Harald Welte <laforge@openezx.org> |
732 | L: openezx-devel@lists.openezx.org (subscribers-only) | 732 | L: openezx-devel@lists.openezx.org (moderated for non-subscribers) |
733 | W: http://www.openezx.org/ | 733 | W: http://www.openezx.org/ |
734 | S: Maintained | 734 | S: Maintained |
735 | T: topgit git://git.openezx.org/openezx.git | 735 | T: topgit git://git.openezx.org/openezx.git |
@@ -6200,6 +6200,7 @@ TRIVIAL PATCHES | |||
6200 | M: Jiri Kosina <trivial@kernel.org> | 6200 | M: Jiri Kosina <trivial@kernel.org> |
6201 | T: git git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial.git | 6201 | T: git git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial.git |
6202 | S: Maintained | 6202 | S: Maintained |
6203 | K: ^Subject:.*(?i)trivial | ||
6203 | 6204 | ||
6204 | TTY LAYER | 6205 | TTY LAYER |
6205 | M: Greg Kroah-Hartman <gregkh@suse.de> | 6206 | M: Greg Kroah-Hartman <gregkh@suse.de> |
diff --git a/arch/Kconfig b/arch/Kconfig index f78c2be4242b..8d24bacaa61e 100644 --- a/arch/Kconfig +++ b/arch/Kconfig | |||
@@ -144,9 +144,6 @@ config HAVE_CLK | |||
144 | config HAVE_DMA_API_DEBUG | 144 | config HAVE_DMA_API_DEBUG |
145 | bool | 145 | bool |
146 | 146 | ||
147 | config HAVE_DEFAULT_NO_SPIN_MUTEXES | ||
148 | bool | ||
149 | |||
150 | config HAVE_HW_BREAKPOINT | 147 | config HAVE_HW_BREAKPOINT |
151 | bool | 148 | bool |
152 | depends on PERF_EVENTS | 149 | depends on PERF_EVENTS |
diff --git a/arch/arm/mach-at91/at91cap9_devices.c b/arch/arm/mach-at91/at91cap9_devices.c index 9ffbf3a2dfea..21020ceb2f3a 100644 --- a/arch/arm/mach-at91/at91cap9_devices.c +++ b/arch/arm/mach-at91/at91cap9_devices.c | |||
@@ -171,7 +171,7 @@ void __init at91_add_device_usba(struct usba_platform_data *data) | |||
171 | */ | 171 | */ |
172 | usba_udc_data.pdata.vbus_pin = -EINVAL; | 172 | usba_udc_data.pdata.vbus_pin = -EINVAL; |
173 | usba_udc_data.pdata.num_ep = ARRAY_SIZE(usba_udc_ep); | 173 | usba_udc_data.pdata.num_ep = ARRAY_SIZE(usba_udc_ep); |
174 | memcpy(usba_udc_data.ep, usba_udc_ep, sizeof(usba_udc_ep));; | 174 | memcpy(usba_udc_data.ep, usba_udc_ep, sizeof(usba_udc_ep)); |
175 | 175 | ||
176 | if (data && data->vbus_pin > 0) { | 176 | if (data && data->vbus_pin > 0) { |
177 | at91_set_gpio_input(data->vbus_pin, 0); | 177 | at91_set_gpio_input(data->vbus_pin, 0); |
diff --git a/arch/arm/mach-at91/at91sam9g45_devices.c b/arch/arm/mach-at91/at91sam9g45_devices.c index 1e8f275c17f6..5e9f8a4c38df 100644 --- a/arch/arm/mach-at91/at91sam9g45_devices.c +++ b/arch/arm/mach-at91/at91sam9g45_devices.c | |||
@@ -256,7 +256,7 @@ void __init at91_add_device_usba(struct usba_platform_data *data) | |||
256 | { | 256 | { |
257 | usba_udc_data.pdata.vbus_pin = -EINVAL; | 257 | usba_udc_data.pdata.vbus_pin = -EINVAL; |
258 | usba_udc_data.pdata.num_ep = ARRAY_SIZE(usba_udc_ep); | 258 | usba_udc_data.pdata.num_ep = ARRAY_SIZE(usba_udc_ep); |
259 | memcpy(usba_udc_data.ep, usba_udc_ep, sizeof(usba_udc_ep));; | 259 | memcpy(usba_udc_data.ep, usba_udc_ep, sizeof(usba_udc_ep)); |
260 | 260 | ||
261 | if (data && data->vbus_pin > 0) { | 261 | if (data && data->vbus_pin > 0) { |
262 | at91_set_gpio_input(data->vbus_pin, 0); | 262 | at91_set_gpio_input(data->vbus_pin, 0); |
diff --git a/arch/arm/mach-at91/at91sam9rl_devices.c b/arch/arm/mach-at91/at91sam9rl_devices.c index 53aaa94df75a..c49262bddd85 100644 --- a/arch/arm/mach-at91/at91sam9rl_devices.c +++ b/arch/arm/mach-at91/at91sam9rl_devices.c | |||
@@ -145,7 +145,7 @@ void __init at91_add_device_usba(struct usba_platform_data *data) | |||
145 | */ | 145 | */ |
146 | usba_udc_data.pdata.vbus_pin = -EINVAL; | 146 | usba_udc_data.pdata.vbus_pin = -EINVAL; |
147 | usba_udc_data.pdata.num_ep = ARRAY_SIZE(usba_udc_ep); | 147 | usba_udc_data.pdata.num_ep = ARRAY_SIZE(usba_udc_ep); |
148 | memcpy(usba_udc_data.ep, usba_udc_ep, sizeof(usba_udc_ep));; | 148 | memcpy(usba_udc_data.ep, usba_udc_ep, sizeof(usba_udc_ep)); |
149 | 149 | ||
150 | if (data && data->vbus_pin > 0) { | 150 | if (data && data->vbus_pin > 0) { |
151 | at91_set_gpio_input(data->vbus_pin, 0); | 151 | at91_set_gpio_input(data->vbus_pin, 0); |
diff --git a/arch/arm/mach-tegra/tegra2_clocks.c b/arch/arm/mach-tegra/tegra2_clocks.c index 4459470c052d..bb618075fab6 100644 --- a/arch/arm/mach-tegra/tegra2_clocks.c +++ b/arch/arm/mach-tegra/tegra2_clocks.c | |||
@@ -337,7 +337,7 @@ static int tegra2_super_clk_set_parent(struct clk *c, struct clk *p) | |||
337 | const struct clk_mux_sel *sel; | 337 | const struct clk_mux_sel *sel; |
338 | int shift; | 338 | int shift; |
339 | 339 | ||
340 | val = clk_readl(c->reg + SUPER_CLK_MUX);; | 340 | val = clk_readl(c->reg + SUPER_CLK_MUX); |
341 | BUG_ON(((val & SUPER_STATE_MASK) != SUPER_STATE_RUN) && | 341 | BUG_ON(((val & SUPER_STATE_MASK) != SUPER_STATE_RUN) && |
342 | ((val & SUPER_STATE_MASK) != SUPER_STATE_IDLE)); | 342 | ((val & SUPER_STATE_MASK) != SUPER_STATE_IDLE)); |
343 | shift = ((val & SUPER_STATE_MASK) == SUPER_STATE_IDLE) ? | 343 | shift = ((val & SUPER_STATE_MASK) == SUPER_STATE_IDLE) ? |
diff --git a/arch/arm/mach-u300/gpio.c b/arch/arm/mach-u300/gpio.c index d92790140fe5..94837a4e146b 100644 --- a/arch/arm/mach-u300/gpio.c +++ b/arch/arm/mach-u300/gpio.c | |||
@@ -581,8 +581,7 @@ static int __init gpio_probe(struct platform_device *pdev) | |||
581 | if (!memres) | 581 | if (!memres) |
582 | goto err_no_resource; | 582 | goto err_no_resource; |
583 | 583 | ||
584 | if (request_mem_region(memres->start, memres->end - memres->start, "GPIO Controller") | 584 | if (!request_mem_region(memres->start, resource_size(memres), "GPIO Controller")) { |
585 | == NULL) { | ||
586 | err = -ENODEV; | 585 | err = -ENODEV; |
587 | goto err_no_ioregion; | 586 | goto err_no_ioregion; |
588 | } | 587 | } |
@@ -640,7 +639,7 @@ static int __init gpio_probe(struct platform_device *pdev) | |||
640 | free_irq(gpio_ports[i].irq, &gpio_ports[i]); | 639 | free_irq(gpio_ports[i].irq, &gpio_ports[i]); |
641 | iounmap(virtbase); | 640 | iounmap(virtbase); |
642 | err_no_ioremap: | 641 | err_no_ioremap: |
643 | release_mem_region(memres->start, memres->end - memres->start); | 642 | release_mem_region(memres->start, resource_size(memres)); |
644 | err_no_ioregion: | 643 | err_no_ioregion: |
645 | err_no_resource: | 644 | err_no_resource: |
646 | clk_disable(clk); | 645 | clk_disable(clk); |
@@ -660,7 +659,7 @@ static int __exit gpio_remove(struct platform_device *pdev) | |||
660 | for (i = 0 ; i < U300_GPIO_NUM_PORTS; i++) | 659 | for (i = 0 ; i < U300_GPIO_NUM_PORTS; i++) |
661 | free_irq(gpio_ports[i].irq, &gpio_ports[i]); | 660 | free_irq(gpio_ports[i].irq, &gpio_ports[i]); |
662 | iounmap(virtbase); | 661 | iounmap(virtbase); |
663 | release_mem_region(memres->start, memres->end - memres->start); | 662 | release_mem_region(memres->start, resource_size(memres)); |
664 | clk_disable(clk); | 663 | clk_disable(clk); |
665 | clk_put(clk); | 664 | clk_put(clk); |
666 | return 0; | 665 | return 0; |
diff --git a/arch/arm/mach-ux500/mbox-db5500.c b/arch/arm/mach-ux500/mbox-db5500.c index a4ffb9f4f461..2b2d51caf9d8 100644 --- a/arch/arm/mach-ux500/mbox-db5500.c +++ b/arch/arm/mach-ux500/mbox-db5500.c | |||
@@ -416,8 +416,7 @@ struct mbox *mbox_setup(u8 mbox_id, mbox_recv_cb_t *mbox_cb, void *priv) | |||
416 | dev_dbg(&(mbox->pdev->dev), | 416 | dev_dbg(&(mbox->pdev->dev), |
417 | "Resource name: %s start: 0x%X, end: 0x%X\n", | 417 | "Resource name: %s start: 0x%X, end: 0x%X\n", |
418 | resource->name, resource->start, resource->end); | 418 | resource->name, resource->start, resource->end); |
419 | mbox->virtbase_peer = | 419 | mbox->virtbase_peer = ioremap(resource->start, resource_size(resource)); |
420 | ioremap(resource->start, resource->end - resource->start); | ||
421 | if (!mbox->virtbase_peer) { | 420 | if (!mbox->virtbase_peer) { |
422 | dev_err(&(mbox->pdev->dev), "Unable to ioremap peer mbox\n"); | 421 | dev_err(&(mbox->pdev->dev), "Unable to ioremap peer mbox\n"); |
423 | mbox = NULL; | 422 | mbox = NULL; |
@@ -440,8 +439,7 @@ struct mbox *mbox_setup(u8 mbox_id, mbox_recv_cb_t *mbox_cb, void *priv) | |||
440 | dev_dbg(&(mbox->pdev->dev), | 439 | dev_dbg(&(mbox->pdev->dev), |
441 | "Resource name: %s start: 0x%X, end: 0x%X\n", | 440 | "Resource name: %s start: 0x%X, end: 0x%X\n", |
442 | resource->name, resource->start, resource->end); | 441 | resource->name, resource->start, resource->end); |
443 | mbox->virtbase_local = | 442 | mbox->virtbase_local = ioremap(resource->start, resource_size(resource)); |
444 | ioremap(resource->start, resource->end - resource->start); | ||
445 | if (!mbox->virtbase_local) { | 443 | if (!mbox->virtbase_local) { |
446 | dev_err(&(mbox->pdev->dev), "Unable to ioremap local mbox\n"); | 444 | dev_err(&(mbox->pdev->dev), "Unable to ioremap local mbox\n"); |
447 | mbox = NULL; | 445 | mbox = NULL; |
diff --git a/arch/arm/plat-iop/time.c b/arch/arm/plat-iop/time.c index 07f23bb42bed..7cdc5161ff2b 100644 --- a/arch/arm/plat-iop/time.c +++ b/arch/arm/plat-iop/time.c | |||
@@ -17,7 +17,6 @@ | |||
17 | #include <linux/interrupt.h> | 17 | #include <linux/interrupt.h> |
18 | #include <linux/time.h> | 18 | #include <linux/time.h> |
19 | #include <linux/init.h> | 19 | #include <linux/init.h> |
20 | #include <linux/sched.h> | ||
21 | #include <linux/timex.h> | 20 | #include <linux/timex.h> |
22 | #include <linux/sched.h> | 21 | #include <linux/sched.h> |
23 | #include <linux/io.h> | 22 | #include <linux/io.h> |
diff --git a/arch/m68k/include/asm/MC68EZ328.h b/arch/m68k/include/asm/MC68EZ328.h index 69b7f9139e5e..d1bde58ab0dd 100644 --- a/arch/m68k/include/asm/MC68EZ328.h +++ b/arch/m68k/include/asm/MC68EZ328.h | |||
@@ -1047,7 +1047,7 @@ typedef volatile struct { | |||
1047 | 1047 | ||
1048 | #define WATCHDOG_EN 0x0001 /* Watchdog Enabled */ | 1048 | #define WATCHDOG_EN 0x0001 /* Watchdog Enabled */ |
1049 | #define WATCHDOG_ISEL 0x0002 /* Select the watchdog interrupt */ | 1049 | #define WATCHDOG_ISEL 0x0002 /* Select the watchdog interrupt */ |
1050 | #define WATCHDOG_INTF 0x0080 /* Watchdog interrupt occcured */ | 1050 | #define WATCHDOG_INTF 0x0080 /* Watchdog interrupt occurred */ |
1051 | #define WATCHDOG_CNT_MASK 0x0300 /* Watchdog Counter */ | 1051 | #define WATCHDOG_CNT_MASK 0x0300 /* Watchdog Counter */ |
1052 | #define WATCHDOG_CNT_SHIFT 8 | 1052 | #define WATCHDOG_CNT_SHIFT 8 |
1053 | 1053 | ||
diff --git a/arch/m68k/include/asm/MC68VZ328.h b/arch/m68k/include/asm/MC68VZ328.h index 2b9bf626a0a5..6bd1bf1f85ea 100644 --- a/arch/m68k/include/asm/MC68VZ328.h +++ b/arch/m68k/include/asm/MC68VZ328.h | |||
@@ -1143,7 +1143,7 @@ typedef struct { | |||
1143 | 1143 | ||
1144 | #define WATCHDOG_EN 0x0001 /* Watchdog Enabled */ | 1144 | #define WATCHDOG_EN 0x0001 /* Watchdog Enabled */ |
1145 | #define WATCHDOG_ISEL 0x0002 /* Select the watchdog interrupt */ | 1145 | #define WATCHDOG_ISEL 0x0002 /* Select the watchdog interrupt */ |
1146 | #define WATCHDOG_INTF 0x0080 /* Watchdog interrupt occcured */ | 1146 | #define WATCHDOG_INTF 0x0080 /* Watchdog interrupt occurred */ |
1147 | #define WATCHDOG_CNT_MASK 0x0300 /* Watchdog Counter */ | 1147 | #define WATCHDOG_CNT_MASK 0x0300 /* Watchdog Counter */ |
1148 | #define WATCHDOG_CNT_SHIFT 8 | 1148 | #define WATCHDOG_CNT_SHIFT 8 |
1149 | 1149 | ||
diff --git a/arch/mips/fw/arc/cmdline.c b/arch/mips/fw/arc/cmdline.c index 5c8603c85f20..9fdf07e50f1b 100644 --- a/arch/mips/fw/arc/cmdline.c +++ b/arch/mips/fw/arc/cmdline.c | |||
@@ -5,7 +5,7 @@ | |||
5 | * | 5 | * |
6 | * cmdline.c: Kernel command line creation using ARCS argc/argv. | 6 | * cmdline.c: Kernel command line creation using ARCS argc/argv. |
7 | * | 7 | * |
8 | * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com) | 8 | * Copyright (C) 1996 David S. Miller (davem@davemloft.net) |
9 | */ | 9 | */ |
10 | #include <linux/init.h> | 10 | #include <linux/init.h> |
11 | #include <linux/kernel.h> | 11 | #include <linux/kernel.h> |
diff --git a/arch/mips/fw/arc/env.c b/arch/mips/fw/arc/env.c index 6f5dd42b96e2..1118a26b32ee 100644 --- a/arch/mips/fw/arc/env.c +++ b/arch/mips/fw/arc/env.c | |||
@@ -5,7 +5,7 @@ | |||
5 | * | 5 | * |
6 | * env.c: ARCS environment variable routines. | 6 | * env.c: ARCS environment variable routines. |
7 | * | 7 | * |
8 | * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com) | 8 | * Copyright (C) 1996 David S. Miller (davem@davemloft.net) |
9 | */ | 9 | */ |
10 | #include <linux/init.h> | 10 | #include <linux/init.h> |
11 | #include <linux/kernel.h> | 11 | #include <linux/kernel.h> |
diff --git a/arch/mips/fw/arc/identify.c b/arch/mips/fw/arc/identify.c index 0ce9acf10c39..788060a53dce 100644 --- a/arch/mips/fw/arc/identify.c +++ b/arch/mips/fw/arc/identify.c | |||
@@ -9,7 +9,7 @@ | |||
9 | * | 9 | * |
10 | * This code is based on arch/mips/sgi/kernel/system.c, which is | 10 | * This code is based on arch/mips/sgi/kernel/system.c, which is |
11 | * | 11 | * |
12 | * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com) | 12 | * Copyright (C) 1996 David S. Miller (davem@davemloft.net) |
13 | */ | 13 | */ |
14 | #include <linux/init.h> | 14 | #include <linux/init.h> |
15 | #include <linux/kernel.h> | 15 | #include <linux/kernel.h> |
diff --git a/arch/mips/fw/arc/init.c b/arch/mips/fw/arc/init.c index 3ad8788b6eaa..629b24db0d3a 100644 --- a/arch/mips/fw/arc/init.c +++ b/arch/mips/fw/arc/init.c | |||
@@ -5,7 +5,7 @@ | |||
5 | * | 5 | * |
6 | * PROM library initialisation code. | 6 | * PROM library initialisation code. |
7 | * | 7 | * |
8 | * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com) | 8 | * Copyright (C) 1996 David S. Miller (davem@davemloft.net) |
9 | */ | 9 | */ |
10 | #include <linux/init.h> | 10 | #include <linux/init.h> |
11 | #include <linux/kernel.h> | 11 | #include <linux/kernel.h> |
diff --git a/arch/mips/fw/arc/misc.c b/arch/mips/fw/arc/misc.c index e527c5fd5a32..29627fbae7ad 100644 --- a/arch/mips/fw/arc/misc.c +++ b/arch/mips/fw/arc/misc.c | |||
@@ -5,7 +5,7 @@ | |||
5 | * | 5 | * |
6 | * Miscellaneous ARCS PROM routines. | 6 | * Miscellaneous ARCS PROM routines. |
7 | * | 7 | * |
8 | * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com) | 8 | * Copyright (C) 1996 David S. Miller (davem@davemloft.net) |
9 | * Copyright (C) 1999 Ralf Baechle (ralf@gnu.org) | 9 | * Copyright (C) 1999 Ralf Baechle (ralf@gnu.org) |
10 | * Copyright (C) 1999 Silicon Graphics, Inc. | 10 | * Copyright (C) 1999 Silicon Graphics, Inc. |
11 | */ | 11 | */ |
diff --git a/arch/mips/fw/arc/salone.c b/arch/mips/fw/arc/salone.c index e6afb64723d0..9b568950d1fd 100644 --- a/arch/mips/fw/arc/salone.c +++ b/arch/mips/fw/arc/salone.c | |||
@@ -2,7 +2,7 @@ | |||
2 | * Routines to load into memory and execute stand-along program images using | 2 | * Routines to load into memory and execute stand-along program images using |
3 | * ARCS PROM firmware. | 3 | * ARCS PROM firmware. |
4 | * | 4 | * |
5 | * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com) | 5 | * Copyright (C) 1996 David S. Miller (davem@davemloft.net) |
6 | */ | 6 | */ |
7 | #include <linux/init.h> | 7 | #include <linux/init.h> |
8 | #include <asm/sgialib.h> | 8 | #include <asm/sgialib.h> |
diff --git a/arch/mips/fw/arc/time.c b/arch/mips/fw/arc/time.c index 42138c837d48..190cdb50b895 100644 --- a/arch/mips/fw/arc/time.c +++ b/arch/mips/fw/arc/time.c | |||
@@ -5,7 +5,7 @@ | |||
5 | * | 5 | * |
6 | * Extracting time information from ARCS prom. | 6 | * Extracting time information from ARCS prom. |
7 | * | 7 | * |
8 | * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com) | 8 | * Copyright (C) 1996 David S. Miller (davem@davemloft.net) |
9 | */ | 9 | */ |
10 | #include <linux/init.h> | 10 | #include <linux/init.h> |
11 | 11 | ||
diff --git a/arch/mips/fw/arc/tree.c b/arch/mips/fw/arc/tree.c index d68e5a59c1f6..924a37dc2569 100644 --- a/arch/mips/fw/arc/tree.c +++ b/arch/mips/fw/arc/tree.c | |||
@@ -5,7 +5,7 @@ | |||
5 | * | 5 | * |
6 | * PROM component device tree code. | 6 | * PROM component device tree code. |
7 | * | 7 | * |
8 | * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com) | 8 | * Copyright (C) 1996 David S. Miller (davem@davemloft.net) |
9 | * Copyright (C) 1999 Ralf Baechle (ralf@gnu.org) | 9 | * Copyright (C) 1999 Ralf Baechle (ralf@gnu.org) |
10 | * Copyright (C) 1999 Silicon Graphics, Inc. | 10 | * Copyright (C) 1999 Silicon Graphics, Inc. |
11 | */ | 11 | */ |
diff --git a/arch/mips/include/asm/asmmacro-32.h b/arch/mips/include/asm/asmmacro-32.h index 5de3963f511e..2413afe21b33 100644 --- a/arch/mips/include/asm/asmmacro-32.h +++ b/arch/mips/include/asm/asmmacro-32.h | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * asmmacro.h: Assembler macros to make things easier to read. | 2 | * asmmacro.h: Assembler macros to make things easier to read. |
3 | * | 3 | * |
4 | * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com) | 4 | * Copyright (C) 1996 David S. Miller (davem@davemloft.net) |
5 | * Copyright (C) 1998, 1999, 2003 Ralf Baechle | 5 | * Copyright (C) 1998, 1999, 2003 Ralf Baechle |
6 | */ | 6 | */ |
7 | #ifndef _ASM_ASMMACRO_32_H | 7 | #ifndef _ASM_ASMMACRO_32_H |
diff --git a/arch/mips/include/asm/asmmacro-64.h b/arch/mips/include/asm/asmmacro-64.h index 225feefcb25d..08a527dfe4a3 100644 --- a/arch/mips/include/asm/asmmacro-64.h +++ b/arch/mips/include/asm/asmmacro-64.h | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * asmmacro.h: Assembler macros to make things easier to read. | 2 | * asmmacro.h: Assembler macros to make things easier to read. |
3 | * | 3 | * |
4 | * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com) | 4 | * Copyright (C) 1996 David S. Miller (davem@davemloft.net) |
5 | * Copyright (C) 1998, 1999 Ralf Baechle | 5 | * Copyright (C) 1998, 1999 Ralf Baechle |
6 | * Copyright (C) 1999 Silicon Graphics, Inc. | 6 | * Copyright (C) 1999 Silicon Graphics, Inc. |
7 | */ | 7 | */ |
diff --git a/arch/mips/include/asm/cpu.h b/arch/mips/include/asm/cpu.h index 86877539c6e8..e7af793e5368 100644 --- a/arch/mips/include/asm/cpu.h +++ b/arch/mips/include/asm/cpu.h | |||
@@ -2,7 +2,7 @@ | |||
2 | * cpu.h: Values of the PRId register used to match up | 2 | * cpu.h: Values of the PRId register used to match up |
3 | * various MIPS cpu types. | 3 | * various MIPS cpu types. |
4 | * | 4 | * |
5 | * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com) | 5 | * Copyright (C) 1996 David S. Miller (davem@davemloft.net) |
6 | * Copyright (C) 2004 Maciej W. Rozycki | 6 | * Copyright (C) 2004 Maciej W. Rozycki |
7 | */ | 7 | */ |
8 | #ifndef _ASM_CPU_H | 8 | #ifndef _ASM_CPU_H |
diff --git a/arch/mips/include/asm/r4kcache.h b/arch/mips/include/asm/r4kcache.h index 387bf59f1e37..54ea47da59a1 100644 --- a/arch/mips/include/asm/r4kcache.h +++ b/arch/mips/include/asm/r4kcache.h | |||
@@ -5,7 +5,7 @@ | |||
5 | * | 5 | * |
6 | * Inline assembly cache operations. | 6 | * Inline assembly cache operations. |
7 | * | 7 | * |
8 | * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com) | 8 | * Copyright (C) 1996 David S. Miller (davem@davemloft.net) |
9 | * Copyright (C) 1997 - 2002 Ralf Baechle (ralf@gnu.org) | 9 | * Copyright (C) 1997 - 2002 Ralf Baechle (ralf@gnu.org) |
10 | * Copyright (C) 2004 Ralf Baechle (ralf@linux-mips.org) | 10 | * Copyright (C) 2004 Ralf Baechle (ralf@linux-mips.org) |
11 | */ | 11 | */ |
diff --git a/arch/mips/include/asm/sgialib.h b/arch/mips/include/asm/sgialib.h index 2a2f1bddc276..f58115769457 100644 --- a/arch/mips/include/asm/sgialib.h +++ b/arch/mips/include/asm/sgialib.h | |||
@@ -5,7 +5,7 @@ | |||
5 | * | 5 | * |
6 | * SGI ARCS firmware interface library for the Linux kernel. | 6 | * SGI ARCS firmware interface library for the Linux kernel. |
7 | * | 7 | * |
8 | * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com) | 8 | * Copyright (C) 1996 David S. Miller (davem@davemloft.net) |
9 | * Copyright (C) 2001, 2002 Ralf Baechle (ralf@gnu.org) | 9 | * Copyright (C) 2001, 2002 Ralf Baechle (ralf@gnu.org) |
10 | */ | 10 | */ |
11 | #ifndef _ASM_SGIALIB_H | 11 | #ifndef _ASM_SGIALIB_H |
diff --git a/arch/mips/include/asm/sgiarcs.h b/arch/mips/include/asm/sgiarcs.h index 721327f88601..149342951436 100644 --- a/arch/mips/include/asm/sgiarcs.h +++ b/arch/mips/include/asm/sgiarcs.h | |||
@@ -5,7 +5,7 @@ | |||
5 | * | 5 | * |
6 | * ARC firmware interface defines. | 6 | * ARC firmware interface defines. |
7 | * | 7 | * |
8 | * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com) | 8 | * Copyright (C) 1996 David S. Miller (davem@davemloft.net) |
9 | * Copyright (C) 1999, 2001 Ralf Baechle (ralf@gnu.org) | 9 | * Copyright (C) 1999, 2001 Ralf Baechle (ralf@gnu.org) |
10 | * Copyright (C) 1999 Silicon Graphics, Inc. | 10 | * Copyright (C) 1999 Silicon Graphics, Inc. |
11 | */ | 11 | */ |
diff --git a/arch/mips/kernel/octeon_switch.S b/arch/mips/kernel/octeon_switch.S index dd18b26a358a..ce89c8061708 100644 --- a/arch/mips/kernel/octeon_switch.S +++ b/arch/mips/kernel/octeon_switch.S | |||
@@ -4,7 +4,7 @@ | |||
4 | * for more details. | 4 | * for more details. |
5 | * | 5 | * |
6 | * Copyright (C) 1994, 1995, 1996, 1998, 1999, 2002, 2003 Ralf Baechle | 6 | * Copyright (C) 1994, 1995, 1996, 1998, 1999, 2002, 2003 Ralf Baechle |
7 | * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com) | 7 | * Copyright (C) 1996 David S. Miller (davem@davemloft.net) |
8 | * Copyright (C) 1994, 1995, 1996, by Andreas Busse | 8 | * Copyright (C) 1994, 1995, 1996, by Andreas Busse |
9 | * Copyright (C) 1999 Silicon Graphics, Inc. | 9 | * Copyright (C) 1999 Silicon Graphics, Inc. |
10 | * Copyright (C) 2000 MIPS Technologies, Inc. | 10 | * Copyright (C) 2000 MIPS Technologies, Inc. |
diff --git a/arch/mips/kernel/r2300_fpu.S b/arch/mips/kernel/r2300_fpu.S index ac68e68339db..61c8a0f2a60c 100644 --- a/arch/mips/kernel/r2300_fpu.S +++ b/arch/mips/kernel/r2300_fpu.S | |||
@@ -6,7 +6,7 @@ | |||
6 | * Copyright (C) 1996, 1998 by Ralf Baechle | 6 | * Copyright (C) 1996, 1998 by Ralf Baechle |
7 | * | 7 | * |
8 | * Multi-arch abstraction and asm macros for easier reading: | 8 | * Multi-arch abstraction and asm macros for easier reading: |
9 | * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com) | 9 | * Copyright (C) 1996 David S. Miller (davem@davemloft.net) |
10 | * | 10 | * |
11 | * Further modifications to make this work: | 11 | * Further modifications to make this work: |
12 | * Copyright (c) 1998 Harald Koerfgen | 12 | * Copyright (c) 1998 Harald Koerfgen |
diff --git a/arch/mips/kernel/r2300_switch.S b/arch/mips/kernel/r2300_switch.S index 698414b7a253..293898391e67 100644 --- a/arch/mips/kernel/r2300_switch.S +++ b/arch/mips/kernel/r2300_switch.S | |||
@@ -5,7 +5,7 @@ | |||
5 | * Copyright (C) 1994, 1995, 1996 by Andreas Busse | 5 | * Copyright (C) 1994, 1995, 1996 by Andreas Busse |
6 | * | 6 | * |
7 | * Multi-cpu abstraction and macros for easier reading: | 7 | * Multi-cpu abstraction and macros for easier reading: |
8 | * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com) | 8 | * Copyright (C) 1996 David S. Miller (davem@davemloft.net) |
9 | * | 9 | * |
10 | * Further modifications to make this work: | 10 | * Further modifications to make this work: |
11 | * Copyright (c) 1998-2000 Harald Koerfgen | 11 | * Copyright (c) 1998-2000 Harald Koerfgen |
diff --git a/arch/mips/kernel/r4k_fpu.S b/arch/mips/kernel/r4k_fpu.S index dbd42adc52ed..55ffe149dae9 100644 --- a/arch/mips/kernel/r4k_fpu.S +++ b/arch/mips/kernel/r4k_fpu.S | |||
@@ -6,7 +6,7 @@ | |||
6 | * Copyright (C) 1996, 98, 99, 2000, 01 Ralf Baechle | 6 | * Copyright (C) 1996, 98, 99, 2000, 01 Ralf Baechle |
7 | * | 7 | * |
8 | * Multi-arch abstraction and asm macros for easier reading: | 8 | * Multi-arch abstraction and asm macros for easier reading: |
9 | * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com) | 9 | * Copyright (C) 1996 David S. Miller (davem@davemloft.net) |
10 | * | 10 | * |
11 | * Carsten Langgaard, carstenl@mips.com | 11 | * Carsten Langgaard, carstenl@mips.com |
12 | * Copyright (C) 2000 MIPS Technologies, Inc. | 12 | * Copyright (C) 2000 MIPS Technologies, Inc. |
diff --git a/arch/mips/kernel/r4k_switch.S b/arch/mips/kernel/r4k_switch.S index 8893ee1a2368..9414f9354469 100644 --- a/arch/mips/kernel/r4k_switch.S +++ b/arch/mips/kernel/r4k_switch.S | |||
@@ -4,7 +4,7 @@ | |||
4 | * for more details. | 4 | * for more details. |
5 | * | 5 | * |
6 | * Copyright (C) 1994, 1995, 1996, 1998, 1999, 2002, 2003 Ralf Baechle | 6 | * Copyright (C) 1994, 1995, 1996, 1998, 1999, 2002, 2003 Ralf Baechle |
7 | * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com) | 7 | * Copyright (C) 1996 David S. Miller (davem@davemloft.net) |
8 | * Copyright (C) 1994, 1995, 1996, by Andreas Busse | 8 | * Copyright (C) 1994, 1995, 1996, by Andreas Busse |
9 | * Copyright (C) 1999 Silicon Graphics, Inc. | 9 | * Copyright (C) 1999 Silicon Graphics, Inc. |
10 | * Copyright (C) 2000 MIPS Technologies, Inc. | 10 | * Copyright (C) 2000 MIPS Technologies, Inc. |
diff --git a/arch/mips/kernel/r6000_fpu.S b/arch/mips/kernel/r6000_fpu.S index 43cda53f5af6..da0fbe46d83b 100644 --- a/arch/mips/kernel/r6000_fpu.S +++ b/arch/mips/kernel/r6000_fpu.S | |||
@@ -8,7 +8,7 @@ | |||
8 | * Copyright (C) 1996 by Ralf Baechle | 8 | * Copyright (C) 1996 by Ralf Baechle |
9 | * | 9 | * |
10 | * Multi-arch abstraction and asm macros for easier reading: | 10 | * Multi-arch abstraction and asm macros for easier reading: |
11 | * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com) | 11 | * Copyright (C) 1996 David S. Miller (davem@davemloft.net) |
12 | */ | 12 | */ |
13 | #include <asm/asm.h> | 13 | #include <asm/asm.h> |
14 | #include <asm/fpregdef.h> | 14 | #include <asm/fpregdef.h> |
diff --git a/arch/mips/mm/c-r3k.c b/arch/mips/mm/c-r3k.c index 54e5f7b9f440..e6b0efd3f6a4 100644 --- a/arch/mips/mm/c-r3k.c +++ b/arch/mips/mm/c-r3k.c | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * r2300.c: R2000 and R3000 specific mmu/cache code. | 2 | * r2300.c: R2000 and R3000 specific mmu/cache code. |
3 | * | 3 | * |
4 | * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com) | 4 | * Copyright (C) 1996 David S. Miller (davem@davemloft.net) |
5 | * | 5 | * |
6 | * with a lot of changes to make this thing work for R3000s | 6 | * with a lot of changes to make this thing work for R3000s |
7 | * Tx39XX R4k style caches added. HK | 7 | * Tx39XX R4k style caches added. HK |
diff --git a/arch/mips/mm/c-r4k.c b/arch/mips/mm/c-r4k.c index b4923a75cb4b..fd5cb57905d0 100644 --- a/arch/mips/mm/c-r4k.c +++ b/arch/mips/mm/c-r4k.c | |||
@@ -3,7 +3,7 @@ | |||
3 | * License. See the file "COPYING" in the main directory of this archive | 3 | * License. See the file "COPYING" in the main directory of this archive |
4 | * for more details. | 4 | * for more details. |
5 | * | 5 | * |
6 | * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com) | 6 | * Copyright (C) 1996 David S. Miller (davem@davemloft.net) |
7 | * Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002 Ralf Baechle (ralf@gnu.org) | 7 | * Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002 Ralf Baechle (ralf@gnu.org) |
8 | * Copyright (C) 1999, 2000 Silicon Graphics, Inc. | 8 | * Copyright (C) 1999, 2000 Silicon Graphics, Inc. |
9 | */ | 9 | */ |
diff --git a/arch/mips/mm/c-tx39.c b/arch/mips/mm/c-tx39.c index 6515b4418714..d352fad3e451 100644 --- a/arch/mips/mm/c-tx39.c +++ b/arch/mips/mm/c-tx39.c | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * r2300.c: R2000 and R3000 specific mmu/cache code. | 2 | * r2300.c: R2000 and R3000 specific mmu/cache code. |
3 | * | 3 | * |
4 | * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com) | 4 | * Copyright (C) 1996 David S. Miller (davem@davemloft.net) |
5 | * | 5 | * |
6 | * with a lot of changes to make this thing work for R3000s | 6 | * with a lot of changes to make this thing work for R3000s |
7 | * Tx39XX R4k style caches added. HK | 7 | * Tx39XX R4k style caches added. HK |
diff --git a/arch/mips/mm/sc-ip22.c b/arch/mips/mm/sc-ip22.c index 13adb5782110..a6bd11fba7bf 100644 --- a/arch/mips/mm/sc-ip22.c +++ b/arch/mips/mm/sc-ip22.c | |||
@@ -2,7 +2,7 @@ | |||
2 | * sc-ip22.c: Indy cache management functions. | 2 | * sc-ip22.c: Indy cache management functions. |
3 | * | 3 | * |
4 | * Copyright (C) 1997, 2001 Ralf Baechle (ralf@gnu.org), | 4 | * Copyright (C) 1997, 2001 Ralf Baechle (ralf@gnu.org), |
5 | * derived from r4xx0.c by David S. Miller (dm@engr.sgi.com). | 5 | * derived from r4xx0.c by David S. Miller (davem@davemloft.net). |
6 | */ | 6 | */ |
7 | #include <linux/init.h> | 7 | #include <linux/init.h> |
8 | #include <linux/kernel.h> | 8 | #include <linux/kernel.h> |
diff --git a/arch/mips/mm/sc-r5k.c b/arch/mips/mm/sc-r5k.c index f330d38e5575..ae1e533a096e 100644 --- a/arch/mips/mm/sc-r5k.c +++ b/arch/mips/mm/sc-r5k.c | |||
@@ -1,6 +1,6 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (C) 1997, 2001 Ralf Baechle (ralf@gnu.org), | 2 | * Copyright (C) 1997, 2001 Ralf Baechle (ralf@gnu.org), |
3 | * derived from r4xx0.c by David S. Miller (dm@engr.sgi.com). | 3 | * derived from r4xx0.c by David S. Miller (davem@davemloft.net). |
4 | */ | 4 | */ |
5 | #include <linux/init.h> | 5 | #include <linux/init.h> |
6 | #include <linux/kernel.h> | 6 | #include <linux/kernel.h> |
diff --git a/arch/mips/mm/tlb-r3k.c b/arch/mips/mm/tlb-r3k.c index 0f5ab236ab69..40424affef83 100644 --- a/arch/mips/mm/tlb-r3k.c +++ b/arch/mips/mm/tlb-r3k.c | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * r2300.c: R2000 and R3000 specific mmu/cache code. | 2 | * r2300.c: R2000 and R3000 specific mmu/cache code. |
3 | * | 3 | * |
4 | * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com) | 4 | * Copyright (C) 1996 David S. Miller (davem@davemloft.net) |
5 | * | 5 | * |
6 | * with a lot of changes to make this thing work for R3000s | 6 | * with a lot of changes to make this thing work for R3000s |
7 | * Tx39XX R4k style caches added. HK | 7 | * Tx39XX R4k style caches added. HK |
diff --git a/arch/mips/mm/tlb-r4k.c b/arch/mips/mm/tlb-r4k.c index c618eed933a1..ba40325caea6 100644 --- a/arch/mips/mm/tlb-r4k.c +++ b/arch/mips/mm/tlb-r4k.c | |||
@@ -3,7 +3,7 @@ | |||
3 | * License. See the file "COPYING" in the main directory of this archive | 3 | * License. See the file "COPYING" in the main directory of this archive |
4 | * for more details. | 4 | * for more details. |
5 | * | 5 | * |
6 | * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com) | 6 | * Copyright (C) 1996 David S. Miller (davem@davemloft.net) |
7 | * Copyright (C) 1997, 1998, 1999, 2000 Ralf Baechle ralf@gnu.org | 7 | * Copyright (C) 1997, 1998, 1999, 2000 Ralf Baechle ralf@gnu.org |
8 | * Carsten Langgaard, carstenl@mips.com | 8 | * Carsten Langgaard, carstenl@mips.com |
9 | * Copyright (C) 2002 MIPS Technologies, Inc. All rights reserved. | 9 | * Copyright (C) 2002 MIPS Technologies, Inc. All rights reserved. |
diff --git a/arch/mips/mm/tlb-r8k.c b/arch/mips/mm/tlb-r8k.c index 2b82f23df1a1..3d95f76c106b 100644 --- a/arch/mips/mm/tlb-r8k.c +++ b/arch/mips/mm/tlb-r8k.c | |||
@@ -3,7 +3,7 @@ | |||
3 | * License. See the file "COPYING" in the main directory of this archive | 3 | * License. See the file "COPYING" in the main directory of this archive |
4 | * for more details. | 4 | * for more details. |
5 | * | 5 | * |
6 | * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com) | 6 | * Copyright (C) 1996 David S. Miller (davem@davemloft.net) |
7 | * Copyright (C) 1997, 1998, 1999, 2000 Ralf Baechle ralf@gnu.org | 7 | * Copyright (C) 1997, 1998, 1999, 2000 Ralf Baechle ralf@gnu.org |
8 | * Carsten Langgaard, carstenl@mips.com | 8 | * Carsten Langgaard, carstenl@mips.com |
9 | * Copyright (C) 2002 MIPS Technologies, Inc. All rights reserved. | 9 | * Copyright (C) 2002 MIPS Technologies, Inc. All rights reserved. |
diff --git a/arch/mips/rb532/gpio.c b/arch/mips/rb532/gpio.c index 37de05d595e7..6c47dfeb7be3 100644 --- a/arch/mips/rb532/gpio.c +++ b/arch/mips/rb532/gpio.c | |||
@@ -185,7 +185,7 @@ int __init rb532_gpio_init(void) | |||
185 | struct resource *r; | 185 | struct resource *r; |
186 | 186 | ||
187 | r = rb532_gpio_reg0_res; | 187 | r = rb532_gpio_reg0_res; |
188 | rb532_gpio_chip->regbase = ioremap_nocache(r->start, r->end - r->start); | 188 | rb532_gpio_chip->regbase = ioremap_nocache(r->start, resource_size(r)); |
189 | 189 | ||
190 | if (!rb532_gpio_chip->regbase) { | 190 | if (!rb532_gpio_chip->regbase) { |
191 | printk(KERN_ERR "rb532: cannot remap GPIO register 0\n"); | 191 | printk(KERN_ERR "rb532: cannot remap GPIO register 0\n"); |
diff --git a/arch/mips/sgi-ip22/ip22-hpc.c b/arch/mips/sgi-ip22/ip22-hpc.c index 5c00cdd20d8e..bb70589b5f74 100644 --- a/arch/mips/sgi-ip22/ip22-hpc.c +++ b/arch/mips/sgi-ip22/ip22-hpc.c | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * ip22-hpc.c: Routines for generic manipulation of the HPC controllers. | 2 | * ip22-hpc.c: Routines for generic manipulation of the HPC controllers. |
3 | * | 3 | * |
4 | * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com) | 4 | * Copyright (C) 1996 David S. Miller (davem@davemloft.net) |
5 | * Copyright (C) 1998 Ralf Baechle | 5 | * Copyright (C) 1998 Ralf Baechle |
6 | */ | 6 | */ |
7 | 7 | ||
diff --git a/arch/mips/sgi-ip22/ip22-int.c b/arch/mips/sgi-ip22/ip22-int.c index 476423a01296..b4d08e4d2ea9 100644 --- a/arch/mips/sgi-ip22/ip22-int.c +++ b/arch/mips/sgi-ip22/ip22-int.c | |||
@@ -2,7 +2,7 @@ | |||
2 | * ip22-int.c: Routines for generic manipulation of the INT[23] ASIC | 2 | * ip22-int.c: Routines for generic manipulation of the INT[23] ASIC |
3 | * found on INDY and Indigo2 workstations. | 3 | * found on INDY and Indigo2 workstations. |
4 | * | 4 | * |
5 | * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com) | 5 | * Copyright (C) 1996 David S. Miller (davem@davemloft.net) |
6 | * Copyright (C) 1997, 1998 Ralf Baechle (ralf@gnu.org) | 6 | * Copyright (C) 1997, 1998 Ralf Baechle (ralf@gnu.org) |
7 | * Copyright (C) 1999 Andrew R. Baker (andrewb@uab.edu) | 7 | * Copyright (C) 1999 Andrew R. Baker (andrewb@uab.edu) |
8 | * - Indigo2 changes | 8 | * - Indigo2 changes |
diff --git a/arch/mips/sgi-ip22/ip22-mc.c b/arch/mips/sgi-ip22/ip22-mc.c index 5268ac187bbd..d22262ee6853 100644 --- a/arch/mips/sgi-ip22/ip22-mc.c +++ b/arch/mips/sgi-ip22/ip22-mc.c | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * ip22-mc.c: Routines for manipulating SGI Memory Controller. | 2 | * ip22-mc.c: Routines for manipulating SGI Memory Controller. |
3 | * | 3 | * |
4 | * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com) | 4 | * Copyright (C) 1996 David S. Miller (davem@davemloft.net) |
5 | * Copyright (C) 1999 Andrew R. Baker (andrewb@uab.edu) - Indigo2 changes | 5 | * Copyright (C) 1999 Andrew R. Baker (andrewb@uab.edu) - Indigo2 changes |
6 | * Copyright (C) 2003 Ladislav Michl (ladis@linux-mips.org) | 6 | * Copyright (C) 2003 Ladislav Michl (ladis@linux-mips.org) |
7 | * Copyright (C) 2004 Peter Fuerst (pf@net.alphadv.de) - IP28 | 7 | * Copyright (C) 2004 Peter Fuerst (pf@net.alphadv.de) - IP28 |
diff --git a/arch/mips/sgi-ip22/ip22-setup.c b/arch/mips/sgi-ip22/ip22-setup.c index 5deeb68b6c9c..5e6621349471 100644 --- a/arch/mips/sgi-ip22/ip22-setup.c +++ b/arch/mips/sgi-ip22/ip22-setup.c | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * ip22-setup.c: SGI specific setup, including init of the feature struct. | 2 | * ip22-setup.c: SGI specific setup, including init of the feature struct. |
3 | * | 3 | * |
4 | * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com) | 4 | * Copyright (C) 1996 David S. Miller (davem@davemloft.net) |
5 | * Copyright (C) 1997, 1998 Ralf Baechle (ralf@gnu.org) | 5 | * Copyright (C) 1997, 1998 Ralf Baechle (ralf@gnu.org) |
6 | */ | 6 | */ |
7 | #include <linux/init.h> | 7 | #include <linux/init.h> |
diff --git a/arch/s390/hypfs/hypfs.h b/arch/s390/hypfs/hypfs.h index 80c1526f2af3..d9df5a060a83 100644 --- a/arch/s390/hypfs/hypfs.h +++ b/arch/s390/hypfs/hypfs.h | |||
@@ -47,7 +47,7 @@ struct hypfs_dbfs_data { | |||
47 | void *buf; | 47 | void *buf; |
48 | void *buf_free_ptr; | 48 | void *buf_free_ptr; |
49 | size_t size; | 49 | size_t size; |
50 | struct hypfs_dbfs_file *dbfs_file;; | 50 | struct hypfs_dbfs_file *dbfs_file; |
51 | struct kref kref; | 51 | struct kref kref; |
52 | }; | 52 | }; |
53 | 53 | ||
diff --git a/arch/um/drivers/mmapper_kern.c b/arch/um/drivers/mmapper_kern.c index 7e0619c2c2c6..c0ef803c7c70 100644 --- a/arch/um/drivers/mmapper_kern.c +++ b/arch/um/drivers/mmapper_kern.c | |||
@@ -116,7 +116,7 @@ static int __init mmapper_init(void) | |||
116 | if (err) { | 116 | if (err) { |
117 | printk(KERN_ERR "mmapper - misc_register failed, err = %d\n", | 117 | printk(KERN_ERR "mmapper - misc_register failed, err = %d\n", |
118 | err); | 118 | err); |
119 | return err;; | 119 | return err; |
120 | } | 120 | } |
121 | return 0; | 121 | return 0; |
122 | } | 122 | } |
diff --git a/arch/xtensa/configs/s6105_defconfig b/arch/xtensa/configs/s6105_defconfig index 42b7feba71b7..4891abbf16bc 100644 --- a/arch/xtensa/configs/s6105_defconfig +++ b/arch/xtensa/configs/s6105_defconfig | |||
@@ -23,7 +23,6 @@ CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" | |||
23 | # | 23 | # |
24 | CONFIG_EXPERIMENTAL=y | 24 | CONFIG_EXPERIMENTAL=y |
25 | CONFIG_BROKEN_ON_SMP=y | 25 | CONFIG_BROKEN_ON_SMP=y |
26 | CONFIG_LOCK_KERNEL=y | ||
27 | CONFIG_INIT_ENV_ARG_LIMIT=32 | 26 | CONFIG_INIT_ENV_ARG_LIMIT=32 |
28 | CONFIG_LOCALVERSION="" | 27 | CONFIG_LOCALVERSION="" |
29 | CONFIG_LOCALVERSION_AUTO=y | 28 | CONFIG_LOCALVERSION_AUTO=y |
diff --git a/drivers/base/memory.c b/drivers/base/memory.c index 3da6a43b7756..89ffb4425d1d 100644 --- a/drivers/base/memory.c +++ b/drivers/base/memory.c | |||
@@ -396,15 +396,14 @@ memory_probe_store(struct class *class, struct class_attribute *attr, | |||
396 | ret = add_memory(nid, phys_addr, | 396 | ret = add_memory(nid, phys_addr, |
397 | PAGES_PER_SECTION << PAGE_SHIFT); | 397 | PAGES_PER_SECTION << PAGE_SHIFT); |
398 | if (ret) | 398 | if (ret) |
399 | break; | 399 | goto out; |
400 | 400 | ||
401 | phys_addr += MIN_MEMORY_BLOCK_SIZE; | 401 | phys_addr += MIN_MEMORY_BLOCK_SIZE; |
402 | } | 402 | } |
403 | 403 | ||
404 | if (ret) | 404 | ret = count; |
405 | count = ret; | 405 | out: |
406 | 406 | return ret; | |
407 | return count; | ||
408 | } | 407 | } |
409 | static CLASS_ATTR(probe, S_IWUSR, NULL, memory_probe_store); | 408 | static CLASS_ATTR(probe, S_IWUSR, NULL, memory_probe_store); |
410 | 409 | ||
diff --git a/drivers/gpio/langwell_gpio.c b/drivers/gpio/langwell_gpio.c index 560ab648cf18..1b06f67e1f69 100644 --- a/drivers/gpio/langwell_gpio.c +++ b/drivers/gpio/langwell_gpio.c | |||
@@ -122,7 +122,7 @@ static int lnw_gpio_direction_output(struct gpio_chip *chip, | |||
122 | lnw_gpio_set(chip, offset, value); | 122 | lnw_gpio_set(chip, offset, value); |
123 | spin_lock_irqsave(&lnw->lock, flags); | 123 | spin_lock_irqsave(&lnw->lock, flags); |
124 | value = readl(gpdr); | 124 | value = readl(gpdr); |
125 | value |= BIT(offset % 32);; | 125 | value |= BIT(offset % 32); |
126 | writel(value, gpdr); | 126 | writel(value, gpdr); |
127 | spin_unlock_irqrestore(&lnw->lock, flags); | 127 | spin_unlock_irqrestore(&lnw->lock, flags); |
128 | return 0; | 128 | return 0; |
diff --git a/drivers/gpu/drm/radeon/radeon_fence.c b/drivers/gpu/drm/radeon/radeon_fence.c index bbcd1dd7bac0..1f8229436570 100644 --- a/drivers/gpu/drm/radeon/radeon_fence.c +++ b/drivers/gpu/drm/radeon/radeon_fence.c | |||
@@ -322,7 +322,7 @@ void radeon_fence_unref(struct radeon_fence **fence) | |||
322 | 322 | ||
323 | *fence = NULL; | 323 | *fence = NULL; |
324 | if (tmp) { | 324 | if (tmp) { |
325 | kref_put(&tmp->kref, &radeon_fence_destroy); | 325 | kref_put(&tmp->kref, radeon_fence_destroy); |
326 | } | 326 | } |
327 | } | 327 | } |
328 | 328 | ||
diff --git a/drivers/gpu/drm/radeon/radeon_ring.c b/drivers/gpu/drm/radeon/radeon_ring.c index c6776e48fdde..08c0233db1b8 100644 --- a/drivers/gpu/drm/radeon/radeon_ring.c +++ b/drivers/gpu/drm/radeon/radeon_ring.c | |||
@@ -194,7 +194,7 @@ int radeon_ib_pool_init(struct radeon_device *rdev) | |||
194 | r = radeon_bo_kmap(rdev->ib_pool.robj, &ptr); | 194 | r = radeon_bo_kmap(rdev->ib_pool.robj, &ptr); |
195 | radeon_bo_unreserve(rdev->ib_pool.robj); | 195 | radeon_bo_unreserve(rdev->ib_pool.robj); |
196 | if (r) { | 196 | if (r) { |
197 | DRM_ERROR("radeon: failed to map ib poll (%d).\n", r); | 197 | DRM_ERROR("radeon: failed to map ib pool (%d).\n", r); |
198 | return r; | 198 | return r; |
199 | } | 199 | } |
200 | for (i = 0; i < RADEON_IB_POOL_SIZE; i++) { | 200 | for (i = 0; i < RADEON_IB_POOL_SIZE; i++) { |
diff --git a/drivers/gpu/drm/ttm/ttm_object.c b/drivers/gpu/drm/ttm/ttm_object.c index 75e9d6f86ba4..ebddd443d91a 100644 --- a/drivers/gpu/drm/ttm/ttm_object.c +++ b/drivers/gpu/drm/ttm/ttm_object.c | |||
@@ -206,7 +206,7 @@ void ttm_base_object_unref(struct ttm_base_object **p_base) | |||
206 | */ | 206 | */ |
207 | 207 | ||
208 | write_lock(&tdev->object_lock); | 208 | write_lock(&tdev->object_lock); |
209 | (void)kref_put(&base->refcount, &ttm_release_base); | 209 | kref_put(&base->refcount, ttm_release_base); |
210 | write_unlock(&tdev->object_lock); | 210 | write_unlock(&tdev->object_lock); |
211 | } | 211 | } |
212 | EXPORT_SYMBOL(ttm_base_object_unref); | 212 | EXPORT_SYMBOL(ttm_base_object_unref); |
diff --git a/drivers/leds/leds-mc13783.c b/drivers/leds/leds-mc13783.c index 06a5bb484707..126ca7955f6e 100644 --- a/drivers/leds/leds-mc13783.c +++ b/drivers/leds/leds-mc13783.c | |||
@@ -235,7 +235,7 @@ static int __devinit mc13783_leds_prepare(struct platform_device *pdev) | |||
235 | MC13783_LED_Cx_PERIOD; | 235 | MC13783_LED_Cx_PERIOD; |
236 | 236 | ||
237 | if (pdata->flags & MC13783_LED_TRIODE_TC3) | 237 | if (pdata->flags & MC13783_LED_TRIODE_TC3) |
238 | reg |= MC13783_LED_Cx_TRIODE_TC_BIT;; | 238 | reg |= MC13783_LED_Cx_TRIODE_TC_BIT; |
239 | 239 | ||
240 | ret = mc13783_reg_write(dev, MC13783_REG_LED_CONTROL_5, reg); | 240 | ret = mc13783_reg_write(dev, MC13783_REG_LED_CONTROL_5, reg); |
241 | if (ret) | 241 | if (ret) |
diff --git a/drivers/misc/cs5535-mfgpt.c b/drivers/misc/cs5535-mfgpt.c index d02d302ee6d5..e01e08c8c88b 100644 --- a/drivers/misc/cs5535-mfgpt.c +++ b/drivers/misc/cs5535-mfgpt.c | |||
@@ -329,7 +329,7 @@ done: | |||
329 | return err; | 329 | return err; |
330 | } | 330 | } |
331 | 331 | ||
332 | static struct platform_driver cs5535_mfgpt_drv = { | 332 | static struct platform_driver cs5535_mfgpt_driver = { |
333 | .driver = { | 333 | .driver = { |
334 | .name = DRV_NAME, | 334 | .name = DRV_NAME, |
335 | .owner = THIS_MODULE, | 335 | .owner = THIS_MODULE, |
@@ -340,7 +340,7 @@ static struct platform_driver cs5535_mfgpt_drv = { | |||
340 | 340 | ||
341 | static int __init cs5535_mfgpt_init(void) | 341 | static int __init cs5535_mfgpt_init(void) |
342 | { | 342 | { |
343 | return platform_driver_register(&cs5535_mfgpt_drv); | 343 | return platform_driver_register(&cs5535_mfgpt_driver); |
344 | } | 344 | } |
345 | 345 | ||
346 | module_init(cs5535_mfgpt_init); | 346 | module_init(cs5535_mfgpt_init); |
diff --git a/drivers/misc/ibmasm/ibmasmfs.c b/drivers/misc/ibmasm/ibmasmfs.c index d2d5d23416dd..89947723a27d 100644 --- a/drivers/misc/ibmasm/ibmasmfs.c +++ b/drivers/misc/ibmasm/ibmasmfs.c | |||
@@ -29,7 +29,7 @@ | |||
29 | 29 | ||
30 | /* | 30 | /* |
31 | * The IBMASM file virtual filesystem. It creates the following hierarchy | 31 | * The IBMASM file virtual filesystem. It creates the following hierarchy |
32 | * dymamically when mounted from user space: | 32 | * dynamically when mounted from user space: |
33 | * | 33 | * |
34 | * /ibmasm | 34 | * /ibmasm |
35 | * |-- 0 | 35 | * |-- 0 |
diff --git a/drivers/net/can/softing/softing_main.c b/drivers/net/can/softing/softing_main.c index 7a70709d5608..60a49e5a2a53 100644 --- a/drivers/net/can/softing/softing_main.c +++ b/drivers/net/can/softing/softing_main.c | |||
@@ -797,7 +797,7 @@ static __devinit int softing_pdev_probe(struct platform_device *pdev) | |||
797 | ret = -EINVAL; | 797 | ret = -EINVAL; |
798 | pres = platform_get_resource(pdev, IORESOURCE_MEM, 0); | 798 | pres = platform_get_resource(pdev, IORESOURCE_MEM, 0); |
799 | if (!pres) | 799 | if (!pres) |
800 | goto platform_resource_failed;; | 800 | goto platform_resource_failed; |
801 | card->dpram_phys = pres->start; | 801 | card->dpram_phys = pres->start; |
802 | card->dpram_size = pres->end - pres->start + 1; | 802 | card->dpram_size = pres->end - pres->start + 1; |
803 | card->dpram = ioremap_nocache(card->dpram_phys, card->dpram_size); | 803 | card->dpram = ioremap_nocache(card->dpram_phys, card->dpram_size); |
diff --git a/drivers/net/sgiseeq.c b/drivers/net/sgiseeq.c index dd03bf619988..54415c7b84a2 100644 --- a/drivers/net/sgiseeq.c +++ b/drivers/net/sgiseeq.c | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * sgiseeq.c: Seeq8003 ethernet driver for SGI machines. | 2 | * sgiseeq.c: Seeq8003 ethernet driver for SGI machines. |
3 | * | 3 | * |
4 | * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com) | 4 | * Copyright (C) 1996 David S. Miller (davem@davemloft.net) |
5 | */ | 5 | */ |
6 | 6 | ||
7 | #undef DEBUG | 7 | #undef DEBUG |
diff --git a/drivers/net/sgiseeq.h b/drivers/net/sgiseeq.h index 523104de6830..2211e2987a8d 100644 --- a/drivers/net/sgiseeq.h +++ b/drivers/net/sgiseeq.h | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * sgiseeq.h: Defines for the Seeq8003 ethernet controller. | 2 | * sgiseeq.h: Defines for the Seeq8003 ethernet controller. |
3 | * | 3 | * |
4 | * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com) | 4 | * Copyright (C) 1996 David S. Miller (davem@davemloft.net) |
5 | */ | 5 | */ |
6 | #ifndef _SGISEEQ_H | 6 | #ifndef _SGISEEQ_H |
7 | #define _SGISEEQ_H | 7 | #define _SGISEEQ_H |
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn.c b/drivers/net/wireless/iwlwifi/iwl-agn.c index 321b18b59135..d1e2eb9d76bc 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn.c +++ b/drivers/net/wireless/iwlwifi/iwl-agn.c | |||
@@ -2062,7 +2062,7 @@ static const char *desc_lookup(u32 num) | |||
2062 | max = ARRAY_SIZE(advanced_lookup) - 1; | 2062 | max = ARRAY_SIZE(advanced_lookup) - 1; |
2063 | for (i = 0; i < max; i++) { | 2063 | for (i = 0; i < max; i++) { |
2064 | if (advanced_lookup[i].num == num) | 2064 | if (advanced_lookup[i].num == num) |
2065 | break;; | 2065 | break; |
2066 | } | 2066 | } |
2067 | return advanced_lookup[i].name; | 2067 | return advanced_lookup[i].name; |
2068 | } | 2068 | } |
diff --git a/drivers/net/wireless/rtlwifi/core.c b/drivers/net/wireless/rtlwifi/core.c index e4f4aee8f298..d52fa27103c6 100644 --- a/drivers/net/wireless/rtlwifi/core.c +++ b/drivers/net/wireless/rtlwifi/core.c | |||
@@ -719,7 +719,7 @@ static void rtl_op_set_tsf(struct ieee80211_hw *hw, u64 tsf) | |||
719 | { | 719 | { |
720 | struct rtl_priv *rtlpriv = rtl_priv(hw); | 720 | struct rtl_priv *rtlpriv = rtl_priv(hw); |
721 | struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); | 721 | struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); |
722 | u8 bibss = (mac->opmode == NL80211_IFTYPE_ADHOC) ? 1 : 0;; | 722 | u8 bibss = (mac->opmode == NL80211_IFTYPE_ADHOC) ? 1 : 0; |
723 | 723 | ||
724 | mac->tsf = tsf; | 724 | mac->tsf = tsf; |
725 | rtlpriv->cfg->ops->set_hw_reg(hw, HW_VAR_CORRECT_TSF, (u8 *) (&bibss)); | 725 | rtlpriv->cfg->ops->set_hw_reg(hw, HW_VAR_CORRECT_TSF, (u8 *) (&bibss)); |
diff --git a/drivers/net/wireless/rtlwifi/pci.c b/drivers/net/wireless/rtlwifi/pci.c index 5938f6ee21e4..c3a8c0965c07 100644 --- a/drivers/net/wireless/rtlwifi/pci.c +++ b/drivers/net/wireless/rtlwifi/pci.c | |||
@@ -1226,7 +1226,7 @@ static unsigned int _rtl_mac_to_hwqueue(__le16 fc, | |||
1226 | hw_queue_index = VI_QUEUE; | 1226 | hw_queue_index = VI_QUEUE; |
1227 | break; | 1227 | break; |
1228 | case 2: | 1228 | case 2: |
1229 | hw_queue_index = BE_QUEUE;; | 1229 | hw_queue_index = BE_QUEUE; |
1230 | break; | 1230 | break; |
1231 | case 3: | 1231 | case 3: |
1232 | hw_queue_index = BK_QUEUE; | 1232 | hw_queue_index = BK_QUEUE; |
diff --git a/drivers/net/wireless/rtlwifi/rtl8192ce/hw.c b/drivers/net/wireless/rtlwifi/rtl8192ce/hw.c index 05477f465a75..7432c85a8dff 100644 --- a/drivers/net/wireless/rtlwifi/rtl8192ce/hw.c +++ b/drivers/net/wireless/rtlwifi/rtl8192ce/hw.c | |||
@@ -729,7 +729,7 @@ static bool _rtl92ce_init_mac(struct ieee80211_hw *hw) | |||
729 | rtl_write_word(rtlpriv, REG_CR, 0x2ff); | 729 | rtl_write_word(rtlpriv, REG_CR, 0x2ff); |
730 | 730 | ||
731 | if (_rtl92ce_llt_table_init(hw) == false) | 731 | if (_rtl92ce_llt_table_init(hw) == false) |
732 | return false;; | 732 | return false; |
733 | 733 | ||
734 | rtl_write_dword(rtlpriv, REG_HISR, 0xffffffff); | 734 | rtl_write_dword(rtlpriv, REG_HISR, 0xffffffff); |
735 | rtl_write_byte(rtlpriv, REG_HISRE, 0xff); | 735 | rtl_write_byte(rtlpriv, REG_HISRE, 0xff); |
@@ -786,7 +786,7 @@ static bool _rtl92ce_init_mac(struct ieee80211_hw *hw) | |||
786 | 786 | ||
787 | rtl_write_dword(rtlpriv, REG_MCUTST_1, 0x0); | 787 | rtl_write_dword(rtlpriv, REG_MCUTST_1, 0x0); |
788 | 788 | ||
789 | return true;; | 789 | return true; |
790 | } | 790 | } |
791 | 791 | ||
792 | static void _rtl92ce_hw_configure(struct ieee80211_hw *hw) | 792 | static void _rtl92ce_hw_configure(struct ieee80211_hw *hw) |
diff --git a/drivers/power/intel_mid_battery.c b/drivers/power/intel_mid_battery.c index bce3a01da2f0..cffcb7c00b00 100644 --- a/drivers/power/intel_mid_battery.c +++ b/drivers/power/intel_mid_battery.c | |||
@@ -522,7 +522,7 @@ static int pmic_battery_set_charger(struct pmic_power_module_info *pbi, | |||
522 | if (retval) { | 522 | if (retval) { |
523 | dev_warn(pbi->dev, "%s(): ipc pmic read failed\n", | 523 | dev_warn(pbi->dev, "%s(): ipc pmic read failed\n", |
524 | __func__); | 524 | __func__); |
525 | return retval;; | 525 | return retval; |
526 | } | 526 | } |
527 | 527 | ||
528 | return 0; | 528 | return 0; |
diff --git a/drivers/scsi/be2iscsi/be_main.c b/drivers/scsi/be2iscsi/be_main.c index 24e20ba9633c..44ac4aef879f 100644 --- a/drivers/scsi/be2iscsi/be_main.c +++ b/drivers/scsi/be2iscsi/be_main.c | |||
@@ -618,7 +618,7 @@ static void beiscsi_get_params(struct beiscsi_hba *phba) | |||
618 | + BE2_NOPOUT_REQ)); | 618 | + BE2_NOPOUT_REQ)); |
619 | phba->params.cxns_per_ctrl = phba->fw_config.iscsi_cid_count; | 619 | phba->params.cxns_per_ctrl = phba->fw_config.iscsi_cid_count; |
620 | phba->params.asyncpdus_per_ctrl = phba->fw_config.iscsi_cid_count * 2; | 620 | phba->params.asyncpdus_per_ctrl = phba->fw_config.iscsi_cid_count * 2; |
621 | phba->params.icds_per_ctrl = phba->fw_config.iscsi_icd_count;; | 621 | phba->params.icds_per_ctrl = phba->fw_config.iscsi_icd_count; |
622 | phba->params.num_sge_per_io = BE2_SGE; | 622 | phba->params.num_sge_per_io = BE2_SGE; |
623 | phba->params.defpdu_hdr_sz = BE2_DEFPDU_HDR_SZ; | 623 | phba->params.defpdu_hdr_sz = BE2_DEFPDU_HDR_SZ; |
624 | phba->params.defpdu_data_sz = BE2_DEFPDU_DATA_SZ; | 624 | phba->params.defpdu_data_sz = BE2_DEFPDU_DATA_SZ; |
@@ -781,7 +781,7 @@ static irqreturn_t be_isr(int irq, void *dev_id) | |||
781 | int isr; | 781 | int isr; |
782 | 782 | ||
783 | phba = dev_id; | 783 | phba = dev_id; |
784 | ctrl = &phba->ctrl;; | 784 | ctrl = &phba->ctrl; |
785 | isr = ioread32(ctrl->csr + CEV_ISR0_OFFSET + | 785 | isr = ioread32(ctrl->csr + CEV_ISR0_OFFSET + |
786 | (PCI_FUNC(ctrl->pdev->devfn) * CEV_ISR_SIZE)); | 786 | (PCI_FUNC(ctrl->pdev->devfn) * CEV_ISR_SIZE)); |
787 | if (!isr) | 787 | if (!isr) |
diff --git a/drivers/scsi/lpfc/lpfc_bsg.c b/drivers/scsi/lpfc/lpfc_bsg.c index 77b2871d96b7..3811ea9ce8e4 100644 --- a/drivers/scsi/lpfc/lpfc_bsg.c +++ b/drivers/scsi/lpfc/lpfc_bsg.c | |||
@@ -598,7 +598,7 @@ lpfc_bsg_rport_els(struct fc_bsg_job *job) | |||
598 | dd_data->context_un.iocb.cmdiocbq = cmdiocbq; | 598 | dd_data->context_un.iocb.cmdiocbq = cmdiocbq; |
599 | dd_data->context_un.iocb.rspiocbq = rspiocbq; | 599 | dd_data->context_un.iocb.rspiocbq = rspiocbq; |
600 | dd_data->context_un.iocb.set_job = job; | 600 | dd_data->context_un.iocb.set_job = job; |
601 | dd_data->context_un.iocb.bmp = NULL;; | 601 | dd_data->context_un.iocb.bmp = NULL; |
602 | dd_data->context_un.iocb.ndlp = ndlp; | 602 | dd_data->context_un.iocb.ndlp = ndlp; |
603 | 603 | ||
604 | if (phba->cfg_poll & DISABLE_FCP_RING_INT) { | 604 | if (phba->cfg_poll & DISABLE_FCP_RING_INT) { |
diff --git a/drivers/scsi/pm8001/pm8001_init.c b/drivers/scsi/pm8001/pm8001_init.c index 002360da01e3..172cefb6deb9 100644 --- a/drivers/scsi/pm8001/pm8001_init.c +++ b/drivers/scsi/pm8001/pm8001_init.c | |||
@@ -160,7 +160,7 @@ static void pm8001_free(struct pm8001_hba_info *pm8001_ha) | |||
160 | static void pm8001_tasklet(unsigned long opaque) | 160 | static void pm8001_tasklet(unsigned long opaque) |
161 | { | 161 | { |
162 | struct pm8001_hba_info *pm8001_ha; | 162 | struct pm8001_hba_info *pm8001_ha; |
163 | pm8001_ha = (struct pm8001_hba_info *)opaque;; | 163 | pm8001_ha = (struct pm8001_hba_info *)opaque; |
164 | if (unlikely(!pm8001_ha)) | 164 | if (unlikely(!pm8001_ha)) |
165 | BUG_ON(1); | 165 | BUG_ON(1); |
166 | PM8001_CHIP_DISP->isr(pm8001_ha); | 166 | PM8001_CHIP_DISP->isr(pm8001_ha); |
diff --git a/drivers/scsi/qla2xxx/qla_isr.c b/drivers/scsi/qla2xxx/qla_isr.c index 712518d05128..6c55c3ca8e05 100644 --- a/drivers/scsi/qla2xxx/qla_isr.c +++ b/drivers/scsi/qla2xxx/qla_isr.c | |||
@@ -1051,7 +1051,7 @@ qla2x00_ct_entry(scsi_qla_host_t *vha, struct req_que *req, | |||
1051 | } | 1051 | } |
1052 | DEBUG2(qla2x00_dump_buffer((uint8_t *)pkt, sizeof(*pkt))); | 1052 | DEBUG2(qla2x00_dump_buffer((uint8_t *)pkt, sizeof(*pkt))); |
1053 | } else { | 1053 | } else { |
1054 | bsg_job->reply->result = DID_OK << 16;; | 1054 | bsg_job->reply->result = DID_OK << 16; |
1055 | bsg_job->reply->reply_payload_rcv_len = | 1055 | bsg_job->reply->reply_payload_rcv_len = |
1056 | bsg_job->reply_payload.payload_len; | 1056 | bsg_job->reply_payload.payload_len; |
1057 | bsg_job->reply_len = 0; | 1057 | bsg_job->reply_len = 0; |
@@ -1146,7 +1146,7 @@ qla24xx_els_ct_entry(scsi_qla_host_t *vha, struct req_que *req, | |||
1146 | DEBUG2(qla2x00_dump_buffer((uint8_t *)pkt, sizeof(*pkt))); | 1146 | DEBUG2(qla2x00_dump_buffer((uint8_t *)pkt, sizeof(*pkt))); |
1147 | } | 1147 | } |
1148 | else { | 1148 | else { |
1149 | bsg_job->reply->result = DID_OK << 16;; | 1149 | bsg_job->reply->result = DID_OK << 16; |
1150 | bsg_job->reply->reply_payload_rcv_len = bsg_job->reply_payload.payload_len; | 1150 | bsg_job->reply->reply_payload_rcv_len = bsg_job->reply_payload.payload_len; |
1151 | bsg_job->reply_len = 0; | 1151 | bsg_job->reply_len = 0; |
1152 | } | 1152 | } |
diff --git a/drivers/scsi/sgiwd93.c b/drivers/scsi/sgiwd93.c index fef0e3c75b16..3a9d85ca6047 100644 --- a/drivers/scsi/sgiwd93.c +++ b/drivers/scsi/sgiwd93.c | |||
@@ -3,7 +3,7 @@ | |||
3 | * License. See the file "COPYING" in the main directory of this archive | 3 | * License. See the file "COPYING" in the main directory of this archive |
4 | * for more details. | 4 | * for more details. |
5 | * | 5 | * |
6 | * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com) | 6 | * Copyright (C) 1996 David S. Miller (davem@davemloft.net) |
7 | * Copyright (C) 1999 Andrew R. Baker (andrewb@uab.edu) | 7 | * Copyright (C) 1999 Andrew R. Baker (andrewb@uab.edu) |
8 | * Copyright (C) 2001 Florian Lohoff (flo@rfc822.org) | 8 | * Copyright (C) 2001 Florian Lohoff (flo@rfc822.org) |
9 | * Copyright (C) 2003, 07 Ralf Baechle (ralf@linux-mips.org) | 9 | * Copyright (C) 2003, 07 Ralf Baechle (ralf@linux-mips.org) |
diff --git a/drivers/target/target_core_alua.c b/drivers/target/target_core_alua.c index 30cbb743d9ba..47abb42d9c36 100644 --- a/drivers/target/target_core_alua.c +++ b/drivers/target/target_core_alua.c | |||
@@ -1036,7 +1036,7 @@ core_alua_allocate_lu_gp(const char *name, int def_group) | |||
1036 | lu_gp = kmem_cache_zalloc(t10_alua_lu_gp_cache, GFP_KERNEL); | 1036 | lu_gp = kmem_cache_zalloc(t10_alua_lu_gp_cache, GFP_KERNEL); |
1037 | if (!(lu_gp)) { | 1037 | if (!(lu_gp)) { |
1038 | printk(KERN_ERR "Unable to allocate struct t10_alua_lu_gp\n"); | 1038 | printk(KERN_ERR "Unable to allocate struct t10_alua_lu_gp\n"); |
1039 | return ERR_PTR(-ENOMEM);; | 1039 | return ERR_PTR(-ENOMEM); |
1040 | } | 1040 | } |
1041 | INIT_LIST_HEAD(&lu_gp->lu_gp_list); | 1041 | INIT_LIST_HEAD(&lu_gp->lu_gp_list); |
1042 | INIT_LIST_HEAD(&lu_gp->lu_gp_mem_list); | 1042 | INIT_LIST_HEAD(&lu_gp->lu_gp_mem_list); |
@@ -1044,7 +1044,7 @@ core_alua_allocate_lu_gp(const char *name, int def_group) | |||
1044 | atomic_set(&lu_gp->lu_gp_ref_cnt, 0); | 1044 | atomic_set(&lu_gp->lu_gp_ref_cnt, 0); |
1045 | 1045 | ||
1046 | if (def_group) { | 1046 | if (def_group) { |
1047 | lu_gp->lu_gp_id = se_global->alua_lu_gps_counter++;; | 1047 | lu_gp->lu_gp_id = se_global->alua_lu_gps_counter++; |
1048 | lu_gp->lu_gp_valid_id = 1; | 1048 | lu_gp->lu_gp_valid_id = 1; |
1049 | se_global->alua_lu_gps_count++; | 1049 | se_global->alua_lu_gps_count++; |
1050 | } | 1050 | } |
diff --git a/drivers/target/target_core_transport.c b/drivers/target/target_core_transport.c index 9583b23c9c84..b9d3501bdd91 100644 --- a/drivers/target/target_core_transport.c +++ b/drivers/target/target_core_transport.c | |||
@@ -2128,7 +2128,7 @@ static void transport_failure_reset_queue_depth(struct se_device *dev) | |||
2128 | { | 2128 | { |
2129 | unsigned long flags; | 2129 | unsigned long flags; |
2130 | 2130 | ||
2131 | spin_lock_irqsave(&SE_HBA(dev)->hba_queue_lock, flags);; | 2131 | spin_lock_irqsave(&SE_HBA(dev)->hba_queue_lock, flags); |
2132 | atomic_inc(&dev->depth_left); | 2132 | atomic_inc(&dev->depth_left); |
2133 | atomic_inc(&SE_HBA(dev)->left_queue_depth); | 2133 | atomic_inc(&SE_HBA(dev)->left_queue_depth); |
2134 | spin_unlock_irqrestore(&SE_HBA(dev)->hba_queue_lock, flags); | 2134 | spin_unlock_irqrestore(&SE_HBA(dev)->hba_queue_lock, flags); |
diff --git a/drivers/tty/serial/mrst_max3110.c b/drivers/tty/serial/mrst_max3110.c index 2f548af4e98a..1bd28450ca40 100644 --- a/drivers/tty/serial/mrst_max3110.c +++ b/drivers/tty/serial/mrst_max3110.c | |||
@@ -56,7 +56,7 @@ struct uart_max3110 { | |||
56 | wait_queue_head_t wq; | 56 | wait_queue_head_t wq; |
57 | struct task_struct *main_thread; | 57 | struct task_struct *main_thread; |
58 | struct task_struct *read_thread; | 58 | struct task_struct *read_thread; |
59 | struct mutex thread_mutex;; | 59 | struct mutex thread_mutex; |
60 | 60 | ||
61 | u32 baud; | 61 | u32 baud; |
62 | u16 cur_conf; | 62 | u16 cur_conf; |
diff --git a/drivers/tty/tty_ioctl.c b/drivers/tty/tty_ioctl.c index 21574cb32343..620c971422b6 100644 --- a/drivers/tty/tty_ioctl.c +++ b/drivers/tty/tty_ioctl.c | |||
@@ -309,7 +309,7 @@ EXPORT_SYMBOL(tty_termios_input_baud_rate); | |||
309 | * @ospeed: output speed | 309 | * @ospeed: output speed |
310 | * | 310 | * |
311 | * Encode the speeds set into the passed termios structure. This is | 311 | * Encode the speeds set into the passed termios structure. This is |
312 | * used as a library helper for drivers os that they can report back | 312 | * used as a library helper for drivers so that they can report back |
313 | * the actual speed selected when it differs from the speed requested | 313 | * the actual speed selected when it differs from the speed requested |
314 | * | 314 | * |
315 | * For maximal back compatibility with legacy SYS5/POSIX *nix behaviour | 315 | * For maximal back compatibility with legacy SYS5/POSIX *nix behaviour |
diff --git a/drivers/video/console/newport_con.c b/drivers/video/console/newport_con.c index 3772433c49d1..93317b5b8740 100644 --- a/drivers/video/console/newport_con.c +++ b/drivers/video/console/newport_con.c | |||
@@ -6,7 +6,7 @@ | |||
6 | * | 6 | * |
7 | * This driver is based on sgicons.c and cons_newport. | 7 | * This driver is based on sgicons.c and cons_newport. |
8 | * | 8 | * |
9 | * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com) | 9 | * Copyright (C) 1996 David S. Miller (davem@davemloft.net) |
10 | * Copyright (C) 1997 Miguel de Icaza (miguel@nuclecu.unam.mx) | 10 | * Copyright (C) 1997 Miguel de Icaza (miguel@nuclecu.unam.mx) |
11 | */ | 11 | */ |
12 | #include <linux/init.h> | 12 | #include <linux/init.h> |
diff --git a/drivers/video/msm/mddi.c b/drivers/video/msm/mddi.c index b66d86ac7cea..178b0720bd79 100644 --- a/drivers/video/msm/mddi.c +++ b/drivers/video/msm/mddi.c | |||
@@ -679,7 +679,7 @@ static int __devinit mddi_probe(struct platform_device *pdev) | |||
679 | printk(KERN_ERR "mddi: no associated mem resource!\n"); | 679 | printk(KERN_ERR "mddi: no associated mem resource!\n"); |
680 | return -ENOMEM; | 680 | return -ENOMEM; |
681 | } | 681 | } |
682 | mddi->base = ioremap(resource->start, resource->end - resource->start); | 682 | mddi->base = ioremap(resource->start, resource_size(resource)); |
683 | if (!mddi->base) { | 683 | if (!mddi->base) { |
684 | printk(KERN_ERR "mddi: failed to remap base!\n"); | 684 | printk(KERN_ERR "mddi: failed to remap base!\n"); |
685 | ret = -EINVAL; | 685 | ret = -EINVAL; |
diff --git a/drivers/video/mxsfb.c b/drivers/video/mxsfb.c index 7d0284882984..0b2f2dd41416 100644 --- a/drivers/video/mxsfb.c +++ b/drivers/video/mxsfb.c | |||
@@ -401,7 +401,7 @@ static int mxsfb_set_par(struct fb_info *fb_info) | |||
401 | writel(CTRL1_FIFO_CLEAR, host->base + LCDC_CTRL1 + REG_SET); | 401 | writel(CTRL1_FIFO_CLEAR, host->base + LCDC_CTRL1 + REG_SET); |
402 | 402 | ||
403 | ctrl = CTRL_BYPASS_COUNT | CTRL_MASTER | | 403 | ctrl = CTRL_BYPASS_COUNT | CTRL_MASTER | |
404 | CTRL_SET_BUS_WIDTH(host->ld_intf_width);; | 404 | CTRL_SET_BUS_WIDTH(host->ld_intf_width); |
405 | 405 | ||
406 | switch (fb_info->var.bits_per_pixel) { | 406 | switch (fb_info->var.bits_per_pixel) { |
407 | case 16: | 407 | case 16: |
diff --git a/drivers/watchdog/bcm63xx_wdt.c b/drivers/watchdog/bcm63xx_wdt.c index 3c5045a206dd..5064e8317521 100644 --- a/drivers/watchdog/bcm63xx_wdt.c +++ b/drivers/watchdog/bcm63xx_wdt.c | |||
@@ -248,7 +248,7 @@ static int __devinit bcm63xx_wdt_probe(struct platform_device *pdev) | |||
248 | return -ENODEV; | 248 | return -ENODEV; |
249 | } | 249 | } |
250 | 250 | ||
251 | bcm63xx_wdt_device.regs = ioremap_nocache(r->start, r->end - r->start); | 251 | bcm63xx_wdt_device.regs = ioremap_nocache(r->start, resource_size(r)); |
252 | if (!bcm63xx_wdt_device.regs) { | 252 | if (!bcm63xx_wdt_device.regs) { |
253 | dev_err(&pdev->dev, "failed to remap I/O resources\n"); | 253 | dev_err(&pdev->dev, "failed to remap I/O resources\n"); |
254 | return -ENXIO; | 254 | return -ENXIO; |
diff --git a/drivers/xen/evtchn.c b/drivers/xen/evtchn.c index ef11daf0cafe..dbc13e94b612 100644 --- a/drivers/xen/evtchn.c +++ b/drivers/xen/evtchn.c | |||
@@ -470,7 +470,7 @@ static int evtchn_open(struct inode *inode, struct file *filp) | |||
470 | 470 | ||
471 | filp->private_data = u; | 471 | filp->private_data = u; |
472 | 472 | ||
473 | return nonseekable_open(inode, filp);; | 473 | return nonseekable_open(inode, filp); |
474 | } | 474 | } |
475 | 475 | ||
476 | static int evtchn_release(struct inode *inode, struct file *filp) | 476 | static int evtchn_release(struct inode *inode, struct file *filp) |
diff --git a/drivers/xen/swiotlb-xen.c b/drivers/xen/swiotlb-xen.c index 54469c3eeacd..65ea21a97492 100644 --- a/drivers/xen/swiotlb-xen.c +++ b/drivers/xen/swiotlb-xen.c | |||
@@ -54,7 +54,7 @@ u64 start_dma_addr; | |||
54 | 54 | ||
55 | static dma_addr_t xen_phys_to_bus(phys_addr_t paddr) | 55 | static dma_addr_t xen_phys_to_bus(phys_addr_t paddr) |
56 | { | 56 | { |
57 | return phys_to_machine(XPADDR(paddr)).maddr;; | 57 | return phys_to_machine(XPADDR(paddr)).maddr; |
58 | } | 58 | } |
59 | 59 | ||
60 | static phys_addr_t xen_bus_to_phys(dma_addr_t baddr) | 60 | static phys_addr_t xen_bus_to_phys(dma_addr_t baddr) |
diff --git a/fs/logfs/readwrite.c b/fs/logfs/readwrite.c index 9e22085231b3..d8d09380c7de 100644 --- a/fs/logfs/readwrite.c +++ b/fs/logfs/readwrite.c | |||
@@ -481,7 +481,7 @@ static int inode_write_alias(struct super_block *sb, | |||
481 | val = inode_val0(inode); | 481 | val = inode_val0(inode); |
482 | break; | 482 | break; |
483 | case INODE_USED_OFS: | 483 | case INODE_USED_OFS: |
484 | val = cpu_to_be64(li->li_used_bytes);; | 484 | val = cpu_to_be64(li->li_used_bytes); |
485 | break; | 485 | break; |
486 | case INODE_SIZE_OFS: | 486 | case INODE_SIZE_OFS: |
487 | val = cpu_to_be64(i_size_read(inode)); | 487 | val = cpu_to_be64(i_size_read(inode)); |
diff --git a/fs/ocfs2/refcounttree.c b/fs/ocfs2/refcounttree.c index 5d32749c896d..3c7606cff1ab 100644 --- a/fs/ocfs2/refcounttree.c +++ b/fs/ocfs2/refcounttree.c | |||
@@ -3706,7 +3706,7 @@ int ocfs2_refcount_cow_xattr(struct inode *inode, | |||
3706 | context->cow_start = cow_start; | 3706 | context->cow_start = cow_start; |
3707 | context->cow_len = cow_len; | 3707 | context->cow_len = cow_len; |
3708 | context->ref_tree = ref_tree; | 3708 | context->ref_tree = ref_tree; |
3709 | context->ref_root_bh = ref_root_bh;; | 3709 | context->ref_root_bh = ref_root_bh; |
3710 | context->cow_object = xv; | 3710 | context->cow_object = xv; |
3711 | 3711 | ||
3712 | context->cow_duplicate_clusters = ocfs2_duplicate_clusters_by_jbd; | 3712 | context->cow_duplicate_clusters = ocfs2_duplicate_clusters_by_jbd; |
diff --git a/fs/partitions/ldm.c b/fs/partitions/ldm.c index ce4f62440425..410df07ae96d 100644 --- a/fs/partitions/ldm.c +++ b/fs/partitions/ldm.c | |||
@@ -565,7 +565,7 @@ static bool ldm_validate_partition_table(struct parsed_partitions *state) | |||
565 | 565 | ||
566 | data = read_part_sector(state, 0, §); | 566 | data = read_part_sector(state, 0, §); |
567 | if (!data) { | 567 | if (!data) { |
568 | ldm_crit ("Disk read failed."); | 568 | ldm_info ("Disk read failed."); |
569 | return false; | 569 | return false; |
570 | } | 570 | } |
571 | 571 | ||
diff --git a/fs/ufs/inode.c b/fs/ufs/inode.c index e765743cf9f3..b4d791a83207 100644 --- a/fs/ufs/inode.c +++ b/fs/ufs/inode.c | |||
@@ -409,7 +409,7 @@ out: | |||
409 | } | 409 | } |
410 | 410 | ||
411 | /** | 411 | /** |
412 | * ufs_getfrag_bloc() - `get_block_t' function, interface between UFS and | 412 | * ufs_getfrag_block() - `get_block_t' function, interface between UFS and |
413 | * readpage, writepage and so on | 413 | * readpage, writepage and so on |
414 | */ | 414 | */ |
415 | 415 | ||
diff --git a/include/linux/leds-regulator.h b/include/linux/leds-regulator.h index 5a8eb389aab8..e2337a8c90b0 100644 --- a/include/linux/leds-regulator.h +++ b/include/linux/leds-regulator.h | |||
@@ -16,7 +16,7 @@ | |||
16 | * Use "vled" as supply id when declaring the regulator consumer: | 16 | * Use "vled" as supply id when declaring the regulator consumer: |
17 | * | 17 | * |
18 | * static struct regulator_consumer_supply pcap_regulator_VVIB_consumers [] = { | 18 | * static struct regulator_consumer_supply pcap_regulator_VVIB_consumers [] = { |
19 | * { .dev_name = "leds-regulator.0", supply = "vled" }, | 19 | * { .dev_name = "leds-regulator.0", .supply = "vled" }, |
20 | * }; | 20 | * }; |
21 | * | 21 | * |
22 | * If you have several regulator driven LEDs, you can append a numerical id to | 22 | * If you have several regulator driven LEDs, you can append a numerical id to |
diff --git a/include/video/newport.h b/include/video/newport.h index 3d7c4b492ec6..de980a3b60c9 100644 --- a/include/video/newport.h +++ b/include/video/newport.h | |||
@@ -3,7 +3,7 @@ | |||
3 | * newport.h: Defines and register layout for NEWPORT graphics | 3 | * newport.h: Defines and register layout for NEWPORT graphics |
4 | * hardware. | 4 | * hardware. |
5 | * | 5 | * |
6 | * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com) | 6 | * Copyright (C) 1996 David S. Miller (davem@davemloft.net) |
7 | * | 7 | * |
8 | * Ulf Carlsson - Compatibility with the IRIX structures added | 8 | * Ulf Carlsson - Compatibility with the IRIX structures added |
9 | */ | 9 | */ |
diff --git a/kernel/Kconfig.locks b/kernel/Kconfig.locks index 88c92fb44618..5068e2a4e75f 100644 --- a/kernel/Kconfig.locks +++ b/kernel/Kconfig.locks | |||
@@ -199,4 +199,4 @@ config INLINE_WRITE_UNLOCK_IRQRESTORE | |||
199 | def_bool !DEBUG_SPINLOCK && ARCH_INLINE_WRITE_UNLOCK_IRQRESTORE | 199 | def_bool !DEBUG_SPINLOCK && ARCH_INLINE_WRITE_UNLOCK_IRQRESTORE |
200 | 200 | ||
201 | config MUTEX_SPIN_ON_OWNER | 201 | config MUTEX_SPIN_ON_OWNER |
202 | def_bool SMP && !DEBUG_MUTEXES && !HAVE_DEFAULT_NO_SPIN_MUTEXES | 202 | def_bool SMP && !DEBUG_MUTEXES |
diff --git a/kernel/pm_qos_params.c b/kernel/pm_qos_params.c index 0da058bff8eb..beb184689af9 100644 --- a/kernel/pm_qos_params.c +++ b/kernel/pm_qos_params.c | |||
@@ -385,7 +385,7 @@ static ssize_t pm_qos_power_read(struct file *filp, char __user *buf, | |||
385 | s32 value; | 385 | s32 value; |
386 | unsigned long flags; | 386 | unsigned long flags; |
387 | struct pm_qos_object *o; | 387 | struct pm_qos_object *o; |
388 | struct pm_qos_request_list *pm_qos_req = filp->private_data;; | 388 | struct pm_qos_request_list *pm_qos_req = filp->private_data; |
389 | 389 | ||
390 | if (!pm_qos_req) | 390 | if (!pm_qos_req) |
391 | return -EINVAL; | 391 | return -EINVAL; |
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index c768bcdda1b7..a86bec1ffee3 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug | |||
@@ -7,7 +7,8 @@ config PRINTK_TIME | |||
7 | included in printk output. This allows you to measure | 7 | included in printk output. This allows you to measure |
8 | the interval between kernel operations, including bootup | 8 | the interval between kernel operations, including bootup |
9 | operations. This is useful for identifying long delays | 9 | operations. This is useful for identifying long delays |
10 | in kernel startup. | 10 | in kernel startup. Or add printk.time=1 at boot-time. |
11 | See Documentation/kernel-parameters.txt | ||
11 | 12 | ||
12 | config DEFAULT_MESSAGE_LOGLEVEL | 13 | config DEFAULT_MESSAGE_LOGLEVEL |
13 | int "Default message log level (1-7)" | 14 | int "Default message log level (1-7)" |
diff --git a/lib/vsprintf.c b/lib/vsprintf.c index bc0ac6b333dc..dba35d1985c9 100644 --- a/lib/vsprintf.c +++ b/lib/vsprintf.c | |||
@@ -1161,8 +1161,7 @@ qualifier: | |||
1161 | * return is greater than or equal to @size, the resulting | 1161 | * return is greater than or equal to @size, the resulting |
1162 | * string is truncated. | 1162 | * string is truncated. |
1163 | * | 1163 | * |
1164 | * Call this function if you are already dealing with a va_list. | 1164 | * If you're not already dealing with a va_list consider using snprintf(). |
1165 | * You probably want snprintf() instead. | ||
1166 | */ | 1165 | */ |
1167 | int vsnprintf(char *buf, size_t size, const char *fmt, va_list args) | 1166 | int vsnprintf(char *buf, size_t size, const char *fmt, va_list args) |
1168 | { | 1167 | { |
@@ -1336,8 +1335,7 @@ EXPORT_SYMBOL(vsnprintf); | |||
1336 | * the @buf not including the trailing '\0'. If @size is == 0 the function | 1335 | * the @buf not including the trailing '\0'. If @size is == 0 the function |
1337 | * returns 0. | 1336 | * returns 0. |
1338 | * | 1337 | * |
1339 | * Call this function if you are already dealing with a va_list. | 1338 | * If you're not already dealing with a va_list consider using scnprintf(). |
1340 | * You probably want scnprintf() instead. | ||
1341 | * | 1339 | * |
1342 | * See the vsnprintf() documentation for format string extensions over C99. | 1340 | * See the vsnprintf() documentation for format string extensions over C99. |
1343 | */ | 1341 | */ |
@@ -1416,8 +1414,7 @@ EXPORT_SYMBOL(scnprintf); | |||
1416 | * into @buf. Use vsnprintf() or vscnprintf() in order to avoid | 1414 | * into @buf. Use vsnprintf() or vscnprintf() in order to avoid |
1417 | * buffer overflows. | 1415 | * buffer overflows. |
1418 | * | 1416 | * |
1419 | * Call this function if you are already dealing with a va_list. | 1417 | * If you're not already dealing with a va_list consider using sprintf(). |
1420 | * You probably want sprintf() instead. | ||
1421 | * | 1418 | * |
1422 | * See the vsnprintf() documentation for format string extensions over C99. | 1419 | * See the vsnprintf() documentation for format string extensions over C99. |
1423 | */ | 1420 | */ |
diff --git a/mm/hugetlb.c b/mm/hugetlb.c index 8ee3bd8ec5b5..bbb4a5bbb958 100644 --- a/mm/hugetlb.c +++ b/mm/hugetlb.c | |||
@@ -475,7 +475,7 @@ static struct page *dequeue_huge_page_vma(struct hstate *h, | |||
475 | 475 | ||
476 | /* If reserves cannot be used, ensure enough pages are in the pool */ | 476 | /* If reserves cannot be used, ensure enough pages are in the pool */ |
477 | if (avoid_reserve && h->free_huge_pages - h->resv_huge_pages == 0) | 477 | if (avoid_reserve && h->free_huge_pages - h->resv_huge_pages == 0) |
478 | goto err;; | 478 | goto err; |
479 | 479 | ||
480 | for_each_zone_zonelist_nodemask(zone, z, zonelist, | 480 | for_each_zone_zonelist_nodemask(zone, z, zonelist, |
481 | MAX_NR_ZONES - 1, nodemask) { | 481 | MAX_NR_ZONES - 1, nodemask) { |
diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 9f8a97b9a350..df9fc3385fb2 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c | |||
@@ -3514,7 +3514,7 @@ static void setup_pagelist_highmark(struct per_cpu_pageset *p, | |||
3514 | pcp->batch = PAGE_SHIFT * 8; | 3514 | pcp->batch = PAGE_SHIFT * 8; |
3515 | } | 3515 | } |
3516 | 3516 | ||
3517 | static __meminit void setup_zone_pageset(struct zone *zone) | 3517 | static void setup_zone_pageset(struct zone *zone) |
3518 | { | 3518 | { |
3519 | int cpu; | 3519 | int cpu; |
3520 | 3520 | ||
diff --git a/net/netfilter/ipset/ip_set_bitmap_ip.c b/net/netfilter/ipset/ip_set_bitmap_ip.c index a113ff066928..ba2d16607f48 100644 --- a/net/netfilter/ipset/ip_set_bitmap_ip.c +++ b/net/netfilter/ipset/ip_set_bitmap_ip.c | |||
@@ -293,7 +293,7 @@ bitmap_ip_uadt(struct ip_set *set, struct nlattr *tb[], | |||
293 | 293 | ||
294 | for (; !before(ip_to, ip); ip += map->hosts) { | 294 | for (; !before(ip_to, ip); ip += map->hosts) { |
295 | id = ip_to_id(map, ip); | 295 | id = ip_to_id(map, ip); |
296 | ret = adtfn(set, &id, timeout);; | 296 | ret = adtfn(set, &id, timeout); |
297 | 297 | ||
298 | if (ret && !ip_set_eexist(ret, flags)) | 298 | if (ret && !ip_set_eexist(ret, flags)) |
299 | return ret; | 299 | return ret; |
diff --git a/net/sunrpc/addr.c b/net/sunrpc/addr.c index 1419d0cdbbac..4195233c4914 100644 --- a/net/sunrpc/addr.c +++ b/net/sunrpc/addr.c | |||
@@ -151,7 +151,7 @@ static size_t rpc_pton4(const char *buf, const size_t buflen, | |||
151 | return 0; | 151 | return 0; |
152 | 152 | ||
153 | sin->sin_family = AF_INET; | 153 | sin->sin_family = AF_INET; |
154 | return sizeof(struct sockaddr_in);; | 154 | return sizeof(struct sockaddr_in); |
155 | } | 155 | } |
156 | 156 | ||
157 | #if defined(CONFIG_IPV6) || defined(CONFIG_IPV6_MODULE) | 157 | #if defined(CONFIG_IPV6) || defined(CONFIG_IPV6_MODULE) |
diff --git a/security/selinux/selinuxfs.c b/security/selinux/selinuxfs.c index ea39cb742ae5..47b7d624a6e1 100644 --- a/security/selinux/selinuxfs.c +++ b/security/selinux/selinuxfs.c | |||
@@ -280,7 +280,7 @@ static ssize_t sel_write_disable(struct file *file, const char __user *buf, | |||
280 | 280 | ||
281 | length = -ENOMEM; | 281 | length = -ENOMEM; |
282 | if (count >= PAGE_SIZE) | 282 | if (count >= PAGE_SIZE) |
283 | goto out;; | 283 | goto out; |
284 | 284 | ||
285 | /* No partial writes. */ | 285 | /* No partial writes. */ |
286 | length = -EINVAL; | 286 | length = -EINVAL; |
@@ -876,12 +876,12 @@ static ssize_t sel_write_user(struct file *file, char *buf, size_t size) | |||
876 | 876 | ||
877 | length = task_has_security(current, SECURITY__COMPUTE_USER); | 877 | length = task_has_security(current, SECURITY__COMPUTE_USER); |
878 | if (length) | 878 | if (length) |
879 | goto out;; | 879 | goto out; |
880 | 880 | ||
881 | length = -ENOMEM; | 881 | length = -ENOMEM; |
882 | con = kzalloc(size + 1, GFP_KERNEL); | 882 | con = kzalloc(size + 1, GFP_KERNEL); |
883 | if (!con) | 883 | if (!con) |
884 | goto out;; | 884 | goto out; |
885 | 885 | ||
886 | length = -ENOMEM; | 886 | length = -ENOMEM; |
887 | user = kzalloc(size + 1, GFP_KERNEL); | 887 | user = kzalloc(size + 1, GFP_KERNEL); |
@@ -941,7 +941,7 @@ static ssize_t sel_write_member(struct file *file, char *buf, size_t size) | |||
941 | length = -ENOMEM; | 941 | length = -ENOMEM; |
942 | scon = kzalloc(size + 1, GFP_KERNEL); | 942 | scon = kzalloc(size + 1, GFP_KERNEL); |
943 | if (!scon) | 943 | if (!scon) |
944 | goto out;; | 944 | goto out; |
945 | 945 | ||
946 | length = -ENOMEM; | 946 | length = -ENOMEM; |
947 | tcon = kzalloc(size + 1, GFP_KERNEL); | 947 | tcon = kzalloc(size + 1, GFP_KERNEL); |
diff --git a/tools/power/x86/turbostat/turbostat.c b/tools/power/x86/turbostat/turbostat.c index 362a0cb448db..6d8ef4a3a9b5 100644 --- a/tools/power/x86/turbostat/turbostat.c +++ b/tools/power/x86/turbostat/turbostat.c | |||
@@ -990,7 +990,7 @@ int fork_it(char **argv) | |||
990 | if (!retval) | 990 | if (!retval) |
991 | print_counters(cnt_delta); | 991 | print_counters(cnt_delta); |
992 | 992 | ||
993 | fprintf(stderr, "%.6f sec\n", tv_delta.tv_sec + tv_delta.tv_usec/1000000.0);; | 993 | fprintf(stderr, "%.6f sec\n", tv_delta.tv_sec + tv_delta.tv_usec/1000000.0); |
994 | 994 | ||
995 | return 0; | 995 | return 0; |
996 | } | 996 | } |