Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial

* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (34 commits)
trivial: fix typo in aic7xxx comment
trivial: fix comment typo in drivers/ata/pata_hpt37x.c
trivial: typo in kernel-parameters.txt
trivial: fix typo in tracing documentation
trivial: add __init/__exit macros in drivers/gpio/bt8xxgpio.c
trivial: add __init macro/ fix of __exit macro location in ipmi_poweroff.c
trivial: remove unnecessary semicolons
trivial: Fix duplicated word "options" in comment
trivial: kbuild: remove extraneous blank line after declaration of usage()
trivial: improve help text for mm debug config options
trivial: doc: hpfall: accept disk device to unload as argument
trivial: doc: hpfall: reduce risk that hpfall can do harm
trivial: SubmittingPatches: Fix reference to renumbered step
trivial: fix typos "man[ae]g?ment" -> "management"
trivial: media/video/cx88: add __init/__exit macros to cx88 drivers
trivial: fix typo in CONFIG_DEBUG_FS in gcov doc
trivial: fix missing printk space in amd_k7_smp_check
trivial: fix typo s/ketymap/keymap/ in comment
trivial: fix typo "to to" in multiple files
trivial: fix typos in comments s/DGBU/DBGU/
...

+295 -262
+1 -1
Documentation/DocBook/mtdnand.tmpl
··· 568 568 <para> 569 569 The blocks in which the tables are stored are procteted against 570 570 accidental access by marking them bad in the memory bad block 571 - table. The bad block table managment functions are allowed 571 + table. The bad block table management functions are allowed 572 572 to circumvernt this protection. 573 573 </para> 574 574 <para>
+1 -1
Documentation/DocBook/scsi.tmpl
··· 317 317 <para> 318 318 The SAS transport class contains common code to deal with SAS HBAs, 319 319 an aproximated representation of SAS topologies in the driver model, 320 - and various sysfs attributes to expose these topologies and managment 320 + and various sysfs attributes to expose these topologies and management 321 321 interfaces to userspace. 322 322 </para> 323 323 <para>
+1 -1
Documentation/SubmittingPatches
··· 183 183 a man-pages patch, or at least a notification of the change, 184 184 so that some information makes its way into the manual pages. 185 185 186 - Even if the maintainer did not respond in step #4, make sure to ALWAYS 186 + Even if the maintainer did not respond in step #5, make sure to ALWAYS 187 187 copy the maintainer when you change their code. 188 188 189 189 For small patches you may want to CC the Trivial Patch Monkey
+1 -1
Documentation/filesystems/nfsroot.txt
··· 105 105 the client address and this parameter is NOT empty only 106 106 replies from the specified server are accepted. 107 107 108 - Only required for for NFS root. That is autoconfiguration 108 + Only required for NFS root. That is autoconfiguration 109 109 will not be triggered if it is missing and NFS root is not 110 110 in operation. 111 111
+1 -1
Documentation/gcov.txt
··· 47 47 48 48 Configure the kernel with: 49 49 50 - CONFIG_DEBUGFS=y 50 + CONFIG_DEBUG_FS=y 51 51 CONFIG_GCOV_KERNEL=y 52 52 53 53 and to get coverage data for the entire kernel:
+76 -31
Documentation/hwmon/hpfall.c
··· 16 16 #include <stdint.h> 17 17 #include <errno.h> 18 18 #include <signal.h> 19 + #include <sys/mman.h> 20 + #include <sched.h> 21 + 22 + char unload_heads_path[64]; 23 + 24 + int set_unload_heads_path(char *device) 25 + { 26 + char devname[64]; 27 + 28 + if (strlen(device) <= 5 || strncmp(device, "/dev/", 5) != 0) 29 + return -EINVAL; 30 + strncpy(devname, device + 5, sizeof(devname)); 31 + 32 + snprintf(unload_heads_path, sizeof(unload_heads_path), 33 + "/sys/block/%s/device/unload_heads", devname); 34 + return 0; 35 + } 36 + int valid_disk(void) 37 + { 38 + int fd = open(unload_heads_path, O_RDONLY); 39 + if (fd < 0) { 40 + perror(unload_heads_path); 41 + return 0; 42 + } 43 + 44 + close(fd); 45 + return 1; 46 + } 19 47 20 48 void write_int(char *path, int i) 21 49 { ··· 68 40 69 41 void protect(int seconds) 70 42 { 71 - write_int("/sys/block/sda/device/unload_heads", seconds*1000); 43 + write_int(unload_heads_path, seconds*1000); 72 44 } 73 45 74 46 int on_ac(void) ··· 85 57 { 86 58 protect(0); 87 59 set_led(0); 88 - 89 60 } 90 61 91 - int main(int argc, char* argv[]) 62 + int main(int argc, char **argv) 92 63 { 93 - int fd, ret; 64 + int fd, ret; 65 + struct sched_param param; 94 66 95 - fd = open("/dev/freefall", O_RDONLY); 96 - if (fd < 0) { 97 - perror("open"); 98 - return EXIT_FAILURE; 99 - } 67 + if (argc == 1) 68 + ret = set_unload_heads_path("/dev/sda"); 69 + else if (argc == 2) 70 + ret = set_unload_heads_path(argv[1]); 71 + else 72 + ret = -EINVAL; 73 + 74 + if (ret || !valid_disk()) { 75 + fprintf(stderr, "usage: %s <device> (default: /dev/sda)\n", 76 + argv[0]); 77 + exit(1); 78 + } 79 + 80 + fd = open("/dev/freefall", O_RDONLY); 81 + if (fd < 0) { 82 + perror("/dev/freefall"); 83 + return EXIT_FAILURE; 84 + } 85 + 86 + daemon(0, 0); 87 + param.sched_priority = sched_get_priority_max(SCHED_FIFO); 88 + sched_setscheduler(0, SCHED_FIFO, &param); 89 + mlockall(MCL_CURRENT|MCL_FUTURE); 100 90 101 91 signal(SIGALRM, ignore_me); 102 92 103 - for (;;) { 104 - unsigned char count; 93 + for (;;) { 94 + unsigned char count; 105 95 106 - ret = read(fd, &count, sizeof(count)); 107 - alarm(0); 108 - if ((ret == -1) && (errno == EINTR)) { 109 - /* Alarm expired, time to unpark the heads */ 110 - continue; 111 - } 96 + ret = read(fd, &count, sizeof(count)); 97 + alarm(0); 98 + if ((ret == -1) && (errno == EINTR)) { 99 + /* Alarm expired, time to unpark the heads */ 100 + continue; 101 + } 112 102 113 - if (ret != sizeof(count)) { 114 - perror("read"); 115 - break; 116 - } 103 + if (ret != sizeof(count)) { 104 + perror("read"); 105 + break; 106 + } 117 107 118 - protect(21); 119 - set_led(1); 120 - if (1 || on_ac() || lid_open()) { 121 - alarm(2); 122 - } else { 123 - alarm(20); 124 - } 125 - } 108 + protect(21); 109 + set_led(1); 110 + if (1 || on_ac() || lid_open()) 111 + alarm(2); 112 + else 113 + alarm(20); 114 + } 126 115 127 - close(fd); 128 - return EXIT_SUCCESS; 116 + close(fd); 117 + return EXIT_SUCCESS; 129 118 }
+1 -1
Documentation/hwmon/pc87427
··· 34 34 signal. Speeds down to 83 RPM can be measured. 35 35 36 36 An alarm is triggered if the rotation speed drops below a programmable 37 - limit. Another alarm is triggered if the speed is too low to to be measured 37 + limit. Another alarm is triggered if the speed is too low to be measured 38 38 (including stalled or missing fan).
+1 -1
Documentation/kernel-parameters.txt
··· 933 933 1 -- enable informational integrity auditing messages. 934 934 935 935 ima_hash= [IMA] 936 - Formt: { "sha1" | "md5" } 936 + Format: { "sha1" | "md5" } 937 937 default: "sha1" 938 938 939 939 ima_tcb [IMA]
+1 -1
Documentation/networking/regulatory.txt
··· 96 96 97 97 This example comes from the zd1211rw device driver. You can start 98 98 by having a mapping of your device's EEPROM country/regulatory 99 - domain value to to a specific alpha2 as follows: 99 + domain value to a specific alpha2 as follows: 100 100 101 101 static struct zd_reg_alpha2_map reg_alpha2_map[] = { 102 102 { ZD_REGDOMAIN_FCC, "US" },
+1 -1
Documentation/powerpc/dts-bindings/marvell.txt
··· 32 32 devices. This field represents the number of cells needed to 33 33 represent the address of the memory-mapped registers of devices 34 34 within the system controller chip. 35 - - #size-cells : Size representation for for the memory-mapped 35 + - #size-cells : Size representation for the memory-mapped 36 36 registers within the system controller chip. 37 37 - #interrupt-cells : Defines the width of cells used to represent 38 38 interrupts.
+1 -1
Documentation/scsi/ChangeLog.megaraid
··· 514 514 515 515 v. Remove redundant __megaraid_busywait_mbox routine 516 516 517 - vi. Fix bug in the managment module, which causes a system lockup when the 517 + vi. Fix bug in the management module, which causes a system lockup when the 518 518 IO module is loaded and then unloaded, followed by executing any 519 519 management utility. The current version of management module does not 520 520 handle the adapter unregister properly.
+1 -1
Documentation/scsi/scsi_fc_transport.txt
··· 378 378 int vport_disable(struct fc_vport *vport, bool disable) 379 379 380 380 where: 381 - vport: Is vport to to be enabled or disabled 381 + vport: Is vport to be enabled or disabled 382 382 disable: If "true", the vport is to be disabled. 383 383 If "false", the vport is to be enabled. 384 384
+1 -1
Documentation/sound/alsa/HD-Audio-Models.txt
··· 387 387 STAC92HD83* 388 388 =========== 389 389 ref Reference board 390 - mic-ref Reference board with power managment for ports 390 + mic-ref Reference board with power management for ports 391 391 dell-s14 Dell laptop 392 392 auto BIOS setup (default) 393 393
+17 -13
Documentation/sysctl/kernel.txt
··· 319 319 space randomization that is used in the system, for architectures 320 320 that support this feature. 321 321 322 - 0 - Turn the process address space randomization off by default. 322 + 0 - Turn the process address space randomization off. This is the 323 + default for architectures that do not support this feature anyways, 324 + and kernels that are booted with the "norandmaps" parameter. 323 325 324 326 1 - Make the addresses of mmap base, stack and VDSO page randomized. 325 327 This, among other things, implies that shared libraries will be 326 - loaded to random addresses. Also for PIE-linked binaries, the location 327 - of code start is randomized. 328 + loaded to random addresses. Also for PIE-linked binaries, the 329 + location of code start is randomized. This is the default if the 330 + CONFIG_COMPAT_BRK option is enabled. 328 331 329 - With heap randomization, the situation is a little bit more 330 - complicated. 331 - There a few legacy applications out there (such as some ancient 332 + 2 - Additionally enable heap randomization. This is the default if 333 + CONFIG_COMPAT_BRK is disabled. 334 + 335 + There are a few legacy applications out there (such as some ancient 332 336 versions of libc.so.5 from 1996) that assume that brk area starts 333 - just after the end of the code+bss. These applications break when 334 - start of the brk area is randomized. There are however no known 337 + just after the end of the code+bss. These applications break when 338 + start of the brk area is randomized. There are however no known 335 339 non-legacy applications that would be broken this way, so for most 336 - systems it is safe to choose full randomization. However there is 337 - a CONFIG_COMPAT_BRK option for systems with ancient and/or broken 338 - binaries, that makes heap non-randomized, but keeps all other 339 - parts of process address space randomized if randomize_va_space 340 - sysctl is turned on. 340 + systems it is safe to choose full randomization. 341 + 342 + Systems with ancient and/or broken binaries should be configured 343 + with CONFIG_COMPAT_BRK enabled, which excludes the heap from process 344 + address space randomization. 341 345 342 346 ============================================================== 343 347
+1 -1
Documentation/trace/events.txt
··· 72 72 73 73 # echo 1 > /sys/kernel/debug/tracing/events/sched/enable 74 74 75 - To eanble all events: 75 + To enable all events: 76 76 77 77 # echo 1 > /sys/kernel/debug/tracing/events/enable 78 78
+1 -1
Documentation/trace/ftrace.txt
··· 133 133 than requested, the rest of the page will be used, 134 134 making the actual allocation bigger than requested. 135 135 ( Note, the size may not be a multiple of the page size 136 - due to buffer managment overhead. ) 136 + due to buffer management overhead. ) 137 137 138 138 This can only be updated when the current_tracer 139 139 is set to "nop".
+1 -1
MAINTAINERS
··· 2958 2958 KERNEL JANITORS 2959 2959 L: kernel-janitors@vger.kernel.org 2960 2960 W: http://www.kerneljanitors.org/ 2961 - S: Odd fixes 2961 + S: Maintained 2962 2962 2963 2963 KERNEL NFSD, SUNRPC, AND LOCKD SERVERS 2964 2964 M: "J. Bruce Fields" <bfields@fieldses.org>
+1 -1
arch/arm/Makefile
··· 25 25 # Select a platform tht is kept up-to-date 26 26 KBUILD_DEFCONFIG := versatile_defconfig 27 27 28 - # defines filename extension depending memory manement type. 28 + # defines filename extension depending memory management type. 29 29 ifeq ($(CONFIG_MMU),) 30 30 MMUEXT := -nommu 31 31 endif
+1 -1
arch/arm/mach-at91/board-afeb-9260v1.c
··· 53 53 /* Initialize processor: 18.432 MHz crystal */ 54 54 at91sam9260_initialize(18432000); 55 55 56 - /* DGBU on ttyS0. (Rx & Tx only) */ 56 + /* DBGU on ttyS0. (Rx & Tx only) */ 57 57 at91_register_uart(0, 0, 0); 58 58 59 59 /* USART0 on ttyS1. (Rx, Tx, CTS, RTS, DTR, DSR, DCD, RI) */
+1 -1
arch/arm/mach-at91/board-cam60.c
··· 50 50 /* Initialize processor: 10 MHz crystal */ 51 51 at91sam9260_initialize(10000000); 52 52 53 - /* DGBU on ttyS0. (Rx & Tx only) */ 53 + /* DBGU on ttyS0. (Rx & Tx only) */ 54 54 at91_register_uart(0, 0, 0); 55 55 56 56 /* set serial console to ttyS0 (ie, DBGU) */
+1 -1
arch/arm/mach-at91/board-neocore926.c
··· 56 56 /* Initialize processor: 20 MHz crystal */ 57 57 at91sam9263_initialize(20000000); 58 58 59 - /* DGBU on ttyS0. (Rx & Tx only) */ 59 + /* DBGU on ttyS0. (Rx & Tx only) */ 60 60 at91_register_uart(0, 0, 0); 61 61 62 62 /* USART0 on ttyS1. (Rx, Tx, RTS, CTS) */
+1 -1
arch/arm/mach-at91/board-qil-a9260.c
··· 53 53 /* Initialize processor: 12.000 MHz crystal */ 54 54 at91sam9260_initialize(12000000); 55 55 56 - /* DGBU on ttyS0. (Rx & Tx only) */ 56 + /* DBGU on ttyS0. (Rx & Tx only) */ 57 57 at91_register_uart(0, 0, 0); 58 58 59 59 /* USART0 on ttyS1. (Rx, Tx, CTS, RTS, DTR, DSR, DCD, RI) */
+1 -1
arch/arm/mach-at91/board-sam9260ek.c
··· 54 54 /* Initialize processor: 18.432 MHz crystal */ 55 55 at91sam9260_initialize(18432000); 56 56 57 - /* DGBU on ttyS0. (Rx & Tx only) */ 57 + /* DBGU on ttyS0. (Rx & Tx only) */ 58 58 at91_register_uart(0, 0, 0); 59 59 60 60 /* USART0 on ttyS1. (Rx, Tx, CTS, RTS, DTR, DSR, DCD, RI) */
+1 -1
arch/arm/mach-at91/board-sam9261ek.c
··· 61 61 /* Setup the LEDs */ 62 62 at91_init_leds(AT91_PIN_PA13, AT91_PIN_PA14); 63 63 64 - /* DGBU on ttyS0. (Rx & Tx only) */ 64 + /* DBGU on ttyS0. (Rx & Tx only) */ 65 65 at91_register_uart(0, 0, 0); 66 66 67 67 /* set serial console to ttyS0 (ie, DBGU) */
+1 -1
arch/arm/mach-at91/board-sam9263ek.c
··· 57 57 /* Initialize processor: 16.367 MHz crystal */ 58 58 at91sam9263_initialize(16367660); 59 59 60 - /* DGBU on ttyS0. (Rx & Tx only) */ 60 + /* DBGU on ttyS0. (Rx & Tx only) */ 61 61 at91_register_uart(0, 0, 0); 62 62 63 63 /* USART0 on ttyS1. (Rx, Tx, RTS, CTS) */
+1 -1
arch/arm/mach-at91/board-sam9g20ek.c
··· 50 50 /* Initialize processor: 18.432 MHz crystal */ 51 51 at91sam9260_initialize(18432000); 52 52 53 - /* DGBU on ttyS0. (Rx & Tx only) */ 53 + /* DBGU on ttyS0. (Rx & Tx only) */ 54 54 at91_register_uart(0, 0, 0); 55 55 56 56 /* USART0 on ttyS1. (Rx, Tx, CTS, RTS, DTR, DSR, DCD, RI) */
+1 -1
arch/arm/mach-at91/board-sam9rlek.c
··· 43 43 /* Initialize processor: 12.000 MHz crystal */ 44 44 at91sam9rl_initialize(12000000); 45 45 46 - /* DGBU on ttyS0. (Rx & Tx only) */ 46 + /* DBGU on ttyS0. (Rx & Tx only) */ 47 47 at91_register_uart(0, 0, 0); 48 48 49 49 /* USART0 on ttyS1. (Rx, Tx, CTS, RTS) */
+1 -1
arch/arm/mach-at91/board-usb-a9260.c
··· 53 53 /* Initialize processor: 12.000 MHz crystal */ 54 54 at91sam9260_initialize(12000000); 55 55 56 - /* DGBU on ttyS0. (Rx & Tx only) */ 56 + /* DBGU on ttyS0. (Rx & Tx only) */ 57 57 at91_register_uart(0, 0, 0); 58 58 59 59 /* set serial console to ttyS0 (ie, DBGU) */
+1 -1
arch/arm/mach-at91/board-usb-a9263.c
··· 52 52 /* Initialize processor: 12.00 MHz crystal */ 53 53 at91sam9263_initialize(12000000); 54 54 55 - /* DGBU on ttyS0. (Rx & Tx only) */ 55 + /* DBGU on ttyS0. (Rx & Tx only) */ 56 56 at91_register_uart(0, 0, 0); 57 57 58 58 /* set serial console to ttyS0 (ie, DBGU) */
+1 -1
arch/blackfin/mach-bf538/include/mach/defBF539.h
··· 2325 2325 #define AMBEN_B0_B1 0x0004 /* Enable Asynchronous Memory Banks 0 & 1 only */ 2326 2326 #define AMBEN_B0_B1_B2 0x0006 /* Enable Asynchronous Memory Banks 0, 1, and 2 */ 2327 2327 #define AMBEN_ALL 0x0008 /* Enable Asynchronous Memory Banks (all) 0, 1, 2, and 3 */ 2328 - #define CDPRIO 0x0100 /* DMA has priority over core for for external accesses */ 2328 + #define CDPRIO 0x0100 /* DMA has priority over core for external accesses */ 2329 2329 2330 2330 /* EBIU_AMGCTL Bit Positions */ 2331 2331 #define AMCKEN_P 0x0000 /* Enable CLKOUT */
+1 -1
arch/frv/lib/cache.S
··· 1 - /* cache.S: cache managment routines 1 + /* cache.S: cache management routines 2 2 * 3 3 * Copyright (C) 2004 Red Hat, Inc. All Rights Reserved. 4 4 * Written by David Howells (dhowells@redhat.com)
-1
arch/h8300/kernel/timer/tpu.c
··· 7 7 * 8 8 */ 9 9 10 - #include <linux/config.h> 11 10 #include <linux/errno.h> 12 11 #include <linux/sched.h> 13 12 #include <linux/kernel.h>
+1 -1
arch/ia64/ia32/sys_ia32.c
··· 1270 1270 case PT_CS: 1271 1271 if (value != __USER_CS) 1272 1272 printk(KERN_ERR 1273 - "ia32.putreg: attempt to to set invalid segment register %d = %x\n", 1273 + "ia32.putreg: attempt to set invalid segment register %d = %x\n", 1274 1274 regno, value); 1275 1275 break; 1276 1276 default:
+2 -2
arch/mn10300/include/asm/cacheflush.h
··· 17 17 #include <linux/mm.h> 18 18 19 19 /* 20 - * virtually-indexed cache managment (our cache is physically indexed) 20 + * virtually-indexed cache management (our cache is physically indexed) 21 21 */ 22 22 #define flush_cache_all() do {} while (0) 23 23 #define flush_cache_mm(mm) do {} while (0) ··· 31 31 #define flush_dcache_mmap_unlock(mapping) do {} while (0) 32 32 33 33 /* 34 - * physically-indexed cache managment 34 + * physically-indexed cache management 35 35 */ 36 36 #ifndef CONFIG_MN10300_CACHE_DISABLED 37 37
+1 -1
arch/powerpc/kernel/udbg_16550.c
··· 1 1 /* 2 - * udbg for for NS16550 compatable serial ports 2 + * udbg for NS16550 compatable serial ports 3 3 * 4 4 * Copyright (C) 2001-2005 PPC 64 Team, IBM Corp 5 5 *
+1 -1
arch/powerpc/platforms/powermac/udbg_scc.c
··· 1 1 /* 2 - * udbg for for zilog scc ports as found on Apple PowerMacs 2 + * udbg for zilog scc ports as found on Apple PowerMacs 3 3 * 4 4 * Copyright (C) 2001-2005 PPC 64 Team, IBM Corp 5 5 *
+1 -1
arch/s390/hypfs/inode.c
··· 496 496 } 497 497 s390_kobj = kobject_create_and_add("s390", hypervisor_kobj); 498 498 if (!s390_kobj) { 499 - rc = -ENOMEM;; 499 + rc = -ENOMEM; 500 500 goto fail_sysfs; 501 501 } 502 502 rc = register_filesystem(&hypfs_type);
+1 -1
arch/s390/kvm/interrupt.c
··· 478 478 if (!inti) 479 479 return -ENOMEM; 480 480 481 - inti->type = KVM_S390_PROGRAM_INT;; 481 + inti->type = KVM_S390_PROGRAM_INT; 482 482 inti->pgm.code = code; 483 483 484 484 VCPU_EVENT(vcpu, 3, "inject: program check %d (from kernel)", code);
+1 -1
arch/sparc/kernel/irq_64.c
··· 229 229 tid = ((a << IMAP_AID_SHIFT) | 230 230 (n << IMAP_NID_SHIFT)); 231 231 tid &= (IMAP_AID_SAFARI | 232 - IMAP_NID_SAFARI);; 232 + IMAP_NID_SAFARI); 233 233 } 234 234 } else { 235 235 tid = cpuid << IMAP_TID_SHIFT;
+1 -1
arch/um/drivers/net_kern.c
··· 533 533 char **error_out) 534 534 { 535 535 char *end; 536 - int n, err = -EINVAL;; 536 + int n, err = -EINVAL; 537 537 538 538 n = simple_strtoul(str, &end, 0); 539 539 if (end == str) {
+1 -1
arch/um/include/shared/ptrace_user.h
··· 29 29 * recompilation. So, we use PTRACE_OLDSETOPTIONS in UML. 30 30 * We also want to be able to build the kernel on 2.4, which doesn't 31 31 * have PTRACE_OLDSETOPTIONS. So, if it is missing, we declare 32 - * PTRACE_OLDSETOPTIONS to to be the same as PTRACE_SETOPTIONS. 32 + * PTRACE_OLDSETOPTIONS to be the same as PTRACE_SETOPTIONS. 33 33 * 34 34 * On architectures, that start to support PTRACE_O_TRACESYSGOOD on 35 35 * linux 2.6, PTRACE_OLDSETOPTIONS never is defined, and also isn't
+1 -1
arch/x86/kernel/cpu/amd.c
··· 184 184 * approved Athlon 185 185 */ 186 186 WARN_ONCE(1, "WARNING: This combination of AMD" 187 - "processors is not suitable for SMP.\n"); 187 + " processors is not suitable for SMP.\n"); 188 188 if (!test_taint(TAINT_UNSAFE_SMP)) 189 189 add_taint(TAINT_UNSAFE_SMP); 190 190
+1 -1
drivers/ata/pata_hpt37x.c
··· 624 624 }; 625 625 626 626 /** 627 - * htp37x_clock_slot - Turn timing to PC clock entry 627 + * hpt37x_clock_slot - Turn timing to PC clock entry 628 628 * @freq: Reported frequency timing 629 629 * @base: Base timing 630 630 *
+4 -4
drivers/block/DAC960.c
··· 6653 6653 else ErrorCode = get_user(ControllerNumber, 6654 6654 &UserSpaceControllerInfo->ControllerNumber); 6655 6655 if (ErrorCode != 0) 6656 - break;; 6656 + break; 6657 6657 ErrorCode = -ENXIO; 6658 6658 if (ControllerNumber < 0 || 6659 6659 ControllerNumber > DAC960_ControllerCount - 1) { ··· 6661 6661 } 6662 6662 Controller = DAC960_Controllers[ControllerNumber]; 6663 6663 if (Controller == NULL) 6664 - break;; 6664 + break; 6665 6665 memset(&ControllerInfo, 0, sizeof(DAC960_ControllerInfo_T)); 6666 6666 ControllerInfo.ControllerNumber = ControllerNumber; 6667 6667 ControllerInfo.FirmwareType = Controller->FirmwareType; ··· 7210 7210 .remove = DAC960_Remove, 7211 7211 }; 7212 7212 7213 - static int DAC960_init_module(void) 7213 + static int __init DAC960_init_module(void) 7214 7214 { 7215 7215 int ret; 7216 7216 ··· 7222 7222 return ret; 7223 7223 } 7224 7224 7225 - static void DAC960_cleanup_module(void) 7225 + static void __exit DAC960_cleanup_module(void) 7226 7226 { 7227 7227 int i; 7228 7228
+1 -1
drivers/block/swim3.c
··· 1062 1062 goto out_release; 1063 1063 } 1064 1064 fs->swim3_intr = macio_irq(mdev, 0); 1065 - fs->dma_intr = macio_irq(mdev, 1);; 1065 + fs->dma_intr = macio_irq(mdev, 1); 1066 1066 fs->cur_cyl = -1; 1067 1067 fs->cur_sector = -1; 1068 1068 fs->secpercyl = 36;
+1 -1
drivers/char/agp/uninorth-agp.c
··· 270 270 271 271 if ((uninorth_rev >= 0x30) && (uninorth_rev <= 0x33)) { 272 272 /* 273 - * We need to to set REQ_DEPTH to 7 for U3 versions 1.0, 2.1, 273 + * We need to set REQ_DEPTH to 7 for U3 versions 1.0, 2.1, 274 274 * 2.2 and 2.3, Darwin do so. 275 275 */ 276 276 if ((command >> AGPSTAT_RQ_DEPTH_SHIFT) > 7)
+1 -1
drivers/char/epca.c
··· 2239 2239 struct channel *ch = container_of(work, struct channel, tqueue); 2240 2240 /* Called in response to a modem change event */ 2241 2241 if (ch && ch->magic == EPCA_MAGIC) { 2242 - struct tty_struct *tty = tty_port_tty_get(&ch->port);; 2242 + struct tty_struct *tty = tty_port_tty_get(&ch->port); 2243 2243 2244 2244 if (tty && tty->driver_data) { 2245 2245 if (test_and_clear_bit(EPCA_EVENT_HANGUP, &ch->event)) {
+2 -2
drivers/char/ipmi/ipmi_poweroff.c
··· 691 691 /* 692 692 * Startup and shutdown functions. 693 693 */ 694 - static int ipmi_poweroff_init(void) 694 + static int __init ipmi_poweroff_init(void) 695 695 { 696 696 int rv; 697 697 ··· 725 725 } 726 726 727 727 #ifdef MODULE 728 - static __exit void ipmi_poweroff_cleanup(void) 728 + static void __exit ipmi_poweroff_cleanup(void) 729 729 { 730 730 int rv; 731 731
+1 -1
drivers/edac/edac_core.h
··· 286 286 * is irrespective of the memory devices being mounted 287 287 * on both sides of the memory stick. 288 288 * 289 - * Socket set: All of the memory sticks that are required for for 289 + * Socket set: All of the memory sticks that are required for 290 290 * a single memory access or all of the memory sticks 291 291 * spanned by a chip-select row. A single socket set 292 292 * has two chip-select rows and if double-sided sticks
+2 -2
drivers/gpio/bt8xxgpio.c
··· 331 331 .resume = bt8xxgpio_resume, 332 332 }; 333 333 334 - static int bt8xxgpio_init(void) 334 + static int __init bt8xxgpio_init(void) 335 335 { 336 336 return pci_register_driver(&bt8xxgpio_pci_driver); 337 337 } 338 338 module_init(bt8xxgpio_init) 339 339 340 - static void bt8xxgpio_exit(void) 340 + static void __exit bt8xxgpio_exit(void) 341 341 { 342 342 pci_unregister_driver(&bt8xxgpio_pci_driver); 343 343 }
+1 -1
drivers/gpu/drm/i915/intel_dp.c
··· 232 232 for (try = 0; try < 5; try++) { 233 233 /* Load the send data into the aux channel data registers */ 234 234 for (i = 0; i < send_bytes; i += 4) { 235 - uint32_t d = pack_aux(send + i, send_bytes - i);; 235 + uint32_t d = pack_aux(send + i, send_bytes - i); 236 236 237 237 I915_WRITE(ch_data + i, d); 238 238 }
+2 -2
drivers/gpu/drm/mga/mga_state.c
··· 239 239 MGA_WR34, 0x00000000, 240 240 MGA_WR42, 0x0000ffff, MGA_WR60, 0x0000ffff); 241 241 242 - /* Padding required to to hardware bug. 242 + /* Padding required due to hardware bug. 243 243 */ 244 244 DMA_BLOCK(MGA_DMAPAD, 0xffffffff, 245 245 MGA_DMAPAD, 0xffffffff, ··· 317 317 MGA_WR52, MGA_G400_WR_MAGIC, /* tex1 width */ 318 318 MGA_WR60, MGA_G400_WR_MAGIC); /* tex1 height */ 319 319 320 - /* Padding required to to hardware bug */ 320 + /* Padding required due to hardware bug */ 321 321 DMA_BLOCK(MGA_DMAPAD, 0xffffffff, 322 322 MGA_DMAPAD, 0xffffffff, 323 323 MGA_DMAPAD, 0xffffffff,
+1 -1
drivers/ide/ide-probe.c
··· 1212 1212 { 1213 1213 int idx = -ENOENT; 1214 1214 u8 bootable = (d && (d->host_flags & IDE_HFLAG_NON_BOOTABLE)) ? 0 : 1; 1215 - u8 i = (d && (d->host_flags & IDE_HFLAG_QD_2ND_PORT)) ? 1 : 0;; 1215 + u8 i = (d && (d->host_flags & IDE_HFLAG_QD_2ND_PORT)) ? 1 : 0; 1216 1216 1217 1217 /* 1218 1218 * Claim an unassigned slot.
+2 -2
drivers/ide/umc8672.c
··· 170 170 goto out; 171 171 172 172 if (umc8672_probe() == 0) 173 - return 0;; 173 + return 0; 174 174 out: 175 - return -ENODEV;; 175 + return -ENODEV; 176 176 } 177 177 178 178 module_init(umc8672_init);
+1 -1
drivers/infiniband/hw/ipath/ipath_iba6110.c
··· 809 809 * errors. We only bother to do this at load time, because it's OK if 810 810 * it happened before we were loaded (first time after boot/reset), 811 811 * but any time after that, it's fatal anyway. Also need to not check 812 - * for for upper byte errors if we are in 8 bit mode, so figure out 812 + * for upper byte errors if we are in 8 bit mode, so figure out 813 813 * our width. For now, at least, also complain if it's 8 bit. 814 814 */ 815 815 static void slave_or_pri_blk(struct ipath_devdata *dd, struct pci_dev *pdev,
+1 -1
drivers/input/keyboard/atkbd.c
··· 229 229 }; 230 230 231 231 /* 232 - * System-specific ketymap fixup routine 232 + * System-specific keymap fixup routine 233 233 */ 234 234 static void (*atkbd_platform_fixup)(struct atkbd *, const void *data); 235 235 static void *atkbd_platform_fixup_data;
+1 -1
drivers/isdn/capi/capiutil.c
··· 1019 1019 if (!g_debbuf->buf) { 1020 1020 kfree(g_cmsg); 1021 1021 kfree(g_debbuf); 1022 - return -ENOMEM;; 1022 + return -ENOMEM; 1023 1023 } 1024 1024 g_debbuf->size = CDEBUG_GSIZE; 1025 1025 g_debbuf->buf[0] = 0;
+2 -2
drivers/isdn/i4l/isdn_common.c
··· 761 761 * Be aware that this is not an atomic operation when sleep != 0, even though 762 762 * interrupts are turned off! Well, like that we are currently only called 763 763 * on behalf of a read system call on raw device files (which are documented 764 - * to be dangerous and for for debugging purpose only). The inode semaphore 764 + * to be dangerous and for debugging purpose only). The inode semaphore 765 765 * takes care that this is not called for the same minor device number while 766 766 * we are sleeping, but access is not serialized against simultaneous read() 767 767 * from the corresponding ttyI device. Can other ugly events, like changes ··· 873 873 * Be aware that this is not an atomic operation when sleep != 0, even though 874 874 * interrupts are turned off! Well, like that we are currently only called 875 875 * on behalf of a read system call on raw device files (which are documented 876 - * to be dangerous and for for debugging purpose only). The inode semaphore 876 + * to be dangerous and for debugging purpose only). The inode semaphore 877 877 * takes care that this is not called for the same minor device number while 878 878 * we are sleeping, but access is not serialized against simultaneous read() 879 879 * from the corresponding ttyI device. Can other ugly events, like changes
+1 -1
drivers/lguest/page_tables.c
··· 894 894 * tells us they've changed. When the Guest tries to use the new entry it will 895 895 * fault and demand_page() will fix it up. 896 896 * 897 - * So with that in mind here's our code to to update a (top-level) PGD entry: 897 + * So with that in mind here's our code to update a (top-level) PGD entry: 898 898 */ 899 899 void guest_set_pgd(struct lguest *lg, unsigned long gpgdir, u32 idx) 900 900 {
+1 -1
drivers/macintosh/rack-meter.c
··· 274 274 275 275 if (cpu > 1) 276 276 continue; 277 - rcpu = &rm->cpu[cpu];; 277 + rcpu = &rm->cpu[cpu]; 278 278 rcpu->prev_idle = get_cpu_idle_time(cpu); 279 279 rcpu->prev_wall = jiffies64_to_cputime64(get_jiffies_64()); 280 280 schedule_delayed_work_on(cpu, &rm->cpu[cpu].sniffer,
+1 -1
drivers/md/md.h
··· 201 201 * INTR: resync needs to be aborted for some reason 202 202 * DONE: thread is done and is waiting to be reaped 203 203 * REQUEST: user-space has requested a sync (used with SYNC) 204 - * CHECK: user-space request for for check-only, no repair 204 + * CHECK: user-space request for check-only, no repair 205 205 * RESHAPE: A reshape is happening 206 206 * 207 207 * If neither SYNC or RESHAPE are set, then it is a recovery.
+1 -1
drivers/media/dvb/siano/smscoreapi.c
··· 1367 1367 &msg, sizeof(msg)); 1368 1368 } 1369 1369 1370 - /* new GPIO managment implementation */ 1370 + /* new GPIO management implementation */ 1371 1371 static int GetGpioPinParams(u32 PinNum, u32 *pTranslatedPinNum, 1372 1372 u32 *pGroupNum, u32 *pGroupCfg) { 1373 1373
+2 -2
drivers/media/dvb/siano/smscoreapi.h
··· 657 657 extern void smscore_putbuffer(struct smscore_device_t *coredev, 658 658 struct smscore_buffer_t *cb); 659 659 660 - /* old GPIO managment */ 660 + /* old GPIO management */ 661 661 int smscore_configure_gpio(struct smscore_device_t *coredev, u32 pin, 662 662 struct smscore_config_gpio *pinconfig); 663 663 int smscore_set_gpio(struct smscore_device_t *coredev, u32 pin, int level); 664 664 665 - /* new GPIO managment */ 665 + /* new GPIO management */ 666 666 extern int smscore_gpio_configure(struct smscore_device_t *coredev, u8 PinNum, 667 667 struct smscore_gpio_config *pGpioConfig); 668 668 extern int smscore_gpio_set_level(struct smscore_device_t *coredev, u8 PinNum,
+1 -1
drivers/media/radio/radio-mr800.c
··· 46 46 * Version 0.11: Converted to v4l2_device. 47 47 * 48 48 * Many things to do: 49 - * - Correct power managment of device (suspend & resume) 49 + * - Correct power management of device (suspend & resume) 50 50 * - Add code for scanning and smooth tuning 51 51 * - Add code for sensitivity value 52 52 * - Correct mistakes
+2 -2
drivers/media/video/cx88/cx88-blackbird.c
··· 1371 1371 .advise_release = cx8802_blackbird_advise_release, 1372 1372 }; 1373 1373 1374 - static int blackbird_init(void) 1374 + static int __init blackbird_init(void) 1375 1375 { 1376 1376 printk(KERN_INFO "cx2388x blackbird driver version %d.%d.%d loaded\n", 1377 1377 (CX88_VERSION_CODE >> 16) & 0xff, ··· 1384 1384 return cx8802_register_driver(&cx8802_blackbird_driver); 1385 1385 } 1386 1386 1387 - static void blackbird_fini(void) 1387 + static void __exit blackbird_fini(void) 1388 1388 { 1389 1389 cx8802_unregister_driver(&cx8802_blackbird_driver); 1390 1390 }
+2 -2
drivers/media/video/cx88/cx88-dvb.c
··· 1350 1350 .advise_release = cx8802_dvb_advise_release, 1351 1351 }; 1352 1352 1353 - static int dvb_init(void) 1353 + static int __init dvb_init(void) 1354 1354 { 1355 1355 printk(KERN_INFO "cx88/2: cx2388x dvb driver version %d.%d.%d loaded\n", 1356 1356 (CX88_VERSION_CODE >> 16) & 0xff, ··· 1363 1363 return cx8802_register_driver(&cx8802_dvb_driver); 1364 1364 } 1365 1365 1366 - static void dvb_fini(void) 1366 + static void __exit dvb_fini(void) 1367 1367 { 1368 1368 cx8802_unregister_driver(&cx8802_dvb_driver); 1369 1369 }
+2 -2
drivers/media/video/cx88/cx88-mpeg.c
··· 870 870 .remove = __devexit_p(cx8802_remove), 871 871 }; 872 872 873 - static int cx8802_init(void) 873 + static int __init cx8802_init(void) 874 874 { 875 875 printk(KERN_INFO "cx88/2: cx2388x MPEG-TS Driver Manager version %d.%d.%d loaded\n", 876 876 (CX88_VERSION_CODE >> 16) & 0xff, ··· 883 883 return pci_register_driver(&cx8802_pci_driver); 884 884 } 885 885 886 - static void cx8802_fini(void) 886 + static void __exit cx8802_fini(void) 887 887 { 888 888 pci_unregister_driver(&cx8802_pci_driver); 889 889 }
+2 -2
drivers/media/video/cx88/cx88-video.c
··· 2113 2113 #endif 2114 2114 }; 2115 2115 2116 - static int cx8800_init(void) 2116 + static int __init cx8800_init(void) 2117 2117 { 2118 2118 printk(KERN_INFO "cx88/0: cx2388x v4l2 driver version %d.%d.%d loaded\n", 2119 2119 (CX88_VERSION_CODE >> 16) & 0xff, ··· 2126 2126 return pci_register_driver(&cx8800_pci_driver); 2127 2127 } 2128 2128 2129 - static void cx8800_fini(void) 2129 + static void __exit cx8800_fini(void) 2130 2130 { 2131 2131 pci_unregister_driver(&cx8800_pci_driver); 2132 2132 }
+1 -1
drivers/media/video/gspca/m5602/m5602_core.c
··· 56 56 return (err < 0) ? err : 0; 57 57 } 58 58 59 - /* Writes a byte to to the m5602 */ 59 + /* Writes a byte to the m5602 */ 60 60 int m5602_write_bridge(struct sd *sd, const u8 address, const u8 i2c_data) 61 61 { 62 62 int err;
+2 -2
drivers/message/fusion/mptbase.c
··· 6821 6821 *size = y; 6822 6822 } 6823 6823 /** 6824 - * mpt_set_taskmgmt_in_progress_flag - set flags associated with task managment 6824 + * mpt_set_taskmgmt_in_progress_flag - set flags associated with task management 6825 6825 * @ioc: Pointer to MPT_ADAPTER structure 6826 6826 * 6827 6827 * Returns 0 for SUCCESS or -1 if FAILED. ··· 6854 6854 EXPORT_SYMBOL(mpt_set_taskmgmt_in_progress_flag); 6855 6855 6856 6856 /** 6857 - * mpt_clear_taskmgmt_in_progress_flag - clear flags associated with task managment 6857 + * mpt_clear_taskmgmt_in_progress_flag - clear flags associated with task management 6858 6858 * @ioc: Pointer to MPT_ADAPTER structure 6859 6859 * 6860 6860 **/
+1 -1
drivers/mmc/host/mxcmmc.c
··· 512 512 } 513 513 514 514 /* For the DMA case the DMA engine handles the data transfer 515 - * automatically. For non DMA we have to to it ourselves. 515 + * automatically. For non DMA we have to do it ourselves. 516 516 * Don't do it in interrupt context though. 517 517 */ 518 518 if (!mxcmci_use_dma(host) && host->data)
+2 -2
drivers/mtd/devices/m25p80.c
··· 776 776 }; 777 777 778 778 779 - static int m25p80_init(void) 779 + static int __init m25p80_init(void) 780 780 { 781 781 return spi_register_driver(&m25p80_driver); 782 782 } 783 783 784 784 785 - static void m25p80_exit(void) 785 + static void __exit m25p80_exit(void) 786 786 { 787 787 spi_unregister_driver(&m25p80_driver); 788 788 }
+1 -1
drivers/mtd/devices/slram.c
··· 303 303 304 304 #endif 305 305 306 - static int init_slram(void) 306 + static int __init init_slram(void) 307 307 { 308 308 char *devname; 309 309 int i;
+1 -1
drivers/mtd/ftl.c
··· 1099 1099 .owner = THIS_MODULE, 1100 1100 }; 1101 1101 1102 - static int init_ftl(void) 1102 + static int __init init_ftl(void) 1103 1103 { 1104 1104 return register_mtd_blktrans(&ftl_tr); 1105 1105 }
+1 -1
drivers/mtd/maps/ixp2000.c
··· 184 184 info->map.bankwidth = 1; 185 185 186 186 /* 187 - * map_priv_2 is used to store a ptr to to the bank_setup routine 187 + * map_priv_2 is used to store a ptr to the bank_setup routine 188 188 */ 189 189 info->map.map_priv_2 = (unsigned long) ixp_data->bank_setup; 190 190
+2 -2
drivers/mtd/nand/cafe_nand.c
··· 903 903 .resume = cafe_nand_resume, 904 904 }; 905 905 906 - static int cafe_nand_init(void) 906 + static int __init cafe_nand_init(void) 907 907 { 908 908 return pci_register_driver(&cafe_nand_pci_driver); 909 909 } 910 910 911 - static void cafe_nand_exit(void) 911 + static void __exit cafe_nand_exit(void) 912 912 { 913 913 pci_unregister_driver(&cafe_nand_pci_driver); 914 914 }
+2 -2
drivers/mtd/nand/cmx270_nand.c
··· 147 147 /* 148 148 * Main initialization routine 149 149 */ 150 - static int cmx270_init(void) 150 + static int __init cmx270_init(void) 151 151 { 152 152 struct nand_chip *this; 153 153 const char *part_type; ··· 261 261 /* 262 262 * Clean up routine 263 263 */ 264 - static void cmx270_cleanup(void) 264 + static void __exit cmx270_cleanup(void) 265 265 { 266 266 /* Release resources, unregister device */ 267 267 nand_release(cmx270_nand_mtd);
+1 -1
drivers/mtd/ubi/eba.c
··· 1065 1065 } 1066 1066 1067 1067 /* 1068 - * Now we have got to calculate how much data we have to to copy. In 1068 + * Now we have got to calculate how much data we have to copy. In 1069 1069 * case of a static volume it is fairly easy - the VID header contains 1070 1070 * the data size. In case of a dynamic volume it is more difficult - we 1071 1071 * have to read the contents, cut 0xFF bytes from the end and copy only
+1 -1
drivers/mtd/ubi/ubi.h
··· 570 570 571 571 /* 572 572 * ubi_rb_for_each_entry - walk an RB-tree. 573 - * @rb: a pointer to type 'struct rb_node' to to use as a loop counter 573 + * @rb: a pointer to type 'struct rb_node' to use as a loop counter 574 574 * @pos: a pointer to RB-tree entry type to use as a loop counter 575 575 * @root: RB-tree's root 576 576 * @member: the name of the 'struct rb_node' within the RB-tree entry
-1
drivers/net/arcnet/arc-rawmode.c
··· 123 123 BUGLVL(D_SKB) arcnet_dump_skb(dev, skb, "rx"); 124 124 125 125 skb->protocol = cpu_to_be16(ETH_P_ARCNET); 126 - ; 127 126 netif_rx(skb); 128 127 } 129 128
-1
drivers/net/arcnet/capmode.c
··· 149 149 BUGLVL(D_SKB) arcnet_dump_skb(dev, skb, "rx"); 150 150 151 151 skb->protocol = cpu_to_be16(ETH_P_ARCNET); 152 - ; 153 152 netif_rx(skb); 154 153 } 155 154
+1 -1
drivers/net/bnx2x_reg.h
··· 3122 3122 The fields are:[4:0] - tail pointer; [10:5] - Link List size; 15:11] - 3123 3123 header pointer. */ 3124 3124 #define TCM_REG_XX_TABLE 0x50240 3125 - /* [RW 4] Load value for for cfc ac credit cnt. */ 3125 + /* [RW 4] Load value for cfc ac credit cnt. */ 3126 3126 #define TM_REG_CFC_AC_CRDCNT_VAL 0x164208 3127 3127 /* [RW 4] Load value for cfc cld credit cnt. */ 3128 3128 #define TM_REG_CFC_CLD_CRDCNT_VAL 0x164210
+1 -1
drivers/net/bonding/bond_3ad.c
··· 1987 1987 // find new aggregator for the related port(s) 1988 1988 new_aggregator = __get_first_agg(port); 1989 1989 for (; new_aggregator; new_aggregator = __get_next_agg(new_aggregator)) { 1990 - // if the new aggregator is empty, or it connected to to our port only 1990 + // if the new aggregator is empty, or it is connected to our port only 1991 1991 if (!new_aggregator->lag_ports || ((new_aggregator->lag_ports == port) && !new_aggregator->lag_ports->next_port_in_aggregator)) { 1992 1992 break; 1993 1993 }
+1 -1
drivers/net/e1000/e1000_hw.c
··· 3035 3035 /* If TBI compatibility is was previously off, turn it on. For 3036 3036 * compatibility with a TBI link partner, we will store bad 3037 3037 * packets. Some frames have an additional byte on the end and 3038 - * will look like CRC errors to to the hardware. 3038 + * will look like CRC errors to the hardware. 3039 3039 */ 3040 3040 if (!hw->tbi_compatibility_on) { 3041 3041 hw->tbi_compatibility_on = true;
+1 -1
drivers/net/gianfar_ethtool.c
··· 293 293 rxtime = get_ictt_value(priv->rxic); 294 294 rxcount = get_icft_value(priv->rxic); 295 295 txtime = get_ictt_value(priv->txic); 296 - txcount = get_icft_value(priv->txic);; 296 + txcount = get_icft_value(priv->txic); 297 297 cvals->rx_coalesce_usecs = gfar_ticks2usecs(priv, rxtime); 298 298 cvals->rx_max_coalesced_frames = rxcount; 299 299
+4 -4
drivers/net/ibm_newemac/core.c
··· 2556 2556 if (emac_read_uint_prop(np, "mdio-device", &dev->mdio_ph, 0)) 2557 2557 dev->mdio_ph = 0; 2558 2558 if (emac_read_uint_prop(np, "zmii-device", &dev->zmii_ph, 0)) 2559 - dev->zmii_ph = 0;; 2559 + dev->zmii_ph = 0; 2560 2560 if (emac_read_uint_prop(np, "zmii-channel", &dev->zmii_port, 0)) 2561 - dev->zmii_port = 0xffffffff;; 2561 + dev->zmii_port = 0xffffffff; 2562 2562 if (emac_read_uint_prop(np, "rgmii-device", &dev->rgmii_ph, 0)) 2563 - dev->rgmii_ph = 0;; 2563 + dev->rgmii_ph = 0; 2564 2564 if (emac_read_uint_prop(np, "rgmii-channel", &dev->rgmii_port, 0)) 2565 - dev->rgmii_port = 0xffffffff;; 2565 + dev->rgmii_port = 0xffffffff; 2566 2566 if (emac_read_uint_prop(np, "fifo-entry-size", &dev->fifo_entry_size, 0)) 2567 2567 dev->fifo_entry_size = 16; 2568 2568 if (emac_read_uint_prop(np, "mal-burst-size", &dev->mal_burst_size, 0))
+1 -1
drivers/net/igb/igb_main.c
··· 3966 3966 /* VFs are limited to using the MTA hash table for their multicast 3967 3967 * addresses */ 3968 3968 for (i = 0; i < n; i++) 3969 - vf_data->vf_mc_hashes[i] = hash_list[i];; 3969 + vf_data->vf_mc_hashes[i] = hash_list[i]; 3970 3970 3971 3971 /* Flush and reset the mta with the new values */ 3972 3972 igb_set_rx_mode(adapter->netdev);
+1 -1
drivers/net/ll_temac_main.c
··· 865 865 dcrs = dcr_resource_start(np, 0); 866 866 if (dcrs == 0) { 867 867 dev_err(&op->dev, "could not get DMA register address\n"); 868 - goto nodev;; 868 + goto nodev; 869 869 } 870 870 lp->sdma_dcrs = dcr_map(np, dcrs, dcr_resource_len(np, 0)); 871 871 dev_dbg(&op->dev, "DCR base: %x\n", dcrs);
+1 -1
drivers/net/macb.c
··· 241 241 struct eth_platform_data *pdata; 242 242 int err = -ENXIO, i; 243 243 244 - /* Enable managment port */ 244 + /* Enable management port */ 245 245 macb_writel(bp, NCR, MACB_BIT(MPE)); 246 246 247 247 bp->mii_bus = mdiobus_alloc();
+2 -2
drivers/net/ni52.c
··· 615 615 /* addr_len |!src_insert |pre-len |loopback */ 616 616 writeb(0x2e, &cfg_cmd->adr_len); 617 617 writeb(0x00, &cfg_cmd->priority); 618 - writeb(0x60, &cfg_cmd->ifs);; 618 + writeb(0x60, &cfg_cmd->ifs); 619 619 writeb(0x00, &cfg_cmd->time_low); 620 620 writeb(0xf2, &cfg_cmd->time_high); 621 - writeb(0x00, &cfg_cmd->promisc);; 621 + writeb(0x00, &cfg_cmd->promisc); 622 622 if (dev->flags & IFF_ALLMULTI) { 623 623 int len = ((char __iomem *)p->iscp - (char __iomem *)ptr - 8) / 6; 624 624 if (num_addrs > len) {
+2 -2
drivers/net/qlge/qlge_main.c
··· 2630 2630 FLAGS_LI; /* Load irq delay values */ 2631 2631 if (rx_ring->lbq_len) { 2632 2632 cqicb->flags |= FLAGS_LL; /* Load lbq values */ 2633 - tmp = (u64)rx_ring->lbq_base_dma;; 2633 + tmp = (u64)rx_ring->lbq_base_dma; 2634 2634 base_indirect_ptr = (__le64 *) rx_ring->lbq_base_indirect; 2635 2635 page_entries = 0; 2636 2636 do { ··· 2654 2654 } 2655 2655 if (rx_ring->sbq_len) { 2656 2656 cqicb->flags |= FLAGS_LS; /* Load sbq values */ 2657 - tmp = (u64)rx_ring->sbq_base_dma;; 2657 + tmp = (u64)rx_ring->sbq_base_dma; 2658 2658 base_indirect_ptr = (__le64 *) rx_ring->sbq_base_indirect; 2659 2659 page_entries = 0; 2660 2660 do {
+1 -1
drivers/net/rionet.c
··· 72 72 static int rionet_capable = 1; 73 73 74 74 /* 75 - * This is a fast lookup table for for translating TX 75 + * This is a fast lookup table for translating TX 76 76 * Ethernet packets into a destination RIO device. It 77 77 * could be made into a hash table to save memory depending 78 78 * on system trade-offs.
+1 -1
drivers/net/skfp/pcmplc.c
··· 960 960 /*PC88b*/ 961 961 if (!phy->cf_join) { 962 962 phy->cf_join = TRUE ; 963 - queue_event(smc,EVENT_CFM,CF_JOIN+np) ; ; 963 + queue_event(smc,EVENT_CFM,CF_JOIN+np) ; 964 964 } 965 965 if (cmd == PC_JOIN) 966 966 GO_STATE(PC8_ACTIVE) ;
+4 -4
drivers/net/skfp/pmf.c
··· 807 807 mib_p->fddiPORTLerFlag ; 808 808 sp->p4050_pad = 0 ; 809 809 sp->p4050_cutoff = 810 - mib_p->fddiPORTLer_Cutoff ; ; 810 + mib_p->fddiPORTLer_Cutoff ; 811 811 sp->p4050_alarm = 812 - mib_p->fddiPORTLer_Alarm ; ; 812 + mib_p->fddiPORTLer_Alarm ; 813 813 sp->p4050_estimate = 814 814 mib_p->fddiPORTLer_Estimate ; 815 815 sp->p4050_reject_ct = ··· 829 829 sp->p4051_porttype = 830 830 mib_p->fddiPORTMy_Type ; 831 831 sp->p4051_connectstate = 832 - mib_p->fddiPORTConnectState ; ; 832 + mib_p->fddiPORTConnectState ; 833 833 sp->p4051_pc_neighbor = 834 834 mib_p->fddiPORTNeighborType ; 835 835 sp->p4051_pc_withhold = ··· 853 853 struct smt_p_4053 *sp ; 854 854 sp = (struct smt_p_4053 *) to ; 855 855 sp->p4053_multiple = 856 - mib_p->fddiPORTMultiple_P ; ; 856 + mib_p->fddiPORTMultiple_P ; 857 857 sp->p4053_availablepaths = 858 858 mib_p->fddiPORTAvailablePaths ; 859 859 sp->p4053_currentpath =
+1 -1
drivers/net/skge.c
··· 215 215 if (skge->wol & WAKE_MAGIC) 216 216 ctrl |= WOL_CTL_ENA_PME_ON_MAGIC_PKT|WOL_CTL_ENA_MAGIC_PKT_UNIT; 217 217 else 218 - ctrl |= WOL_CTL_DIS_PME_ON_MAGIC_PKT|WOL_CTL_DIS_MAGIC_PKT_UNIT;; 218 + ctrl |= WOL_CTL_DIS_PME_ON_MAGIC_PKT|WOL_CTL_DIS_MAGIC_PKT_UNIT; 219 219 220 220 ctrl |= WOL_CTL_DIS_PME_ON_PATTERN|WOL_CTL_DIS_PATTERN_UNIT; 221 221 skge_write16(hw, WOL_REGS(port, WOL_CTRL_STAT), ctrl);
+1 -1
drivers/net/sky2.c
··· 765 765 if (sky2->wol & WAKE_MAGIC) 766 766 ctrl |= WOL_CTL_ENA_PME_ON_MAGIC_PKT|WOL_CTL_ENA_MAGIC_PKT_UNIT; 767 767 else 768 - ctrl |= WOL_CTL_DIS_PME_ON_MAGIC_PKT|WOL_CTL_DIS_MAGIC_PKT_UNIT;; 768 + ctrl |= WOL_CTL_DIS_PME_ON_MAGIC_PKT|WOL_CTL_DIS_MAGIC_PKT_UNIT; 769 769 770 770 ctrl |= WOL_CTL_DIS_PME_ON_PATTERN|WOL_CTL_DIS_PATTERN_UNIT; 771 771 sky2_write16(hw, WOL_REGS(port, WOL_CTRL_STAT), ctrl);
+1 -1
drivers/net/vxge/vxge-config.h
··· 1541 1541 rxd_info->l4_cksum_valid = 1542 1542 (u32)VXGE_HW_RING_RXD_L4_CKSUM_CORRECT_GET(rxdp->control_0); 1543 1543 rxd_info->l4_cksum = 1544 - (u32)VXGE_HW_RING_RXD_L4_CKSUM_GET(rxdp->control_0);; 1544 + (u32)VXGE_HW_RING_RXD_L4_CKSUM_GET(rxdp->control_0); 1545 1545 rxd_info->frame = 1546 1546 (u32)VXGE_HW_RING_RXD_ETHER_ENCAP_GET(rxdp->control_0); 1547 1547 rxd_info->proto =
+1 -1
drivers/net/vxge/vxge-main.c
··· 2350 2350 enum vxge_hw_status status; 2351 2351 /* 0 - Tx, 1 - Rx */ 2352 2352 int tim_msix_id[4]; 2353 - int alarm_msix_id = 0, msix_intr_vect = 0;; 2353 + int alarm_msix_id = 0, msix_intr_vect = 0; 2354 2354 vdev->intr_cnt = 0; 2355 2355 2356 2356 /* allocate msix vectors */
+1 -1
drivers/net/wireless/ath/ath5k/reg.h
··· 982 982 #define AR5K_5414_CBCFG_BUF_DIS 0x10 /* Disable buffer */ 983 983 984 984 /* 985 - * PCI-E Power managment configuration 985 + * PCI-E Power management configuration 986 986 * and status register [5424+] 987 987 */ 988 988 #define AR5K_PCIE_PM_CTL 0x4068 /* Register address */
+1 -1
drivers/net/wireless/atmel.c
··· 3330 3330 priv->wstats.qual.updated &= ~IW_QUAL_QUAL_INVALID; 3331 3331 } 3332 3332 3333 - /* deals with incoming managment frames. */ 3333 + /* deals with incoming management frames. */ 3334 3334 static void atmel_management_frame(struct atmel_private *priv, 3335 3335 struct ieee80211_hdr *header, 3336 3336 u16 frame_len, u8 rssi)
+1 -1
drivers/net/wireless/zd1211rw/zd_chip.c
··· 368 368 return r; 369 369 } 370 370 371 - /* MAC address: if custom mac addresses are to to be used CR_MAC_ADDR_P1 and 371 + /* MAC address: if custom mac addresses are to be used CR_MAC_ADDR_P1 and 372 372 * CR_MAC_ADDR_P2 must be overwritten 373 373 */ 374 374 int zd_write_mac_addr(struct zd_chip *chip, const u8 *mac_addr)
+1 -1
drivers/rtc/rtc-omap.c
··· 430 430 431 431 static int __exit omap_rtc_remove(struct platform_device *pdev) 432 432 { 433 - struct rtc_device *rtc = platform_get_drvdata(pdev);; 433 + struct rtc_device *rtc = platform_get_drvdata(pdev); 434 434 435 435 device_init_wakeup(&pdev->dev, 0); 436 436
+1 -1
drivers/s390/block/dasd_eckd.c
··· 706 706 sizeof(uid->serial) - 1); 707 707 EBCASC(uid->serial, sizeof(uid->serial) - 1); 708 708 uid->ssid = private->gneq->subsystemID; 709 - uid->real_unit_addr = private->ned->unit_addr;; 709 + uid->real_unit_addr = private->ned->unit_addr; 710 710 if (private->sneq) { 711 711 uid->type = private->sneq->sua_flags; 712 712 if (uid->type == UA_BASE_PAV_ALIAS)
+1 -1
drivers/s390/net/netiucv.c
··· 2113 2113 IUCV_DBF_TEXT(trace, 3, __func__); 2114 2114 2115 2115 if (count >= IFNAMSIZ) 2116 - count = IFNAMSIZ - 1;; 2116 + count = IFNAMSIZ - 1; 2117 2117 2118 2118 for (i = 0, p = buf; i < count && *p; i++, p++) { 2119 2119 if (*p == '\n' || *p == ' ')
+1 -1
drivers/s390/scsi/zfcp_scsi.c
··· 102 102 if (unlikely((status & ZFCP_STATUS_COMMON_ERP_FAILED) || 103 103 !(status & ZFCP_STATUS_COMMON_RUNNING))) { 104 104 zfcp_scsi_command_fail(scpnt, DID_ERROR); 105 - return 0;; 105 + return 0; 106 106 } 107 107 108 108 ret = zfcp_fsf_send_fcp_command_task(unit, scpnt);
+1 -1
drivers/scsi/aic7xxx/aic7xxx_core.c
··· 5223 5223 5224 5224 /* 5225 5225 * Setup the allowed SCSI Sequences based on operational mode. 5226 - * If we are a target, we'll enalbe select in operations once 5226 + * If we are a target, we'll enable select in operations once 5227 5227 * we've had a lun enabled. 5228 5228 */ 5229 5229 scsiseq_template = ENSELO|ENAUTOATNO|ENAUTOATNP;
+1 -1
drivers/scsi/bnx2i/bnx2i_hwi.c
··· 1340 1340 resp_hdr->opcode = login->op_code; 1341 1341 resp_hdr->flags = login->response_flags; 1342 1342 resp_hdr->max_version = login->version_max; 1343 - resp_hdr->active_version = login->version_active;; 1343 + resp_hdr->active_version = login->version_active; 1344 1344 resp_hdr->hlength = 0; 1345 1345 1346 1346 hton24(resp_hdr->dlength, login->data_length);
+1 -1
drivers/scsi/lpfc/lpfc_ct.c
··· 1207 1207 vport->ct_flags &= ~FC_CT_RFF_ID; 1208 1208 CtReq->CommandResponse.bits.CmdRsp = 1209 1209 be16_to_cpu(SLI_CTNS_RFF_ID); 1210 - CtReq->un.rff.PortId = cpu_to_be32(vport->fc_myDID);; 1210 + CtReq->un.rff.PortId = cpu_to_be32(vport->fc_myDID); 1211 1211 CtReq->un.rff.fbits = FC4_FEATURE_INIT; 1212 1212 CtReq->un.rff.type_code = FC_FCP_DATA; 1213 1213 cmpl = lpfc_cmpl_ct_cmd_rff_id;
+1 -1
drivers/scsi/megaraid/megaraid_sas.c
··· 718 718 * megasas_build_ldio - Prepares IOs to logical devices 719 719 * @instance: Adapter soft state 720 720 * @scp: SCSI command 721 - * @cmd: Command to to be prepared 721 + * @cmd: Command to be prepared 722 722 * 723 723 * Frames (and accompanying SGLs) for regular SCSI IOs use this function. 724 724 */
+2 -2
drivers/scsi/qla4xxx/ql4_os.c
··· 1422 1422 /** 1423 1423 * qla4xxx_del_from_active_array - returns an active srb 1424 1424 * @ha: Pointer to host adapter structure. 1425 - * @index: index into to the active_array 1425 + * @index: index into the active_array 1426 1426 * 1427 1427 * This routine removes and returns the srb at the specified index 1428 1428 **/ ··· 1500 1500 1501 1501 /** 1502 1502 * qla4xxx_eh_wait_for_commands - wait for active cmds to finish. 1503 - * @ha: pointer to to HBA 1503 + * @ha: pointer to HBA 1504 1504 * @t: target id 1505 1505 * @l: lun id 1506 1506 *
+1 -1
drivers/spi/omap_uwire.c
··· 213 213 unsigned bits = ust->bits_per_word; 214 214 unsigned bytes; 215 215 u16 val, w; 216 - int status = 0;; 216 + int status = 0; 217 217 218 218 if (!t->tx_buf && !t->rx_buf) 219 219 return 0;
+1 -1
drivers/spi/spi_s3c24xx.c
··· 388 388 389 389 err_no_iores: 390 390 err_no_pdata: 391 - spi_master_put(hw->master);; 391 + spi_master_put(hw->master); 392 392 393 393 err_nomem: 394 394 return err;
+1 -1
drivers/staging/rt2860/rtmp.h
··· 2060 2060 BOOLEAN AdhocBGJoined; // Indicate Adhoc B/G Join. 2061 2061 BOOLEAN Adhoc20NJoined; // Indicate Adhoc 20MHz N Join. 2062 2062 #endif 2063 - // New for WPA, windows want us to to keep association information and 2063 + // New for WPA, windows want us to keep association information and 2064 2064 // Fixed IEs from last association response 2065 2065 NDIS_802_11_ASSOCIATION_INFORMATION AssocInfo; 2066 2066 USHORT ReqVarIELen; // Length of next VIE include EID & Length
-2
drivers/usb/class/cdc-wdm.c
··· 506 506 desc = usb_get_intfdata(intf); 507 507 if (test_bit(WDM_DISCONNECTING, &desc->flags)) 508 508 goto out; 509 - 510 - ; 511 509 file->private_data = desc; 512 510 513 511 rv = usb_autopm_get_interface(desc->intf);
+1 -1
drivers/usb/host/ehci-pci.c
··· 242 242 * System suspend currently expects to be able to suspend the entire 243 243 * device tree, device-at-a-time. If we failed selective suspend 244 244 * reports, system suspend would fail; so the root hub code must claim 245 - * success. That's lying to usbcore, and it matters for for runtime 245 + * success. That's lying to usbcore, and it matters for runtime 246 246 * PM scenarios with selective suspend and remote wakeup... 247 247 */ 248 248 if (ehci->no_selective_suspend && device_can_wakeup(&pdev->dev))
+1 -1
drivers/usb/host/ehci.h
··· 37 37 #define __hc16 __le16 38 38 #endif 39 39 40 - /* statistics can be kept for for tuning/monitoring */ 40 + /* statistics can be kept for tuning/monitoring */ 41 41 struct ehci_stats { 42 42 /* irq usage */ 43 43 unsigned long normal;
+1 -1
drivers/usb/host/ohci-q.c
··· 418 418 is_out = !(ep->desc.bEndpointAddress & USB_DIR_IN); 419 419 420 420 /* FIXME usbcore changes dev->devnum before SET_ADDRESS 421 - * suceeds ... otherwise we wouldn't need "pipe". 421 + * succeeds ... otherwise we wouldn't need "pipe". 422 422 */ 423 423 info = usb_pipedevice (pipe); 424 424 ed->type = usb_pipetype(pipe);
+1 -1
drivers/usb/host/xhci.h
··· 1150 1150 void xhci_dbg_ring_ptrs(struct xhci_hcd *xhci, struct xhci_ring *ring); 1151 1151 void xhci_dbg_ctx(struct xhci_hcd *xhci, struct xhci_container_ctx *ctx, unsigned int last_ep); 1152 1152 1153 - /* xHCI memory managment */ 1153 + /* xHCI memory management */ 1154 1154 void xhci_mem_cleanup(struct xhci_hcd *xhci); 1155 1155 int xhci_mem_init(struct xhci_hcd *xhci, gfp_t flags); 1156 1156 void xhci_free_virt_device(struct xhci_hcd *xhci, int slot_id);
+1 -1
drivers/usb/serial/cypress_m8.h
··· 57 57 #define UART_RI 0x10 /* ring indicator - modem - device to host */ 58 58 #define UART_CD 0x40 /* carrier detect - modem - device to host */ 59 59 #define CYP_ERROR 0x08 /* received from input report - device to host */ 60 - /* Note - the below has nothing to to with the "feature report" reset */ 60 + /* Note - the below has nothing to do with the "feature report" reset */ 61 61 #define CONTROL_RESET 0x08 /* sent with output report - host to device */ 62 62 63 63 /* End of RS-232 protocol definitions */
+1 -1
drivers/usb/serial/io_edgeport.c
··· 2540 2540 2541 2541 /***************************************************************************** 2542 2542 * send_cmd_write_uart_register 2543 - * this function builds up a uart register message and sends to to the device. 2543 + * this function builds up a uart register message and sends to the device. 2544 2544 *****************************************************************************/ 2545 2545 static int send_cmd_write_uart_register(struct edgeport_port *edge_port, 2546 2546 __u8 regNum, __u8 regValue)
+1 -1
drivers/usb/serial/kl5kusb105.c
··· 38 38 * 0.3a - implemented pools of write URBs 39 39 * 0.3 - alpha version for public testing 40 40 * 0.2 - TIOCMGET works, so autopilot(1) can be used! 41 - * 0.1 - can be used to to pilot-xfer -p /dev/ttyUSB0 -l 41 + * 0.1 - can be used to do pilot-xfer -p /dev/ttyUSB0 -l 42 42 * 43 43 * The driver skeleton is mainly based on mct_u232.c and various other 44 44 * pieces of code shamelessly copied from the drivers/usb/serial/ directory.
+1 -1
drivers/usb/serial/spcp8x5.c
··· 544 544 } 545 545 546 546 /* Set Baud Rate */ 547 - baud = tty_get_baud_rate(tty);; 547 + baud = tty_get_baud_rate(tty); 548 548 switch (baud) { 549 549 case 300: buf[0] = 0x00; break; 550 550 case 600: buf[0] = 0x01; break;
+1 -1
drivers/usb/wusbcore/wa-hc.h
··· 47 47 * to an endpoint on a WUSB device that is connected to a 48 48 * HWA RC. 49 49 * 50 - * xfer Transfer managment -- this is all the code that gets a 50 + * xfer Transfer management -- this is all the code that gets a 51 51 * buffer and pushes it to a device (or viceversa). * 52 52 * 53 53 * Some day a lot of this code will be shared between this driver and
+1 -1
drivers/uwb/i1480/i1480u-wlp/netdev.c
··· 214 214 215 215 netif_wake_queue(net_dev); 216 216 #ifdef i1480u_FLOW_CONTROL 217 - result = usb_submit_urb(i1480u->notif_urb, GFP_KERNEL);; 217 + result = usb_submit_urb(i1480u->notif_urb, GFP_KERNEL); 218 218 if (result < 0) { 219 219 dev_err(dev, "Can't submit notification URB: %d\n", result); 220 220 goto error_notif_urb_submit;
+1 -1
drivers/video/cfbcopyarea.c
··· 114 114 d0 >>= right; 115 115 } else if (src_idx+n <= bits) { 116 116 // Single source word 117 - d0 <<= left;; 117 + d0 <<= left; 118 118 } else { 119 119 // 2 source words 120 120 d1 = FB_READL(src + 1);
+1 -1
drivers/video/imxfb.c
··· 710 710 711 711 fbi->clk = clk_get(&pdev->dev, NULL); 712 712 if (IS_ERR(fbi->clk)) { 713 - ret = PTR_ERR(fbi->clk);; 713 + ret = PTR_ERR(fbi->clk); 714 714 dev_err(&pdev->dev, "unable to get clock: %d\n", ret); 715 715 goto failed_getclock; 716 716 }
+2 -2
drivers/video/omap/lcd_h3.c
··· 124 124 }, 125 125 }; 126 126 127 - static int h3_panel_drv_init(void) 127 + static int __init h3_panel_drv_init(void) 128 128 { 129 129 return platform_driver_register(&h3_panel_driver); 130 130 } 131 131 132 - static void h3_panel_drv_cleanup(void) 132 + static void __exit h3_panel_drv_cleanup(void) 133 133 { 134 134 platform_driver_unregister(&h3_panel_driver); 135 135 }
+2 -2
drivers/video/omap/lcd_h4.c
··· 102 102 }, 103 103 }; 104 104 105 - static int h4_panel_drv_init(void) 105 + static int __init h4_panel_drv_init(void) 106 106 { 107 107 return platform_driver_register(&h4_panel_driver); 108 108 } 109 109 110 - static void h4_panel_drv_cleanup(void) 110 + static void __exit h4_panel_drv_cleanup(void) 111 111 { 112 112 platform_driver_unregister(&h4_panel_driver); 113 113 }
+2 -2
drivers/video/omap/lcd_inn1510.c
··· 109 109 }, 110 110 }; 111 111 112 - static int innovator1510_panel_drv_init(void) 112 + static int __init innovator1510_panel_drv_init(void) 113 113 { 114 114 return platform_driver_register(&innovator1510_panel_driver); 115 115 } 116 116 117 - static void innovator1510_panel_drv_cleanup(void) 117 + static void __exit innovator1510_panel_drv_cleanup(void) 118 118 { 119 119 platform_driver_unregister(&innovator1510_panel_driver); 120 120 }
+2 -2
drivers/video/omap/lcd_inn1610.c
··· 133 133 }, 134 134 }; 135 135 136 - static int innovator1610_panel_drv_init(void) 136 + static int __init innovator1610_panel_drv_init(void) 137 137 { 138 138 return platform_driver_register(&innovator1610_panel_driver); 139 139 } 140 140 141 - static void innovator1610_panel_drv_cleanup(void) 141 + static void __exit innovator1610_panel_drv_cleanup(void) 142 142 { 143 143 platform_driver_unregister(&innovator1610_panel_driver); 144 144 }
+2 -2
drivers/video/omap/lcd_osk.c
··· 127 127 }, 128 128 }; 129 129 130 - static int osk_panel_drv_init(void) 130 + static int __init osk_panel_drv_init(void) 131 131 { 132 132 return platform_driver_register(&osk_panel_driver); 133 133 } 134 134 135 - static void osk_panel_drv_cleanup(void) 135 + static void __exit osk_panel_drv_cleanup(void) 136 136 { 137 137 platform_driver_unregister(&osk_panel_driver); 138 138 }
+2 -2
drivers/video/omap/lcd_palmte.c
··· 108 108 }, 109 109 }; 110 110 111 - static int palmte_panel_drv_init(void) 111 + static int __init palmte_panel_drv_init(void) 112 112 { 113 113 return platform_driver_register(&palmte_panel_driver); 114 114 } 115 115 116 - static void palmte_panel_drv_cleanup(void) 116 + static void __exit palmte_panel_drv_cleanup(void) 117 117 { 118 118 platform_driver_unregister(&palmte_panel_driver); 119 119 }
+2 -2
drivers/video/omap/lcd_palmtt.c
··· 113 113 }, 114 114 }; 115 115 116 - static int palmtt_panel_drv_init(void) 116 + static int __init palmtt_panel_drv_init(void) 117 117 { 118 118 return platform_driver_register(&palmtt_panel_driver); 119 119 } 120 120 121 - static void palmtt_panel_drv_cleanup(void) 121 + static void __exit palmtt_panel_drv_cleanup(void) 122 122 { 123 123 platform_driver_unregister(&palmtt_panel_driver); 124 124 }
+2 -2
drivers/video/omap/lcd_palmz71.c
··· 109 109 }, 110 110 }; 111 111 112 - static int palmz71_panel_drv_init(void) 112 + static int __init palmz71_panel_drv_init(void) 113 113 { 114 114 return platform_driver_register(&palmz71_panel_driver); 115 115 } 116 116 117 - static void palmz71_panel_drv_cleanup(void) 117 + static void __exit palmz71_panel_drv_cleanup(void) 118 118 { 119 119 platform_driver_unregister(&palmz71_panel_driver); 120 120 }
+1 -1
drivers/video/s3c2410fb.c
··· 1119 1119 int ret = platform_driver_register(&s3c2410fb_driver); 1120 1120 1121 1121 if (ret == 0) 1122 - ret = platform_driver_register(&s3c2412fb_driver);; 1122 + ret = platform_driver_register(&s3c2412fb_driver); 1123 1123 1124 1124 return ret; 1125 1125 }
+1 -1
drivers/xen/balloon.c
··· 210 210 page = balloon_first_page(); 211 211 for (i = 0; i < nr_pages; i++) { 212 212 BUG_ON(page == NULL); 213 - frame_list[i] = page_to_pfn(page);; 213 + frame_list[i] = page_to_pfn(page); 214 214 page = balloon_next_page(page); 215 215 } 216 216
+1 -1
fs/autofs/dirhash.c
··· 90 90 DPRINTK(("autofs: not expirable (not a mounted directory): %s\n", ent->name)); 91 91 continue; 92 92 } 93 - while (d_mountpoint(path.dentry) && follow_down(&path)); 93 + while (d_mountpoint(path.dentry) && follow_down(&path)) 94 94 ; 95 95 umount_ok = may_umount(path.mnt); 96 96 path_put(&path);
+1 -1
fs/btrfs/tree-log.c
··· 2605 2605 extent); 2606 2606 cs = btrfs_file_extent_offset(src, extent); 2607 2607 cl = btrfs_file_extent_num_bytes(src, 2608 - extent);; 2608 + extent); 2609 2609 if (btrfs_file_extent_compression(src, 2610 2610 extent)) { 2611 2611 cs = 0;
+1 -1
fs/cifs/cifs_dfs_ref.c
··· 142 142 rc = dns_resolve_server_name_to_ip(*devname, &srvIP); 143 143 if (rc != 0) { 144 144 cERROR(1, ("%s: Failed to resolve server part of %s to IP: %d", 145 - __func__, *devname, rc));; 145 + __func__, *devname, rc)); 146 146 goto compose_mount_options_err; 147 147 } 148 148 /* md_len = strlen(...) + 12 for 'sep+prefixpath='
+1 -1
fs/ext4/inode.c
··· 2337 2337 /* 2338 2338 * Rest of the page in the page_vec 2339 2339 * redirty then and skip then. We will 2340 - * try to to write them again after 2340 + * try to write them again after 2341 2341 * starting a new transaction 2342 2342 */ 2343 2343 redirty_page_for_writepage(wbc, page);
+1 -1
fs/gfs2/rgrp.c
··· 179 179 * always aligned to a 64 bit boundary. 180 180 * 181 181 * The size of the buffer is in bytes, but is it assumed that it is 182 - * always ok to to read a complete multiple of 64 bits at the end 182 + * always ok to read a complete multiple of 64 bits at the end 183 183 * of the block in case the end is no aligned to a natural boundary. 184 184 * 185 185 * Return: the block number (bitmap buffer scope) that was found
+1 -1
fs/nfs/callback_xdr.c
··· 222 222 223 223 p = read_buf(xdr, len); 224 224 if (unlikely(p == NULL)) 225 - return htonl(NFS4ERR_RESOURCE);; 225 + return htonl(NFS4ERR_RESOURCE); 226 226 227 227 memcpy(sid->data, p, len); 228 228 return 0;
+1 -1
fs/ntfs/layout.h
··· 829 829 /* Note, FILE_ATTR_VALID_SET_FLAGS masks out the old DOS VolId, the 830 830 F_A_DEVICE, F_A_DIRECTORY, F_A_SPARSE_FILE, F_A_REPARSE_POINT, 831 831 F_A_COMPRESSED, and F_A_ENCRYPTED and preserves the rest. This mask 832 - is used to to obtain all flags that are valid for setting. */ 832 + is used to obtain all flags that are valid for setting. */ 833 833 /* 834 834 * The flag FILE_ATTR_DUP_FILENAME_INDEX_PRESENT is present in all 835 835 * FILENAME_ATTR attributes but not in the STANDARD_INFORMATION
+1 -1
fs/ocfs2/quota_global.c
··· 154 154 err = -EIO; 155 155 mlog_errno(err); 156 156 } 157 - return err;; 157 + return err; 158 158 } 159 159 160 160 /* Read data from global quotafile - avoid pagecache and such because we cannot
+1 -1
fs/xfs/xfs_fs.h
··· 117 117 #define BMV_IF_VALID \ 118 118 (BMV_IF_ATTRFORK|BMV_IF_NO_DMAPI_READ|BMV_IF_PREALLOC|BMV_IF_DELALLOC) 119 119 120 - /* bmv_oflags values - returned for for each non-header segment */ 120 + /* bmv_oflags values - returned for each non-header segment */ 121 121 #define BMV_OF_PREALLOC 0x1 /* segment = unwritten pre-allocation */ 122 122 #define BMV_OF_DELALLOC 0x2 /* segment = delayed allocation */ 123 123 #define BMV_OF_LAST 0x4 /* segment is the last in the file */
+1 -1
include/acpi/actypes.h
··· 288 288 /* 289 289 * Some compilers complain about unused variables. Sometimes we don't want to 290 290 * use all the variables (for example, _acpi_module_name). This allows us 291 - * to to tell the compiler in a per-variable manner that a variable 291 + * to tell the compiler in a per-variable manner that a variable 292 292 * is unused 293 293 */ 294 294 #ifndef ACPI_UNUSED_VAR
+1 -1
include/acpi/platform/acgcc.h
··· 57 57 /* 58 58 * Some compilers complain about unused variables. Sometimes we don't want to 59 59 * use all the variables (for example, _acpi_module_name). This allows us 60 - * to to tell the compiler warning in a per-variable manner that a variable 60 + * to tell the compiler warning in a per-variable manner that a variable 61 61 * is unused. 62 62 */ 63 63 #define ACPI_UNUSED_VAR __attribute__ ((unused))
+1 -1
include/linux/capability.h
··· 7 7 * 8 8 * See here for the libcap library ("POSIX draft" compliance): 9 9 * 10 - * ftp://linux.kernel.org/pub/linux/libs/security/linux-privs/kernel-2.6/ 10 + * ftp://www.kernel.org/pub/linux/libs/security/linux-privs/kernel-2.6/ 11 11 */ 12 12 13 13 #ifndef _LINUX_CAPABILITY_H
+1 -1
include/linux/mISDNif.h
··· 104 104 #define DL_UNITDATA_IND 0x3108 105 105 #define DL_INFORMATION_IND 0x0008 106 106 107 - /* intern layer 2 managment */ 107 + /* intern layer 2 management */ 108 108 #define MDL_ASSIGN_REQ 0x1804 109 109 #define MDL_ASSIGN_IND 0x1904 110 110 #define MDL_REMOVE_REQ 0x1A04
+1 -1
include/linux/namei.h
··· 40 40 * - follow links at the end 41 41 * - require a directory 42 42 * - ending slashes ok even for nonexistent files 43 - * - internal "there are more path compnents" flag 43 + * - internal "there are more path components" flag 44 44 * - locked when lookup done with dcache_lock held 45 45 * - dentry cache is untrusted; force a real lookup 46 46 */
+1 -1
include/linux/usb.h
··· 1071 1071 * @start_frame: Returns the initial frame for isochronous transfers. 1072 1072 * @number_of_packets: Lists the number of ISO transfer buffers. 1073 1073 * @interval: Specifies the polling interval for interrupt or isochronous 1074 - * transfers. The units are frames (milliseconds) for for full and low 1074 + * transfers. The units are frames (milliseconds) for full and low 1075 1075 * speed devices, and microframes (1/8 millisecond) for highspeed ones. 1076 1076 * @error_count: Returns the number of ISO transfers that reported errors. 1077 1077 * @context: For use in completion functions. This normally points to
+1 -1
include/linux/workqueue.h
··· 94 94 /* 95 95 * initialize all of a work item in one go 96 96 * 97 - * NOTE! No point in using "atomic_long_set()": useing a direct 97 + * NOTE! No point in using "atomic_long_set()": using a direct 98 98 * assignment of the work data initializer allows the compiler 99 99 * to generate better code. 100 100 */
+1 -1
include/rdma/ib_cm.h
··· 482 482 * message. 483 483 * @cm_id: Connection identifier associated with the connection message. 484 484 * @service_timeout: The lower 5-bits specify the maximum time required for 485 - * the sender to reply to to the connection message. The upper 3-bits 485 + * the sender to reply to the connection message. The upper 3-bits 486 486 * specify additional control flags. 487 487 * @private_data: Optional user-defined private data sent with the 488 488 * message receipt acknowledgement.
+1 -2
include/scsi/fc/fc_fc2.h
··· 92 92 __u8 _esb_resvd[4]; 93 93 __u8 esb_service_params[112]; /* TBD */ 94 94 __u8 esb_seq_status[8]; /* sequence statuses, 8 bytes each */ 95 - } __attribute__((packed));; 96 - 95 + } __attribute__((packed)); 97 96 98 97 /* 99 98 * Define expected size for ASSERTs.
+1 -1
kernel/panic.c
··· 177 177 * 'W' - Taint on warning. 178 178 * 'C' - modules from drivers/staging are loaded. 179 179 * 180 - * The string is overwritten by the next call to print_taint(). 180 + * The string is overwritten by the next call to print_tainted(). 181 181 */ 182 182 const char *print_tainted(void) 183 183 {
+1 -1
kernel/trace/Kconfig
··· 83 83 # This allows those options to appear when no other tracer is selected. But the 84 84 # options do not appear when something else selects it. We need the two options 85 85 # GENERIC_TRACER and TRACING to avoid circular dependencies to accomplish the 86 - # hidding of the automatic options options. 86 + # hidding of the automatic options. 87 87 88 88 config TRACING 89 89 bool
+1 -1
kernel/trace/trace_hw_branches.c
··· 155 155 seq_print_ip_sym(seq, it->from, symflags) && 156 156 trace_seq_printf(seq, "\n")) 157 157 return TRACE_TYPE_HANDLED; 158 - return TRACE_TYPE_PARTIAL_LINE;; 158 + return TRACE_TYPE_PARTIAL_LINE; 159 159 } 160 160 return TRACE_TYPE_UNHANDLED; 161 161 }
+1 -1
kernel/tracepoint.c
··· 48 48 49 49 /* 50 50 * Note about RCU : 51 - * It is used to to delay the free of multiple probes array until a quiescent 51 + * It is used to delay the free of multiple probes array until a quiescent 52 52 * state is reached. 53 53 * Tracepoint entries modifications are protected by the tracepoints_mutex. 54 54 */
+2 -2
lib/zlib_deflate/deflate.c
··· 135 135 136 136 /* =========================================================================== 137 137 * Update a hash value with the given input byte 138 - * IN assertion: all calls to to UPDATE_HASH are made with consecutive 138 + * IN assertion: all calls to UPDATE_HASH are made with consecutive 139 139 * input characters, so that a running hash key can be computed from the 140 140 * previous key instead of complete recalculation each time. 141 141 */ ··· 146 146 * Insert string str in the dictionary and set match_head to the previous head 147 147 * of the hash chain (the most recent string with same hash key). Return 148 148 * the previous length of the hash chain. 149 - * IN assertion: all calls to to INSERT_STRING are made with consecutive 149 + * IN assertion: all calls to INSERT_STRING are made with consecutive 150 150 * input characters and the first MIN_MATCH bytes of str are valid 151 151 * (except for the last MIN_MATCH-1 bytes of the input file). 152 152 */
+6 -6
mm/Kconfig.debug
··· 6 6 ---help--- 7 7 Unmap pages from the kernel linear mapping after free_pages(). 8 8 This results in a large slowdown, but helps to find certain types 9 - of memory corruptions. 9 + of memory corruption. 10 10 11 11 config WANT_PAGE_DEBUG_FLAGS 12 12 bool ··· 17 17 depends on !HIBERNATION 18 18 select DEBUG_PAGEALLOC 19 19 select WANT_PAGE_DEBUG_FLAGS 20 - help 20 + ---help--- 21 21 Fill the pages with poison patterns after free_pages() and verify 22 22 the patterns before alloc_pages(). This results in a large slowdown, 23 - but helps to find certain types of memory corruptions. 23 + but helps to find certain types of memory corruption. 24 24 25 - This option cannot enalbe with hibernation. Otherwise, it will get 26 - wrong messages for memory corruption because the free pages are not 27 - saved to the suspend image. 25 + This option cannot be enabled in combination with hibernation as 26 + that would result in incorrect warnings of memory corruption after 27 + a resume because free pages are not saved to the suspend image.
+1 -1
net/rxrpc/ar-call.c
··· 96 96 } 97 97 98 98 /* 99 - * allocate a new client call and attempt to to get a connection slot for it 99 + * allocate a new client call and attempt to get a connection slot for it 100 100 */ 101 101 static struct rxrpc_call *rxrpc_alloc_client_call( 102 102 struct rxrpc_sock *rx,
+1 -1
net/sched/sch_hfsc.c
··· 77 77 * The service curve parameters are converted to the internal 78 78 * representation. The slope values are scaled to avoid overflow. 79 79 * the inverse slope values as well as the y-projection of the 1st 80 - * segment are kept in order to to avoid 64-bit divide operations 80 + * segment are kept in order to avoid 64-bit divide operations 81 81 * that are expensive on 32-bit architectures. 82 82 */ 83 83
+1 -1
net/wireless/wext-compat.c
··· 834 834 return 0; 835 835 } 836 836 837 - return rdev->ops->set_tx_power(wdev->wiphy, type, dbm);; 837 + return rdev->ops->set_tx_power(wdev->wiphy, type, dbm); 838 838 } 839 839 EXPORT_SYMBOL_GPL(cfg80211_wext_siwtxpower); 840 840
+1 -3
scripts/basic/fixdep.c
··· 16 16 * tells make when to remake a file. 17 17 * 18 18 * To use this list as-is however has the drawback that virtually 19 - * every file in the kernel includes <linux/config.h> which then again 20 - * includes <linux/autoconf.h> 19 + * every file in the kernel includes <linux/autoconf.h>. 21 20 * 22 21 * If the user re-runs make *config, linux/autoconf.h will be 23 22 * regenerated. make notices that and will rebuild every file which ··· 125 126 char *cmdline; 126 127 127 128 void usage(void) 128 - 129 129 { 130 130 fprintf(stderr, "Usage: fixdep <depfile> <target> <cmdline>\n"); 131 131 exit(1);
-2
scripts/mod/sumversion.c
··· 334 334 deps_drivers/net/dummy.o := \ 335 335 drivers/net/dummy.c \ 336 336 $(wildcard include/config/net/fastroute.h) \ 337 - include/linux/config.h \ 338 - $(wildcard include/config/h.h) \ 339 337 include/linux/module.h \ 340 338 341 339 Sum all files in the same dir or subdirs.
-3
sound/oss/swarm_cs4297a.c
··· 110 110 // rather than 64k as some of the games work more responsively. 111 111 // log base 2( buff sz = 32k). 112 112 113 - //static unsigned long defaultorder = 3; 114 - //MODULE_PARM(defaultorder, "i"); 115 - 116 113 // 117 114 // Turn on/off debugging compilation by commenting out "#define CSDEBUG" 118 115 //
-3
sound/oss/sys_timer.c
··· 100 100 curr_tempo = 60; 101 101 curr_timebase = 100; 102 102 opened = 1; 103 - 104 - ; 105 - 106 103 { 107 104 def_tmr.expires = (1) + jiffies; 108 105 add_timer(&def_tmr);
+1 -1
sound/soc/codecs/wm9081.c
··· 1027 1027 - wm9081->fs); 1028 1028 for (i = 1; i < ARRAY_SIZE(clk_sys_rates); i++) { 1029 1029 cur_val = abs((wm9081->sysclk_rate / 1030 - clk_sys_rates[i].ratio) - wm9081->fs);; 1030 + clk_sys_rates[i].ratio) - wm9081->fs); 1031 1031 if (cur_val < best_val) { 1032 1032 best = i; 1033 1033 best_val = cur_val;
+1 -1
sound/soc/pxa/pxa-ssp.c
··· 351 351 do_div(tmp, freq_out); 352 352 val = tmp; 353 353 354 - val = (val << 16) | 64;; 354 + val = (val << 16) | 64; 355 355 ssp_write_reg(ssp, SSACDD, val); 356 356 357 357 ssacd |= (0x6 << 4);
+1 -1
sound/soc/s3c24xx/s3c24xx_uda134x.c
··· 67 67 { 68 68 int ret = 0; 69 69 #ifdef ENFORCE_RATES 70 - struct snd_pcm_runtime *runtime = substream->runtime;; 70 + struct snd_pcm_runtime *runtime = substream->runtime; 71 71 #endif 72 72 73 73 mutex_lock(&clk_lock);