diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-10-25 06:11:02 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-10-25 06:11:02 -0400 |
commit | 59e52534172d845ebffb0d7e85fc56fb7b857051 (patch) | |
tree | 49552e03f1bdb413cd8b5f7542e91770688d7047 | |
parent | 73692d9bb58ecc2fa73f4b2bfcf6eadaa6d49a26 (diff) | |
parent | 0d89e54c8249645404283436d952afc261a04e1e (diff) |
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: (59 commits)
MAINTAINERS: linux-m32r is moderated for non-subscribers
linux@lists.openrisc.net is moderated for non-subscribers
Drop default from "DM365 codec select" choice
parisc: Kconfig: cleanup Kernel page size default
Kconfig: remove redundant CONFIG_ prefix on two symbols
cris: remove arch/cris/arch-v32/lib/nand_init.S
microblaze: add missing CONFIG_ prefixes
h8300: drop puzzling Kconfig dependencies
MAINTAINERS: microblaze-uclinux@itee.uq.edu.au is moderated for non-subscribers
tty: drop superfluous dependency in Kconfig
ARM: mxc: fix Kconfig typo 'i.MX51'
Fix file references in Kconfig files
aic7xxx: fix Kconfig references to READMEs
Fix file references in drivers/ide/
thinkpad_acpi: Fix printk typo 'bluestooth'
bcmring: drop commented out line in Kconfig
btmrvl_sdio: fix typo 'btmrvl_sdio_sd6888'
doc: raw1394: Trivial typo fix
CIFS: Don't free volume_info->UNC until we are entirely done with it.
treewide: Correct spelling of successfully in comments
...
211 files changed, 293 insertions, 578 deletions
diff --git a/Documentation/ABI/removed/o2cb b/Documentation/ABI/removed/o2cb index 7f5daa465093..20c91adca6d4 100644 --- a/Documentation/ABI/removed/o2cb +++ b/Documentation/ABI/removed/o2cb | |||
@@ -1,6 +1,6 @@ | |||
1 | What: /sys/o2cb symlink | 1 | What: /sys/o2cb symlink |
2 | Date: May 2011 | 2 | Date: May 2011 |
3 | KernelVersion: 2.6.40 | 3 | KernelVersion: 3.0 |
4 | Contact: ocfs2-devel@oss.oracle.com | 4 | Contact: ocfs2-devel@oss.oracle.com |
5 | Description: This is a symlink: /sys/o2cb to /sys/fs/o2cb. The symlink is | 5 | Description: This is a symlink: /sys/o2cb to /sys/fs/o2cb. The symlink is |
6 | removed when new versions of ocfs2-tools which know to look | 6 | removed when new versions of ocfs2-tools which know to look |
diff --git a/Documentation/ABI/removed/raw1394 b/Documentation/ABI/removed/raw1394 index 490aa1efc4ae..ec333e676322 100644 --- a/Documentation/ABI/removed/raw1394 +++ b/Documentation/ABI/removed/raw1394 | |||
@@ -5,7 +5,7 @@ Description: | |||
5 | /dev/raw1394 was a character device file that allowed low-level | 5 | /dev/raw1394 was a character device file that allowed low-level |
6 | access to FireWire buses. Its major drawbacks were its inability | 6 | access to FireWire buses. Its major drawbacks were its inability |
7 | to implement sensible device security policies, and its low level | 7 | to implement sensible device security policies, and its low level |
8 | of abstraction that required userspace clients do duplicate much | 8 | of abstraction that required userspace clients to duplicate much |
9 | of the kernel's ieee1394 core functionality. | 9 | of the kernel's ieee1394 core functionality. |
10 | Replaced by /dev/fw*, i.e. the <linux/firewire-cdev.h> ABI of | 10 | Replaced by /dev/fw*, i.e. the <linux/firewire-cdev.h> ABI of |
11 | firewire-core. | 11 | firewire-core. |
diff --git a/Documentation/ABI/testing/sysfs-bus-bcma b/Documentation/ABI/testing/sysfs-bus-bcma index 06b62badddd1..721b4aea3020 100644 --- a/Documentation/ABI/testing/sysfs-bus-bcma +++ b/Documentation/ABI/testing/sysfs-bus-bcma | |||
@@ -1,6 +1,6 @@ | |||
1 | What: /sys/bus/bcma/devices/.../manuf | 1 | What: /sys/bus/bcma/devices/.../manuf |
2 | Date: May 2011 | 2 | Date: May 2011 |
3 | KernelVersion: 2.6.40 | 3 | KernelVersion: 3.0 |
4 | Contact: Rafał Miłecki <zajec5@gmail.com> | 4 | Contact: Rafał Miłecki <zajec5@gmail.com> |
5 | Description: | 5 | Description: |
6 | Each BCMA core has it's manufacturer id. See | 6 | Each BCMA core has it's manufacturer id. See |
@@ -8,7 +8,7 @@ Description: | |||
8 | 8 | ||
9 | What: /sys/bus/bcma/devices/.../id | 9 | What: /sys/bus/bcma/devices/.../id |
10 | Date: May 2011 | 10 | Date: May 2011 |
11 | KernelVersion: 2.6.40 | 11 | KernelVersion: 3.0 |
12 | Contact: Rafał Miłecki <zajec5@gmail.com> | 12 | Contact: Rafał Miłecki <zajec5@gmail.com> |
13 | Description: | 13 | Description: |
14 | There are a few types of BCMA cores, they can be identified by | 14 | There are a few types of BCMA cores, they can be identified by |
@@ -16,7 +16,7 @@ Description: | |||
16 | 16 | ||
17 | What: /sys/bus/bcma/devices/.../rev | 17 | What: /sys/bus/bcma/devices/.../rev |
18 | Date: May 2011 | 18 | Date: May 2011 |
19 | KernelVersion: 2.6.40 | 19 | KernelVersion: 3.0 |
20 | Contact: Rafał Miłecki <zajec5@gmail.com> | 20 | Contact: Rafał Miłecki <zajec5@gmail.com> |
21 | Description: | 21 | Description: |
22 | BCMA cores of the same type can still slightly differ depending | 22 | BCMA cores of the same type can still slightly differ depending |
@@ -24,7 +24,7 @@ Description: | |||
24 | 24 | ||
25 | What: /sys/bus/bcma/devices/.../class | 25 | What: /sys/bus/bcma/devices/.../class |
26 | Date: May 2011 | 26 | Date: May 2011 |
27 | KernelVersion: 2.6.40 | 27 | KernelVersion: 3.0 |
28 | Contact: Rafał Miłecki <zajec5@gmail.com> | 28 | Contact: Rafał Miłecki <zajec5@gmail.com> |
29 | Description: | 29 | Description: |
30 | Each BCMA core is identified by few fields, including class it | 30 | Each BCMA core is identified by few fields, including class it |
diff --git a/Documentation/ABI/testing/sysfs-class-backlight-driver-adp8870 b/Documentation/ABI/testing/sysfs-class-backlight-driver-adp8870 index aa11dbdd794b..4a9c545bda4b 100644 --- a/Documentation/ABI/testing/sysfs-class-backlight-driver-adp8870 +++ b/Documentation/ABI/testing/sysfs-class-backlight-driver-adp8870 | |||
@@ -4,8 +4,8 @@ What: /sys/class/backlight/<backlight>/l2_bright_max | |||
4 | What: /sys/class/backlight/<backlight>/l3_office_max | 4 | What: /sys/class/backlight/<backlight>/l3_office_max |
5 | What: /sys/class/backlight/<backlight>/l4_indoor_max | 5 | What: /sys/class/backlight/<backlight>/l4_indoor_max |
6 | What: /sys/class/backlight/<backlight>/l5_dark_max | 6 | What: /sys/class/backlight/<backlight>/l5_dark_max |
7 | Date: Mai 2011 | 7 | Date: May 2011 |
8 | KernelVersion: 2.6.40 | 8 | KernelVersion: 3.0 |
9 | Contact: device-drivers-devel@blackfin.uclinux.org | 9 | Contact: device-drivers-devel@blackfin.uclinux.org |
10 | Description: | 10 | Description: |
11 | Control the maximum brightness for <ambient light zone> | 11 | Control the maximum brightness for <ambient light zone> |
@@ -18,8 +18,8 @@ What: /sys/class/backlight/<backlight>/l2_bright_dim | |||
18 | What: /sys/class/backlight/<backlight>/l3_office_dim | 18 | What: /sys/class/backlight/<backlight>/l3_office_dim |
19 | What: /sys/class/backlight/<backlight>/l4_indoor_dim | 19 | What: /sys/class/backlight/<backlight>/l4_indoor_dim |
20 | What: /sys/class/backlight/<backlight>/l5_dark_dim | 20 | What: /sys/class/backlight/<backlight>/l5_dark_dim |
21 | Date: Mai 2011 | 21 | Date: May 2011 |
22 | KernelVersion: 2.6.40 | 22 | KernelVersion: 3.0 |
23 | Contact: device-drivers-devel@blackfin.uclinux.org | 23 | Contact: device-drivers-devel@blackfin.uclinux.org |
24 | Description: | 24 | Description: |
25 | Control the dim brightness for <ambient light zone> | 25 | Control the dim brightness for <ambient light zone> |
@@ -29,8 +29,8 @@ Description: | |||
29 | this <ambient light zone>. | 29 | this <ambient light zone>. |
30 | 30 | ||
31 | What: /sys/class/backlight/<backlight>/ambient_light_level | 31 | What: /sys/class/backlight/<backlight>/ambient_light_level |
32 | Date: Mai 2011 | 32 | Date: May 2011 |
33 | KernelVersion: 2.6.40 | 33 | KernelVersion: 3.0 |
34 | Contact: device-drivers-devel@blackfin.uclinux.org | 34 | Contact: device-drivers-devel@blackfin.uclinux.org |
35 | Description: | 35 | Description: |
36 | Get conversion value of the light sensor. | 36 | Get conversion value of the light sensor. |
@@ -39,8 +39,8 @@ Description: | |||
39 | 8000 (max ambient brightness) | 39 | 8000 (max ambient brightness) |
40 | 40 | ||
41 | What: /sys/class/backlight/<backlight>/ambient_light_zone | 41 | What: /sys/class/backlight/<backlight>/ambient_light_zone |
42 | Date: Mai 2011 | 42 | Date: May 2011 |
43 | KernelVersion: 2.6.40 | 43 | KernelVersion: 3.0 |
44 | Contact: device-drivers-devel@blackfin.uclinux.org | 44 | Contact: device-drivers-devel@blackfin.uclinux.org |
45 | Description: | 45 | Description: |
46 | Get/Set current ambient light zone. Reading returns | 46 | Get/Set current ambient light zone. Reading returns |
diff --git a/Documentation/PCI/pci.txt b/Documentation/PCI/pci.txt index 6148d4080f88..aa09e5476bba 100644 --- a/Documentation/PCI/pci.txt +++ b/Documentation/PCI/pci.txt | |||
@@ -314,7 +314,7 @@ from the PCI device config space. Use the values in the pci_dev structure | |||
314 | as the PCI "bus address" might have been remapped to a "host physical" | 314 | as the PCI "bus address" might have been remapped to a "host physical" |
315 | address by the arch/chip-set specific kernel support. | 315 | address by the arch/chip-set specific kernel support. |
316 | 316 | ||
317 | See Documentation/IO-mapping.txt for how to access device registers | 317 | See Documentation/io-mapping.txt for how to access device registers |
318 | or device memory. | 318 | or device memory. |
319 | 319 | ||
320 | The device driver needs to call pci_request_region() to verify | 320 | The device driver needs to call pci_request_region() to verify |
diff --git a/Documentation/blackfin/bfin-gpio-notes.txt b/Documentation/blackfin/bfin-gpio-notes.txt index f731c1e56475..d36b01f778b9 100644 --- a/Documentation/blackfin/bfin-gpio-notes.txt +++ b/Documentation/blackfin/bfin-gpio-notes.txt | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * File: Documentation/blackfin/bfin-gpio-note.txt | 2 | * File: Documentation/blackfin/bfin-gpio-notes.txt |
3 | * Based on: | 3 | * Based on: |
4 | * Author: | 4 | * Author: |
5 | * | 5 | * |
diff --git a/Documentation/block/biodoc.txt b/Documentation/block/biodoc.txt index c6d84cfd2f56..e418dc0a7086 100644 --- a/Documentation/block/biodoc.txt +++ b/Documentation/block/biodoc.txt | |||
@@ -186,7 +186,7 @@ a virtual address mapping (unlike the earlier scheme of virtual address | |||
186 | do not have a corresponding kernel virtual address space mapping) and | 186 | do not have a corresponding kernel virtual address space mapping) and |
187 | low-memory pages. | 187 | low-memory pages. |
188 | 188 | ||
189 | Note: Please refer to Documentation/PCI/PCI-DMA-mapping.txt for a discussion | 189 | Note: Please refer to Documentation/DMA-API-HOWTO.txt for a discussion |
190 | on PCI high mem DMA aspects and mapping of scatter gather lists, and support | 190 | on PCI high mem DMA aspects and mapping of scatter gather lists, and support |
191 | for 64 bit PCI. | 191 | for 64 bit PCI. |
192 | 192 | ||
diff --git a/Documentation/bus-virt-phys-mapping.txt b/Documentation/bus-virt-phys-mapping.txt index 1b5aa10df845..2bc55ff3b4d1 100644 --- a/Documentation/bus-virt-phys-mapping.txt +++ b/Documentation/bus-virt-phys-mapping.txt | |||
@@ -1,6 +1,6 @@ | |||
1 | [ NOTE: The virt_to_bus() and bus_to_virt() functions have been | 1 | [ NOTE: The virt_to_bus() and bus_to_virt() functions have been |
2 | superseded by the functionality provided by the PCI DMA interface | 2 | superseded by the functionality provided by the PCI DMA interface |
3 | (see Documentation/PCI/PCI-DMA-mapping.txt). They continue | 3 | (see Documentation/DMA-API-HOWTO.txt). They continue |
4 | to be documented below for historical purposes, but new code | 4 | to be documented below for historical purposes, but new code |
5 | must not use them. --davidm 00/12/12 ] | 5 | must not use them. --davidm 00/12/12 ] |
6 | 6 | ||
diff --git a/Documentation/cdrom/packet-writing.txt b/Documentation/cdrom/packet-writing.txt index 13c251d5add6..2834170d821e 100644 --- a/Documentation/cdrom/packet-writing.txt +++ b/Documentation/cdrom/packet-writing.txt | |||
@@ -109,7 +109,7 @@ this interface. (see http://tom.ist-im-web.de/download/pktcdvd ) | |||
109 | 109 | ||
110 | For a description of the sysfs interface look into the file: | 110 | For a description of the sysfs interface look into the file: |
111 | 111 | ||
112 | Documentation/ABI/testing/sysfs-block-pktcdvd | 112 | Documentation/ABI/testing/sysfs-class-pktcdvd |
113 | 113 | ||
114 | 114 | ||
115 | Using the pktcdvd debugfs interface | 115 | Using the pktcdvd debugfs interface |
diff --git a/Documentation/cpu-freq/governors.txt b/Documentation/cpu-freq/governors.txt index e74d0a2eb1cf..d221781dabaa 100644 --- a/Documentation/cpu-freq/governors.txt +++ b/Documentation/cpu-freq/governors.txt | |||
@@ -132,7 +132,7 @@ The sampling rate is limited by the HW transition latency: | |||
132 | transition_latency * 100 | 132 | transition_latency * 100 |
133 | Or by kernel restrictions: | 133 | Or by kernel restrictions: |
134 | If CONFIG_NO_HZ is set, the limit is 10ms fixed. | 134 | If CONFIG_NO_HZ is set, the limit is 10ms fixed. |
135 | If CONFIG_NO_HZ is not set or no_hz=off boot parameter is used, the | 135 | If CONFIG_NO_HZ is not set or nohz=off boot parameter is used, the |
136 | limits depend on the CONFIG_HZ option: | 136 | limits depend on the CONFIG_HZ option: |
137 | HZ=1000: min=20000us (20ms) | 137 | HZ=1000: min=20000us (20ms) |
138 | HZ=250: min=80000us (80ms) | 138 | HZ=250: min=80000us (80ms) |
diff --git a/Documentation/development-process/4.Coding b/Documentation/development-process/4.Coding index 83f5f5b365a3..e3cb6a56653a 100644 --- a/Documentation/development-process/4.Coding +++ b/Documentation/development-process/4.Coding | |||
@@ -278,7 +278,7 @@ enabled, a configurable percentage of memory allocations will be made to | |||
278 | fail; these failures can be restricted to a specific range of code. | 278 | fail; these failures can be restricted to a specific range of code. |
279 | Running with fault injection enabled allows the programmer to see how the | 279 | Running with fault injection enabled allows the programmer to see how the |
280 | code responds when things go badly. See | 280 | code responds when things go badly. See |
281 | Documentation/fault-injection/fault-injection.text for more information on | 281 | Documentation/fault-injection/fault-injection.txt for more information on |
282 | how to use this facility. | 282 | how to use this facility. |
283 | 283 | ||
284 | Other kinds of errors can be found with the "sparse" static analysis tool. | 284 | Other kinds of errors can be found with the "sparse" static analysis tool. |
diff --git a/Documentation/devicetree/bindings/gpio/led.txt b/Documentation/devicetree/bindings/gpio/led.txt index 064db928c3c1..141087cf3107 100644 --- a/Documentation/devicetree/bindings/gpio/led.txt +++ b/Documentation/devicetree/bindings/gpio/led.txt | |||
@@ -8,7 +8,7 @@ node's name represents the name of the corresponding LED. | |||
8 | 8 | ||
9 | LED sub-node properties: | 9 | LED sub-node properties: |
10 | - gpios : Should specify the LED's GPIO, see "Specifying GPIO information | 10 | - gpios : Should specify the LED's GPIO, see "Specifying GPIO information |
11 | for devices" in Documentation/powerpc/booting-without-of.txt. Active | 11 | for devices" in Documentation/devicetree/booting-without-of.txt. Active |
12 | low LEDs should be indicated using flags in the GPIO specifier. | 12 | low LEDs should be indicated using flags in the GPIO specifier. |
13 | - label : (optional) The label for this LED. If omitted, the label is | 13 | - label : (optional) The label for this LED. If omitted, the label is |
14 | taken from the node name (excluding the unit address). | 14 | taken from the node name (excluding the unit address). |
diff --git a/Documentation/filesystems/caching/object.txt b/Documentation/filesystems/caching/object.txt index e8b0a35d8fe5..58313348da87 100644 --- a/Documentation/filesystems/caching/object.txt +++ b/Documentation/filesystems/caching/object.txt | |||
@@ -127,9 +127,9 @@ fscache_enqueue_object()). | |||
127 | PROVISION OF CPU TIME | 127 | PROVISION OF CPU TIME |
128 | --------------------- | 128 | --------------------- |
129 | 129 | ||
130 | The work to be done by the various states is given CPU time by the threads of | 130 | The work to be done by the various states was given CPU time by the threads of |
131 | the slow work facility (see Documentation/slow-work.txt). This is used in | 131 | the slow work facility. This was used in preference to the workqueue facility |
132 | preference to the workqueue facility because: | 132 | because: |
133 | 133 | ||
134 | (1) Threads may be completely occupied for very long periods of time by a | 134 | (1) Threads may be completely occupied for very long periods of time by a |
135 | particular work item. These state actions may be doing sequences of | 135 | particular work item. These state actions may be doing sequences of |
diff --git a/Documentation/filesystems/locks.txt b/Documentation/filesystems/locks.txt index fab857accbd6..2cf81082581d 100644 --- a/Documentation/filesystems/locks.txt +++ b/Documentation/filesystems/locks.txt | |||
@@ -53,11 +53,12 @@ fcntl(), with all the problems that implies. | |||
53 | 1.3 Mandatory Locking As A Mount Option | 53 | 1.3 Mandatory Locking As A Mount Option |
54 | --------------------------------------- | 54 | --------------------------------------- |
55 | 55 | ||
56 | Mandatory locking, as described in 'Documentation/filesystems/mandatory.txt' | 56 | Mandatory locking, as described in |
57 | was prior to this release a general configuration option that was valid for | 57 | 'Documentation/filesystems/mandatory-locking.txt' was prior to this release a |
58 | all mounted filesystems. This had a number of inherent dangers, not the | 58 | general configuration option that was valid for all mounted filesystems. This |
59 | least of which was the ability to freeze an NFS server by asking it to read | 59 | had a number of inherent dangers, not the least of which was the ability to |
60 | a file for which a mandatory lock existed. | 60 | freeze an NFS server by asking it to read a file for which a mandatory lock |
61 | existed. | ||
61 | 62 | ||
62 | From this release of the kernel, mandatory locking can be turned on and off | 63 | From this release of the kernel, mandatory locking can be turned on and off |
63 | on a per-filesystem basis, using the mount options 'mand' and 'nomand'. | 64 | on a per-filesystem basis, using the mount options 'mand' and 'nomand'. |
diff --git a/Documentation/filesystems/nfs/idmapper.txt b/Documentation/filesystems/nfs/idmapper.txt index 9c8fd6148656..120fd3cf7fd9 100644 --- a/Documentation/filesystems/nfs/idmapper.txt +++ b/Documentation/filesystems/nfs/idmapper.txt | |||
@@ -47,7 +47,7 @@ request-key will find the first matching line and corresponding program. In | |||
47 | this case, /some/other/program will handle all uid lookups and | 47 | this case, /some/other/program will handle all uid lookups and |
48 | /usr/sbin/nfs.idmap will handle gid, user, and group lookups. | 48 | /usr/sbin/nfs.idmap will handle gid, user, and group lookups. |
49 | 49 | ||
50 | See <file:Documentation/security/keys-request-keys.txt> for more information | 50 | See <file:Documentation/security/keys-request-key.txt> for more information |
51 | about the request-key function. | 51 | about the request-key function. |
52 | 52 | ||
53 | 53 | ||
diff --git a/Documentation/filesystems/pohmelfs/design_notes.txt b/Documentation/filesystems/pohmelfs/design_notes.txt index dcf833587162..8aef91335701 100644 --- a/Documentation/filesystems/pohmelfs/design_notes.txt +++ b/Documentation/filesystems/pohmelfs/design_notes.txt | |||
@@ -58,8 +58,9 @@ data transfers. | |||
58 | POHMELFS clients operate with a working set of servers and are capable of balancing read-only | 58 | POHMELFS clients operate with a working set of servers and are capable of balancing read-only |
59 | operations (like lookups or directory listings) between them according to IO priorities. | 59 | operations (like lookups or directory listings) between them according to IO priorities. |
60 | Administrators can add or remove servers from the set at run-time via special commands (described | 60 | Administrators can add or remove servers from the set at run-time via special commands (described |
61 | in Documentation/pohmelfs/info.txt file). Writes are replicated to all servers, which are connected | 61 | in Documentation/filesystems/pohmelfs/info.txt file). Writes are replicated to all servers, which |
62 | with write permission turned on. IO priority and permissions can be changed in run-time. | 62 | are connected with write permission turned on. IO priority and permissions can be changed in |
63 | run-time. | ||
63 | 64 | ||
64 | POHMELFS is capable of full data channel encryption and/or strong crypto hashing. | 65 | POHMELFS is capable of full data channel encryption and/or strong crypto hashing. |
65 | One can select any kernel supported cipher, encryption mode, hash type and operation mode | 66 | One can select any kernel supported cipher, encryption mode, hash type and operation mode |
diff --git a/Documentation/filesystems/proc.txt b/Documentation/filesystems/proc.txt index db3b1aba32a3..0ec91f03422e 100644 --- a/Documentation/filesystems/proc.txt +++ b/Documentation/filesystems/proc.txt | |||
@@ -1263,7 +1263,7 @@ review the kernel documentation in the directory /usr/src/linux/Documentation. | |||
1263 | This chapter is heavily based on the documentation included in the pre 2.2 | 1263 | This chapter is heavily based on the documentation included in the pre 2.2 |
1264 | kernels, and became part of it in version 2.2.1 of the Linux kernel. | 1264 | kernels, and became part of it in version 2.2.1 of the Linux kernel. |
1265 | 1265 | ||
1266 | Please see: Documentation/sysctls/ directory for descriptions of these | 1266 | Please see: Documentation/sysctl/ directory for descriptions of these |
1267 | entries. | 1267 | entries. |
1268 | 1268 | ||
1269 | ------------------------------------------------------------------------------ | 1269 | ------------------------------------------------------------------------------ |
diff --git a/Documentation/filesystems/vfs.txt b/Documentation/filesystems/vfs.txt index 52d8fb81cfff..43cbd0821721 100644 --- a/Documentation/filesystems/vfs.txt +++ b/Documentation/filesystems/vfs.txt | |||
@@ -1053,9 +1053,6 @@ manipulate dentries: | |||
1053 | and the dentry is returned. The caller must use dput() | 1053 | and the dentry is returned. The caller must use dput() |
1054 | to free the dentry when it finishes using it. | 1054 | to free the dentry when it finishes using it. |
1055 | 1055 | ||
1056 | For further information on dentry locking, please refer to the document | ||
1057 | Documentation/filesystems/dentry-locking.txt. | ||
1058 | |||
1059 | Mount Options | 1056 | Mount Options |
1060 | ============= | 1057 | ============= |
1061 | 1058 | ||
diff --git a/Documentation/frv/booting.txt b/Documentation/frv/booting.txt index 37c4d84a0e57..9bdf4b46e741 100644 --- a/Documentation/frv/booting.txt +++ b/Documentation/frv/booting.txt | |||
@@ -180,9 +180,3 @@ separated by spaces: | |||
180 | 180 | ||
181 | This tells the kernel what program to run initially. By default this is | 181 | This tells the kernel what program to run initially. By default this is |
182 | /sbin/init, but /sbin/sash or /bin/sh are common alternatives. | 182 | /sbin/init, but /sbin/sash or /bin/sh are common alternatives. |
183 | |||
184 | (*) vdc=... | ||
185 | |||
186 | This option configures the MB93493 companion chip visual display | ||
187 | driver. Please see Documentation/frv/mb93493/vdc.txt for more | ||
188 | information. | ||
diff --git a/Documentation/input/input.txt b/Documentation/input/input.txt index b93c08442e3c..b3d6787b4fb1 100644 --- a/Documentation/input/input.txt +++ b/Documentation/input/input.txt | |||
@@ -111,7 +111,7 @@ LCDs and many other purposes. | |||
111 | 111 | ||
112 | The monitor and speaker controls should be easy to add to the hid/input | 112 | The monitor and speaker controls should be easy to add to the hid/input |
113 | interface, but for the UPSs and LCDs it doesn't make much sense. For this, | 113 | interface, but for the UPSs and LCDs it doesn't make much sense. For this, |
114 | the hiddev interface was designed. See Documentation/usb/hiddev.txt | 114 | the hiddev interface was designed. See Documentation/hid/hiddev.txt |
115 | for more information about it. | 115 | for more information about it. |
116 | 116 | ||
117 | The usage of the usbhid module is very simple, it takes no parameters, | 117 | The usage of the usbhid module is very simple, it takes no parameters, |
diff --git a/Documentation/kernel-docs.txt b/Documentation/kernel-docs.txt index 0e0734b509d8..eda1eb1451a0 100644 --- a/Documentation/kernel-docs.txt +++ b/Documentation/kernel-docs.txt | |||
@@ -300,7 +300,7 @@ | |||
300 | 300 | ||
301 | * Title: "The Kernel Hacking HOWTO" | 301 | * Title: "The Kernel Hacking HOWTO" |
302 | Author: Various Talented People, and Rusty. | 302 | Author: Various Talented People, and Rusty. |
303 | Location: in kernel tree, Documentation/DocBook/kernel-hacking/ | 303 | Location: in kernel tree, Documentation/DocBook/kernel-hacking.tmpl |
304 | (must be built as "make {htmldocs | psdocs | pdfdocs}) | 304 | (must be built as "make {htmldocs | psdocs | pdfdocs}) |
305 | Keywords: HOWTO, kernel contexts, deadlock, locking, modules, | 305 | Keywords: HOWTO, kernel contexts, deadlock, locking, modules, |
306 | symbols, return conventions. | 306 | symbols, return conventions. |
@@ -351,7 +351,7 @@ | |||
351 | 351 | ||
352 | * Title: "Linux Kernel Locking HOWTO" | 352 | * Title: "Linux Kernel Locking HOWTO" |
353 | Author: Various Talented People, and Rusty. | 353 | Author: Various Talented People, and Rusty. |
354 | Location: in kernel tree, Documentation/DocBook/kernel-locking/ | 354 | Location: in kernel tree, Documentation/DocBook/kernel-locking.tmpl |
355 | (must be built as "make {htmldocs | psdocs | pdfdocs}) | 355 | (must be built as "make {htmldocs | psdocs | pdfdocs}) |
356 | Keywords: locks, locking, spinlock, semaphore, atomic, race | 356 | Keywords: locks, locking, spinlock, semaphore, atomic, race |
357 | condition, bottom halves, tasklets, softirqs. | 357 | condition, bottom halves, tasklets, softirqs. |
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt index d317f6cf0d35..0e6a1290f04b 100644 --- a/Documentation/kernel-parameters.txt +++ b/Documentation/kernel-parameters.txt | |||
@@ -164,7 +164,7 @@ bytes respectively. Such letter suffixes can also be entirely omitted. | |||
164 | rsdt -- prefer RSDT over (default) XSDT | 164 | rsdt -- prefer RSDT over (default) XSDT |
165 | copy_dsdt -- copy DSDT to memory | 165 | copy_dsdt -- copy DSDT to memory |
166 | 166 | ||
167 | See also Documentation/power/pm.txt, pci=noacpi | 167 | See also Documentation/power/runtime_pm.txt, pci=noacpi |
168 | 168 | ||
169 | acpi_rsdp= [ACPI,EFI,KEXEC] | 169 | acpi_rsdp= [ACPI,EFI,KEXEC] |
170 | Pass the RSDP address to the kernel, mostly used | 170 | Pass the RSDP address to the kernel, mostly used |
@@ -320,7 +320,7 @@ bytes respectively. Such letter suffixes can also be entirely omitted. | |||
320 | amijoy.map= [HW,JOY] Amiga joystick support | 320 | amijoy.map= [HW,JOY] Amiga joystick support |
321 | Map of devices attached to JOY0DAT and JOY1DAT | 321 | Map of devices attached to JOY0DAT and JOY1DAT |
322 | Format: <a>,<b> | 322 | Format: <a>,<b> |
323 | See also Documentation/kernel/input/joystick.txt | 323 | See also Documentation/input/joystick.txt |
324 | 324 | ||
325 | analog.map= [HW,JOY] Analog joystick and gamepad support | 325 | analog.map= [HW,JOY] Analog joystick and gamepad support |
326 | Specifies type or capabilities of an analog joystick | 326 | Specifies type or capabilities of an analog joystick |
@@ -409,7 +409,7 @@ bytes respectively. Such letter suffixes can also be entirely omitted. | |||
409 | bttv.radio= Most important insmod options are available as | 409 | bttv.radio= Most important insmod options are available as |
410 | kernel args too. | 410 | kernel args too. |
411 | bttv.pll= See Documentation/video4linux/bttv/Insmod-options | 411 | bttv.pll= See Documentation/video4linux/bttv/Insmod-options |
412 | bttv.tuner= and Documentation/video4linux/bttv/CARDLIST | 412 | bttv.tuner= |
413 | 413 | ||
414 | bulk_remove=off [PPC] This parameter disables the use of the pSeries | 414 | bulk_remove=off [PPC] This parameter disables the use of the pSeries |
415 | firmware feature for flushing multiple hpte entries | 415 | firmware feature for flushing multiple hpte entries |
@@ -725,7 +725,7 @@ bytes respectively. Such letter suffixes can also be entirely omitted. | |||
725 | 725 | ||
726 | elevator= [IOSCHED] | 726 | elevator= [IOSCHED] |
727 | Format: {"cfq" | "deadline" | "noop"} | 727 | Format: {"cfq" | "deadline" | "noop"} |
728 | See Documentation/block/as-iosched.txt and | 728 | See Documentation/block/cfq-iosched.txt and |
729 | Documentation/block/deadline-iosched.txt for details. | 729 | Documentation/block/deadline-iosched.txt for details. |
730 | 730 | ||
731 | elfcorehdr= [IA-64,PPC,SH,X86] | 731 | elfcorehdr= [IA-64,PPC,SH,X86] |
@@ -771,7 +771,7 @@ bytes respectively. Such letter suffixes can also be entirely omitted. | |||
771 | fail_make_request=[KNL] | 771 | fail_make_request=[KNL] |
772 | General fault injection mechanism. | 772 | General fault injection mechanism. |
773 | Format: <interval>,<probability>,<space>,<times> | 773 | Format: <interval>,<probability>,<space>,<times> |
774 | See also /Documentation/fault-injection/. | 774 | See also Documentation/fault-injection/. |
775 | 775 | ||
776 | floppy= [HW] | 776 | floppy= [HW] |
777 | See Documentation/blockdev/floppy.txt. | 777 | See Documentation/blockdev/floppy.txt. |
@@ -2381,7 +2381,7 @@ bytes respectively. Such letter suffixes can also be entirely omitted. | |||
2381 | Format: <integer> | 2381 | Format: <integer> |
2382 | 2382 | ||
2383 | sonypi.*= [HW] Sony Programmable I/O Control Device driver | 2383 | sonypi.*= [HW] Sony Programmable I/O Control Device driver |
2384 | See Documentation/sonypi.txt | 2384 | See Documentation/laptops/sonypi.txt |
2385 | 2385 | ||
2386 | specialix= [HW,SERIAL] Specialix multi-serial port adapter | 2386 | specialix= [HW,SERIAL] Specialix multi-serial port adapter |
2387 | See Documentation/serial/specialix.txt. | 2387 | See Documentation/serial/specialix.txt. |
diff --git a/Documentation/laptops/thinkpad-acpi.txt b/Documentation/laptops/thinkpad-acpi.txt index 61815483efa3..3ff0dad62d36 100644 --- a/Documentation/laptops/thinkpad-acpi.txt +++ b/Documentation/laptops/thinkpad-acpi.txt | |||
@@ -736,7 +736,7 @@ status as "unknown". The available commands are: | |||
736 | sysfs notes: | 736 | sysfs notes: |
737 | 737 | ||
738 | The ThinkLight sysfs interface is documented by the LED class | 738 | The ThinkLight sysfs interface is documented by the LED class |
739 | documentation, in Documentation/leds-class.txt. The ThinkLight LED name | 739 | documentation, in Documentation/leds/leds-class.txt. The ThinkLight LED name |
740 | is "tpacpi::thinklight". | 740 | is "tpacpi::thinklight". |
741 | 741 | ||
742 | Due to limitations in the sysfs LED class, if the status of the ThinkLight | 742 | Due to limitations in the sysfs LED class, if the status of the ThinkLight |
@@ -833,7 +833,7 @@ All of the above can be turned on and off and can be made to blink. | |||
833 | sysfs notes: | 833 | sysfs notes: |
834 | 834 | ||
835 | The ThinkPad LED sysfs interface is described in detail by the LED class | 835 | The ThinkPad LED sysfs interface is described in detail by the LED class |
836 | documentation, in Documentation/leds-class.txt. | 836 | documentation, in Documentation/leds/leds-class.txt. |
837 | 837 | ||
838 | The LEDs are named (in LED ID order, from 0 to 12): | 838 | The LEDs are named (in LED ID order, from 0 to 12): |
839 | "tpacpi::power", "tpacpi:orange:batt", "tpacpi:green:batt", | 839 | "tpacpi::power", "tpacpi:orange:batt", "tpacpi:green:batt", |
diff --git a/Documentation/media-framework.txt b/Documentation/media-framework.txt index 669b5fb03a86..3a0f879533ce 100644 --- a/Documentation/media-framework.txt +++ b/Documentation/media-framework.txt | |||
@@ -9,8 +9,8 @@ Introduction | |||
9 | ------------ | 9 | ------------ |
10 | 10 | ||
11 | The media controller API is documented in DocBook format in | 11 | The media controller API is documented in DocBook format in |
12 | Documentation/DocBook/v4l/media-controller.xml. This document will focus on | 12 | Documentation/DocBook/media/v4l/media-controller.xml. This document will focus |
13 | the kernel-side implementation of the media framework. | 13 | on the kernel-side implementation of the media framework. |
14 | 14 | ||
15 | 15 | ||
16 | Abstract media device model | 16 | Abstract media device model |
diff --git a/Documentation/memory-barriers.txt b/Documentation/memory-barriers.txt index f0d3a8026a56..2759f7c188f0 100644 --- a/Documentation/memory-barriers.txt +++ b/Documentation/memory-barriers.txt | |||
@@ -438,7 +438,7 @@ There are certain things that the Linux kernel memory barriers do not guarantee: | |||
438 | [*] For information on bus mastering DMA and coherency please read: | 438 | [*] For information on bus mastering DMA and coherency please read: |
439 | 439 | ||
440 | Documentation/PCI/pci.txt | 440 | Documentation/PCI/pci.txt |
441 | Documentation/PCI/PCI-DMA-mapping.txt | 441 | Documentation/DMA-API-HOWTO.txt |
442 | Documentation/DMA-API.txt | 442 | Documentation/DMA-API.txt |
443 | 443 | ||
444 | 444 | ||
diff --git a/Documentation/networking/scaling.txt b/Documentation/networking/scaling.txt index fe67b5c79f0f..a177de21d28e 100644 --- a/Documentation/networking/scaling.txt +++ b/Documentation/networking/scaling.txt | |||
@@ -73,7 +73,7 @@ of queues to IRQs can be determined from /proc/interrupts. By default, | |||
73 | an IRQ may be handled on any CPU. Because a non-negligible part of packet | 73 | an IRQ may be handled on any CPU. Because a non-negligible part of packet |
74 | processing takes place in receive interrupt handling, it is advantageous | 74 | processing takes place in receive interrupt handling, it is advantageous |
75 | to spread receive interrupts between CPUs. To manually adjust the IRQ | 75 | to spread receive interrupts between CPUs. To manually adjust the IRQ |
76 | affinity of each interrupt see Documentation/IRQ-affinity. Some systems | 76 | affinity of each interrupt see Documentation/IRQ-affinity.txt. Some systems |
77 | will be running irqbalance, a daemon that dynamically optimizes IRQ | 77 | will be running irqbalance, a daemon that dynamically optimizes IRQ |
78 | assignments and as a result may override any manual settings. | 78 | assignments and as a result may override any manual settings. |
79 | 79 | ||
diff --git a/Documentation/power/basic-pm-debugging.txt b/Documentation/power/basic-pm-debugging.txt index ddd78172ef73..05a7fe76232d 100644 --- a/Documentation/power/basic-pm-debugging.txt +++ b/Documentation/power/basic-pm-debugging.txt | |||
@@ -173,7 +173,7 @@ kernel messages using the serial console. This may provide you with some | |||
173 | information about the reasons of the suspend (resume) failure. Alternatively, | 173 | information about the reasons of the suspend (resume) failure. Alternatively, |
174 | it may be possible to use a FireWire port for debugging with firescope | 174 | it may be possible to use a FireWire port for debugging with firescope |
175 | (ftp://ftp.firstfloor.org/pub/ak/firescope/). On x86 it is also possible to | 175 | (ftp://ftp.firstfloor.org/pub/ak/firescope/). On x86 it is also possible to |
176 | use the PM_TRACE mechanism documented in Documentation/s2ram.txt . | 176 | use the PM_TRACE mechanism documented in Documentation/power/s2ram.txt . |
177 | 177 | ||
178 | 2. Testing suspend to RAM (STR) | 178 | 2. Testing suspend to RAM (STR) |
179 | 179 | ||
diff --git a/Documentation/power/userland-swsusp.txt b/Documentation/power/userland-swsusp.txt index 1101bee4e822..0e870825c1b9 100644 --- a/Documentation/power/userland-swsusp.txt +++ b/Documentation/power/userland-swsusp.txt | |||
@@ -77,7 +77,8 @@ SNAPSHOT_SET_SWAP_AREA - set the resume partition and the offset (in <PAGE_SIZE> | |||
77 | resume_swap_area, as defined in kernel/power/suspend_ioctls.h, | 77 | resume_swap_area, as defined in kernel/power/suspend_ioctls.h, |
78 | containing the resume device specification and the offset); for swap | 78 | containing the resume device specification and the offset); for swap |
79 | partitions the offset is always 0, but it is different from zero for | 79 | partitions the offset is always 0, but it is different from zero for |
80 | swap files (see Documentation/swsusp-and-swap-files.txt for details). | 80 | swap files (see Documentation/power/swsusp-and-swap-files.txt for |
81 | details). | ||
81 | 82 | ||
82 | SNAPSHOT_PLATFORM_SUPPORT - enable/disable the hibernation platform support, | 83 | SNAPSHOT_PLATFORM_SUPPORT - enable/disable the hibernation platform support, |
83 | depending on the argument value (enable, if the argument is nonzero) | 84 | depending on the argument value (enable, if the argument is nonzero) |
diff --git a/Documentation/rfkill.txt b/Documentation/rfkill.txt index 83668e5dd17f..03c9d9299c6b 100644 --- a/Documentation/rfkill.txt +++ b/Documentation/rfkill.txt | |||
@@ -117,5 +117,4 @@ The contents of these variables corresponds to the "name", "state" and | |||
117 | "type" sysfs files explained above. | 117 | "type" sysfs files explained above. |
118 | 118 | ||
119 | 119 | ||
120 | For further details consult Documentation/ABI/stable/dev-rfkill and | 120 | For further details consult Documentation/ABI/stable/sysfs-class-rfkill. |
121 | Documentation/ABI/stable/sysfs-class-rfkill. | ||
diff --git a/Documentation/scsi/aic7xxx_old.txt b/Documentation/scsi/aic7xxx_old.txt index 7bd210ab45a1..ecfc474f36a8 100644 --- a/Documentation/scsi/aic7xxx_old.txt +++ b/Documentation/scsi/aic7xxx_old.txt | |||
@@ -444,7 +444,7 @@ linux-1.1.x and fairly stable since linux-1.2.x, and are also in FreeBSD | |||
444 | Kernel Compile options | 444 | Kernel Compile options |
445 | ------------------------------ | 445 | ------------------------------ |
446 | The various kernel compile time options for this driver are now fairly | 446 | The various kernel compile time options for this driver are now fairly |
447 | well documented in the file Documentation/Configure.help. In order to | 447 | well documented in the file drivers/scsi/Kconfig. In order to |
448 | see this documentation, you need to use one of the advanced configuration | 448 | see this documentation, you need to use one of the advanced configuration |
449 | programs (menuconfig and xconfig). If you are using the "make menuconfig" | 449 | programs (menuconfig and xconfig). If you are using the "make menuconfig" |
450 | method of configuring your kernel, then you would simply highlight the | 450 | method of configuring your kernel, then you would simply highlight the |
diff --git a/Documentation/scsi/scsi_mid_low_api.txt b/Documentation/scsi/scsi_mid_low_api.txt index 5f17d29c59b5..a340b18cd4eb 100644 --- a/Documentation/scsi/scsi_mid_low_api.txt +++ b/Documentation/scsi/scsi_mid_low_api.txt | |||
@@ -55,11 +55,6 @@ or in the same directory as the C source code. For example to find a url | |||
55 | about the USB mass storage driver see the | 55 | about the USB mass storage driver see the |
56 | /usr/src/linux/drivers/usb/storage directory. | 56 | /usr/src/linux/drivers/usb/storage directory. |
57 | 57 | ||
58 | The Linux kernel source Documentation/DocBook/scsidrivers.tmpl file | ||
59 | refers to this file. With the appropriate DocBook tool-set, this permits | ||
60 | users to generate html, ps and pdf renderings of information within this | ||
61 | file (e.g. the interface functions). | ||
62 | |||
63 | Driver structure | 58 | Driver structure |
64 | ================ | 59 | ================ |
65 | Traditionally an LLD for the SCSI subsystem has been at least two files in | 60 | Traditionally an LLD for the SCSI subsystem has been at least two files in |
diff --git a/Documentation/security/keys-trusted-encrypted.txt b/Documentation/security/keys-trusted-encrypted.txt index 5f50ccabfc8a..c9e4855ed3d7 100644 --- a/Documentation/security/keys-trusted-encrypted.txt +++ b/Documentation/security/keys-trusted-encrypted.txt | |||
@@ -156,4 +156,5 @@ Load an encrypted key "evm" from saved blob: | |||
156 | Other uses for trusted and encrypted keys, such as for disk and file encryption | 156 | Other uses for trusted and encrypted keys, such as for disk and file encryption |
157 | are anticipated. In particular the new format 'ecryptfs' has been defined in | 157 | are anticipated. In particular the new format 'ecryptfs' has been defined in |
158 | in order to use encrypted keys to mount an eCryptfs filesystem. More details | 158 | in order to use encrypted keys to mount an eCryptfs filesystem. More details |
159 | about the usage can be found in the file 'Documentation/keys-ecryptfs.txt'. | 159 | about the usage can be found in the file |
160 | 'Documentation/security/keys-ecryptfs.txt'. | ||
diff --git a/Documentation/sound/oss/PAS16 b/Documentation/sound/oss/PAS16 index 951b3dce51b4..3dca4b75988e 100644 --- a/Documentation/sound/oss/PAS16 +++ b/Documentation/sound/oss/PAS16 | |||
@@ -60,8 +60,7 @@ With PAS16 you can use two audio device files at the same time. /dev/dsp (and | |||
60 | 60 | ||
61 | The new stuff for 2.3.99 and later | 61 | The new stuff for 2.3.99 and later |
62 | ============================================================================ | 62 | ============================================================================ |
63 | The following configuration options from Documentation/Configure.help | 63 | The following configuration options are relevant to configuring the PAS16: |
64 | are relevant to configuring the PAS16: | ||
65 | 64 | ||
66 | Sound card support | 65 | Sound card support |
67 | CONFIG_SOUND | 66 | CONFIG_SOUND |
diff --git a/Documentation/spi/pxa2xx b/Documentation/spi/pxa2xx index 00511e08db78..3352f97430e4 100644 --- a/Documentation/spi/pxa2xx +++ b/Documentation/spi/pxa2xx | |||
@@ -2,7 +2,7 @@ PXA2xx SPI on SSP driver HOWTO | |||
2 | =================================================== | 2 | =================================================== |
3 | This a mini howto on the pxa2xx_spi driver. The driver turns a PXA2xx | 3 | This a mini howto on the pxa2xx_spi driver. The driver turns a PXA2xx |
4 | synchronous serial port into a SPI master controller | 4 | synchronous serial port into a SPI master controller |
5 | (see Documentation/spi/spi_summary). The driver has the following features | 5 | (see Documentation/spi/spi-summary). The driver has the following features |
6 | 6 | ||
7 | - Support for any PXA2xx SSP | 7 | - Support for any PXA2xx SSP |
8 | - SSP PIO and SSP DMA data transfers. | 8 | - SSP PIO and SSP DMA data transfers. |
@@ -85,7 +85,7 @@ Declaring Slave Devices | |||
85 | ----------------------- | 85 | ----------------------- |
86 | Typically each SPI slave (chip) is defined in the arch/.../mach-*/board-*.c | 86 | Typically each SPI slave (chip) is defined in the arch/.../mach-*/board-*.c |
87 | using the "spi_board_info" structure found in "linux/spi/spi.h". See | 87 | using the "spi_board_info" structure found in "linux/spi/spi.h". See |
88 | "Documentation/spi/spi_summary" for additional information. | 88 | "Documentation/spi/spi-summary" for additional information. |
89 | 89 | ||
90 | Each slave device attached to the PXA must provide slave specific configuration | 90 | Each slave device attached to the PXA must provide slave specific configuration |
91 | information via the structure "pxa2xx_spi_chip" found in | 91 | information via the structure "pxa2xx_spi_chip" found in |
diff --git a/Documentation/timers/highres.txt b/Documentation/timers/highres.txt index 21332233cef1..e8789976e77c 100644 --- a/Documentation/timers/highres.txt +++ b/Documentation/timers/highres.txt | |||
@@ -30,7 +30,7 @@ hrtimer base infrastructure | |||
30 | --------------------------- | 30 | --------------------------- |
31 | 31 | ||
32 | The hrtimer base infrastructure was merged into the 2.6.16 kernel. Details of | 32 | The hrtimer base infrastructure was merged into the 2.6.16 kernel. Details of |
33 | the base implementation are covered in Documentation/hrtimers/hrtimer.txt. See | 33 | the base implementation are covered in Documentation/timers/hrtimers.txt. See |
34 | also figure #2 (OLS slides p. 15) | 34 | also figure #2 (OLS slides p. 15) |
35 | 35 | ||
36 | The main differences to the timer wheel, which holds the armed timer_list type | 36 | The main differences to the timer wheel, which holds the armed timer_list type |
diff --git a/Documentation/usb/dma.txt b/Documentation/usb/dma.txt index 84ef865237db..444651e70d95 100644 --- a/Documentation/usb/dma.txt +++ b/Documentation/usb/dma.txt | |||
@@ -7,7 +7,7 @@ API OVERVIEW | |||
7 | 7 | ||
8 | The big picture is that USB drivers can continue to ignore most DMA issues, | 8 | The big picture is that USB drivers can continue to ignore most DMA issues, |
9 | though they still must provide DMA-ready buffers (see | 9 | though they still must provide DMA-ready buffers (see |
10 | Documentation/PCI/PCI-DMA-mapping.txt). That's how they've worked through | 10 | Documentation/DMA-API-HOWTO.txt). That's how they've worked through |
11 | the 2.4 (and earlier) kernels. | 11 | the 2.4 (and earlier) kernels. |
12 | 12 | ||
13 | OR: they can now be DMA-aware. | 13 | OR: they can now be DMA-aware. |
@@ -57,7 +57,7 @@ and effects like cache-trashing can impose subtle penalties. | |||
57 | force a consistent memory access ordering by using memory barriers. It's | 57 | force a consistent memory access ordering by using memory barriers. It's |
58 | not using a streaming DMA mapping, so it's good for small transfers on | 58 | not using a streaming DMA mapping, so it's good for small transfers on |
59 | systems where the I/O would otherwise thrash an IOMMU mapping. (See | 59 | systems where the I/O would otherwise thrash an IOMMU mapping. (See |
60 | Documentation/PCI/PCI-DMA-mapping.txt for definitions of "coherent" and | 60 | Documentation/DMA-API-HOWTO.txt for definitions of "coherent" and |
61 | "streaming" DMA mappings.) | 61 | "streaming" DMA mappings.) |
62 | 62 | ||
63 | Asking for 1/Nth of a page (as well as asking for N pages) is reasonably | 63 | Asking for 1/Nth of a page (as well as asking for N pages) is reasonably |
@@ -88,7 +88,7 @@ WORKING WITH EXISTING BUFFERS | |||
88 | Existing buffers aren't usable for DMA without first being mapped into the | 88 | Existing buffers aren't usable for DMA without first being mapped into the |
89 | DMA address space of the device. However, most buffers passed to your | 89 | DMA address space of the device. However, most buffers passed to your |
90 | driver can safely be used with such DMA mapping. (See the first section | 90 | driver can safely be used with such DMA mapping. (See the first section |
91 | of Documentation/PCI/PCI-DMA-mapping.txt, titled "What memory is DMA-able?") | 91 | of Documentation/DMA-API-HOWTO.txt, titled "What memory is DMA-able?") |
92 | 92 | ||
93 | - When you're using scatterlists, you can map everything at once. On some | 93 | - When you're using scatterlists, you can map everything at once. On some |
94 | systems, this kicks in an IOMMU and turns the scatterlists into single | 94 | systems, this kicks in an IOMMU and turns the scatterlists into single |
diff --git a/Documentation/virtual/lguest/lguest.c b/Documentation/virtual/lguest/lguest.c index d928c134dee6..c095d79cae73 100644 --- a/Documentation/virtual/lguest/lguest.c +++ b/Documentation/virtual/lguest/lguest.c | |||
@@ -436,7 +436,7 @@ static unsigned long load_bzimage(int fd) | |||
436 | 436 | ||
437 | /* | 437 | /* |
438 | * Go back to the start of the file and read the header. It should be | 438 | * Go back to the start of the file and read the header. It should be |
439 | * a Linux boot header (see Documentation/x86/i386/boot.txt) | 439 | * a Linux boot header (see Documentation/x86/boot.txt) |
440 | */ | 440 | */ |
441 | lseek(fd, 0, SEEK_SET); | 441 | lseek(fd, 0, SEEK_SET); |
442 | read(fd, &boot, sizeof(boot)); | 442 | read(fd, &boot, sizeof(boot)); |
diff --git a/Documentation/vm/numa b/Documentation/vm/numa index a200a386429d..ade01274212d 100644 --- a/Documentation/vm/numa +++ b/Documentation/vm/numa | |||
@@ -109,11 +109,11 @@ to improve NUMA locality using various CPU affinity command line interfaces, | |||
109 | such as taskset(1) and numactl(1), and program interfaces such as | 109 | such as taskset(1) and numactl(1), and program interfaces such as |
110 | sched_setaffinity(2). Further, one can modify the kernel's default local | 110 | sched_setaffinity(2). Further, one can modify the kernel's default local |
111 | allocation behavior using Linux NUMA memory policy. | 111 | allocation behavior using Linux NUMA memory policy. |
112 | [see Documentation/vm/numa_memory_policy.] | 112 | [see Documentation/vm/numa_memory_policy.txt.] |
113 | 113 | ||
114 | System administrators can restrict the CPUs and nodes' memories that a non- | 114 | System administrators can restrict the CPUs and nodes' memories that a non- |
115 | privileged user can specify in the scheduling or NUMA commands and functions | 115 | privileged user can specify in the scheduling or NUMA commands and functions |
116 | using control groups and CPUsets. [see Documentation/cgroups/CPUsets.txt] | 116 | using control groups and CPUsets. [see Documentation/cgroups/cpusets.txt] |
117 | 117 | ||
118 | On architectures that do not hide memoryless nodes, Linux will include only | 118 | On architectures that do not hide memoryless nodes, Linux will include only |
119 | zones [nodes] with memory in the zonelists. This means that for a memoryless | 119 | zones [nodes] with memory in the zonelists. This means that for a memoryless |
diff --git a/Documentation/vm/slub.txt b/Documentation/vm/slub.txt index 07375e73981a..f464f47bc60d 100644 --- a/Documentation/vm/slub.txt +++ b/Documentation/vm/slub.txt | |||
@@ -17,7 +17,7 @@ data and perform operation on the slabs. By default slabinfo only lists | |||
17 | slabs that have data in them. See "slabinfo -h" for more options when | 17 | slabs that have data in them. See "slabinfo -h" for more options when |
18 | running the command. slabinfo can be compiled with | 18 | running the command. slabinfo can be compiled with |
19 | 19 | ||
20 | gcc -o slabinfo Documentation/vm/slabinfo.c | 20 | gcc -o slabinfo tools/slub/slabinfo.c |
21 | 21 | ||
22 | Some of the modes of operation of slabinfo require that slub debugging | 22 | Some of the modes of operation of slabinfo require that slub debugging |
23 | be enabled on the command line. F.e. no tracking information will be | 23 | be enabled on the command line. F.e. no tracking information will be |
diff --git a/MAINTAINERS b/MAINTAINERS index 914b8bd318ce..5ccf370e052b 100644 --- a/MAINTAINERS +++ b/MAINTAINERS | |||
@@ -4072,7 +4072,7 @@ S: Maintained | |||
4072 | 4072 | ||
4073 | M32R ARCHITECTURE | 4073 | M32R ARCHITECTURE |
4074 | M: Hirokazu Takata <takata@linux-m32r.org> | 4074 | M: Hirokazu Takata <takata@linux-m32r.org> |
4075 | L: linux-m32r@ml.linux-m32r.org | 4075 | L: linux-m32r@ml.linux-m32r.org (moderated for non-subscribers) |
4076 | L: linux-m32r-ja@ml.linux-m32r.org (in Japanese) | 4076 | L: linux-m32r-ja@ml.linux-m32r.org (in Japanese) |
4077 | W: http://www.linux-m32r.org/ | 4077 | W: http://www.linux-m32r.org/ |
4078 | S: Maintained | 4078 | S: Maintained |
@@ -4241,7 +4241,7 @@ F: include/mtd/ | |||
4241 | 4241 | ||
4242 | MICROBLAZE ARCHITECTURE | 4242 | MICROBLAZE ARCHITECTURE |
4243 | M: Michal Simek <monstr@monstr.eu> | 4243 | M: Michal Simek <monstr@monstr.eu> |
4244 | L: microblaze-uclinux@itee.uq.edu.au | 4244 | L: microblaze-uclinux@itee.uq.edu.au (moderated for non-subscribers) |
4245 | W: http://www.monstr.eu/fdt/ | 4245 | W: http://www.monstr.eu/fdt/ |
4246 | T: git git://git.monstr.eu/linux-2.6-microblaze.git | 4246 | T: git git://git.monstr.eu/linux-2.6-microblaze.git |
4247 | S: Supported | 4247 | S: Supported |
@@ -4745,7 +4745,7 @@ K: of_match_table | |||
4745 | OPENRISC ARCHITECTURE | 4745 | OPENRISC ARCHITECTURE |
4746 | M: Jonas Bonn <jonas@southpole.se> | 4746 | M: Jonas Bonn <jonas@southpole.se> |
4747 | W: http://openrisc.net | 4747 | W: http://openrisc.net |
4748 | L: linux@lists.openrisc.net | 4748 | L: linux@lists.openrisc.net (moderated for non-subscribers) |
4749 | S: Maintained | 4749 | S: Maintained |
4750 | T: git git://openrisc.net/~jonas/linux | 4750 | T: git git://openrisc.net/~jonas/linux |
4751 | F: arch/openrisc | 4751 | F: arch/openrisc |
diff --git a/arch/alpha/kernel/srm_env.c b/arch/alpha/kernel/srm_env.c index f0df3fbd8402..b9fc6c309d2e 100644 --- a/arch/alpha/kernel/srm_env.c +++ b/arch/alpha/kernel/srm_env.c | |||
@@ -4,9 +4,8 @@ | |||
4 | * | 4 | * |
5 | * (C) 2001,2002,2006 by Jan-Benedict Glaw <jbglaw@lug-owl.de> | 5 | * (C) 2001,2002,2006 by Jan-Benedict Glaw <jbglaw@lug-owl.de> |
6 | * | 6 | * |
7 | * This driver is at all a modified version of Erik Mouw's | 7 | * This driver is a modified version of Erik Mouw's example proc |
8 | * Documentation/DocBook/procfs_example.c, so: thank | 8 | * interface, so: thank you, Erik! He can be reached via email at |
9 | * you, Erik! He can be reached via email at | ||
10 | * <J.A.K.Mouw@its.tudelft.nl>. It is based on an idea | 9 | * <J.A.K.Mouw@its.tudelft.nl>. It is based on an idea |
11 | * provided by DEC^WCompaq^WIntel's "Jumpstart" CD. They | 10 | * provided by DEC^WCompaq^WIntel's "Jumpstart" CD. They |
12 | * included a patch like this as well. Thanks for idea! | 11 | * included a patch like this as well. Thanks for idea! |
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 92e695412bd5..7536b9cbb072 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig | |||
@@ -1394,7 +1394,7 @@ config SMP | |||
1394 | processor machines. On a single processor machine, the kernel will | 1394 | processor machines. On a single processor machine, the kernel will |
1395 | run faster if you say N here. | 1395 | run faster if you say N here. |
1396 | 1396 | ||
1397 | See also <file:Documentation/i386/IO-APIC.txt>, | 1397 | See also <file:Documentation/x86/i386/IO-APIC.txt>, |
1398 | <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available at | 1398 | <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available at |
1399 | <http://tldp.org/HOWTO/SMP-HOWTO.html>. | 1399 | <http://tldp.org/HOWTO/SMP-HOWTO.html>. |
1400 | 1400 | ||
diff --git a/arch/arm/include/asm/io.h b/arch/arm/include/asm/io.h index 769f65d918ac..065d100fa63e 100644 --- a/arch/arm/include/asm/io.h +++ b/arch/arm/include/asm/io.h | |||
@@ -260,7 +260,7 @@ extern void _memset_io(volatile void __iomem *, int, size_t); | |||
260 | * ioremap and friends. | 260 | * ioremap and friends. |
261 | * | 261 | * |
262 | * ioremap takes a PCI memory address, as specified in | 262 | * ioremap takes a PCI memory address, as specified in |
263 | * Documentation/IO-mapping.txt. | 263 | * Documentation/io-mapping.txt. |
264 | * | 264 | * |
265 | */ | 265 | */ |
266 | #ifndef __arch_ioremap | 266 | #ifndef __arch_ioremap |
diff --git a/arch/arm/mach-bcmring/Kconfig b/arch/arm/mach-bcmring/Kconfig index 457b4384913e..9170d16dca50 100644 --- a/arch/arm/mach-bcmring/Kconfig +++ b/arch/arm/mach-bcmring/Kconfig | |||
@@ -17,5 +17,3 @@ config BCM_ZRELADDR | |||
17 | hex "Compressed ZREL ADDR" | 17 | hex "Compressed ZREL ADDR" |
18 | 18 | ||
19 | endmenu | 19 | endmenu |
20 | |||
21 | # source "drivers/char/bcmring/Kconfig" | ||
diff --git a/arch/arm/mach-bcmring/irq.c b/arch/arm/mach-bcmring/irq.c index c48feaf4e8e9..437fa683bcb2 100644 --- a/arch/arm/mach-bcmring/irq.c +++ b/arch/arm/mach-bcmring/irq.c | |||
@@ -20,7 +20,6 @@ | |||
20 | #include <linux/stddef.h> | 20 | #include <linux/stddef.h> |
21 | #include <linux/list.h> | 21 | #include <linux/list.h> |
22 | #include <linux/timer.h> | 22 | #include <linux/timer.h> |
23 | #include <linux/version.h> | ||
24 | #include <linux/io.h> | 23 | #include <linux/io.h> |
25 | 24 | ||
26 | #include <mach/hardware.h> | 25 | #include <mach/hardware.h> |
diff --git a/arch/arm/mach-bcmring/timer.c b/arch/arm/mach-bcmring/timer.c index 2d415d2a8e68..af9c3d7e2a0c 100644 --- a/arch/arm/mach-bcmring/timer.c +++ b/arch/arm/mach-bcmring/timer.c | |||
@@ -12,7 +12,6 @@ | |||
12 | * consent. | 12 | * consent. |
13 | *****************************************************************************/ | 13 | *****************************************************************************/ |
14 | 14 | ||
15 | #include <linux/version.h> | ||
16 | #include <linux/types.h> | 15 | #include <linux/types.h> |
17 | #include <linux/module.h> | 16 | #include <linux/module.h> |
18 | #include <csp/tmrHw.h> | 17 | #include <csp/tmrHw.h> |
diff --git a/arch/arm/mach-nuc93x/time.c b/arch/arm/mach-nuc93x/time.c index 2f90f9dc6e30..f9807c029ec5 100644 --- a/arch/arm/mach-nuc93x/time.c +++ b/arch/arm/mach-nuc93x/time.c | |||
@@ -82,7 +82,7 @@ static void nuc93x_timer_setup(void) | |||
82 | timer0_load = (rate / TICKS_PER_SEC); | 82 | timer0_load = (rate / TICKS_PER_SEC); |
83 | __raw_writel(timer0_load, REG_TICR0); | 83 | __raw_writel(timer0_load, REG_TICR0); |
84 | 84 | ||
85 | val |= (PERIOD | COUNTEN | INTEN | PRESCALE);; | 85 | val |= (PERIOD | COUNTEN | INTEN | PRESCALE); |
86 | __raw_writel(val, REG_TCSR0); | 86 | __raw_writel(val, REG_TCSR0); |
87 | 87 | ||
88 | } | 88 | } |
diff --git a/arch/arm/mach-omap2/smartreflex.c b/arch/arm/mach-omap2/smartreflex.c index 34c01a7de810..f49804f181d4 100644 --- a/arch/arm/mach-omap2/smartreflex.c +++ b/arch/arm/mach-omap2/smartreflex.c | |||
@@ -247,7 +247,7 @@ static void sr_stop_vddautocomp(struct omap_sr *sr) | |||
247 | * driver register and sr device intializtion API's. Only one call | 247 | * driver register and sr device intializtion API's. Only one call |
248 | * will ultimately succeed. | 248 | * will ultimately succeed. |
249 | * | 249 | * |
250 | * Currently this function registers interrrupt handler for a particular SR | 250 | * Currently this function registers interrupt handler for a particular SR |
251 | * if smartreflex class driver is already registered and has | 251 | * if smartreflex class driver is already registered and has |
252 | * requested for interrupts and the SR interrupt line in present. | 252 | * requested for interrupts and the SR interrupt line in present. |
253 | */ | 253 | */ |
diff --git a/arch/arm/mach-pxa/xcep.c b/arch/arm/mach-pxa/xcep.c index acc600f5e72f..937c42845df9 100644 --- a/arch/arm/mach-pxa/xcep.c +++ b/arch/arm/mach-pxa/xcep.c | |||
@@ -142,8 +142,7 @@ static struct platform_device *devices[] __initdata = { | |||
142 | 142 | ||
143 | /* We have to state that there are HWMON devices on the I2C bus on XCEP. | 143 | /* We have to state that there are HWMON devices on the I2C bus on XCEP. |
144 | * Drivers for HWMON verify capabilities of the adapter when loading and | 144 | * Drivers for HWMON verify capabilities of the adapter when loading and |
145 | * refuse to attach if the adapter doesn't support HWMON class of devices. | 145 | * refuse to attach if the adapter doesn't support HWMON class of devices. */ |
146 | * See also Documentation/i2c/porting-clients. */ | ||
147 | static struct i2c_pxa_platform_data xcep_i2c_platform_data = { | 146 | static struct i2c_pxa_platform_data xcep_i2c_platform_data = { |
148 | .class = I2C_CLASS_HWMON | 147 | .class = I2C_CLASS_HWMON |
149 | }; | 148 | }; |
diff --git a/arch/arm/mach-w90x900/cpu.c b/arch/arm/mach-w90x900/cpu.c index 83c56324a472..0a235e502330 100644 --- a/arch/arm/mach-w90x900/cpu.c +++ b/arch/arm/mach-w90x900/cpu.c | |||
@@ -60,7 +60,7 @@ static DEFINE_CLK(emc, 7); | |||
60 | static DEFINE_SUBCLK(rmii, 2); | 60 | static DEFINE_SUBCLK(rmii, 2); |
61 | static DEFINE_CLK(usbd, 8); | 61 | static DEFINE_CLK(usbd, 8); |
62 | static DEFINE_CLK(usbh, 9); | 62 | static DEFINE_CLK(usbh, 9); |
63 | static DEFINE_CLK(g2d, 10);; | 63 | static DEFINE_CLK(g2d, 10); |
64 | static DEFINE_CLK(pwm, 18); | 64 | static DEFINE_CLK(pwm, 18); |
65 | static DEFINE_CLK(ps2, 24); | 65 | static DEFINE_CLK(ps2, 24); |
66 | static DEFINE_CLK(kpi, 25); | 66 | static DEFINE_CLK(kpi, 25); |
diff --git a/arch/arm/plat-mxc/Kconfig b/arch/arm/plat-mxc/Kconfig index a5353fc0793f..4c8fdbcc9467 100644 --- a/arch/arm/plat-mxc/Kconfig +++ b/arch/arm/plat-mxc/Kconfig | |||
@@ -39,7 +39,7 @@ config ARCH_MX503 | |||
39 | select ARCH_MX50_SUPPORTED | 39 | select ARCH_MX50_SUPPORTED |
40 | select ARCH_MX53_SUPPORTED | 40 | select ARCH_MX53_SUPPORTED |
41 | help | 41 | help |
42 | This enables support for machines using Freescale's i.MX50 and i.MX51 | 42 | This enables support for machines using Freescale's i.MX50 and i.MX53 |
43 | processors. | 43 | processors. |
44 | 44 | ||
45 | config ARCH_MX51 | 45 | config ARCH_MX51 |
diff --git a/arch/cris/Kconfig b/arch/cris/Kconfig index 17addacb169e..408b055c585f 100644 --- a/arch/cris/Kconfig +++ b/arch/cris/Kconfig | |||
@@ -282,8 +282,8 @@ config ETRAX_RTC | |||
282 | Enables drivers for the Real-Time Clock battery-backed chips on | 282 | Enables drivers for the Real-Time Clock battery-backed chips on |
283 | some products. The kernel reads the time when booting, and | 283 | some products. The kernel reads the time when booting, and |
284 | the date can be set using ioctl(fd, RTC_SET_TIME, &rt) with rt a | 284 | the date can be set using ioctl(fd, RTC_SET_TIME, &rt) with rt a |
285 | rtc_time struct (see <file:include/asm-cris/rtc.h>) on the /dev/rtc | 285 | rtc_time struct (see <file:arch/cris/include/asm/rtc.h>) on the |
286 | device. You can check the time with cat /proc/rtc, but | 286 | /dev/rtc device. You can check the time with cat /proc/rtc, but |
287 | normal time reading should be done using libc function time and | 287 | normal time reading should be done using libc function time and |
288 | friends. | 288 | friends. |
289 | 289 | ||
diff --git a/arch/cris/arch-v10/Kconfig b/arch/cris/arch-v10/Kconfig index adc164e99339..df9a38b4f18f 100644 --- a/arch/cris/arch-v10/Kconfig +++ b/arch/cris/arch-v10/Kconfig | |||
@@ -24,8 +24,8 @@ config ETRAX_PA_LEDS | |||
24 | help | 24 | help |
25 | The ETRAX network driver is responsible for flashing LED's when | 25 | The ETRAX network driver is responsible for flashing LED's when |
26 | packets arrive and are sent. It uses macros defined in | 26 | packets arrive and are sent. It uses macros defined in |
27 | <file:include/asm-cris/io.h>, and those macros are defined after what | 27 | <file:arch/cris/include/asm/io.h>, and those macros are defined after |
28 | YOU choose in this option. The actual bits used are configured | 28 | what YOU choose in this option. The actual bits used are configured |
29 | separately. Select this if the LEDs are on port PA. Some products | 29 | separately. Select this if the LEDs are on port PA. Some products |
30 | put the leds on PB or a memory-mapped latch (CSP0) instead. | 30 | put the leds on PB or a memory-mapped latch (CSP0) instead. |
31 | 31 | ||
@@ -34,8 +34,8 @@ config ETRAX_PB_LEDS | |||
34 | help | 34 | help |
35 | The ETRAX network driver is responsible for flashing LED's when | 35 | The ETRAX network driver is responsible for flashing LED's when |
36 | packets arrive and are sent. It uses macros defined in | 36 | packets arrive and are sent. It uses macros defined in |
37 | <file:include/asm-cris/io.h>, and those macros are defined after what | 37 | <file:arch/cris/include/asm/io.h>, and those macros are defined after |
38 | YOU choose in this option. The actual bits used are configured | 38 | what YOU choose in this option. The actual bits used are configured |
39 | separately. Select this if the LEDs are on port PB. Some products | 39 | separately. Select this if the LEDs are on port PB. Some products |
40 | put the leds on PA or a memory-mapped latch (CSP0) instead. | 40 | put the leds on PA or a memory-mapped latch (CSP0) instead. |
41 | 41 | ||
@@ -44,8 +44,8 @@ config ETRAX_CSP0_LEDS | |||
44 | help | 44 | help |
45 | The ETRAX network driver is responsible for flashing LED's when | 45 | The ETRAX network driver is responsible for flashing LED's when |
46 | packets arrive and are sent. It uses macros defined in | 46 | packets arrive and are sent. It uses macros defined in |
47 | <file:include/asm-cris/io.h>, and those macros are defined after what | 47 | <file:arch/cris/include/asm/io.h>, and those macros are defined after |
48 | YOU choose in this option. The actual bits used are configured | 48 | what YOU choose in this option. The actual bits used are configured |
49 | separately. Select this if the LEDs are on a memory-mapped latch | 49 | separately. Select this if the LEDs are on a memory-mapped latch |
50 | using chip select CSP0, this is mapped at 0x90000000. | 50 | using chip select CSP0, this is mapped at 0x90000000. |
51 | Some products put the leds on PA or PB instead. | 51 | Some products put the leds on PA or PB instead. |
diff --git a/arch/cris/arch-v32/lib/nand_init.S b/arch/cris/arch-v32/lib/nand_init.S deleted file mode 100644 index d671fed451c9..000000000000 --- a/arch/cris/arch-v32/lib/nand_init.S +++ /dev/null | |||
@@ -1,178 +0,0 @@ | |||
1 | ##============================================================================= | ||
2 | ## | ||
3 | ## nand_init.S | ||
4 | ## | ||
5 | ## The bootrom copies data from the NAND flash to the internal RAM but | ||
6 | ## due to a bug/feature we can only trust the 256 first bytes. So this | ||
7 | ## code copies more data from NAND flash to internal RAM. Obvioulsy this | ||
8 | ## code must fit in the first 256 bytes so alter with care. | ||
9 | ## | ||
10 | ## Some notes about the bug/feature for future reference: | ||
11 | ## The bootrom copies the first 127 KB from NAND flash to internal | ||
12 | ## memory. The problem is that it does a bytewise copy. NAND flashes | ||
13 | ## does autoincrement on the address so for a 16-bite device each | ||
14 | ## read/write increases the address by two. So the copy loop in the | ||
15 | ## bootrom will discard every second byte. This is solved by inserting | ||
16 | ## zeroes in every second byte in the first erase block. | ||
17 | ## | ||
18 | ## The bootrom also incorrectly assumes that it can read the flash | ||
19 | ## linear with only one read command but the flash will actually | ||
20 | ## switch between normal area and spare area if you do that so we | ||
21 | ## can't trust more than the first 256 bytes. | ||
22 | ## | ||
23 | ##============================================================================= | ||
24 | |||
25 | #include <arch/hwregs/asm/reg_map_asm.h> | ||
26 | #include <arch/hwregs/asm/gio_defs_asm.h> | ||
27 | #include <arch/hwregs/asm/pinmux_defs_asm.h> | ||
28 | #include <arch/hwregs/asm/bif_core_defs_asm.h> | ||
29 | #include <arch/hwregs/asm/config_defs_asm.h> | ||
30 | |||
31 | ;; There are 8-bit NAND flashes and 16-bit NAND flashes. | ||
32 | ;; We need to treat them slightly different. | ||
33 | #if CONFIG_ETRAX_FLASH_BUSWIDTH==2 | ||
34 | #define PAGE_SIZE 256 | ||
35 | #else | ||
36 | #error 2 | ||
37 | #define PAGE_SIZE 512 | ||
38 | #endif | ||
39 | #define ERASE_BLOCK 16384 | ||
40 | |||
41 | ;; GPIO pins connected to NAND flash | ||
42 | #define CE 4 | ||
43 | #define CLE 5 | ||
44 | #define ALE 6 | ||
45 | #define BY 7 | ||
46 | |||
47 | ;; Address space for NAND flash | ||
48 | #define NAND_RD_ADDR 0x90000000 | ||
49 | #define NAND_WR_ADDR 0x94000000 | ||
50 | |||
51 | #define READ_CMD 0x00 | ||
52 | |||
53 | ;; Readability macros | ||
54 | #define CSP_MASK \ | ||
55 | REG_MASK(bif_core, rw_grp3_cfg, gated_csp0) | \ | ||
56 | REG_MASK(bif_core, rw_grp3_cfg, gated_csp1) | ||
57 | #define CSP_VAL \ | ||
58 | REG_STATE(bif_core, rw_grp3_cfg, gated_csp0, rd) | \ | ||
59 | REG_STATE(bif_core, rw_grp3_cfg, gated_csp1, wr) | ||
60 | |||
61 | ;;---------------------------------------------------------------------------- | ||
62 | ;; Macros to set/clear GPIO bits | ||
63 | |||
64 | .macro SET x | ||
65 | or.b (1<<\x),$r9 | ||
66 | move.d $r9, [$r2] | ||
67 | .endm | ||
68 | |||
69 | .macro CLR x | ||
70 | and.b ~(1<<\x),$r9 | ||
71 | move.d $r9, [$r2] | ||
72 | .endm | ||
73 | |||
74 | ;;---------------------------------------------------------------------------- | ||
75 | |||
76 | nand_boot: | ||
77 | ;; Check if nand boot was selected | ||
78 | move.d REG_ADDR(config, regi_config, r_bootsel), $r0 | ||
79 | move.d [$r0], $r0 | ||
80 | and.d REG_MASK(config, r_bootsel, boot_mode), $r0 | ||
81 | cmp.d REG_STATE(config, r_bootsel, boot_mode, nand), $r0 | ||
82 | bne normal_boot ; No NAND boot | ||
83 | nop | ||
84 | |||
85 | copy_nand_to_ram: | ||
86 | ;; copy_nand_to_ram | ||
87 | ;; Arguments | ||
88 | ;; r10 - destination | ||
89 | ;; r11 - source offset | ||
90 | ;; r12 - size | ||
91 | ;; r13 - Address to jump to after completion | ||
92 | ;; Note : r10-r12 are clobbered on return | ||
93 | ;; Registers used: | ||
94 | ;; r0 - NAND_RD_ADDR | ||
95 | ;; r1 - NAND_WR_ADDR | ||
96 | ;; r2 - reg_gio_rw_pa_dout | ||
97 | ;; r3 - reg_gio_r_pa_din | ||
98 | ;; r4 - tmp | ||
99 | ;; r5 - byte counter within a page | ||
100 | ;; r6 - reg_pinmux_rw_pa | ||
101 | ;; r7 - reg_gio_rw_pa_oe | ||
102 | ;; r8 - reg_bif_core_rw_grp3_cfg | ||
103 | ;; r9 - reg_gio_rw_pa_dout shadow | ||
104 | move.d 0x90000000, $r0 | ||
105 | move.d 0x94000000, $r1 | ||
106 | move.d REG_ADDR(gio, regi_gio, rw_pa_dout), $r2 | ||
107 | move.d REG_ADDR(gio, regi_gio, r_pa_din), $r3 | ||
108 | move.d REG_ADDR(pinmux, regi_pinmux, rw_pa), $r6 | ||
109 | move.d REG_ADDR(gio, regi_gio, rw_pa_oe), $r7 | ||
110 | move.d REG_ADDR(bif_core, regi_bif_core, rw_grp3_cfg), $r8 | ||
111 | |||
112 | #if CONFIG_ETRAX_FLASH_BUSWIDTH==2 | ||
113 | lsrq 1, $r11 | ||
114 | #endif | ||
115 | ;; Set up GPIO | ||
116 | move.d [$r2], $r9 | ||
117 | move.d [$r7], $r4 | ||
118 | or.b (1<<ALE) | (1 << CLE) | (1<<CE), $r4 | ||
119 | move.d $r4, [$r7] | ||
120 | |||
121 | ;; Set up bif | ||
122 | move.d [$r8], $r4 | ||
123 | and.d CSP_MASK, $r4 | ||
124 | or.d CSP_VAL, $r4 | ||
125 | move.d $r4, [$r8] | ||
126 | |||
127 | 1: ;; Copy one page | ||
128 | CLR CE | ||
129 | SET CLE | ||
130 | moveq READ_CMD, $r4 | ||
131 | move.b $r4, [$r1] | ||
132 | moveq 20, $r4 | ||
133 | 2: bne 2b | ||
134 | subq 1, $r4 | ||
135 | CLR CLE | ||
136 | SET ALE | ||
137 | clear.w [$r1] ; Column address = 0 | ||
138 | move.d $r11, $r4 | ||
139 | lsrq 8, $r4 | ||
140 | move.b $r4, [$r1] ; Row address | ||
141 | lsrq 8, $r4 | ||
142 | move.b $r4, [$r1] ; Row address | ||
143 | moveq 20, $r4 | ||
144 | 2: bne 2b | ||
145 | subq 1, $r4 | ||
146 | CLR ALE | ||
147 | 2: move.d [$r3], $r4 | ||
148 | and.d 1 << BY, $r4 | ||
149 | beq 2b | ||
150 | movu.w PAGE_SIZE, $r5 | ||
151 | 2: ; Copy one byte/word | ||
152 | #if CONFIG_ETRAX_FLASH_BUSWIDTH==2 | ||
153 | move.w [$r0], $r4 | ||
154 | #else | ||
155 | move.b [$r0], $r4 | ||
156 | #endif | ||
157 | subq 1, $r5 | ||
158 | bne 2b | ||
159 | #if CONFIG_ETRAX_FLASH_BUSWIDTH==2 | ||
160 | move.w $r4, [$r10+] | ||
161 | subu.w PAGE_SIZE*2, $r12 | ||
162 | #else | ||
163 | move.b $r4, [$r10+] | ||
164 | subu.w PAGE_SIZE, $r12 | ||
165 | #endif | ||
166 | bpl 1b | ||
167 | addu.w PAGE_SIZE, $r11 | ||
168 | |||
169 | ;; End of copy | ||
170 | jump $r13 | ||
171 | nop | ||
172 | |||
173 | ;; This will warn if the code above is too large. If you consider | ||
174 | ;; to remove this you don't understand the bug/feature. | ||
175 | .org 256 | ||
176 | .org ERASE_BLOCK | ||
177 | |||
178 | normal_boot: | ||
diff --git a/arch/h8300/Kconfig b/arch/h8300/Kconfig index 091ed6192ae8..7ed7714573c8 100644 --- a/arch/h8300/Kconfig +++ b/arch/h8300/Kconfig | |||
@@ -160,7 +160,7 @@ config VT_CONSOLE | |||
160 | 160 | ||
161 | config HW_CONSOLE | 161 | config HW_CONSOLE |
162 | bool | 162 | bool |
163 | depends on VT && !S390 && !UM | 163 | depends on VT |
164 | default y | 164 | default y |
165 | 165 | ||
166 | comment "Unix98 PTY support" | 166 | comment "Unix98 PTY support" |
diff --git a/arch/ia64/hp/common/sba_iommu.c b/arch/ia64/hp/common/sba_iommu.c index 80241fe03f50..f5f4ef149aac 100644 --- a/arch/ia64/hp/common/sba_iommu.c +++ b/arch/ia64/hp/common/sba_iommu.c | |||
@@ -915,7 +915,7 @@ sba_mark_invalid(struct ioc *ioc, dma_addr_t iova, size_t byte_cnt) | |||
915 | * @dir: R/W or both. | 915 | * @dir: R/W or both. |
916 | * @attrs: optional dma attributes | 916 | * @attrs: optional dma attributes |
917 | * | 917 | * |
918 | * See Documentation/PCI/PCI-DMA-mapping.txt | 918 | * See Documentation/DMA-API-HOWTO.txt |
919 | */ | 919 | */ |
920 | static dma_addr_t sba_map_page(struct device *dev, struct page *page, | 920 | static dma_addr_t sba_map_page(struct device *dev, struct page *page, |
921 | unsigned long poff, size_t size, | 921 | unsigned long poff, size_t size, |
@@ -1044,7 +1044,7 @@ sba_mark_clean(struct ioc *ioc, dma_addr_t iova, size_t size) | |||
1044 | * @dir: R/W or both. | 1044 | * @dir: R/W or both. |
1045 | * @attrs: optional dma attributes | 1045 | * @attrs: optional dma attributes |
1046 | * | 1046 | * |
1047 | * See Documentation/PCI/PCI-DMA-mapping.txt | 1047 | * See Documentation/DMA-API-HOWTO.txt |
1048 | */ | 1048 | */ |
1049 | static void sba_unmap_page(struct device *dev, dma_addr_t iova, size_t size, | 1049 | static void sba_unmap_page(struct device *dev, dma_addr_t iova, size_t size, |
1050 | enum dma_data_direction dir, struct dma_attrs *attrs) | 1050 | enum dma_data_direction dir, struct dma_attrs *attrs) |
@@ -1127,7 +1127,7 @@ void sba_unmap_single_attrs(struct device *dev, dma_addr_t iova, size_t size, | |||
1127 | * @size: number of bytes mapped in driver buffer. | 1127 | * @size: number of bytes mapped in driver buffer. |
1128 | * @dma_handle: IOVA of new buffer. | 1128 | * @dma_handle: IOVA of new buffer. |
1129 | * | 1129 | * |
1130 | * See Documentation/PCI/PCI-DMA-mapping.txt | 1130 | * See Documentation/DMA-API-HOWTO.txt |
1131 | */ | 1131 | */ |
1132 | static void * | 1132 | static void * |
1133 | sba_alloc_coherent (struct device *dev, size_t size, dma_addr_t *dma_handle, gfp_t flags) | 1133 | sba_alloc_coherent (struct device *dev, size_t size, dma_addr_t *dma_handle, gfp_t flags) |
@@ -1190,7 +1190,7 @@ sba_alloc_coherent (struct device *dev, size_t size, dma_addr_t *dma_handle, gfp | |||
1190 | * @vaddr: virtual address IOVA of "consistent" buffer. | 1190 | * @vaddr: virtual address IOVA of "consistent" buffer. |
1191 | * @dma_handler: IO virtual address of "consistent" buffer. | 1191 | * @dma_handler: IO virtual address of "consistent" buffer. |
1192 | * | 1192 | * |
1193 | * See Documentation/PCI/PCI-DMA-mapping.txt | 1193 | * See Documentation/DMA-API-HOWTO.txt |
1194 | */ | 1194 | */ |
1195 | static void sba_free_coherent (struct device *dev, size_t size, void *vaddr, | 1195 | static void sba_free_coherent (struct device *dev, size_t size, void *vaddr, |
1196 | dma_addr_t dma_handle) | 1196 | dma_addr_t dma_handle) |
@@ -1453,7 +1453,7 @@ static void sba_unmap_sg_attrs(struct device *dev, struct scatterlist *sglist, | |||
1453 | * @dir: R/W or both. | 1453 | * @dir: R/W or both. |
1454 | * @attrs: optional dma attributes | 1454 | * @attrs: optional dma attributes |
1455 | * | 1455 | * |
1456 | * See Documentation/PCI/PCI-DMA-mapping.txt | 1456 | * See Documentation/DMA-API-HOWTO.txt |
1457 | */ | 1457 | */ |
1458 | static int sba_map_sg_attrs(struct device *dev, struct scatterlist *sglist, | 1458 | static int sba_map_sg_attrs(struct device *dev, struct scatterlist *sglist, |
1459 | int nents, enum dma_data_direction dir, | 1459 | int nents, enum dma_data_direction dir, |
@@ -1549,7 +1549,7 @@ static int sba_map_sg_attrs(struct device *dev, struct scatterlist *sglist, | |||
1549 | * @dir: R/W or both. | 1549 | * @dir: R/W or both. |
1550 | * @attrs: optional dma attributes | 1550 | * @attrs: optional dma attributes |
1551 | * | 1551 | * |
1552 | * See Documentation/PCI/PCI-DMA-mapping.txt | 1552 | * See Documentation/DMA-API-HOWTO.txt |
1553 | */ | 1553 | */ |
1554 | static void sba_unmap_sg_attrs(struct device *dev, struct scatterlist *sglist, | 1554 | static void sba_unmap_sg_attrs(struct device *dev, struct scatterlist *sglist, |
1555 | int nents, enum dma_data_direction dir, | 1555 | int nents, enum dma_data_direction dir, |
diff --git a/arch/m68k/q40/README b/arch/m68k/q40/README index b26d5f55e91d..93f4c4cd3c45 100644 --- a/arch/m68k/q40/README +++ b/arch/m68k/q40/README | |||
@@ -31,7 +31,7 @@ drivers used by the Q40, apart from the very obvious (console etc.): | |||
31 | char/joystick/* # most of this should work, not | 31 | char/joystick/* # most of this should work, not |
32 | # in default config.in | 32 | # in default config.in |
33 | block/q40ide.c # startup for ide | 33 | block/q40ide.c # startup for ide |
34 | ide* # see Documentation/ide.txt | 34 | ide* # see Documentation/ide/ide.txt |
35 | floppy.c # normal PC driver, DMA emu in asm/floppy.h | 35 | floppy.c # normal PC driver, DMA emu in asm/floppy.h |
36 | # and arch/m68k/kernel/entry.S | 36 | # and arch/m68k/kernel/entry.S |
37 | # see drivers/block/README.fd | 37 | # see drivers/block/README.fd |
diff --git a/arch/microblaze/include/asm/dma-mapping.h b/arch/microblaze/include/asm/dma-mapping.h index 8fbb0ec10233..a569514cf19f 100644 --- a/arch/microblaze/include/asm/dma-mapping.h +++ b/arch/microblaze/include/asm/dma-mapping.h | |||
@@ -16,7 +16,7 @@ | |||
16 | #define _ASM_MICROBLAZE_DMA_MAPPING_H | 16 | #define _ASM_MICROBLAZE_DMA_MAPPING_H |
17 | 17 | ||
18 | /* | 18 | /* |
19 | * See Documentation/PCI/PCI-DMA-mapping.txt and | 19 | * See Documentation/DMA-API-HOWTO.txt and |
20 | * Documentation/DMA-API.txt for documentation. | 20 | * Documentation/DMA-API.txt for documentation. |
21 | */ | 21 | */ |
22 | 22 | ||
diff --git a/arch/microblaze/mm/init.c b/arch/microblaze/mm/init.c index 213f2d671669..36a133e5ee35 100644 --- a/arch/microblaze/mm/init.c +++ b/arch/microblaze/mm/init.c | |||
@@ -304,11 +304,11 @@ asmlinkage void __init mmu_init(void) | |||
304 | /* Map in all of RAM starting at CONFIG_KERNEL_START */ | 304 | /* Map in all of RAM starting at CONFIG_KERNEL_START */ |
305 | mapin_ram(); | 305 | mapin_ram(); |
306 | 306 | ||
307 | #ifdef HIGHMEM_START_BOOL | 307 | #ifdef CONFIG_HIGHMEM_START_BOOL |
308 | ioremap_base = HIGHMEM_START; | 308 | ioremap_base = CONFIG_HIGHMEM_START; |
309 | #else | 309 | #else |
310 | ioremap_base = 0xfe000000UL; /* for now, could be 0xfffff000 */ | 310 | ioremap_base = 0xfe000000UL; /* for now, could be 0xfffff000 */ |
311 | #endif /* CONFIG_HIGHMEM */ | 311 | #endif /* CONFIG_HIGHMEM_START_BOOL */ |
312 | ioremap_bot = ioremap_base; | 312 | ioremap_bot = ioremap_base; |
313 | 313 | ||
314 | /* Initialize the context management stuff */ | 314 | /* Initialize the context management stuff */ |
diff --git a/arch/mips/include/asm/lasat/lasat.h b/arch/mips/include/asm/lasat/lasat.h index a1ada1c27c16..e8ff70f80e13 100644 --- a/arch/mips/include/asm/lasat/lasat.h +++ b/arch/mips/include/asm/lasat/lasat.h | |||
@@ -41,10 +41,8 @@ enum lasat_mtdparts { | |||
41 | 41 | ||
42 | /* | 42 | /* |
43 | * The format of the data record in the EEPROM. | 43 | * The format of the data record in the EEPROM. |
44 | * See Documentation/LASAT/eeprom.txt for a detailed description | 44 | * See the LASAT Hardware Configuration field specification for a detailed |
45 | * of the fields in this struct, and the LASAT Hardware Configuration | 45 | * description of the config field. |
46 | * field specification for a detailed description of the config | ||
47 | * field. | ||
48 | */ | 46 | */ |
49 | #include <linux/types.h> | 47 | #include <linux/types.h> |
50 | 48 | ||
diff --git a/arch/mn10300/Kconfig b/arch/mn10300/Kconfig index 1f870340ebdd..f093b3a8a4a1 100644 --- a/arch/mn10300/Kconfig +++ b/arch/mn10300/Kconfig | |||
@@ -195,7 +195,7 @@ config SMP | |||
195 | singleprocessor machines. On a singleprocessor machine, the kernel | 195 | singleprocessor machines. On a singleprocessor machine, the kernel |
196 | will run faster if you say N here. | 196 | will run faster if you say N here. |
197 | 197 | ||
198 | See also <file:Documentation/i386/IO-APIC.txt>, | 198 | See also <file:Documentation/x86/i386/IO-APIC.txt>, |
199 | <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available at | 199 | <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available at |
200 | <http://www.tldp.org/docs.html#howto>. | 200 | <http://www.tldp.org/docs.html#howto>. |
201 | 201 | ||
diff --git a/arch/mn10300/kernel/irq.c b/arch/mn10300/kernel/irq.c index 2623d19f4f4c..2381df83bd00 100644 --- a/arch/mn10300/kernel/irq.c +++ b/arch/mn10300/kernel/irq.c | |||
@@ -260,7 +260,6 @@ void set_intr_level(int irq, u16 level) | |||
260 | /* | 260 | /* |
261 | * mark an interrupt to be ACK'd after interrupt handlers have been run rather | 261 | * mark an interrupt to be ACK'd after interrupt handlers have been run rather |
262 | * than before | 262 | * than before |
263 | * - see Documentation/mn10300/features.txt | ||
264 | */ | 263 | */ |
265 | void mn10300_set_lateack_irq_type(int irq) | 264 | void mn10300_set_lateack_irq_type(int irq) |
266 | { | 265 | { |
diff --git a/arch/openrisc/Kconfig b/arch/openrisc/Kconfig index 4558bafbd1a2..9460e1c266dd 100644 --- a/arch/openrisc/Kconfig +++ b/arch/openrisc/Kconfig | |||
@@ -1,6 +1,6 @@ | |||
1 | # | 1 | # |
2 | # For a description of the syntax of this configuration file, | 2 | # For a description of the syntax of this configuration file, |
3 | # see Documentation/kbuild/config-language.txt. | 3 | # see Documentation/kbuild/kconfig-language.txt. |
4 | # | 4 | # |
5 | 5 | ||
6 | config OPENRISC | 6 | config OPENRISC |
diff --git a/arch/openrisc/include/asm/dma-mapping.h b/arch/openrisc/include/asm/dma-mapping.h index 60b472233900..b206ba4608b2 100644 --- a/arch/openrisc/include/asm/dma-mapping.h +++ b/arch/openrisc/include/asm/dma-mapping.h | |||
@@ -18,7 +18,7 @@ | |||
18 | #define __ASM_OPENRISC_DMA_MAPPING_H | 18 | #define __ASM_OPENRISC_DMA_MAPPING_H |
19 | 19 | ||
20 | /* | 20 | /* |
21 | * See Documentation/PCI/PCI-DMA-mapping.txt and | 21 | * See Documentation/DMA-API-HOWTO.txt and |
22 | * Documentation/DMA-API.txt for documentation. | 22 | * Documentation/DMA-API.txt for documentation. |
23 | * | 23 | * |
24 | * This file is written with the intention of eventually moving over | 24 | * This file is written with the intention of eventually moving over |
diff --git a/arch/parisc/Kconfig b/arch/parisc/Kconfig index e077b0bf56ca..fdfd8be29e95 100644 --- a/arch/parisc/Kconfig +++ b/arch/parisc/Kconfig | |||
@@ -169,9 +169,7 @@ config 64BIT | |||
169 | 169 | ||
170 | choice | 170 | choice |
171 | prompt "Kernel page size" | 171 | prompt "Kernel page size" |
172 | default PARISC_PAGE_SIZE_4KB if !64BIT | 172 | default PARISC_PAGE_SIZE_4KB |
173 | default PARISC_PAGE_SIZE_4KB if 64BIT | ||
174 | # default PARISC_PAGE_SIZE_16KB if 64BIT | ||
175 | 173 | ||
176 | config PARISC_PAGE_SIZE_4KB | 174 | config PARISC_PAGE_SIZE_4KB |
177 | bool "4KB" | 175 | bool "4KB" |
diff --git a/arch/parisc/include/asm/dma-mapping.h b/arch/parisc/include/asm/dma-mapping.h index 890531e32fe8..467bbd510eac 100644 --- a/arch/parisc/include/asm/dma-mapping.h +++ b/arch/parisc/include/asm/dma-mapping.h | |||
@@ -5,7 +5,7 @@ | |||
5 | #include <asm/cacheflush.h> | 5 | #include <asm/cacheflush.h> |
6 | #include <asm/scatterlist.h> | 6 | #include <asm/scatterlist.h> |
7 | 7 | ||
8 | /* See Documentation/PCI/PCI-DMA-mapping.txt */ | 8 | /* See Documentation/DMA-API-HOWTO.txt */ |
9 | struct hppa_dma_ops { | 9 | struct hppa_dma_ops { |
10 | int (*dma_supported)(struct device *dev, u64 mask); | 10 | int (*dma_supported)(struct device *dev, u64 mask); |
11 | void *(*alloc_consistent)(struct device *dev, size_t size, dma_addr_t *iova, gfp_t flag); | 11 | void *(*alloc_consistent)(struct device *dev, size_t size, dma_addr_t *iova, gfp_t flag); |
diff --git a/arch/parisc/kernel/pci-dma.c b/arch/parisc/kernel/pci-dma.c index a029f74a3c5c..d047edea2504 100644 --- a/arch/parisc/kernel/pci-dma.c +++ b/arch/parisc/kernel/pci-dma.c | |||
@@ -2,7 +2,7 @@ | |||
2 | ** PARISC 1.1 Dynamic DMA mapping support. | 2 | ** PARISC 1.1 Dynamic DMA mapping support. |
3 | ** This implementation is for PA-RISC platforms that do not support | 3 | ** This implementation is for PA-RISC platforms that do not support |
4 | ** I/O TLBs (aka DMA address translation hardware). | 4 | ** I/O TLBs (aka DMA address translation hardware). |
5 | ** See Documentation/PCI/PCI-DMA-mapping.txt for interface definitions. | 5 | ** See Documentation/DMA-API-HOWTO.txt for interface definitions. |
6 | ** | 6 | ** |
7 | ** (c) Copyright 1999,2000 Hewlett-Packard Company | 7 | ** (c) Copyright 1999,2000 Hewlett-Packard Company |
8 | ** (c) Copyright 2000 Grant Grundler | 8 | ** (c) Copyright 2000 Grant Grundler |
diff --git a/arch/powerpc/include/asm/qe.h b/arch/powerpc/include/asm/qe.h index 0947b36e534c..5e0b6d511e14 100644 --- a/arch/powerpc/include/asm/qe.h +++ b/arch/powerpc/include/asm/qe.h | |||
@@ -196,7 +196,7 @@ static inline int qe_alive_during_sleep(void) | |||
196 | 196 | ||
197 | /* Structure that defines QE firmware binary files. | 197 | /* Structure that defines QE firmware binary files. |
198 | * | 198 | * |
199 | * See Documentation/powerpc/qe-firmware.txt for a description of these | 199 | * See Documentation/powerpc/qe_firmware.txt for a description of these |
200 | * fields. | 200 | * fields. |
201 | */ | 201 | */ |
202 | struct qe_firmware { | 202 | struct qe_firmware { |
diff --git a/arch/powerpc/platforms/85xx/Kconfig b/arch/powerpc/platforms/85xx/Kconfig index 498534cd5265..12f5932dadc9 100644 --- a/arch/powerpc/platforms/85xx/Kconfig +++ b/arch/powerpc/platforms/85xx/Kconfig | |||
@@ -80,7 +80,7 @@ config P1010_RDB | |||
80 | config P1022_DS | 80 | config P1022_DS |
81 | bool "Freescale P1022 DS" | 81 | bool "Freescale P1022 DS" |
82 | select DEFAULT_UIMAGE | 82 | select DEFAULT_UIMAGE |
83 | select CONFIG_PHYS_64BIT # The DTS has 36-bit addresses | 83 | select PHYS_64BIT # The DTS has 36-bit addresses |
84 | select SWIOTLB | 84 | select SWIOTLB |
85 | help | 85 | help |
86 | This option enables support for the Freescale P1022DS reference board. | 86 | This option enables support for the Freescale P1022DS reference board. |
diff --git a/arch/powerpc/platforms/embedded6xx/storcenter.c b/arch/powerpc/platforms/embedded6xx/storcenter.c index 613070e9ddbe..f1eebcae9bf0 100644 --- a/arch/powerpc/platforms/embedded6xx/storcenter.c +++ b/arch/powerpc/platforms/embedded6xx/storcenter.c | |||
@@ -77,7 +77,7 @@ static void __init storcenter_setup_arch(void) | |||
77 | } | 77 | } |
78 | 78 | ||
79 | /* | 79 | /* |
80 | * Interrupt setup and service. Interrrupts on the turbostation come | 80 | * Interrupt setup and service. Interrupts on the turbostation come |
81 | * from the four PCI slots plus onboard 8241 devices: I2C, DUART. | 81 | * from the four PCI slots plus onboard 8241 devices: I2C, DUART. |
82 | */ | 82 | */ |
83 | static void __init storcenter_init_IRQ(void) | 83 | static void __init storcenter_init_IRQ(void) |
diff --git a/arch/powerpc/sysdev/qe_lib/qe.c b/arch/powerpc/sysdev/qe_lib/qe.c index 904c6cbaf45b..3363fbc964f8 100644 --- a/arch/powerpc/sysdev/qe_lib/qe.c +++ b/arch/powerpc/sysdev/qe_lib/qe.c | |||
@@ -382,7 +382,7 @@ static void qe_upload_microcode(const void *base, | |||
382 | /* | 382 | /* |
383 | * Upload a microcode to the I-RAM at a specific address. | 383 | * Upload a microcode to the I-RAM at a specific address. |
384 | * | 384 | * |
385 | * See Documentation/powerpc/qe-firmware.txt for information on QE microcode | 385 | * See Documentation/powerpc/qe_firmware.txt for information on QE microcode |
386 | * uploading. | 386 | * uploading. |
387 | * | 387 | * |
388 | * Currently, only version 1 is supported, so the 'version' field must be | 388 | * Currently, only version 1 is supported, so the 'version' field must be |
diff --git a/arch/s390/hypfs/hypfs_diag.c b/arch/s390/hypfs/hypfs_diag.c index 6023c6dc1fb7..74c8f5e76ce4 100644 --- a/arch/s390/hypfs/hypfs_diag.c +++ b/arch/s390/hypfs/hypfs_diag.c | |||
@@ -562,10 +562,9 @@ static int dbfs_d204_create(void **data, void **data_free_ptr, size_t *size) | |||
562 | void *base; | 562 | void *base; |
563 | 563 | ||
564 | buf_size = PAGE_SIZE * (diag204_buf_pages + 1) + sizeof(d204->hdr); | 564 | buf_size = PAGE_SIZE * (diag204_buf_pages + 1) + sizeof(d204->hdr); |
565 | base = vmalloc(buf_size); | 565 | base = vzalloc(buf_size); |
566 | if (!base) | 566 | if (!base) |
567 | return -ENOMEM; | 567 | return -ENOMEM; |
568 | memset(base, 0, buf_size); | ||
569 | d204 = page_align_ptr(base + sizeof(d204->hdr)) - sizeof(d204->hdr); | 568 | d204 = page_align_ptr(base + sizeof(d204->hdr)) - sizeof(d204->hdr); |
570 | rc = diag204_do_store(d204->buf, diag204_buf_pages); | 569 | rc = diag204_do_store(d204->buf, diag204_buf_pages); |
571 | if (rc) { | 570 | if (rc) { |
diff --git a/arch/unicore32/include/asm/io.h b/arch/unicore32/include/asm/io.h index 4bd87f3d13d4..1a5c5a5eb39c 100644 --- a/arch/unicore32/include/asm/io.h +++ b/arch/unicore32/include/asm/io.h | |||
@@ -32,7 +32,7 @@ extern void __uc32_iounmap(volatile void __iomem *addr); | |||
32 | * ioremap and friends. | 32 | * ioremap and friends. |
33 | * | 33 | * |
34 | * ioremap takes a PCI memory address, as specified in | 34 | * ioremap takes a PCI memory address, as specified in |
35 | * Documentation/IO-mapping.txt. | 35 | * Documentation/io-mapping.txt. |
36 | * | 36 | * |
37 | */ | 37 | */ |
38 | #define ioremap(cookie, size) __uc32_ioremap(cookie, size) | 38 | #define ioremap(cookie, size) __uc32_ioremap(cookie, size) |
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 6a47bb22657f..9a4a267a8a55 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig | |||
@@ -279,7 +279,7 @@ config SMP | |||
279 | Y to "Enhanced Real Time Clock Support", below. The "Advanced Power | 279 | Y to "Enhanced Real Time Clock Support", below. The "Advanced Power |
280 | Management" code will be disabled if you say Y here. | 280 | Management" code will be disabled if you say Y here. |
281 | 281 | ||
282 | See also <file:Documentation/i386/IO-APIC.txt>, | 282 | See also <file:Documentation/x86/i386/IO-APIC.txt>, |
283 | <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available at | 283 | <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available at |
284 | <http://www.tldp.org/docs.html#howto>. | 284 | <http://www.tldp.org/docs.html#howto>. |
285 | 285 | ||
diff --git a/arch/x86/Kconfig.debug b/arch/x86/Kconfig.debug index c0f8a5c88910..bf56e1793272 100644 --- a/arch/x86/Kconfig.debug +++ b/arch/x86/Kconfig.debug | |||
@@ -139,7 +139,7 @@ config IOMMU_DEBUG | |||
139 | code. When you use it make sure you have a big enough | 139 | code. When you use it make sure you have a big enough |
140 | IOMMU/AGP aperture. Most of the options enabled by this can | 140 | IOMMU/AGP aperture. Most of the options enabled by this can |
141 | be set more finegrained using the iommu= command line | 141 | be set more finegrained using the iommu= command line |
142 | options. See Documentation/x86_64/boot-options.txt for more | 142 | options. See Documentation/x86/x86_64/boot-options.txt for more |
143 | details. | 143 | details. |
144 | 144 | ||
145 | config IOMMU_STRESS | 145 | config IOMMU_STRESS |
diff --git a/arch/x86/boot/header.S b/arch/x86/boot/header.S index 93e689f4bd86..bdb4d458ec8c 100644 --- a/arch/x86/boot/header.S +++ b/arch/x86/boot/header.S | |||
@@ -129,7 +129,7 @@ start_sys_seg: .word SYSSEG # obsolete and meaningless, but just | |||
129 | 129 | ||
130 | type_of_loader: .byte 0 # 0 means ancient bootloader, newer | 130 | type_of_loader: .byte 0 # 0 means ancient bootloader, newer |
131 | # bootloaders know to change this. | 131 | # bootloaders know to change this. |
132 | # See Documentation/i386/boot.txt for | 132 | # See Documentation/x86/boot.txt for |
133 | # assigned ids | 133 | # assigned ids |
134 | 134 | ||
135 | # flags, unused bits must be zero (RFU) bit within loadflags | 135 | # flags, unused bits must be zero (RFU) bit within loadflags |
diff --git a/arch/x86/include/asm/dma-mapping.h b/arch/x86/include/asm/dma-mapping.h index d4c419f883a0..ed3065fd6314 100644 --- a/arch/x86/include/asm/dma-mapping.h +++ b/arch/x86/include/asm/dma-mapping.h | |||
@@ -2,7 +2,7 @@ | |||
2 | #define _ASM_X86_DMA_MAPPING_H | 2 | #define _ASM_X86_DMA_MAPPING_H |
3 | 3 | ||
4 | /* | 4 | /* |
5 | * IOMMU interface. See Documentation/PCI/PCI-DMA-mapping.txt and | 5 | * IOMMU interface. See Documentation/DMA-API-HOWTO.txt and |
6 | * Documentation/DMA-API.txt for documentation. | 6 | * Documentation/DMA-API.txt for documentation. |
7 | */ | 7 | */ |
8 | 8 | ||
diff --git a/arch/x86/kernel/amd_gart_64.c b/arch/x86/kernel/amd_gart_64.c index 8a439d364b94..b1e7c7f7a0af 100644 --- a/arch/x86/kernel/amd_gart_64.c +++ b/arch/x86/kernel/amd_gart_64.c | |||
@@ -5,7 +5,7 @@ | |||
5 | * This allows to use PCI devices that only support 32bit addresses on systems | 5 | * This allows to use PCI devices that only support 32bit addresses on systems |
6 | * with more than 4GB. | 6 | * with more than 4GB. |
7 | * | 7 | * |
8 | * See Documentation/PCI/PCI-DMA-mapping.txt for the interface specification. | 8 | * See Documentation/DMA-API-HOWTO.txt for the interface specification. |
9 | * | 9 | * |
10 | * Copyright 2002 Andi Kleen, SuSE Labs. | 10 | * Copyright 2002 Andi Kleen, SuSE Labs. |
11 | * Subject to the GNU General Public License v2 only. | 11 | * Subject to the GNU General Public License v2 only. |
diff --git a/arch/x86/kernel/apm_32.c b/arch/x86/kernel/apm_32.c index 0371c484bb8a..a46bd383953c 100644 --- a/arch/x86/kernel/apm_32.c +++ b/arch/x86/kernel/apm_32.c | |||
@@ -249,8 +249,6 @@ extern int (*console_blank_hook)(int); | |||
249 | #define APM_MINOR_DEV 134 | 249 | #define APM_MINOR_DEV 134 |
250 | 250 | ||
251 | /* | 251 | /* |
252 | * See Documentation/Config.help for the configuration options. | ||
253 | * | ||
254 | * Various options can be changed at boot time as follows: | 252 | * Various options can be changed at boot time as follows: |
255 | * (We allow underscores for compatibility with the modules code) | 253 | * (We allow underscores for compatibility with the modules code) |
256 | * apm=on/off enable/disable APM | 254 | * apm=on/off enable/disable APM |
diff --git a/arch/x86/kernel/pci-dma.c b/arch/x86/kernel/pci-dma.c index b49d00da2aed..622872054fbe 100644 --- a/arch/x86/kernel/pci-dma.c +++ b/arch/x86/kernel/pci-dma.c | |||
@@ -117,8 +117,8 @@ again: | |||
117 | } | 117 | } |
118 | 118 | ||
119 | /* | 119 | /* |
120 | * See <Documentation/x86_64/boot-options.txt> for the iommu kernel parameter | 120 | * See <Documentation/x86/x86_64/boot-options.txt> for the iommu kernel |
121 | * documentation. | 121 | * parameter documentation. |
122 | */ | 122 | */ |
123 | static __init int iommu_setup(char *p) | 123 | static __init int iommu_setup(char *p) |
124 | { | 124 | { |
diff --git a/arch/x86/kernel/process_32.c b/arch/x86/kernel/process_32.c index 7a3b65107a27..2196c703c5e2 100644 --- a/arch/x86/kernel/process_32.c +++ b/arch/x86/kernel/process_32.c | |||
@@ -262,7 +262,7 @@ EXPORT_SYMBOL_GPL(start_thread); | |||
262 | 262 | ||
263 | 263 | ||
264 | /* | 264 | /* |
265 | * switch_to(x,yn) should switch tasks from x to y. | 265 | * switch_to(x,y) should switch tasks from x to y. |
266 | * | 266 | * |
267 | * We fsave/fwait so that an exception goes off at the right time | 267 | * We fsave/fwait so that an exception goes off at the right time |
268 | * (as a call from the fsave or fwait in effect) rather than to | 268 | * (as a call from the fsave or fwait in effect) rather than to |
diff --git a/arch/x86/mm/mmio-mod.c b/arch/x86/mm/mmio-mod.c index 67421f38a215..de54b9b278a7 100644 --- a/arch/x86/mm/mmio-mod.c +++ b/arch/x86/mm/mmio-mod.c | |||
@@ -29,7 +29,6 @@ | |||
29 | #include <linux/slab.h> | 29 | #include <linux/slab.h> |
30 | #include <linux/uaccess.h> | 30 | #include <linux/uaccess.h> |
31 | #include <linux/io.h> | 31 | #include <linux/io.h> |
32 | #include <linux/version.h> | ||
33 | #include <linux/kallsyms.h> | 32 | #include <linux/kallsyms.h> |
34 | #include <asm/pgtable.h> | 33 | #include <asm/pgtable.h> |
35 | #include <linux/mmiotrace.h> | 34 | #include <linux/mmiotrace.h> |
diff --git a/drivers/atm/idt77252.c b/drivers/atm/idt77252.c index db06f34419cf..1c052127548c 100644 --- a/drivers/atm/idt77252.c +++ b/drivers/atm/idt77252.c | |||
@@ -3416,27 +3416,28 @@ init_card(struct atm_dev *dev) | |||
3416 | 3416 | ||
3417 | size = sizeof(struct vc_map *) * card->tct_size; | 3417 | size = sizeof(struct vc_map *) * card->tct_size; |
3418 | IPRINTK("%s: allocate %d byte for VC map.\n", card->name, size); | 3418 | IPRINTK("%s: allocate %d byte for VC map.\n", card->name, size); |
3419 | if (NULL == (card->vcs = vmalloc(size))) { | 3419 | card->vcs = vzalloc(size); |
3420 | if (!card->vcs) { | ||
3420 | printk("%s: memory allocation failure.\n", card->name); | 3421 | printk("%s: memory allocation failure.\n", card->name); |
3421 | deinit_card(card); | 3422 | deinit_card(card); |
3422 | return -1; | 3423 | return -1; |
3423 | } | 3424 | } |
3424 | memset(card->vcs, 0, size); | ||
3425 | 3425 | ||
3426 | size = sizeof(struct vc_map *) * card->scd_size; | 3426 | size = sizeof(struct vc_map *) * card->scd_size; |
3427 | IPRINTK("%s: allocate %d byte for SCD to VC mapping.\n", | 3427 | IPRINTK("%s: allocate %d byte for SCD to VC mapping.\n", |
3428 | card->name, size); | 3428 | card->name, size); |
3429 | if (NULL == (card->scd2vc = vmalloc(size))) { | 3429 | card->scd2vc = vzalloc(size); |
3430 | if (!card->scd2vc) { | ||
3430 | printk("%s: memory allocation failure.\n", card->name); | 3431 | printk("%s: memory allocation failure.\n", card->name); |
3431 | deinit_card(card); | 3432 | deinit_card(card); |
3432 | return -1; | 3433 | return -1; |
3433 | } | 3434 | } |
3434 | memset(card->scd2vc, 0, size); | ||
3435 | 3435 | ||
3436 | size = sizeof(struct tst_info) * (card->tst_size - 2); | 3436 | size = sizeof(struct tst_info) * (card->tst_size - 2); |
3437 | IPRINTK("%s: allocate %d byte for TST to VC mapping.\n", | 3437 | IPRINTK("%s: allocate %d byte for TST to VC mapping.\n", |
3438 | card->name, size); | 3438 | card->name, size); |
3439 | if (NULL == (card->soft_tst = vmalloc(size))) { | 3439 | card->soft_tst = vmalloc(size); |
3440 | if (!card->soft_tst) { | ||
3440 | printk("%s: memory allocation failure.\n", card->name); | 3441 | printk("%s: memory allocation failure.\n", card->name); |
3441 | deinit_card(card); | 3442 | deinit_card(card); |
3442 | return -1; | 3443 | return -1; |
diff --git a/drivers/atm/lanai.c b/drivers/atm/lanai.c index e828c5487493..f5569699f31c 100644 --- a/drivers/atm/lanai.c +++ b/drivers/atm/lanai.c | |||
@@ -1457,10 +1457,9 @@ static int __devinit vcc_table_allocate(struct lanai_dev *lanai) | |||
1457 | return (lanai->vccs == NULL) ? -ENOMEM : 0; | 1457 | return (lanai->vccs == NULL) ? -ENOMEM : 0; |
1458 | #else | 1458 | #else |
1459 | int bytes = (lanai->num_vci) * sizeof(struct lanai_vcc *); | 1459 | int bytes = (lanai->num_vci) * sizeof(struct lanai_vcc *); |
1460 | lanai->vccs = (struct lanai_vcc **) vmalloc(bytes); | 1460 | lanai->vccs = vzalloc(bytes); |
1461 | if (unlikely(lanai->vccs == NULL)) | 1461 | if (unlikely(lanai->vccs == NULL)) |
1462 | return -ENOMEM; | 1462 | return -ENOMEM; |
1463 | memset(lanai->vccs, 0, bytes); | ||
1464 | return 0; | 1463 | return 0; |
1465 | #endif | 1464 | #endif |
1466 | } | 1465 | } |
diff --git a/drivers/block/drbd/drbd_bitmap.c b/drivers/block/drbd/drbd_bitmap.c index 7b976296b564..912f585a760f 100644 --- a/drivers/block/drbd/drbd_bitmap.c +++ b/drivers/block/drbd/drbd_bitmap.c | |||
@@ -378,15 +378,14 @@ static struct page **bm_realloc_pages(struct drbd_bitmap *b, unsigned long want) | |||
378 | * thread. As we have no disk yet, we are not in the IO path, | 378 | * thread. As we have no disk yet, we are not in the IO path, |
379 | * not even the IO path of the peer. */ | 379 | * not even the IO path of the peer. */ |
380 | bytes = sizeof(struct page *)*want; | 380 | bytes = sizeof(struct page *)*want; |
381 | new_pages = kmalloc(bytes, GFP_KERNEL); | 381 | new_pages = kzalloc(bytes, GFP_KERNEL); |
382 | if (!new_pages) { | 382 | if (!new_pages) { |
383 | new_pages = vmalloc(bytes); | 383 | new_pages = vzalloc(bytes); |
384 | if (!new_pages) | 384 | if (!new_pages) |
385 | return NULL; | 385 | return NULL; |
386 | vmalloced = 1; | 386 | vmalloced = 1; |
387 | } | 387 | } |
388 | 388 | ||
389 | memset(new_pages, 0, bytes); | ||
390 | if (want >= have) { | 389 | if (want >= have) { |
391 | for (i = 0; i < have; i++) | 390 | for (i = 0; i < have; i++) |
392 | new_pages[i] = old_pages[i]; | 391 | new_pages[i] = old_pages[i]; |
diff --git a/drivers/block/drbd/drbd_int.h b/drivers/block/drbd/drbd_int.h index ef2ceed3be4b..1706d60b8c99 100644 --- a/drivers/block/drbd/drbd_int.h +++ b/drivers/block/drbd/drbd_int.h | |||
@@ -28,7 +28,6 @@ | |||
28 | 28 | ||
29 | #include <linux/compiler.h> | 29 | #include <linux/compiler.h> |
30 | #include <linux/types.h> | 30 | #include <linux/types.h> |
31 | #include <linux/version.h> | ||
32 | #include <linux/list.h> | 31 | #include <linux/list.h> |
33 | #include <linux/sched.h> | 32 | #include <linux/sched.h> |
34 | #include <linux/bitops.h> | 33 | #include <linux/bitops.h> |
@@ -928,7 +927,7 @@ struct drbd_md { | |||
928 | #define NL_INT64(pn,pr,member) __u64 member; | 927 | #define NL_INT64(pn,pr,member) __u64 member; |
929 | #define NL_BIT(pn,pr,member) unsigned member:1; | 928 | #define NL_BIT(pn,pr,member) unsigned member:1; |
930 | #define NL_STRING(pn,pr,member,len) unsigned char member[len]; int member ## _len; | 929 | #define NL_STRING(pn,pr,member,len) unsigned char member[len]; int member ## _len; |
931 | #include "linux/drbd_nl.h" | 930 | #include <linux/drbd_nl.h> |
932 | 931 | ||
933 | struct drbd_backing_dev { | 932 | struct drbd_backing_dev { |
934 | struct block_device *backing_bdev; | 933 | struct block_device *backing_bdev; |
diff --git a/drivers/block/drbd/drbd_nl.c b/drivers/block/drbd/drbd_nl.c index 0feab261e295..af2a25049bce 100644 --- a/drivers/block/drbd/drbd_nl.c +++ b/drivers/block/drbd/drbd_nl.c | |||
@@ -94,7 +94,7 @@ static int name ## _from_tags(struct drbd_conf *mdev, \ | |||
94 | arg->member ## _len = dlen; \ | 94 | arg->member ## _len = dlen; \ |
95 | memcpy(arg->member, tags, min_t(size_t, dlen, len)); \ | 95 | memcpy(arg->member, tags, min_t(size_t, dlen, len)); \ |
96 | break; | 96 | break; |
97 | #include "linux/drbd_nl.h" | 97 | #include <linux/drbd_nl.h> |
98 | 98 | ||
99 | /* Generate the struct to tag_list functions */ | 99 | /* Generate the struct to tag_list functions */ |
100 | #define NL_PACKET(name, number, fields) \ | 100 | #define NL_PACKET(name, number, fields) \ |
@@ -129,7 +129,7 @@ name ## _to_tags(struct drbd_conf *mdev, \ | |||
129 | put_unaligned(arg->member ## _len, tags++); \ | 129 | put_unaligned(arg->member ## _len, tags++); \ |
130 | memcpy(tags, arg->member, arg->member ## _len); \ | 130 | memcpy(tags, arg->member, arg->member ## _len); \ |
131 | tags = (unsigned short *)((char *)tags + arg->member ## _len); | 131 | tags = (unsigned short *)((char *)tags + arg->member ## _len); |
132 | #include "linux/drbd_nl.h" | 132 | #include <linux/drbd_nl.h> |
133 | 133 | ||
134 | void drbd_bcast_ev_helper(struct drbd_conf *mdev, char *helper_name); | 134 | void drbd_bcast_ev_helper(struct drbd_conf *mdev, char *helper_name); |
135 | void drbd_nl_send_reply(struct cn_msg *, int); | 135 | void drbd_nl_send_reply(struct cn_msg *, int); |
diff --git a/drivers/block/rbd.c b/drivers/block/rbd.c index 15f65b5f3fc7..fe3c3249cec4 100644 --- a/drivers/block/rbd.c +++ b/drivers/block/rbd.c | |||
@@ -192,7 +192,7 @@ static ssize_t rbd_snap_add(struct device *dev, | |||
192 | const char *buf, | 192 | const char *buf, |
193 | size_t count); | 193 | size_t count); |
194 | static void __rbd_remove_snap_dev(struct rbd_device *rbd_dev, | 194 | static void __rbd_remove_snap_dev(struct rbd_device *rbd_dev, |
195 | struct rbd_snap *snap);; | 195 | struct rbd_snap *snap); |
196 | 196 | ||
197 | 197 | ||
198 | static struct rbd_device *dev_to_rbd(struct device *dev) | 198 | static struct rbd_device *dev_to_rbd(struct device *dev) |
diff --git a/drivers/block/xen-blkback/common.h b/drivers/block/xen-blkback/common.h index 00c57c90e2d6..c4bd34063ecc 100644 --- a/drivers/block/xen-blkback/common.h +++ b/drivers/block/xen-blkback/common.h | |||
@@ -27,7 +27,6 @@ | |||
27 | #ifndef __XEN_BLKIF__BACKEND__COMMON_H__ | 27 | #ifndef __XEN_BLKIF__BACKEND__COMMON_H__ |
28 | #define __XEN_BLKIF__BACKEND__COMMON_H__ | 28 | #define __XEN_BLKIF__BACKEND__COMMON_H__ |
29 | 29 | ||
30 | #include <linux/version.h> | ||
31 | #include <linux/module.h> | 30 | #include <linux/module.h> |
32 | #include <linux/interrupt.h> | 31 | #include <linux/interrupt.h> |
33 | #include <linux/slab.h> | 32 | #include <linux/slab.h> |
diff --git a/drivers/bluetooth/btmrvl_sdio.c b/drivers/bluetooth/btmrvl_sdio.c index 7f521d4ac657..c827d737ccee 100644 --- a/drivers/bluetooth/btmrvl_sdio.c +++ b/drivers/bluetooth/btmrvl_sdio.c | |||
@@ -81,7 +81,7 @@ static const struct btmrvl_sdio_card_reg btmrvl_reg_8787 = { | |||
81 | .io_port_2 = 0x7a, | 81 | .io_port_2 = 0x7a, |
82 | }; | 82 | }; |
83 | 83 | ||
84 | static const struct btmrvl_sdio_device btmrvl_sdio_sd6888 = { | 84 | static const struct btmrvl_sdio_device btmrvl_sdio_sd8688 = { |
85 | .helper = "sd8688_helper.bin", | 85 | .helper = "sd8688_helper.bin", |
86 | .firmware = "sd8688.bin", | 86 | .firmware = "sd8688.bin", |
87 | .reg = &btmrvl_reg_8688, | 87 | .reg = &btmrvl_reg_8688, |
@@ -98,7 +98,7 @@ static const struct btmrvl_sdio_device btmrvl_sdio_sd8787 = { | |||
98 | static const struct sdio_device_id btmrvl_sdio_ids[] = { | 98 | static const struct sdio_device_id btmrvl_sdio_ids[] = { |
99 | /* Marvell SD8688 Bluetooth device */ | 99 | /* Marvell SD8688 Bluetooth device */ |
100 | { SDIO_DEVICE(SDIO_VENDOR_ID_MARVELL, 0x9105), | 100 | { SDIO_DEVICE(SDIO_VENDOR_ID_MARVELL, 0x9105), |
101 | .driver_data = (unsigned long) &btmrvl_sdio_sd6888 }, | 101 | .driver_data = (unsigned long) &btmrvl_sdio_sd8688 }, |
102 | /* Marvell SD8787 Bluetooth device */ | 102 | /* Marvell SD8787 Bluetooth device */ |
103 | { SDIO_DEVICE(SDIO_VENDOR_ID_MARVELL, 0x911A), | 103 | { SDIO_DEVICE(SDIO_VENDOR_ID_MARVELL, 0x911A), |
104 | .driver_data = (unsigned long) &btmrvl_sdio_sd8787 }, | 104 | .driver_data = (unsigned long) &btmrvl_sdio_sd8787 }, |
diff --git a/drivers/char/agp/backend.c b/drivers/char/agp/backend.c index f27d0d0816d3..4b71647782d0 100644 --- a/drivers/char/agp/backend.c +++ b/drivers/char/agp/backend.c | |||
@@ -171,7 +171,7 @@ static int agp_backend_initialize(struct agp_bridge_data *bridge) | |||
171 | } | 171 | } |
172 | got_gatt = 1; | 172 | got_gatt = 1; |
173 | 173 | ||
174 | bridge->key_list = vmalloc(PAGE_SIZE * 4); | 174 | bridge->key_list = vzalloc(PAGE_SIZE * 4); |
175 | if (bridge->key_list == NULL) { | 175 | if (bridge->key_list == NULL) { |
176 | dev_err(&bridge->dev->dev, | 176 | dev_err(&bridge->dev->dev, |
177 | "can't allocate memory for key lists\n"); | 177 | "can't allocate memory for key lists\n"); |
@@ -181,7 +181,6 @@ static int agp_backend_initialize(struct agp_bridge_data *bridge) | |||
181 | got_keylist = 1; | 181 | got_keylist = 1; |
182 | 182 | ||
183 | /* FIXME vmalloc'd memory not guaranteed contiguous */ | 183 | /* FIXME vmalloc'd memory not guaranteed contiguous */ |
184 | memset(bridge->key_list, 0, PAGE_SIZE * 4); | ||
185 | 184 | ||
186 | if (bridge->driver->configure()) { | 185 | if (bridge->driver->configure()) { |
187 | dev_err(&bridge->dev->dev, "error configuring host chipset\n"); | 186 | dev_err(&bridge->dev->dev, "error configuring host chipset\n"); |
diff --git a/drivers/char/apm-emulation.c b/drivers/char/apm-emulation.c index 2a2b8fd708c1..f4837a893dfa 100644 --- a/drivers/char/apm-emulation.c +++ b/drivers/char/apm-emulation.c | |||
@@ -40,10 +40,7 @@ | |||
40 | #define APM_MINOR_DEV 134 | 40 | #define APM_MINOR_DEV 134 |
41 | 41 | ||
42 | /* | 42 | /* |
43 | * See Documentation/Config.help for the configuration options. | 43 | * One option can be changed at boot time as follows: |
44 | * | ||
45 | * Various options can be changed at boot time as follows: | ||
46 | * (We allow underscores for compatibility with the modules code) | ||
47 | * apm=on/off enable/disable APM | 44 | * apm=on/off enable/disable APM |
48 | */ | 45 | */ |
49 | 46 | ||
diff --git a/drivers/char/raw.c b/drivers/char/raw.c index b33e8ea314ed..b6de2c047145 100644 --- a/drivers/char/raw.c +++ b/drivers/char/raw.c | |||
@@ -324,13 +324,12 @@ static int __init raw_init(void) | |||
324 | max_raw_minors = MAX_RAW_MINORS; | 324 | max_raw_minors = MAX_RAW_MINORS; |
325 | } | 325 | } |
326 | 326 | ||
327 | raw_devices = vmalloc(sizeof(struct raw_device_data) * max_raw_minors); | 327 | raw_devices = vzalloc(sizeof(struct raw_device_data) * max_raw_minors); |
328 | if (!raw_devices) { | 328 | if (!raw_devices) { |
329 | printk(KERN_ERR "Not enough memory for raw device structures\n"); | 329 | printk(KERN_ERR "Not enough memory for raw device structures\n"); |
330 | ret = -ENOMEM; | 330 | ret = -ENOMEM; |
331 | goto error; | 331 | goto error; |
332 | } | 332 | } |
333 | memset(raw_devices, 0, sizeof(struct raw_device_data) * max_raw_minors); | ||
334 | 333 | ||
335 | ret = register_chrdev_region(dev, max_raw_minors, "raw"); | 334 | ret = register_chrdev_region(dev, max_raw_minors, "raw"); |
336 | if (ret) | 335 | if (ret) |
diff --git a/drivers/char/rtc.c b/drivers/char/rtc.c index dfa8b3062fda..ccd124ab7ca7 100644 --- a/drivers/char/rtc.c +++ b/drivers/char/rtc.c | |||
@@ -80,6 +80,7 @@ | |||
80 | #include <linux/bcd.h> | 80 | #include <linux/bcd.h> |
81 | #include <linux/delay.h> | 81 | #include <linux/delay.h> |
82 | #include <linux/uaccess.h> | 82 | #include <linux/uaccess.h> |
83 | #include <linux/ratelimit.h> | ||
83 | 84 | ||
84 | #include <asm/current.h> | 85 | #include <asm/current.h> |
85 | #include <asm/system.h> | 86 | #include <asm/system.h> |
@@ -1195,10 +1196,8 @@ static void rtc_dropped_irq(unsigned long data) | |||
1195 | 1196 | ||
1196 | spin_unlock_irq(&rtc_lock); | 1197 | spin_unlock_irq(&rtc_lock); |
1197 | 1198 | ||
1198 | if (printk_ratelimit()) { | 1199 | printk_ratelimited(KERN_WARNING "rtc: lost some interrupts at %ldHz.\n", |
1199 | printk(KERN_WARNING "rtc: lost some interrupts at %ldHz.\n", | 1200 | freq); |
1200 | freq); | ||
1201 | } | ||
1202 | 1201 | ||
1203 | /* Now we have new data */ | 1202 | /* Now we have new data */ |
1204 | wake_up_interruptible(&rtc_wait); | 1203 | wake_up_interruptible(&rtc_wait); |
diff --git a/drivers/cpufreq/cpufreq_ondemand.c b/drivers/cpufreq/cpufreq_ondemand.c index 891360edecdd..629b3ec698e2 100644 --- a/drivers/cpufreq/cpufreq_ondemand.c +++ b/drivers/cpufreq/cpufreq_ondemand.c | |||
@@ -725,7 +725,7 @@ static int __init cpufreq_gov_dbs_init(void) | |||
725 | dbs_tuners_ins.down_differential = | 725 | dbs_tuners_ins.down_differential = |
726 | MICRO_FREQUENCY_DOWN_DIFFERENTIAL; | 726 | MICRO_FREQUENCY_DOWN_DIFFERENTIAL; |
727 | /* | 727 | /* |
728 | * In no_hz/micro accounting case we set the minimum frequency | 728 | * In nohz/micro accounting case we set the minimum frequency |
729 | * not depending on HZ, but fixed (very low). The deferred | 729 | * not depending on HZ, but fixed (very low). The deferred |
730 | * timer might skip some samples if idle/sleeping as needed. | 730 | * timer might skip some samples if idle/sleeping as needed. |
731 | */ | 731 | */ |
diff --git a/drivers/gpu/drm/radeon/radeon_fence.c b/drivers/gpu/drm/radeon/radeon_fence.c index 7fd4e3e5ad5f..3475a09f946b 100644 --- a/drivers/gpu/drm/radeon/radeon_fence.c +++ b/drivers/gpu/drm/radeon/radeon_fence.c | |||
@@ -48,7 +48,7 @@ static void radeon_fence_write(struct radeon_device *rdev, u32 seq) | |||
48 | scratch_index = R600_WB_EVENT_OFFSET + rdev->fence_drv.scratch_reg - rdev->scratch.reg_base; | 48 | scratch_index = R600_WB_EVENT_OFFSET + rdev->fence_drv.scratch_reg - rdev->scratch.reg_base; |
49 | else | 49 | else |
50 | scratch_index = RADEON_WB_SCRATCH_OFFSET + rdev->fence_drv.scratch_reg - rdev->scratch.reg_base; | 50 | scratch_index = RADEON_WB_SCRATCH_OFFSET + rdev->fence_drv.scratch_reg - rdev->scratch.reg_base; |
51 | rdev->wb.wb[scratch_index/4] = cpu_to_le32(seq);; | 51 | rdev->wb.wb[scratch_index/4] = cpu_to_le32(seq); |
52 | } else | 52 | } else |
53 | WREG32(rdev->fence_drv.scratch_reg, seq); | 53 | WREG32(rdev->fence_drv.scratch_reg, seq); |
54 | } | 54 | } |
diff --git a/drivers/i2c/busses/i2c-designware.c b/drivers/i2c/busses/i2c-designware.c index b7a51c43b185..1b42b50b5992 100644 --- a/drivers/i2c/busses/i2c-designware.c +++ b/drivers/i2c/busses/i2c-designware.c | |||
@@ -390,7 +390,7 @@ i2c_dw_xfer_msg(struct dw_i2c_dev *dev) | |||
390 | int tx_limit, rx_limit; | 390 | int tx_limit, rx_limit; |
391 | u32 addr = msgs[dev->msg_write_idx].addr; | 391 | u32 addr = msgs[dev->msg_write_idx].addr; |
392 | u32 buf_len = dev->tx_buf_len; | 392 | u32 buf_len = dev->tx_buf_len; |
393 | u8 *buf = dev->tx_buf;; | 393 | u8 *buf = dev->tx_buf; |
394 | 394 | ||
395 | intr_mask = DW_IC_INTR_DEFAULT_MASK; | 395 | intr_mask = DW_IC_INTR_DEFAULT_MASK; |
396 | 396 | ||
diff --git a/drivers/ide/Kconfig b/drivers/ide/Kconfig index 811dbbd9306c..76b6d98bd295 100644 --- a/drivers/ide/Kconfig +++ b/drivers/ide/Kconfig | |||
@@ -681,7 +681,7 @@ config BLK_DEV_IDE_AU1XXX | |||
681 | select IDE_XFER_MODE | 681 | select IDE_XFER_MODE |
682 | choice | 682 | choice |
683 | prompt "IDE Mode for AMD Alchemy Au1200" | 683 | prompt "IDE Mode for AMD Alchemy Au1200" |
684 | default CONFIG_BLK_DEV_IDE_AU1XXX_PIO_DBDMA | 684 | default BLK_DEV_IDE_AU1XXX_PIO_DBDMA |
685 | depends on SOC_AU1200 && BLK_DEV_IDE_AU1XXX | 685 | depends on SOC_AU1200 && BLK_DEV_IDE_AU1XXX |
686 | 686 | ||
687 | config BLK_DEV_IDE_AU1XXX_PIO_DBDMA | 687 | config BLK_DEV_IDE_AU1XXX_PIO_DBDMA |
diff --git a/drivers/input/misc/rotary_encoder.c b/drivers/input/misc/rotary_encoder.c index 2c8b84dd9dac..2be21694fac1 100644 --- a/drivers/input/misc/rotary_encoder.c +++ b/drivers/input/misc/rotary_encoder.c | |||
@@ -7,7 +7,7 @@ | |||
7 | * state machine code inspired by code from Tim Ruetz | 7 | * state machine code inspired by code from Tim Ruetz |
8 | * | 8 | * |
9 | * A generic driver for rotary encoders connected to GPIO lines. | 9 | * A generic driver for rotary encoders connected to GPIO lines. |
10 | * See file:Documentation/input/rotary_encoder.txt for more information | 10 | * See file:Documentation/input/rotary-encoder.txt for more information |
11 | * | 11 | * |
12 | * This program is free software; you can redistribute it and/or modify | 12 | * This program is free software; you can redistribute it and/or modify |
13 | * it under the terms of the GNU General Public License version 2 as | 13 | * it under the terms of the GNU General Public License version 2 as |
diff --git a/drivers/isdn/i4l/isdn_common.c b/drivers/isdn/i4l/isdn_common.c index 6ed82add6ffa..6ddb795e31c5 100644 --- a/drivers/isdn/i4l/isdn_common.c +++ b/drivers/isdn/i4l/isdn_common.c | |||
@@ -2308,11 +2308,11 @@ static int __init isdn_init(void) | |||
2308 | int i; | 2308 | int i; |
2309 | char tmprev[50]; | 2309 | char tmprev[50]; |
2310 | 2310 | ||
2311 | if (!(dev = vmalloc(sizeof(isdn_dev)))) { | 2311 | dev = vzalloc(sizeof(isdn_dev)); |
2312 | if (!dev) { | ||
2312 | printk(KERN_WARNING "isdn: Could not allocate device-struct.\n"); | 2313 | printk(KERN_WARNING "isdn: Could not allocate device-struct.\n"); |
2313 | return -EIO; | 2314 | return -EIO; |
2314 | } | 2315 | } |
2315 | memset((char *) dev, 0, sizeof(isdn_dev)); | ||
2316 | init_timer(&dev->timer); | 2316 | init_timer(&dev->timer); |
2317 | dev->timer.function = isdn_timer_funct; | 2317 | dev->timer.function = isdn_timer_funct; |
2318 | spin_lock_init(&dev->lock); | 2318 | spin_lock_init(&dev->lock); |
diff --git a/drivers/isdn/mISDN/dsp_core.c b/drivers/isdn/mISDN/dsp_core.c index 2877291a9ed8..0c41553ce684 100644 --- a/drivers/isdn/mISDN/dsp_core.c +++ b/drivers/isdn/mISDN/dsp_core.c | |||
@@ -1052,12 +1052,11 @@ dspcreate(struct channel_req *crq) | |||
1052 | if (crq->protocol != ISDN_P_B_L2DSP | 1052 | if (crq->protocol != ISDN_P_B_L2DSP |
1053 | && crq->protocol != ISDN_P_B_L2DSPHDLC) | 1053 | && crq->protocol != ISDN_P_B_L2DSPHDLC) |
1054 | return -EPROTONOSUPPORT; | 1054 | return -EPROTONOSUPPORT; |
1055 | ndsp = vmalloc(sizeof(struct dsp)); | 1055 | ndsp = vzalloc(sizeof(struct dsp)); |
1056 | if (!ndsp) { | 1056 | if (!ndsp) { |
1057 | printk(KERN_ERR "%s: vmalloc struct dsp failed\n", __func__); | 1057 | printk(KERN_ERR "%s: vmalloc struct dsp failed\n", __func__); |
1058 | return -ENOMEM; | 1058 | return -ENOMEM; |
1059 | } | 1059 | } |
1060 | memset(ndsp, 0, sizeof(struct dsp)); | ||
1061 | if (dsp_debug & DEBUG_DSP_CTRL) | 1060 | if (dsp_debug & DEBUG_DSP_CTRL) |
1062 | printk(KERN_DEBUG "%s: creating new dsp instance\n", __func__); | 1061 | printk(KERN_DEBUG "%s: creating new dsp instance\n", __func__); |
1063 | 1062 | ||
diff --git a/drivers/isdn/mISDN/l1oip_codec.c b/drivers/isdn/mISDN/l1oip_codec.c index bbfd1b863ed3..5a89972624d8 100644 --- a/drivers/isdn/mISDN/l1oip_codec.c +++ b/drivers/isdn/mISDN/l1oip_codec.c | |||
@@ -330,14 +330,12 @@ l1oip_4bit_alloc(int ulaw) | |||
330 | return 0; | 330 | return 0; |
331 | 331 | ||
332 | /* alloc conversion tables */ | 332 | /* alloc conversion tables */ |
333 | table_com = vmalloc(65536); | 333 | table_com = vzalloc(65536); |
334 | table_dec = vmalloc(512); | 334 | table_dec = vzalloc(512); |
335 | if (!table_com || !table_dec) { | 335 | if (!table_com || !table_dec) { |
336 | l1oip_4bit_free(); | 336 | l1oip_4bit_free(); |
337 | return -ENOMEM; | 337 | return -ENOMEM; |
338 | } | 338 | } |
339 | memset(table_com, 0, 65536); | ||
340 | memset(table_dec, 0, 512); | ||
341 | /* generate compression table */ | 339 | /* generate compression table */ |
342 | i1 = 0; | 340 | i1 = 0; |
343 | while (i1 < 256) { | 341 | while (i1 < 256) { |
diff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig index b591e726a6fa..807c875f1c2e 100644 --- a/drivers/leds/Kconfig +++ b/drivers/leds/Kconfig | |||
@@ -400,7 +400,7 @@ config LEDS_TRIGGER_TIMER | |||
400 | This allows LEDs to be controlled by a programmable timer | 400 | This allows LEDs to be controlled by a programmable timer |
401 | via sysfs. Some LED hardware can be programmed to start | 401 | via sysfs. Some LED hardware can be programmed to start |
402 | blinking the LED without any further software interaction. | 402 | blinking the LED without any further software interaction. |
403 | For more details read Documentation/leds-class.txt. | 403 | For more details read Documentation/leds/leds-class.txt. |
404 | 404 | ||
405 | If unsure, say Y. | 405 | If unsure, say Y. |
406 | 406 | ||
diff --git a/drivers/media/dvb/dvb-usb/af9005-remote.c b/drivers/media/dvb/dvb-usb/af9005-remote.c index c3bc64ed405c..7e3961d0db6b 100644 --- a/drivers/media/dvb/dvb-usb/af9005-remote.c +++ b/drivers/media/dvb/dvb-usb/af9005-remote.c | |||
@@ -21,7 +21,7 @@ | |||
21 | * along with this program; if not, write to the Free Software | 21 | * along with this program; if not, write to the Free Software |
22 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | 22 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
23 | * | 23 | * |
24 | * see Documentation/dvb/REDME.dvb-usb for more information | 24 | * see Documentation/dvb/README.dvb-usb for more information |
25 | */ | 25 | */ |
26 | #include "af9005.h" | 26 | #include "af9005.h" |
27 | /* debug */ | 27 | /* debug */ |
diff --git a/drivers/media/dvb/dvb-usb/af9005.c b/drivers/media/dvb/dvb-usb/af9005.c index 51f6439dcfd5..0351c0e52dd2 100644 --- a/drivers/media/dvb/dvb-usb/af9005.c +++ b/drivers/media/dvb/dvb-usb/af9005.c | |||
@@ -19,7 +19,7 @@ | |||
19 | * along with this program; if not, write to the Free Software | 19 | * along with this program; if not, write to the Free Software |
20 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | 20 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
21 | * | 21 | * |
22 | * see Documentation/dvb/REDME.dvb-usb for more information | 22 | * see Documentation/dvb/README.dvb-usb for more information |
23 | */ | 23 | */ |
24 | #include "af9005.h" | 24 | #include "af9005.h" |
25 | 25 | ||
diff --git a/drivers/media/dvb/frontends/dib3000.h b/drivers/media/dvb/frontends/dib3000.h index ba917359fa65..404f63a6f26b 100644 --- a/drivers/media/dvb/frontends/dib3000.h +++ b/drivers/media/dvb/frontends/dib3000.h | |||
@@ -17,7 +17,7 @@ | |||
17 | * Amaury Demol (ademol@dibcom.fr) from DiBcom for providing specs and driver | 17 | * Amaury Demol (ademol@dibcom.fr) from DiBcom for providing specs and driver |
18 | * sources, on which this driver (and the dvb-dibusb) are based. | 18 | * sources, on which this driver (and the dvb-dibusb) are based. |
19 | * | 19 | * |
20 | * see Documentation/dvb/README.dibusb for more information | 20 | * see Documentation/dvb/README.dvb-usb for more information |
21 | * | 21 | * |
22 | */ | 22 | */ |
23 | 23 | ||
diff --git a/drivers/media/dvb/frontends/dib3000mb.c b/drivers/media/dvb/frontends/dib3000mb.c index e80c59796368..437904cbf3e6 100644 --- a/drivers/media/dvb/frontends/dib3000mb.c +++ b/drivers/media/dvb/frontends/dib3000mb.c | |||
@@ -17,7 +17,7 @@ | |||
17 | * Amaury Demol (ademol@dibcom.fr) from DiBcom for providing specs and driver | 17 | * Amaury Demol (ademol@dibcom.fr) from DiBcom for providing specs and driver |
18 | * sources, on which this driver (and the dvb-dibusb) are based. | 18 | * sources, on which this driver (and the dvb-dibusb) are based. |
19 | * | 19 | * |
20 | * see Documentation/dvb/README.dibusb for more information | 20 | * see Documentation/dvb/README.dvb-usb for more information |
21 | * | 21 | * |
22 | */ | 22 | */ |
23 | 23 | ||
diff --git a/drivers/media/radio/wl128x/fmdrv_v4l2.c b/drivers/media/radio/wl128x/fmdrv_v4l2.c index 8c0e19276970..ec1d52f38904 100644 --- a/drivers/media/radio/wl128x/fmdrv_v4l2.c +++ b/drivers/media/radio/wl128x/fmdrv_v4l2.c | |||
@@ -402,7 +402,7 @@ static int fm_v4l2_vidioc_s_hw_freq_seek(struct file *file, void *priv, | |||
402 | static int fm_v4l2_vidioc_g_modulator(struct file *file, void *priv, | 402 | static int fm_v4l2_vidioc_g_modulator(struct file *file, void *priv, |
403 | struct v4l2_modulator *mod) | 403 | struct v4l2_modulator *mod) |
404 | { | 404 | { |
405 | struct fmdev *fmdev = video_drvdata(file);; | 405 | struct fmdev *fmdev = video_drvdata(file); |
406 | 406 | ||
407 | if (mod->index != 0) | 407 | if (mod->index != 0) |
408 | return -EINVAL; | 408 | return -EINVAL; |
diff --git a/drivers/media/video/cx18/cx18-mailbox.h b/drivers/media/video/cx18/cx18-mailbox.h index 05fe6bdbe062..b63fdfaac49e 100644 --- a/drivers/media/video/cx18/cx18-mailbox.h +++ b/drivers/media/video/cx18/cx18-mailbox.h | |||
@@ -69,7 +69,7 @@ struct cx18_mailbox { | |||
69 | /* Each command can have up to 6 arguments */ | 69 | /* Each command can have up to 6 arguments */ |
70 | u32 args[MAX_MB_ARGUMENTS]; | 70 | u32 args[MAX_MB_ARGUMENTS]; |
71 | /* The return code can be one of the codes in the file cx23418.h. If the | 71 | /* The return code can be one of the codes in the file cx23418.h. If the |
72 | command is completed successfuly, the error will be ERR_SYS_SUCCESS. | 72 | command is completed successfully, the error will be ERR_SYS_SUCCESS. |
73 | If it is pending, the code is ERR_SYS_PENDING. If it failed, the error | 73 | If it is pending, the code is ERR_SYS_PENDING. If it failed, the error |
74 | code would indicate the task from which the error originated and will | 74 | code would indicate the task from which the error originated and will |
75 | be one of the errors in cx23418.h. In that case, the following | 75 | be one of the errors in cx23418.h. In that case, the following |
diff --git a/drivers/mtd/Kconfig b/drivers/mtd/Kconfig index 4be8373d43e5..66b616ebe536 100644 --- a/drivers/mtd/Kconfig +++ b/drivers/mtd/Kconfig | |||
@@ -142,7 +142,7 @@ config MTD_OF_PARTS | |||
142 | help | 142 | help |
143 | This provides a partition parsing function which derives | 143 | This provides a partition parsing function which derives |
144 | the partition map from the children of the flash node, | 144 | the partition map from the children of the flash node, |
145 | as described in Documentation/powerpc/booting-without-of.txt. | 145 | as described in Documentation/devicetree/booting-without-of.txt. |
146 | 146 | ||
147 | config MTD_AR7_PARTS | 147 | config MTD_AR7_PARTS |
148 | tristate "TI AR7 partitioning support" | 148 | tristate "TI AR7 partitioning support" |
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index a44874e24f2a..ddd63e7cf4ae 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig | |||
@@ -1063,8 +1063,7 @@ config SMSC911X | |||
1063 | Say Y here if you want support for SMSC LAN911x and LAN921x families | 1063 | Say Y here if you want support for SMSC LAN911x and LAN921x families |
1064 | of ethernet controllers. | 1064 | of ethernet controllers. |
1065 | 1065 | ||
1066 | To compile this driver as a module, choose M here and read | 1066 | To compile this driver as a module, choose M here. The module |
1067 | <file:Documentation/networking/net-modules.txt>. The module | ||
1068 | will be called smsc911x. | 1067 | will be called smsc911x. |
1069 | 1068 | ||
1070 | config SMSC911X_ARCH_HOOKS | 1069 | config SMSC911X_ARCH_HOOKS |
diff --git a/drivers/net/arm/ks8695net.c b/drivers/net/arm/ks8695net.c index c827a6097d02..8d0baeceaaa3 100644 --- a/drivers/net/arm/ks8695net.c +++ b/drivers/net/arm/ks8695net.c | |||
@@ -414,7 +414,7 @@ ks8695_tx_irq(int irq, void *dev_id) | |||
414 | * Interrupt Status Register (Offset 0xF208) | 414 | * Interrupt Status Register (Offset 0xF208) |
415 | * Bit29: WAN MAC Receive Status | 415 | * Bit29: WAN MAC Receive Status |
416 | * Bit16: LAN MAC Receive Status | 416 | * Bit16: LAN MAC Receive Status |
417 | * So, this Rx interrrupt enable/status bit number is equal | 417 | * So, this Rx interrupt enable/status bit number is equal |
418 | * as Rx IRQ number. | 418 | * as Rx IRQ number. |
419 | */ | 419 | */ |
420 | static inline u32 ks8695_get_rx_enable_bit(struct ks8695_priv *ksp) | 420 | static inline u32 ks8695_get_rx_enable_bit(struct ks8695_priv *ksp) |
diff --git a/drivers/net/atlx/atl1.c b/drivers/net/atlx/atl1.c index 97e6954304ea..9f3e5306ef79 100644 --- a/drivers/net/atlx/atl1.c +++ b/drivers/net/atlx/atl1.c | |||
@@ -858,7 +858,7 @@ static s32 atl1_init_hw(struct atl1_hw *hw) | |||
858 | atl1_init_flash_opcode(hw); | 858 | atl1_init_flash_opcode(hw); |
859 | 859 | ||
860 | if (!hw->phy_configured) { | 860 | if (!hw->phy_configured) { |
861 | /* enable GPHY LinkChange Interrrupt */ | 861 | /* enable GPHY LinkChange Interrupt */ |
862 | ret_val = atl1_write_phy_reg(hw, 18, 0xC00); | 862 | ret_val = atl1_write_phy_reg(hw, 18, 0xC00); |
863 | if (ret_val) | 863 | if (ret_val) |
864 | return ret_val; | 864 | return ret_val; |
diff --git a/drivers/net/bnx2.h b/drivers/net/bnx2.h index fc50d4267df8..99d31a7d6aaa 100644 --- a/drivers/net/bnx2.h +++ b/drivers/net/bnx2.h | |||
@@ -5617,7 +5617,7 @@ struct l2_fhdr { | |||
5617 | #define BNX2_TXP_CPU_STATE_FIO_ABORT_HALTED (1L<<8) | 5617 | #define BNX2_TXP_CPU_STATE_FIO_ABORT_HALTED (1L<<8) |
5618 | #define BNX2_TXP_CPU_STATE_SOFT_HALTED (1L<<10) | 5618 | #define BNX2_TXP_CPU_STATE_SOFT_HALTED (1L<<10) |
5619 | #define BNX2_TXP_CPU_STATE_SPAD_UNDERFLOW (1L<<11) | 5619 | #define BNX2_TXP_CPU_STATE_SPAD_UNDERFLOW (1L<<11) |
5620 | #define BNX2_TXP_CPU_STATE_INTERRRUPT (1L<<12) | 5620 | #define BNX2_TXP_CPU_STATE_INTERRUPT (1L<<12) |
5621 | #define BNX2_TXP_CPU_STATE_DATA_ACCESS_STALL (1L<<14) | 5621 | #define BNX2_TXP_CPU_STATE_DATA_ACCESS_STALL (1L<<14) |
5622 | #define BNX2_TXP_CPU_STATE_INST_FETCH_STALL (1L<<15) | 5622 | #define BNX2_TXP_CPU_STATE_INST_FETCH_STALL (1L<<15) |
5623 | #define BNX2_TXP_CPU_STATE_BLOCKED_READ (1L<<31) | 5623 | #define BNX2_TXP_CPU_STATE_BLOCKED_READ (1L<<31) |
@@ -5712,7 +5712,7 @@ struct l2_fhdr { | |||
5712 | #define BNX2_TPAT_CPU_STATE_FIO_ABORT_HALTED (1L<<8) | 5712 | #define BNX2_TPAT_CPU_STATE_FIO_ABORT_HALTED (1L<<8) |
5713 | #define BNX2_TPAT_CPU_STATE_SOFT_HALTED (1L<<10) | 5713 | #define BNX2_TPAT_CPU_STATE_SOFT_HALTED (1L<<10) |
5714 | #define BNX2_TPAT_CPU_STATE_SPAD_UNDERFLOW (1L<<11) | 5714 | #define BNX2_TPAT_CPU_STATE_SPAD_UNDERFLOW (1L<<11) |
5715 | #define BNX2_TPAT_CPU_STATE_INTERRRUPT (1L<<12) | 5715 | #define BNX2_TPAT_CPU_STATE_INTERRUPT (1L<<12) |
5716 | #define BNX2_TPAT_CPU_STATE_DATA_ACCESS_STALL (1L<<14) | 5716 | #define BNX2_TPAT_CPU_STATE_DATA_ACCESS_STALL (1L<<14) |
5717 | #define BNX2_TPAT_CPU_STATE_INST_FETCH_STALL (1L<<15) | 5717 | #define BNX2_TPAT_CPU_STATE_INST_FETCH_STALL (1L<<15) |
5718 | #define BNX2_TPAT_CPU_STATE_BLOCKED_READ (1L<<31) | 5718 | #define BNX2_TPAT_CPU_STATE_BLOCKED_READ (1L<<31) |
@@ -5807,7 +5807,7 @@ struct l2_fhdr { | |||
5807 | #define BNX2_RXP_CPU_STATE_FIO_ABORT_HALTED (1L<<8) | 5807 | #define BNX2_RXP_CPU_STATE_FIO_ABORT_HALTED (1L<<8) |
5808 | #define BNX2_RXP_CPU_STATE_SOFT_HALTED (1L<<10) | 5808 | #define BNX2_RXP_CPU_STATE_SOFT_HALTED (1L<<10) |
5809 | #define BNX2_RXP_CPU_STATE_SPAD_UNDERFLOW (1L<<11) | 5809 | #define BNX2_RXP_CPU_STATE_SPAD_UNDERFLOW (1L<<11) |
5810 | #define BNX2_RXP_CPU_STATE_INTERRRUPT (1L<<12) | 5810 | #define BNX2_RXP_CPU_STATE_INTERRUPT (1L<<12) |
5811 | #define BNX2_RXP_CPU_STATE_DATA_ACCESS_STALL (1L<<14) | 5811 | #define BNX2_RXP_CPU_STATE_DATA_ACCESS_STALL (1L<<14) |
5812 | #define BNX2_RXP_CPU_STATE_INST_FETCH_STALL (1L<<15) | 5812 | #define BNX2_RXP_CPU_STATE_INST_FETCH_STALL (1L<<15) |
5813 | #define BNX2_RXP_CPU_STATE_BLOCKED_READ (1L<<31) | 5813 | #define BNX2_RXP_CPU_STATE_BLOCKED_READ (1L<<31) |
@@ -5953,7 +5953,7 @@ struct l2_fhdr { | |||
5953 | #define BNX2_COM_CPU_STATE_FIO_ABORT_HALTED (1L<<8) | 5953 | #define BNX2_COM_CPU_STATE_FIO_ABORT_HALTED (1L<<8) |
5954 | #define BNX2_COM_CPU_STATE_SOFT_HALTED (1L<<10) | 5954 | #define BNX2_COM_CPU_STATE_SOFT_HALTED (1L<<10) |
5955 | #define BNX2_COM_CPU_STATE_SPAD_UNDERFLOW (1L<<11) | 5955 | #define BNX2_COM_CPU_STATE_SPAD_UNDERFLOW (1L<<11) |
5956 | #define BNX2_COM_CPU_STATE_INTERRRUPT (1L<<12) | 5956 | #define BNX2_COM_CPU_STATE_INTERRUPT (1L<<12) |
5957 | #define BNX2_COM_CPU_STATE_DATA_ACCESS_STALL (1L<<14) | 5957 | #define BNX2_COM_CPU_STATE_DATA_ACCESS_STALL (1L<<14) |
5958 | #define BNX2_COM_CPU_STATE_INST_FETCH_STALL (1L<<15) | 5958 | #define BNX2_COM_CPU_STATE_INST_FETCH_STALL (1L<<15) |
5959 | #define BNX2_COM_CPU_STATE_BLOCKED_READ (1L<<31) | 5959 | #define BNX2_COM_CPU_STATE_BLOCKED_READ (1L<<31) |
@@ -6119,7 +6119,7 @@ struct l2_fhdr { | |||
6119 | #define BNX2_CP_CPU_STATE_FIO_ABORT_HALTED (1L<<8) | 6119 | #define BNX2_CP_CPU_STATE_FIO_ABORT_HALTED (1L<<8) |
6120 | #define BNX2_CP_CPU_STATE_SOFT_HALTED (1L<<10) | 6120 | #define BNX2_CP_CPU_STATE_SOFT_HALTED (1L<<10) |
6121 | #define BNX2_CP_CPU_STATE_SPAD_UNDERFLOW (1L<<11) | 6121 | #define BNX2_CP_CPU_STATE_SPAD_UNDERFLOW (1L<<11) |
6122 | #define BNX2_CP_CPU_STATE_INTERRRUPT (1L<<12) | 6122 | #define BNX2_CP_CPU_STATE_INTERRUPT (1L<<12) |
6123 | #define BNX2_CP_CPU_STATE_DATA_ACCESS_STALL (1L<<14) | 6123 | #define BNX2_CP_CPU_STATE_DATA_ACCESS_STALL (1L<<14) |
6124 | #define BNX2_CP_CPU_STATE_INST_FETCH_STALL (1L<<15) | 6124 | #define BNX2_CP_CPU_STATE_INST_FETCH_STALL (1L<<15) |
6125 | #define BNX2_CP_CPU_STATE_BLOCKED_READ (1L<<31) | 6125 | #define BNX2_CP_CPU_STATE_BLOCKED_READ (1L<<31) |
@@ -6291,7 +6291,7 @@ struct l2_fhdr { | |||
6291 | #define BNX2_MCP_CPU_STATE_FIO_ABORT_HALTED (1L<<8) | 6291 | #define BNX2_MCP_CPU_STATE_FIO_ABORT_HALTED (1L<<8) |
6292 | #define BNX2_MCP_CPU_STATE_SOFT_HALTED (1L<<10) | 6292 | #define BNX2_MCP_CPU_STATE_SOFT_HALTED (1L<<10) |
6293 | #define BNX2_MCP_CPU_STATE_SPAD_UNDERFLOW (1L<<11) | 6293 | #define BNX2_MCP_CPU_STATE_SPAD_UNDERFLOW (1L<<11) |
6294 | #define BNX2_MCP_CPU_STATE_INTERRRUPT (1L<<12) | 6294 | #define BNX2_MCP_CPU_STATE_INTERRUPT (1L<<12) |
6295 | #define BNX2_MCP_CPU_STATE_DATA_ACCESS_STALL (1L<<14) | 6295 | #define BNX2_MCP_CPU_STATE_DATA_ACCESS_STALL (1L<<14) |
6296 | #define BNX2_MCP_CPU_STATE_INST_FETCH_STALL (1L<<15) | 6296 | #define BNX2_MCP_CPU_STATE_INST_FETCH_STALL (1L<<15) |
6297 | #define BNX2_MCP_CPU_STATE_BLOCKED_READ (1L<<31) | 6297 | #define BNX2_MCP_CPU_STATE_BLOCKED_READ (1L<<31) |
diff --git a/drivers/net/can/sja1000/sja1000_of_platform.c b/drivers/net/can/sja1000/sja1000_of_platform.c index cee6ba2b8b58..c3dd9d09be57 100644 --- a/drivers/net/can/sja1000/sja1000_of_platform.c +++ b/drivers/net/can/sja1000/sja1000_of_platform.c | |||
@@ -29,7 +29,7 @@ | |||
29 | * nxp,external-clock-frequency = <16000000>; | 29 | * nxp,external-clock-frequency = <16000000>; |
30 | * }; | 30 | * }; |
31 | * | 31 | * |
32 | * See "Documentation/powerpc/dts-bindings/can/sja1000.txt" for further | 32 | * See "Documentation/devicetree/bindings/net/can/sja1000.txt" for further |
33 | * information. | 33 | * information. |
34 | */ | 34 | */ |
35 | 35 | ||
diff --git a/drivers/net/igb/e1000_mbx.c b/drivers/net/igb/e1000_mbx.c index 74f2f11ac290..469d95eaa154 100644 --- a/drivers/net/igb/e1000_mbx.c +++ b/drivers/net/igb/e1000_mbx.c | |||
@@ -34,7 +34,7 @@ | |||
34 | * @size: Length of buffer | 34 | * @size: Length of buffer |
35 | * @mbx_id: id of mailbox to read | 35 | * @mbx_id: id of mailbox to read |
36 | * | 36 | * |
37 | * returns SUCCESS if it successfuly read message from buffer | 37 | * returns SUCCESS if it successfully read message from buffer |
38 | **/ | 38 | **/ |
39 | s32 igb_read_mbx(struct e1000_hw *hw, u32 *msg, u16 size, u16 mbx_id) | 39 | s32 igb_read_mbx(struct e1000_hw *hw, u32 *msg, u16 size, u16 mbx_id) |
40 | { | 40 | { |
diff --git a/drivers/net/igbvf/mbx.c b/drivers/net/igbvf/mbx.c index 3d6f4cc3998a..048aae248d06 100644 --- a/drivers/net/igbvf/mbx.c +++ b/drivers/net/igbvf/mbx.c | |||
@@ -288,7 +288,7 @@ out_no_write: | |||
288 | * @msg: The message buffer | 288 | * @msg: The message buffer |
289 | * @size: Length of buffer | 289 | * @size: Length of buffer |
290 | * | 290 | * |
291 | * returns SUCCESS if it successfuly read message from buffer | 291 | * returns SUCCESS if it successfully read message from buffer |
292 | **/ | 292 | **/ |
293 | static s32 e1000_read_mbx_vf(struct e1000_hw *hw, u32 *msg, u16 size) | 293 | static s32 e1000_read_mbx_vf(struct e1000_hw *hw, u32 *msg, u16 size) |
294 | { | 294 | { |
diff --git a/drivers/net/irda/Kconfig b/drivers/net/irda/Kconfig index 25bb2a015e18..a40fab44b9ae 100644 --- a/drivers/net/irda/Kconfig +++ b/drivers/net/irda/Kconfig | |||
@@ -183,7 +183,7 @@ config OLD_BELKIN_DONGLE | |||
183 | Say Y here if you want to build support for the Adaptec Airport 1000 | 183 | Say Y here if you want to build support for the Adaptec Airport 1000 |
184 | and 2000 dongles. If you want to compile it as a module, choose | 184 | and 2000 dongles. If you want to compile it as a module, choose |
185 | M here. Some information is contained in the comments | 185 | M here. Some information is contained in the comments |
186 | at the top of <file:drivers/net/irda/old_belkin.c>. | 186 | at the top of <file:drivers/net/irda/old_belkin-sir.c>. |
187 | 187 | ||
188 | config ACT200L_DONGLE | 188 | config ACT200L_DONGLE |
189 | tristate "ACTiSYS IR-200L dongle" | 189 | tristate "ACTiSYS IR-200L dongle" |
diff --git a/drivers/net/ixgbe/ixgbe_mbx.c b/drivers/net/ixgbe/ixgbe_mbx.c index 1ff0eefcfd0a..3f725d48336d 100644 --- a/drivers/net/ixgbe/ixgbe_mbx.c +++ b/drivers/net/ixgbe/ixgbe_mbx.c | |||
@@ -38,7 +38,7 @@ | |||
38 | * @size: Length of buffer | 38 | * @size: Length of buffer |
39 | * @mbx_id: id of mailbox to read | 39 | * @mbx_id: id of mailbox to read |
40 | * | 40 | * |
41 | * returns SUCCESS if it successfuly read message from buffer | 41 | * returns SUCCESS if it successfully read message from buffer |
42 | **/ | 42 | **/ |
43 | s32 ixgbe_read_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 mbx_id) | 43 | s32 ixgbe_read_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 mbx_id) |
44 | { | 44 | { |
diff --git a/drivers/net/ixgbevf/mbx.c b/drivers/net/ixgbevf/mbx.c index 7a8833125770..930fa83f2568 100644 --- a/drivers/net/ixgbevf/mbx.c +++ b/drivers/net/ixgbevf/mbx.c | |||
@@ -276,7 +276,7 @@ out_no_write: | |||
276 | * @msg: The message buffer | 276 | * @msg: The message buffer |
277 | * @size: Length of buffer | 277 | * @size: Length of buffer |
278 | * | 278 | * |
279 | * returns 0 if it successfuly read message from buffer | 279 | * returns 0 if it successfully read message from buffer |
280 | **/ | 280 | **/ |
281 | static s32 ixgbevf_read_mbx_vf(struct ixgbe_hw *hw, u32 *msg, u16 size) | 281 | static s32 ixgbevf_read_mbx_vf(struct ixgbe_hw *hw, u32 *msg, u16 size) |
282 | { | 282 | { |
diff --git a/drivers/net/phy/broadcom.c b/drivers/net/phy/broadcom.c index d84c4224dd12..e8be47d6d7d0 100644 --- a/drivers/net/phy/broadcom.c +++ b/drivers/net/phy/broadcom.c | |||
@@ -553,7 +553,7 @@ static int bcm5481_config_aneg(struct phy_device *phydev) | |||
553 | /* | 553 | /* |
554 | * There is no BCM5481 specification available, so down | 554 | * There is no BCM5481 specification available, so down |
555 | * here is everything we know about "register 0x18". This | 555 | * here is everything we know about "register 0x18". This |
556 | * at least helps BCM5481 to successfuly receive packets | 556 | * at least helps BCM5481 to successfully receive packets |
557 | * on MPC8360E-RDK board. Peter Barada <peterb@logicpd.com> | 557 | * on MPC8360E-RDK board. Peter Barada <peterb@logicpd.com> |
558 | * says: "This sets delay between the RXD and RXC signals | 558 | * says: "This sets delay between the RXD and RXC signals |
559 | * instead of using trace lengths to achieve timing". | 559 | * instead of using trace lengths to achieve timing". |
diff --git a/drivers/net/sky2.c b/drivers/net/sky2.c index 57339da76326..d7f879dfb1c9 100644 --- a/drivers/net/sky2.c +++ b/drivers/net/sky2.c | |||
@@ -2057,7 +2057,7 @@ static void sky2_hw_down(struct sky2_port *sky2) | |||
2057 | 2057 | ||
2058 | sky2_write8(hw, SK_REG(port, RX_GMF_CTRL_T), GMF_RST_SET); | 2058 | sky2_write8(hw, SK_REG(port, RX_GMF_CTRL_T), GMF_RST_SET); |
2059 | 2059 | ||
2060 | /* Force any delayed status interrrupt and NAPI */ | 2060 | /* Force any delayed status interrupt and NAPI */ |
2061 | sky2_write32(hw, STAT_LEV_TIMER_CNT, 0); | 2061 | sky2_write32(hw, STAT_LEV_TIMER_CNT, 0); |
2062 | sky2_write32(hw, STAT_TX_TIMER_CNT, 0); | 2062 | sky2_write32(hw, STAT_TX_TIMER_CNT, 0); |
2063 | sky2_write32(hw, STAT_ISR_TIMER_CNT, 0); | 2063 | sky2_write32(hw, STAT_ISR_TIMER_CNT, 0); |
diff --git a/drivers/net/tile/tilepro.c b/drivers/net/tile/tilepro.c index 1e2af96fc29c..7b46e75deb5a 100644 --- a/drivers/net/tile/tilepro.c +++ b/drivers/net/tile/tilepro.c | |||
@@ -177,7 +177,7 @@ struct tile_net_cpu { | |||
177 | struct tile_net_stats_t stats; | 177 | struct tile_net_stats_t stats; |
178 | /* True iff NAPI is enabled. */ | 178 | /* True iff NAPI is enabled. */ |
179 | bool napi_enabled; | 179 | bool napi_enabled; |
180 | /* True if this tile has succcessfully registered with the IPP. */ | 180 | /* True if this tile has successfully registered with the IPP. */ |
181 | bool registered; | 181 | bool registered; |
182 | /* True if the link was down last time we tried to register. */ | 182 | /* True if the link was down last time we tried to register. */ |
183 | bool link_down; | 183 | bool link_down; |
diff --git a/drivers/net/tulip/21142.c b/drivers/net/tulip/21142.c index 092c3faa882a..25b8deedbef8 100644 --- a/drivers/net/tulip/21142.c +++ b/drivers/net/tulip/21142.c | |||
@@ -7,9 +7,6 @@ | |||
7 | This software may be used and distributed according to the terms | 7 | This software may be used and distributed according to the terms |
8 | of the GNU General Public License, incorporated herein by reference. | 8 | of the GNU General Public License, incorporated herein by reference. |
9 | 9 | ||
10 | Please refer to Documentation/DocBook/tulip-user.{pdf,ps,html} | ||
11 | for more information on this driver. | ||
12 | |||
13 | DC21143 manual "21143 PCI/CardBus 10/100Mb/s Ethernet LAN Controller | 10 | DC21143 manual "21143 PCI/CardBus 10/100Mb/s Ethernet LAN Controller |
14 | Hardware Reference Manual" is currently available at : | 11 | Hardware Reference Manual" is currently available at : |
15 | http://developer.intel.com/design/network/manuals/278074.htm | 12 | http://developer.intel.com/design/network/manuals/278074.htm |
diff --git a/drivers/net/tulip/eeprom.c b/drivers/net/tulip/eeprom.c index fa5eee925f25..14d5b611783d 100644 --- a/drivers/net/tulip/eeprom.c +++ b/drivers/net/tulip/eeprom.c | |||
@@ -7,8 +7,6 @@ | |||
7 | This software may be used and distributed according to the terms | 7 | This software may be used and distributed according to the terms |
8 | of the GNU General Public License, incorporated herein by reference. | 8 | of the GNU General Public License, incorporated herein by reference. |
9 | 9 | ||
10 | Please refer to Documentation/DocBook/tulip-user.{pdf,ps,html} | ||
11 | for more information on this driver. | ||
12 | Please submit bug reports to http://bugzilla.kernel.org/. | 10 | Please submit bug reports to http://bugzilla.kernel.org/. |
13 | */ | 11 | */ |
14 | 12 | ||
diff --git a/drivers/net/tulip/interrupt.c b/drivers/net/tulip/interrupt.c index 5350d753e0ff..4fb8c8c0a420 100644 --- a/drivers/net/tulip/interrupt.c +++ b/drivers/net/tulip/interrupt.c | |||
@@ -7,10 +7,7 @@ | |||
7 | This software may be used and distributed according to the terms | 7 | This software may be used and distributed according to the terms |
8 | of the GNU General Public License, incorporated herein by reference. | 8 | of the GNU General Public License, incorporated herein by reference. |
9 | 9 | ||
10 | Please refer to Documentation/DocBook/tulip-user.{pdf,ps,html} | ||
11 | for more information on this driver. | ||
12 | Please submit bugs to http://bugzilla.kernel.org/ . | 10 | Please submit bugs to http://bugzilla.kernel.org/ . |
13 | |||
14 | */ | 11 | */ |
15 | 12 | ||
16 | #include <linux/pci.h> | 13 | #include <linux/pci.h> |
diff --git a/drivers/net/tulip/media.c b/drivers/net/tulip/media.c index 4bd13922875d..beeb17b52ad4 100644 --- a/drivers/net/tulip/media.c +++ b/drivers/net/tulip/media.c | |||
@@ -7,9 +7,6 @@ | |||
7 | This software may be used and distributed according to the terms | 7 | This software may be used and distributed according to the terms |
8 | of the GNU General Public License, incorporated herein by reference. | 8 | of the GNU General Public License, incorporated herein by reference. |
9 | 9 | ||
10 | Please refer to Documentation/DocBook/tulip-user.{pdf,ps,html} | ||
11 | for more information on this driver. | ||
12 | |||
13 | Please submit bugs to http://bugzilla.kernel.org/ . | 10 | Please submit bugs to http://bugzilla.kernel.org/ . |
14 | */ | 11 | */ |
15 | 12 | ||
diff --git a/drivers/net/tulip/pnic.c b/drivers/net/tulip/pnic.c index 52d898bdbeb4..9c16e4ad02a6 100644 --- a/drivers/net/tulip/pnic.c +++ b/drivers/net/tulip/pnic.c | |||
@@ -7,9 +7,6 @@ | |||
7 | This software may be used and distributed according to the terms | 7 | This software may be used and distributed according to the terms |
8 | of the GNU General Public License, incorporated herein by reference. | 8 | of the GNU General Public License, incorporated herein by reference. |
9 | 9 | ||
10 | Please refer to Documentation/DocBook/tulip-user.{pdf,ps,html} | ||
11 | for more information on this driver. | ||
12 | |||
13 | Please submit bugs to http://bugzilla.kernel.org/ . | 10 | Please submit bugs to http://bugzilla.kernel.org/ . |
14 | */ | 11 | */ |
15 | 12 | ||
diff --git a/drivers/net/tulip/pnic2.c b/drivers/net/tulip/pnic2.c index 93358ee4d830..04a7e477eaff 100644 --- a/drivers/net/tulip/pnic2.c +++ b/drivers/net/tulip/pnic2.c | |||
@@ -8,9 +8,6 @@ | |||
8 | This software may be used and distributed according to the terms | 8 | This software may be used and distributed according to the terms |
9 | of the GNU General Public License, incorporated herein by reference. | 9 | of the GNU General Public License, incorporated herein by reference. |
10 | 10 | ||
11 | Please refer to Documentation/DocBook/tulip-user.{pdf,ps,html} | ||
12 | for more information on this driver. | ||
13 | |||
14 | Please submit bugs to http://bugzilla.kernel.org/ . | 11 | Please submit bugs to http://bugzilla.kernel.org/ . |
15 | */ | 12 | */ |
16 | 13 | ||
diff --git a/drivers/net/tulip/timer.c b/drivers/net/tulip/timer.c index 2017faf2d0e6..19078d28ffb9 100644 --- a/drivers/net/tulip/timer.c +++ b/drivers/net/tulip/timer.c | |||
@@ -7,9 +7,6 @@ | |||
7 | This software may be used and distributed according to the terms | 7 | This software may be used and distributed according to the terms |
8 | of the GNU General Public License, incorporated herein by reference. | 8 | of the GNU General Public License, incorporated herein by reference. |
9 | 9 | ||
10 | Please refer to Documentation/DocBook/tulip-user.{pdf,ps,html} | ||
11 | for more information on this driver. | ||
12 | |||
13 | Please submit bugs to http://bugzilla.kernel.org/ . | 10 | Please submit bugs to http://bugzilla.kernel.org/ . |
14 | */ | 11 | */ |
15 | 12 | ||
diff --git a/drivers/net/tulip/tulip.h b/drivers/net/tulip/tulip.h index 9db528967da9..fb3887c18dc6 100644 --- a/drivers/net/tulip/tulip.h +++ b/drivers/net/tulip/tulip.h | |||
@@ -7,9 +7,6 @@ | |||
7 | This software may be used and distributed according to the terms | 7 | This software may be used and distributed according to the terms |
8 | of the GNU General Public License, incorporated herein by reference. | 8 | of the GNU General Public License, incorporated herein by reference. |
9 | 9 | ||
10 | Please refer to Documentation/DocBook/tulip-user.{pdf,ps,html} | ||
11 | for more information on this driver. | ||
12 | |||
13 | Please submit bugs to http://bugzilla.kernel.org/ . | 10 | Please submit bugs to http://bugzilla.kernel.org/ . |
14 | */ | 11 | */ |
15 | 12 | ||
diff --git a/drivers/net/tulip/tulip_core.c b/drivers/net/tulip/tulip_core.c index 1246998a677c..b905c0dc5648 100644 --- a/drivers/net/tulip/tulip_core.c +++ b/drivers/net/tulip/tulip_core.c | |||
@@ -6,9 +6,6 @@ | |||
6 | This software may be used and distributed according to the terms | 6 | This software may be used and distributed according to the terms |
7 | of the GNU General Public License, incorporated herein by reference. | 7 | of the GNU General Public License, incorporated herein by reference. |
8 | 8 | ||
9 | Please refer to Documentation/DocBook/tulip-user.{pdf,ps,html} | ||
10 | for more information on this driver. | ||
11 | |||
12 | Please submit bugs to http://bugzilla.kernel.org/ . | 9 | Please submit bugs to http://bugzilla.kernel.org/ . |
13 | */ | 10 | */ |
14 | 11 | ||
diff --git a/drivers/net/wireless/ipw2x00/libipw_tx.c b/drivers/net/wireless/ipw2x00/libipw_tx.c index 01c88a71abe1..e8c039879b05 100644 --- a/drivers/net/wireless/ipw2x00/libipw_tx.c +++ b/drivers/net/wireless/ipw2x00/libipw_tx.c | |||
@@ -395,7 +395,7 @@ netdev_tx_t libipw_xmit(struct sk_buff *skb, struct net_device *dev) | |||
395 | (CFG_LIBIPW_COMPUTE_FCS | CFG_LIBIPW_RESERVE_FCS)) | 395 | (CFG_LIBIPW_COMPUTE_FCS | CFG_LIBIPW_RESERVE_FCS)) |
396 | bytes_per_frag -= LIBIPW_FCS_LEN; | 396 | bytes_per_frag -= LIBIPW_FCS_LEN; |
397 | 397 | ||
398 | /* Each fragment may need to have room for encryptiong | 398 | /* Each fragment may need to have room for encryption |
399 | * pre/postfix */ | 399 | * pre/postfix */ |
400 | if (host_encrypt) | 400 | if (host_encrypt) |
401 | bytes_per_frag -= crypt->ops->extra_mpdu_prefix_len + | 401 | bytes_per_frag -= crypt->ops->extra_mpdu_prefix_len + |
diff --git a/drivers/net/wireless/libertas_tf/deb_defs.h b/drivers/net/wireless/libertas_tf/deb_defs.h index ae753962d8b5..4bd3dc5adf7c 100644 --- a/drivers/net/wireless/libertas_tf/deb_defs.h +++ b/drivers/net/wireless/libertas_tf/deb_defs.h | |||
@@ -3,7 +3,7 @@ | |||
3 | * global variable declaration. | 3 | * global variable declaration. |
4 | */ | 4 | */ |
5 | #ifndef _LBS_DEB_DEFS_H_ | 5 | #ifndef _LBS_DEB_DEFS_H_ |
6 | #define _LBS_DEB_EFS_H_ | 6 | #define _LBS_DEB_DEFS_H_ |
7 | 7 | ||
8 | #ifndef DRV_NAME | 8 | #ifndef DRV_NAME |
9 | #define DRV_NAME "libertas_tf" | 9 | #define DRV_NAME "libertas_tf" |
diff --git a/drivers/net/wireless/rtlwifi/pci.c b/drivers/net/wireless/rtlwifi/pci.c index 56f12358389d..f8648b7288d5 100644 --- a/drivers/net/wireless/rtlwifi/pci.c +++ b/drivers/net/wireless/rtlwifi/pci.c | |||
@@ -488,7 +488,7 @@ static void _rtl_pci_tx_chk_waitq(struct ieee80211_hw *hw) | |||
488 | struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); | 488 | struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); |
489 | struct sk_buff *skb = NULL; | 489 | struct sk_buff *skb = NULL; |
490 | struct ieee80211_tx_info *info = NULL; | 490 | struct ieee80211_tx_info *info = NULL; |
491 | int tid; /* should be int */ | 491 | int tid; |
492 | 492 | ||
493 | if (!rtlpriv->rtlhal.earlymode_enable) | 493 | if (!rtlpriv->rtlhal.earlymode_enable) |
494 | return; | 494 | return; |
@@ -1538,7 +1538,7 @@ static int rtl_pci_start(struct ieee80211_hw *hw) | |||
1538 | 1538 | ||
1539 | rtl_init_rx_config(hw); | 1539 | rtl_init_rx_config(hw); |
1540 | 1540 | ||
1541 | /*should after adapter start and interrupt enable. */ | 1541 | /*should be after adapter start and interrupt enable. */ |
1542 | set_hal_start(rtlhal); | 1542 | set_hal_start(rtlhal); |
1543 | 1543 | ||
1544 | RT_CLEAR_PS_LEVEL(ppsc, RT_RF_OFF_LEVL_HALT_NIC); | 1544 | RT_CLEAR_PS_LEVEL(ppsc, RT_RF_OFF_LEVL_HALT_NIC); |
@@ -1559,7 +1559,7 @@ static void rtl_pci_stop(struct ieee80211_hw *hw) | |||
1559 | u8 RFInProgressTimeOut = 0; | 1559 | u8 RFInProgressTimeOut = 0; |
1560 | 1560 | ||
1561 | /* | 1561 | /* |
1562 | *should before disable interrrupt&adapter | 1562 | *should be before disable interrupt&adapter |
1563 | *and will do it immediately. | 1563 | *and will do it immediately. |
1564 | */ | 1564 | */ |
1565 | set_hal_stop(rtlhal); | 1565 | set_hal_stop(rtlhal); |
diff --git a/drivers/parisc/sba_iommu.c b/drivers/parisc/sba_iommu.c index 57a6d19eba4c..a6f762188bc3 100644 --- a/drivers/parisc/sba_iommu.c +++ b/drivers/parisc/sba_iommu.c | |||
@@ -668,7 +668,7 @@ sba_mark_invalid(struct ioc *ioc, dma_addr_t iova, size_t byte_cnt) | |||
668 | * @dev: instance of PCI owned by the driver that's asking | 668 | * @dev: instance of PCI owned by the driver that's asking |
669 | * @mask: number of address bits this PCI device can handle | 669 | * @mask: number of address bits this PCI device can handle |
670 | * | 670 | * |
671 | * See Documentation/PCI/PCI-DMA-mapping.txt | 671 | * See Documentation/DMA-API-HOWTO.txt |
672 | */ | 672 | */ |
673 | static int sba_dma_supported( struct device *dev, u64 mask) | 673 | static int sba_dma_supported( struct device *dev, u64 mask) |
674 | { | 674 | { |
@@ -680,7 +680,7 @@ static int sba_dma_supported( struct device *dev, u64 mask) | |||
680 | return(0); | 680 | return(0); |
681 | } | 681 | } |
682 | 682 | ||
683 | /* Documentation/PCI/PCI-DMA-mapping.txt tells drivers to try 64-bit | 683 | /* Documentation/DMA-API-HOWTO.txt tells drivers to try 64-bit |
684 | * first, then fall back to 32-bit if that fails. | 684 | * first, then fall back to 32-bit if that fails. |
685 | * We are just "encouraging" 32-bit DMA masks here since we can | 685 | * We are just "encouraging" 32-bit DMA masks here since we can |
686 | * never allow IOMMU bypass unless we add special support for ZX1. | 686 | * never allow IOMMU bypass unless we add special support for ZX1. |
@@ -706,7 +706,7 @@ static int sba_dma_supported( struct device *dev, u64 mask) | |||
706 | * @size: number of bytes to map in driver buffer. | 706 | * @size: number of bytes to map in driver buffer. |
707 | * @direction: R/W or both. | 707 | * @direction: R/W or both. |
708 | * | 708 | * |
709 | * See Documentation/PCI/PCI-DMA-mapping.txt | 709 | * See Documentation/DMA-API-HOWTO.txt |
710 | */ | 710 | */ |
711 | static dma_addr_t | 711 | static dma_addr_t |
712 | sba_map_single(struct device *dev, void *addr, size_t size, | 712 | sba_map_single(struct device *dev, void *addr, size_t size, |
@@ -785,7 +785,7 @@ sba_map_single(struct device *dev, void *addr, size_t size, | |||
785 | * @size: number of bytes mapped in driver buffer. | 785 | * @size: number of bytes mapped in driver buffer. |
786 | * @direction: R/W or both. | 786 | * @direction: R/W or both. |
787 | * | 787 | * |
788 | * See Documentation/PCI/PCI-DMA-mapping.txt | 788 | * See Documentation/DMA-API-HOWTO.txt |
789 | */ | 789 | */ |
790 | static void | 790 | static void |
791 | sba_unmap_single(struct device *dev, dma_addr_t iova, size_t size, | 791 | sba_unmap_single(struct device *dev, dma_addr_t iova, size_t size, |
@@ -861,7 +861,7 @@ sba_unmap_single(struct device *dev, dma_addr_t iova, size_t size, | |||
861 | * @size: number of bytes mapped in driver buffer. | 861 | * @size: number of bytes mapped in driver buffer. |
862 | * @dma_handle: IOVA of new buffer. | 862 | * @dma_handle: IOVA of new buffer. |
863 | * | 863 | * |
864 | * See Documentation/PCI/PCI-DMA-mapping.txt | 864 | * See Documentation/DMA-API-HOWTO.txt |
865 | */ | 865 | */ |
866 | static void *sba_alloc_consistent(struct device *hwdev, size_t size, | 866 | static void *sba_alloc_consistent(struct device *hwdev, size_t size, |
867 | dma_addr_t *dma_handle, gfp_t gfp) | 867 | dma_addr_t *dma_handle, gfp_t gfp) |
@@ -892,7 +892,7 @@ static void *sba_alloc_consistent(struct device *hwdev, size_t size, | |||
892 | * @vaddr: virtual address IOVA of "consistent" buffer. | 892 | * @vaddr: virtual address IOVA of "consistent" buffer. |
893 | * @dma_handler: IO virtual address of "consistent" buffer. | 893 | * @dma_handler: IO virtual address of "consistent" buffer. |
894 | * | 894 | * |
895 | * See Documentation/PCI/PCI-DMA-mapping.txt | 895 | * See Documentation/DMA-API-HOWTO.txt |
896 | */ | 896 | */ |
897 | static void | 897 | static void |
898 | sba_free_consistent(struct device *hwdev, size_t size, void *vaddr, | 898 | sba_free_consistent(struct device *hwdev, size_t size, void *vaddr, |
@@ -927,7 +927,7 @@ int dump_run_sg = 0; | |||
927 | * @nents: number of entries in list | 927 | * @nents: number of entries in list |
928 | * @direction: R/W or both. | 928 | * @direction: R/W or both. |
929 | * | 929 | * |
930 | * See Documentation/PCI/PCI-DMA-mapping.txt | 930 | * See Documentation/DMA-API-HOWTO.txt |
931 | */ | 931 | */ |
932 | static int | 932 | static int |
933 | sba_map_sg(struct device *dev, struct scatterlist *sglist, int nents, | 933 | sba_map_sg(struct device *dev, struct scatterlist *sglist, int nents, |
@@ -1011,7 +1011,7 @@ sba_map_sg(struct device *dev, struct scatterlist *sglist, int nents, | |||
1011 | * @nents: number of entries in list | 1011 | * @nents: number of entries in list |
1012 | * @direction: R/W or both. | 1012 | * @direction: R/W or both. |
1013 | * | 1013 | * |
1014 | * See Documentation/PCI/PCI-DMA-mapping.txt | 1014 | * See Documentation/DMA-API-HOWTO.txt |
1015 | */ | 1015 | */ |
1016 | static void | 1016 | static void |
1017 | sba_unmap_sg(struct device *dev, struct scatterlist *sglist, int nents, | 1017 | sba_unmap_sg(struct device *dev, struct scatterlist *sglist, int nents, |
diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig index 1e88d4785321..10cf2500522b 100644 --- a/drivers/platform/x86/Kconfig +++ b/drivers/platform/x86/Kconfig | |||
@@ -31,9 +31,6 @@ config ACER_WMI | |||
31 | wireless radio and bluetooth control, and on some laptops, | 31 | wireless radio and bluetooth control, and on some laptops, |
32 | exposes the mail LED and LCD backlight. | 32 | exposes the mail LED and LCD backlight. |
33 | 33 | ||
34 | For more information about this driver see | ||
35 | <file:Documentation/laptops/acer-wmi.txt> | ||
36 | |||
37 | If you have an ACPI-WMI compatible Acer/ Wistron laptop, say Y or M | 34 | If you have an ACPI-WMI compatible Acer/ Wistron laptop, say Y or M |
38 | here. | 35 | here. |
39 | 36 | ||
@@ -164,7 +161,7 @@ config HP_ACCEL | |||
164 | 161 | ||
165 | Support for a led indicating disk protection will be provided as | 162 | Support for a led indicating disk protection will be provided as |
166 | hp::hddprotect. For more information on the feature, refer to | 163 | hp::hddprotect. For more information on the feature, refer to |
167 | Documentation/hwmon/lis3lv02d. | 164 | Documentation/misc-devices/lis3lv02d. |
168 | 165 | ||
169 | To compile this driver as a module, choose M here: the module will | 166 | To compile this driver as a module, choose M here: the module will |
170 | be called hp_accel. | 167 | be called hp_accel. |
diff --git a/drivers/platform/x86/thinkpad_acpi.c b/drivers/platform/x86/thinkpad_acpi.c index 7bd829f247eb..7b828680b21d 100644 --- a/drivers/platform/x86/thinkpad_acpi.c +++ b/drivers/platform/x86/thinkpad_acpi.c | |||
@@ -4007,7 +4007,7 @@ static void bluetooth_shutdown(void) | |||
4007 | pr_notice("failed to save bluetooth state to NVRAM\n"); | 4007 | pr_notice("failed to save bluetooth state to NVRAM\n"); |
4008 | else | 4008 | else |
4009 | vdbg_printk(TPACPI_DBG_RFKILL, | 4009 | vdbg_printk(TPACPI_DBG_RFKILL, |
4010 | "bluestooth state saved to NVRAM\n"); | 4010 | "bluetooth state saved to NVRAM\n"); |
4011 | } | 4011 | } |
4012 | 4012 | ||
4013 | static void bluetooth_exit(void) | 4013 | static void bluetooth_exit(void) |
diff --git a/drivers/s390/cio/blacklist.c b/drivers/s390/cio/blacklist.c index 76058a5166ed..08c66035dd19 100644 --- a/drivers/s390/cio/blacklist.c +++ b/drivers/s390/cio/blacklist.c | |||
@@ -335,10 +335,9 @@ cio_ignore_write(struct file *file, const char __user *user_buf, | |||
335 | return -EINVAL; | 335 | return -EINVAL; |
336 | if (user_len > 65536) | 336 | if (user_len > 65536) |
337 | user_len = 65536; | 337 | user_len = 65536; |
338 | buf = vmalloc (user_len + 1); /* maybe better use the stack? */ | 338 | buf = vzalloc(user_len + 1); /* maybe better use the stack? */ |
339 | if (buf == NULL) | 339 | if (buf == NULL) |
340 | return -ENOMEM; | 340 | return -ENOMEM; |
341 | memset(buf, 0, user_len + 1); | ||
342 | 341 | ||
343 | if (strncpy_from_user (buf, user_buf, user_len) < 0) { | 342 | if (strncpy_from_user (buf, user_buf, user_len) < 0) { |
344 | rc = -EFAULT; | 343 | rc = -EFAULT; |
diff --git a/drivers/scsi/aacraid/src.c b/drivers/scsi/aacraid/src.c index c20494660603..957595a7a45c 100644 --- a/drivers/scsi/aacraid/src.c +++ b/drivers/scsi/aacraid/src.c | |||
@@ -37,7 +37,6 @@ | |||
37 | #include <linux/slab.h> | 37 | #include <linux/slab.h> |
38 | #include <linux/blkdev.h> | 38 | #include <linux/blkdev.h> |
39 | #include <linux/delay.h> | 39 | #include <linux/delay.h> |
40 | #include <linux/version.h> | ||
41 | #include <linux/completion.h> | 40 | #include <linux/completion.h> |
42 | #include <linux/time.h> | 41 | #include <linux/time.h> |
43 | #include <linux/interrupt.h> | 42 | #include <linux/interrupt.h> |
diff --git a/drivers/scsi/aic7xxx/Kconfig.aic79xx b/drivers/scsi/aic7xxx/Kconfig.aic79xx index 5e6620f8dabc..6739069477de 100644 --- a/drivers/scsi/aic7xxx/Kconfig.aic79xx +++ b/drivers/scsi/aic7xxx/Kconfig.aic79xx | |||
@@ -31,8 +31,7 @@ config AIC79XX_CMDS_PER_DEVICE | |||
31 | on some devices. The upper bound is 253. 0 disables tagged queueing. | 31 | on some devices. The upper bound is 253. 0 disables tagged queueing. |
32 | 32 | ||
33 | Per device tag depth can be controlled via the kernel command line | 33 | Per device tag depth can be controlled via the kernel command line |
34 | "tag_info" option. See drivers/scsi/aic7xxx/README.aic79xx | 34 | "tag_info" option. See Documentation/scsi/aic79xx.txt for details. |
35 | for details. | ||
36 | 35 | ||
37 | config AIC79XX_RESET_DELAY_MS | 36 | config AIC79XX_RESET_DELAY_MS |
38 | int "Initial bus reset delay in milli-seconds" | 37 | int "Initial bus reset delay in milli-seconds" |
diff --git a/drivers/scsi/aic7xxx/Kconfig.aic7xxx b/drivers/scsi/aic7xxx/Kconfig.aic7xxx index 88da670a7915..55ac55ee6068 100644 --- a/drivers/scsi/aic7xxx/Kconfig.aic7xxx +++ b/drivers/scsi/aic7xxx/Kconfig.aic7xxx | |||
@@ -36,8 +36,7 @@ config AIC7XXX_CMDS_PER_DEVICE | |||
36 | on some devices. The upper bound is 253. 0 disables tagged queueing. | 36 | on some devices. The upper bound is 253. 0 disables tagged queueing. |
37 | 37 | ||
38 | Per device tag depth can be controlled via the kernel command line | 38 | Per device tag depth can be controlled via the kernel command line |
39 | "tag_info" option. See drivers/scsi/aic7xxx/README.aic7xxx | 39 | "tag_info" option. See Documentation/scsi/aic7xxx.txt for details. |
40 | for details. | ||
41 | 40 | ||
42 | config AIC7XXX_RESET_DELAY_MS | 41 | config AIC7XXX_RESET_DELAY_MS |
43 | int "Initial bus reset delay in milli-seconds" | 42 | int "Initial bus reset delay in milli-seconds" |
diff --git a/drivers/scsi/aic94xx/aic94xx_dump.c b/drivers/scsi/aic94xx/aic94xx_dump.c index 67eeba3bdb06..a16a77c8b9cf 100644 --- a/drivers/scsi/aic94xx/aic94xx_dump.c +++ b/drivers/scsi/aic94xx/aic94xx_dump.c | |||
@@ -29,7 +29,7 @@ | |||
29 | * | 29 | * |
30 | */ | 30 | */ |
31 | 31 | ||
32 | #include "linux/pci.h" | 32 | #include <linux/pci.h> |
33 | #include "aic94xx.h" | 33 | #include "aic94xx.h" |
34 | #include "aic94xx_reg.h" | 34 | #include "aic94xx_reg.h" |
35 | #include "aic94xx_reg_def.h" | 35 | #include "aic94xx_reg_def.h" |
diff --git a/drivers/scsi/bfa/bfad_drv.h b/drivers/scsi/bfa/bfad_drv.h index bda999ad9f52..5e19a5f820ec 100644 --- a/drivers/scsi/bfa/bfad_drv.h +++ b/drivers/scsi/bfa/bfad_drv.h | |||
@@ -27,7 +27,6 @@ | |||
27 | #define __BFAD_DRV_H__ | 27 | #define __BFAD_DRV_H__ |
28 | 28 | ||
29 | #include <linux/types.h> | 29 | #include <linux/types.h> |
30 | #include <linux/version.h> | ||
31 | #include <linux/pci.h> | 30 | #include <linux/pci.h> |
32 | #include <linux/dma-mapping.h> | 31 | #include <linux/dma-mapping.h> |
33 | #include <linux/idr.h> | 32 | #include <linux/idr.h> |
diff --git a/drivers/scsi/cxgbi/cxgb3i/cxgb3i.c b/drivers/scsi/cxgbi/cxgb3i/cxgb3i.c index f58644850333..1242c7c04a01 100644 --- a/drivers/scsi/cxgbi/cxgb3i/cxgb3i.c +++ b/drivers/scsi/cxgbi/cxgb3i/cxgb3i.c | |||
@@ -14,7 +14,6 @@ | |||
14 | 14 | ||
15 | #define pr_fmt(fmt) KBUILD_MODNAME ":%s: " fmt, __func__ | 15 | #define pr_fmt(fmt) KBUILD_MODNAME ":%s: " fmt, __func__ |
16 | 16 | ||
17 | #include <linux/version.h> | ||
18 | #include <linux/module.h> | 17 | #include <linux/module.h> |
19 | #include <linux/moduleparam.h> | 18 | #include <linux/moduleparam.h> |
20 | #include <scsi/scsi_host.h> | 19 | #include <scsi/scsi_host.h> |
diff --git a/drivers/scsi/cxgbi/cxgb4i/cxgb4i.c b/drivers/scsi/cxgbi/cxgb4i/cxgb4i.c index ae13c4993aa3..31c79bde6976 100644 --- a/drivers/scsi/cxgbi/cxgb4i/cxgb4i.c +++ b/drivers/scsi/cxgbi/cxgb4i/cxgb4i.c | |||
@@ -13,7 +13,6 @@ | |||
13 | 13 | ||
14 | #define pr_fmt(fmt) KBUILD_MODNAME ":%s: " fmt, __func__ | 14 | #define pr_fmt(fmt) KBUILD_MODNAME ":%s: " fmt, __func__ |
15 | 15 | ||
16 | #include <linux/version.h> | ||
17 | #include <linux/module.h> | 16 | #include <linux/module.h> |
18 | #include <linux/moduleparam.h> | 17 | #include <linux/moduleparam.h> |
19 | #include <scsi/scsi_host.h> | 18 | #include <scsi/scsi_host.h> |
diff --git a/drivers/scsi/fcoe/fcoe.c b/drivers/scsi/fcoe/fcoe.c index 5d0e9a24ae94..34c8d82b7423 100644 --- a/drivers/scsi/fcoe/fcoe.c +++ b/drivers/scsi/fcoe/fcoe.c | |||
@@ -18,7 +18,6 @@ | |||
18 | */ | 18 | */ |
19 | 19 | ||
20 | #include <linux/module.h> | 20 | #include <linux/module.h> |
21 | #include <linux/version.h> | ||
22 | #include <linux/spinlock.h> | 21 | #include <linux/spinlock.h> |
23 | #include <linux/netdevice.h> | 22 | #include <linux/netdevice.h> |
24 | #include <linux/etherdevice.h> | 23 | #include <linux/etherdevice.h> |
diff --git a/drivers/scsi/isci/phy.c b/drivers/scsi/isci/phy.c index 430fc8ff014a..09e61134037f 100644 --- a/drivers/scsi/isci/phy.c +++ b/drivers/scsi/isci/phy.c | |||
@@ -708,7 +708,7 @@ enum sci_status sci_phy_event_handler(struct isci_phy *iphy, u32 event_code) | |||
708 | __func__, | 708 | __func__, |
709 | event_code); | 709 | event_code); |
710 | 710 | ||
711 | return SCI_FAILURE;; | 711 | return SCI_FAILURE; |
712 | } | 712 | } |
713 | return SCI_SUCCESS; | 713 | return SCI_SUCCESS; |
714 | case SCI_PHY_SUB_AWAIT_SATA_SPEED_EN: | 714 | case SCI_PHY_SUB_AWAIT_SATA_SPEED_EN: |
diff --git a/drivers/scsi/megaraid/megaraid_mbox.c b/drivers/scsi/megaraid/megaraid_mbox.c index 2e6619eff3ea..8883ca36f932 100644 --- a/drivers/scsi/megaraid/megaraid_mbox.c +++ b/drivers/scsi/megaraid/megaraid_mbox.c | |||
@@ -67,7 +67,7 @@ | |||
67 | * | 67 | * |
68 | * NEC MegaRAID PCI Express ROMB 1000 0408 1033 8287 | 68 | * NEC MegaRAID PCI Express ROMB 1000 0408 1033 8287 |
69 | * | 69 | * |
70 | * For history of changes, see Documentation/ChangeLog.megaraid | 70 | * For history of changes, see Documentation/scsi/ChangeLog.megaraid |
71 | */ | 71 | */ |
72 | 72 | ||
73 | #include <linux/slab.h> | 73 | #include <linux/slab.h> |
diff --git a/drivers/scsi/mpt2sas/mpt2sas_base.c b/drivers/scsi/mpt2sas/mpt2sas_base.c index 83035bd1c489..6825772cfd6a 100644 --- a/drivers/scsi/mpt2sas/mpt2sas_base.c +++ b/drivers/scsi/mpt2sas/mpt2sas_base.c | |||
@@ -42,7 +42,6 @@ | |||
42 | * USA. | 42 | * USA. |
43 | */ | 43 | */ |
44 | 44 | ||
45 | #include <linux/version.h> | ||
46 | #include <linux/kernel.h> | 45 | #include <linux/kernel.h> |
47 | #include <linux/module.h> | 46 | #include <linux/module.h> |
48 | #include <linux/errno.h> | 47 | #include <linux/errno.h> |
diff --git a/drivers/scsi/mpt2sas/mpt2sas_config.c b/drivers/scsi/mpt2sas/mpt2sas_config.c index 6861244249a3..2b1101076cfe 100644 --- a/drivers/scsi/mpt2sas/mpt2sas_config.c +++ b/drivers/scsi/mpt2sas/mpt2sas_config.c | |||
@@ -41,7 +41,6 @@ | |||
41 | * USA. | 41 | * USA. |
42 | */ | 42 | */ |
43 | 43 | ||
44 | #include <linux/version.h> | ||
45 | #include <linux/module.h> | 44 | #include <linux/module.h> |
46 | #include <linux/kernel.h> | 45 | #include <linux/kernel.h> |
47 | #include <linux/init.h> | 46 | #include <linux/init.h> |
diff --git a/drivers/scsi/mpt2sas/mpt2sas_ctl.c b/drivers/scsi/mpt2sas/mpt2sas_ctl.c index 38ed0260959d..246d5fbc6e5a 100644 --- a/drivers/scsi/mpt2sas/mpt2sas_ctl.c +++ b/drivers/scsi/mpt2sas/mpt2sas_ctl.c | |||
@@ -42,7 +42,6 @@ | |||
42 | * USA. | 42 | * USA. |
43 | */ | 43 | */ |
44 | 44 | ||
45 | #include <linux/version.h> | ||
46 | #include <linux/kernel.h> | 45 | #include <linux/kernel.h> |
47 | #include <linux/module.h> | 46 | #include <linux/module.h> |
48 | #include <linux/errno.h> | 47 | #include <linux/errno.h> |
diff --git a/drivers/scsi/mpt2sas/mpt2sas_scsih.c b/drivers/scsi/mpt2sas/mpt2sas_scsih.c index 6abd2fcc43e2..5202de3f3d3f 100644 --- a/drivers/scsi/mpt2sas/mpt2sas_scsih.c +++ b/drivers/scsi/mpt2sas/mpt2sas_scsih.c | |||
@@ -41,7 +41,6 @@ | |||
41 | * USA. | 41 | * USA. |
42 | */ | 42 | */ |
43 | 43 | ||
44 | #include <linux/version.h> | ||
45 | #include <linux/module.h> | 44 | #include <linux/module.h> |
46 | #include <linux/kernel.h> | 45 | #include <linux/kernel.h> |
47 | #include <linux/init.h> | 46 | #include <linux/init.h> |
diff --git a/drivers/scsi/mvsas/mv_sas.h b/drivers/scsi/mvsas/mv_sas.h index 44d7885a4a1d..44b474513223 100644 --- a/drivers/scsi/mvsas/mv_sas.h +++ b/drivers/scsi/mvsas/mv_sas.h | |||
@@ -43,7 +43,6 @@ | |||
43 | #include <scsi/scsi.h> | 43 | #include <scsi/scsi.h> |
44 | #include <scsi/scsi_tcq.h> | 44 | #include <scsi/scsi_tcq.h> |
45 | #include <scsi/sas_ata.h> | 45 | #include <scsi/sas_ata.h> |
46 | #include <linux/version.h> | ||
47 | #include "mv_defs.h" | 46 | #include "mv_defs.h" |
48 | 47 | ||
49 | #define DRV_NAME "mvsas" | 48 | #define DRV_NAME "mvsas" |
diff --git a/drivers/scsi/pmcraid.c b/drivers/scsi/pmcraid.c index d079f9a3c6b3..b86db84d6f32 100644 --- a/drivers/scsi/pmcraid.c +++ b/drivers/scsi/pmcraid.c | |||
@@ -39,7 +39,6 @@ | |||
39 | #include <linux/module.h> | 39 | #include <linux/module.h> |
40 | #include <linux/moduleparam.h> | 40 | #include <linux/moduleparam.h> |
41 | #include <linux/hdreg.h> | 41 | #include <linux/hdreg.h> |
42 | #include <linux/version.h> | ||
43 | #include <linux/io.h> | 42 | #include <linux/io.h> |
44 | #include <linux/slab.h> | 43 | #include <linux/slab.h> |
45 | #include <asm/irq.h> | 44 | #include <asm/irq.h> |
diff --git a/drivers/scsi/pmcraid.h b/drivers/scsi/pmcraid.h index f920baf3ff24..ca496c7474e3 100644 --- a/drivers/scsi/pmcraid.h +++ b/drivers/scsi/pmcraid.h | |||
@@ -24,7 +24,6 @@ | |||
24 | #ifndef _PMCRAID_H | 24 | #ifndef _PMCRAID_H |
25 | #define _PMCRAID_H | 25 | #define _PMCRAID_H |
26 | 26 | ||
27 | #include <linux/version.h> | ||
28 | #include <linux/types.h> | 27 | #include <linux/types.h> |
29 | #include <linux/completion.h> | 28 | #include <linux/completion.h> |
30 | #include <linux/list.h> | 29 | #include <linux/list.h> |
diff --git a/drivers/scsi/sg.c b/drivers/scsi/sg.c index 909ed9ed24c0..441a1c5b8974 100644 --- a/drivers/scsi/sg.c +++ b/drivers/scsi/sg.c | |||
@@ -50,6 +50,7 @@ static int sg_version_num = 30534; /* 2 digits for each component */ | |||
50 | #include <linux/delay.h> | 50 | #include <linux/delay.h> |
51 | #include <linux/blktrace_api.h> | 51 | #include <linux/blktrace_api.h> |
52 | #include <linux/mutex.h> | 52 | #include <linux/mutex.h> |
53 | #include <linux/ratelimit.h> | ||
53 | 54 | ||
54 | #include "scsi.h" | 55 | #include "scsi.h" |
55 | #include <scsi/scsi_dbg.h> | 56 | #include <scsi/scsi_dbg.h> |
@@ -626,14 +627,15 @@ sg_write(struct file *filp, const char __user *buf, size_t count, loff_t * ppos) | |||
626 | */ | 627 | */ |
627 | if (hp->dxfer_direction == SG_DXFER_TO_FROM_DEV) { | 628 | if (hp->dxfer_direction == SG_DXFER_TO_FROM_DEV) { |
628 | static char cmd[TASK_COMM_LEN]; | 629 | static char cmd[TASK_COMM_LEN]; |
629 | if (strcmp(current->comm, cmd) && printk_ratelimit()) { | 630 | if (strcmp(current->comm, cmd)) { |
630 | printk(KERN_WARNING | 631 | printk_ratelimited(KERN_WARNING |
631 | "sg_write: data in/out %d/%d bytes for SCSI command 0x%x--" | 632 | "sg_write: data in/out %d/%d bytes " |
632 | "guessing data in;\n " | 633 | "for SCSI command 0x%x-- guessing " |
633 | "program %s not setting count and/or reply_len properly\n", | 634 | "data in;\n program %s not setting " |
634 | old_hdr.reply_len - (int)SZ_SG_HEADER, | 635 | "count and/or reply_len properly\n", |
635 | input_size, (unsigned int) cmnd[0], | 636 | old_hdr.reply_len - (int)SZ_SG_HEADER, |
636 | current->comm); | 637 | input_size, (unsigned int) cmnd[0], |
638 | current->comm); | ||
637 | strcpy(cmd, current->comm); | 639 | strcpy(cmd, current->comm); |
638 | } | 640 | } |
639 | } | 641 | } |
diff --git a/drivers/staging/cxt1e1/Kconfig b/drivers/staging/cxt1e1/Kconfig index 73430ef6ae2b..947f42a65c59 100644 --- a/drivers/staging/cxt1e1/Kconfig +++ b/drivers/staging/cxt1e1/Kconfig | |||
@@ -6,8 +6,7 @@ config CXT1E1 | |||
6 | channelized stream WAN adapter card which contains a HDLC/Transparent | 6 | channelized stream WAN adapter card which contains a HDLC/Transparent |
7 | mode controller. | 7 | mode controller. |
8 | 8 | ||
9 | If you want to compile this driver as a module | 9 | If you want to compile this driver as a module say M here. |
10 | say M here and read <file:Documentation/modules.txt>. | ||
11 | The module will be called 'cxt1e1'. | 10 | The module will be called 'cxt1e1'. |
12 | 11 | ||
13 | If unsure, say N. | 12 | If unsure, say N. |
diff --git a/drivers/staging/iio/addac/adt7316-i2c.c b/drivers/staging/iio/addac/adt7316-i2c.c index 52d1ea349635..1c86cf11ab94 100644 --- a/drivers/staging/iio/addac/adt7316-i2c.c +++ b/drivers/staging/iio/addac/adt7316-i2c.c | |||
@@ -109,7 +109,7 @@ static int __devinit adt7316_i2c_probe(struct i2c_client *client, | |||
109 | 109 | ||
110 | static int __devexit adt7316_i2c_remove(struct i2c_client *client) | 110 | static int __devexit adt7316_i2c_remove(struct i2c_client *client) |
111 | { | 111 | { |
112 | return adt7316_remove(&client->dev);; | 112 | return adt7316_remove(&client->dev); |
113 | } | 113 | } |
114 | 114 | ||
115 | static const struct i2c_device_id adt7316_i2c_id[] = { | 115 | static const struct i2c_device_id adt7316_i2c_id[] = { |
diff --git a/drivers/staging/iio/dds/ad9832.c b/drivers/staging/iio/dds/ad9832.c index e3e61a469bb8..6f0efe6580e7 100644 --- a/drivers/staging/iio/dds/ad9832.c +++ b/drivers/staging/iio/dds/ad9832.c | |||
@@ -52,7 +52,7 @@ static int ad9832_write_frequency(struct ad9832_state *st, | |||
52 | ((addr - 3) << ADD_SHIFT) | | 52 | ((addr - 3) << ADD_SHIFT) | |
53 | ((regval >> 0) & 0xFF)); | 53 | ((regval >> 0) & 0xFF)); |
54 | 54 | ||
55 | return spi_sync(st->spi, &st->freq_msg);; | 55 | return spi_sync(st->spi, &st->freq_msg); |
56 | } | 56 | } |
57 | 57 | ||
58 | static int ad9832_write_phase(struct ad9832_state *st, | 58 | static int ad9832_write_phase(struct ad9832_state *st, |
diff --git a/drivers/target/iscsi/iscsi_target_nego.c b/drivers/target/iscsi/iscsi_target_nego.c index 4d087ac11067..426cd4bf6a9a 100644 --- a/drivers/target/iscsi/iscsi_target_nego.c +++ b/drivers/target/iscsi/iscsi_target_nego.c | |||
@@ -504,7 +504,7 @@ static int iscsi_target_do_authentication( | |||
504 | break; | 504 | break; |
505 | case 1: | 505 | case 1: |
506 | pr_debug("iSCSI security negotiation" | 506 | pr_debug("iSCSI security negotiation" |
507 | " completed sucessfully.\n"); | 507 | " completed successfully.\n"); |
508 | login->auth_complete = 1; | 508 | login->auth_complete = 1; |
509 | if ((login_req->flags & ISCSI_FLAG_LOGIN_NEXT_STAGE1) && | 509 | if ((login_req->flags & ISCSI_FLAG_LOGIN_NEXT_STAGE1) && |
510 | (login_req->flags & ISCSI_FLAG_LOGIN_TRANSIT)) { | 510 | (login_req->flags & ISCSI_FLAG_LOGIN_TRANSIT)) { |
diff --git a/drivers/target/target_core_tpg.c b/drivers/target/target_core_tpg.c index 162b736c7342..49fd0a9b0a56 100644 --- a/drivers/target/target_core_tpg.c +++ b/drivers/target/target_core_tpg.c | |||
@@ -593,7 +593,7 @@ int core_tpg_set_initiator_node_queue_depth( | |||
593 | if (init_sess) | 593 | if (init_sess) |
594 | tpg->se_tpg_tfo->close_session(init_sess); | 594 | tpg->se_tpg_tfo->close_session(init_sess); |
595 | 595 | ||
596 | pr_debug("Successfuly changed queue depth to: %d for Initiator" | 596 | pr_debug("Successfully changed queue depth to: %d for Initiator" |
597 | " Node: %s on %s Target Portal Group: %u\n", queue_depth, | 597 | " Node: %s on %s Target Portal Group: %u\n", queue_depth, |
598 | initiatorname, tpg->se_tpg_tfo->get_fabric_name(), | 598 | initiatorname, tpg->se_tpg_tfo->get_fabric_name(), |
599 | tpg->se_tpg_tfo->tpg_get_tag(tpg)); | 599 | tpg->se_tpg_tfo->tpg_get_tag(tpg)); |
diff --git a/drivers/tty/Kconfig b/drivers/tty/Kconfig index bd7cc0527999..f462fa5f937c 100644 --- a/drivers/tty/Kconfig +++ b/drivers/tty/Kconfig | |||
@@ -62,7 +62,7 @@ config VT_CONSOLE | |||
62 | 62 | ||
63 | config HW_CONSOLE | 63 | config HW_CONSOLE |
64 | bool | 64 | bool |
65 | depends on VT && !S390 && !UML | 65 | depends on VT && !UML |
66 | default y | 66 | default y |
67 | 67 | ||
68 | config VT_HW_CONSOLE_BINDING | 68 | config VT_HW_CONSOLE_BINDING |
diff --git a/drivers/tty/serial/mrst_max3110.c b/drivers/tty/serial/mrst_max3110.c index 23bc743f2a22..492c14d63e99 100644 --- a/drivers/tty/serial/mrst_max3110.c +++ b/drivers/tty/serial/mrst_max3110.c | |||
@@ -23,7 +23,7 @@ | |||
23 | * 1 word. If SPI master controller doesn't support sclk frequency change, | 23 | * 1 word. If SPI master controller doesn't support sclk frequency change, |
24 | * then the char need be sent out one by one with some delay | 24 | * then the char need be sent out one by one with some delay |
25 | * | 25 | * |
26 | * 2. Currently only RX available interrrupt is used, no need for waiting TXE | 26 | * 2. Currently only RX available interrupt is used, no need for waiting TXE |
27 | * interrupt for a low speed UART device | 27 | * interrupt for a low speed UART device |
28 | */ | 28 | */ |
29 | 29 | ||
diff --git a/drivers/usb/gadget/langwell_udc.c b/drivers/usb/gadget/langwell_udc.c index a06e2c27b435..ff4d40d77c30 100644 --- a/drivers/usb/gadget/langwell_udc.c +++ b/drivers/usb/gadget/langwell_udc.c | |||
@@ -2969,7 +2969,7 @@ static irqreturn_t langwell_irq(int irq, void *_dev) | |||
2969 | handle_port_change(dev); | 2969 | handle_port_change(dev); |
2970 | } | 2970 | } |
2971 | 2971 | ||
2972 | /* suspend interrrupt */ | 2972 | /* suspend interrupt */ |
2973 | if (irq_sts & STS_SLI) { | 2973 | if (irq_sts & STS_SLI) { |
2974 | dev_vdbg(&dev->pdev->dev, "suspend interrupt\n"); | 2974 | dev_vdbg(&dev->pdev->dev, "suspend interrupt\n"); |
2975 | handle_bus_suspend(dev); | 2975 | handle_bus_suspend(dev); |
diff --git a/drivers/usb/gadget/mv_udc_core.c b/drivers/usb/gadget/mv_udc_core.c index ce1ac2bcb314..0b3b8d0462db 100644 --- a/drivers/usb/gadget/mv_udc_core.c +++ b/drivers/usb/gadget/mv_udc_core.c | |||
@@ -335,7 +335,7 @@ static int queue_dtd(struct mv_ep *ep, struct mv_req *req) | |||
335 | } else { | 335 | } else { |
336 | /* Write dQH next pointer and terminate bit to 0 */ | 336 | /* Write dQH next pointer and terminate bit to 0 */ |
337 | dqh->next_dtd_ptr = req->head->td_dma | 337 | dqh->next_dtd_ptr = req->head->td_dma |
338 | & EP_QUEUE_HEAD_NEXT_POINTER_MASK;; | 338 | & EP_QUEUE_HEAD_NEXT_POINTER_MASK; |
339 | dqh->size_ioc_int_sts = 0; | 339 | dqh->size_ioc_int_sts = 0; |
340 | 340 | ||
341 | /* Ensure that updates to the QH will occur before priming. */ | 341 | /* Ensure that updates to the QH will occur before priming. */ |
@@ -376,7 +376,7 @@ static int queue_dtd(struct mv_ep *ep, struct mv_req *req) | |||
376 | } | 376 | } |
377 | } | 377 | } |
378 | done: | 378 | done: |
379 | return retval;; | 379 | return retval; |
380 | } | 380 | } |
381 | 381 | ||
382 | static struct mv_dtd *build_dtd(struct mv_req *req, unsigned *length, | 382 | static struct mv_dtd *build_dtd(struct mv_req *req, unsigned *length, |
diff --git a/drivers/usb/gadget/net2280.c b/drivers/usb/gadget/net2280.c index 3dd40b4e675c..a218a4de5dc9 100644 --- a/drivers/usb/gadget/net2280.c +++ b/drivers/usb/gadget/net2280.c | |||
@@ -2481,7 +2481,7 @@ static void handle_stat1_irqs (struct net2280 *dev, u32 stat) | |||
2481 | mask = (1 << HIGH_SPEED) | (1 << FULL_SPEED); | 2481 | mask = (1 << HIGH_SPEED) | (1 << FULL_SPEED); |
2482 | 2482 | ||
2483 | /* VBUS disconnect is indicated by VBUS_PIN and VBUS_INTERRUPT set. | 2483 | /* VBUS disconnect is indicated by VBUS_PIN and VBUS_INTERRUPT set. |
2484 | * Root Port Reset is indicated by ROOT_PORT_RESET_INTERRRUPT set and | 2484 | * Root Port Reset is indicated by ROOT_PORT_RESET_INTERRUPT set and |
2485 | * both HIGH_SPEED and FULL_SPEED clear (as ROOT_PORT_RESET_INTERRUPT | 2485 | * both HIGH_SPEED and FULL_SPEED clear (as ROOT_PORT_RESET_INTERRUPT |
2486 | * only indicates a change in the reset state). | 2486 | * only indicates a change in the reset state). |
2487 | */ | 2487 | */ |
diff --git a/drivers/usb/gadget/uvc.h b/drivers/usb/gadget/uvc.h index 5b7919460fd2..81971fbc7ea5 100644 --- a/drivers/usb/gadget/uvc.h +++ b/drivers/usb/gadget/uvc.h | |||
@@ -56,6 +56,7 @@ struct uvc_event | |||
56 | #include <linux/usb.h> /* For usb_endpoint_* */ | 56 | #include <linux/usb.h> /* For usb_endpoint_* */ |
57 | #include <linux/usb/gadget.h> | 57 | #include <linux/usb/gadget.h> |
58 | #include <linux/videodev2.h> | 58 | #include <linux/videodev2.h> |
59 | #include <linux/version.h> | ||
59 | #include <media/v4l2-fh.h> | 60 | #include <media/v4l2-fh.h> |
60 | 61 | ||
61 | #include "uvc_queue.h" | 62 | #include "uvc_queue.h" |
diff --git a/drivers/usb/gadget/uvc_v4l2.c b/drivers/usb/gadget/uvc_v4l2.c index 52f8f9e513af..cfb58384394d 100644 --- a/drivers/usb/gadget/uvc_v4l2.c +++ b/drivers/usb/gadget/uvc_v4l2.c | |||
@@ -16,7 +16,6 @@ | |||
16 | #include <linux/errno.h> | 16 | #include <linux/errno.h> |
17 | #include <linux/list.h> | 17 | #include <linux/list.h> |
18 | #include <linux/mutex.h> | 18 | #include <linux/mutex.h> |
19 | #include <linux/version.h> | ||
20 | #include <linux/videodev2.h> | 19 | #include <linux/videodev2.h> |
21 | #include <linux/vmalloc.h> | 20 | #include <linux/vmalloc.h> |
22 | #include <linux/wait.h> | 21 | #include <linux/wait.h> |
diff --git a/drivers/usb/musb/musb_gadget.c b/drivers/usb/musb/musb_gadget.c index e81820370d6f..fe8d14cac436 100644 --- a/drivers/usb/musb/musb_gadget.c +++ b/drivers/usb/musb/musb_gadget.c | |||
@@ -704,7 +704,7 @@ static void rxstate(struct musb *musb, struct musb_request *req) | |||
704 | * most these gadgets, end of is signified either by a short packet, | 704 | * most these gadgets, end of is signified either by a short packet, |
705 | * or filling the last byte of the buffer. (Sending extra data in | 705 | * or filling the last byte of the buffer. (Sending extra data in |
706 | * that last pckate should trigger an overflow fault.) But in mode 1, | 706 | * that last pckate should trigger an overflow fault.) But in mode 1, |
707 | * we don't get DMA completion interrrupt for short packets. | 707 | * we don't get DMA completion interrupt for short packets. |
708 | * | 708 | * |
709 | * Theoretically, we could enable DMAReq irq (MUSB_RXCSR_DMAMODE = 1), | 709 | * Theoretically, we could enable DMAReq irq (MUSB_RXCSR_DMAMODE = 1), |
710 | * to get endpoint interrupt on every DMA req, but that didn't seem | 710 | * to get endpoint interrupt on every DMA req, but that didn't seem |
diff --git a/drivers/usb/serial/digi_acceleport.c b/drivers/usb/serial/digi_acceleport.c index 86fbba6336c9..e92cbefc0f88 100644 --- a/drivers/usb/serial/digi_acceleport.c +++ b/drivers/usb/serial/digi_acceleport.c | |||
@@ -227,7 +227,7 @@ | |||
227 | * - All sleeps use a timeout of DIGI_RETRY_TIMEOUT before looping to | 227 | * - All sleeps use a timeout of DIGI_RETRY_TIMEOUT before looping to |
228 | * recheck the condition they are sleeping on. This is defensive, | 228 | * recheck the condition they are sleeping on. This is defensive, |
229 | * in case a wake up is lost. | 229 | * in case a wake up is lost. |
230 | * - Following Documentation/DocBook/kernel-locking.pdf no spin locks | 230 | * - Following Documentation/DocBook/kernel-locking.tmpl no spin locks |
231 | * are held when calling copy_to/from_user or printk. | 231 | * are held when calling copy_to/from_user or printk. |
232 | */ | 232 | */ |
233 | 233 | ||
diff --git a/drivers/usb/serial/mos7720.c b/drivers/usb/serial/mos7720.c index 40abedbc5943..3524a105d042 100644 --- a/drivers/usb/serial/mos7720.c +++ b/drivers/usb/serial/mos7720.c | |||
@@ -2006,7 +2006,6 @@ static int mos7720_ioctl(struct tty_struct *tty, | |||
2006 | dbg("%s (%d) TIOCSERGETLSR", __func__, port->number); | 2006 | dbg("%s (%d) TIOCSERGETLSR", __func__, port->number); |
2007 | return get_lsr_info(tty, mos7720_port, | 2007 | return get_lsr_info(tty, mos7720_port, |
2008 | (unsigned int __user *)arg); | 2008 | (unsigned int __user *)arg); |
2009 | return 0; | ||
2010 | 2009 | ||
2011 | /* FIXME: These should be using the mode methods */ | 2010 | /* FIXME: These should be using the mode methods */ |
2012 | case TIOCMBIS: | 2011 | case TIOCMBIS: |
diff --git a/drivers/usb/serial/mos7840.c b/drivers/usb/serial/mos7840.c index 7b50aa122752..c72abd524983 100644 --- a/drivers/usb/serial/mos7840.c +++ b/drivers/usb/serial/mos7840.c | |||
@@ -2263,7 +2263,6 @@ static int mos7840_ioctl(struct tty_struct *tty, | |||
2263 | case TIOCSERGETLSR: | 2263 | case TIOCSERGETLSR: |
2264 | dbg("%s (%d) TIOCSERGETLSR", __func__, port->number); | 2264 | dbg("%s (%d) TIOCSERGETLSR", __func__, port->number); |
2265 | return mos7840_get_lsr_info(tty, argp); | 2265 | return mos7840_get_lsr_info(tty, argp); |
2266 | return 0; | ||
2267 | 2266 | ||
2268 | case TIOCGSERIAL: | 2267 | case TIOCGSERIAL: |
2269 | dbg("%s (%d) TIOCGSERIAL", __func__, port->number); | 2268 | dbg("%s (%d) TIOCGSERIAL", __func__, port->number); |
diff --git a/drivers/usb/storage/realtek_cr.c b/drivers/usb/storage/realtek_cr.c index 34adc4b42ceb..6fd13068481b 100644 --- a/drivers/usb/storage/realtek_cr.c +++ b/drivers/usb/storage/realtek_cr.c | |||
@@ -25,7 +25,6 @@ | |||
25 | #include <linux/kthread.h> | 25 | #include <linux/kthread.h> |
26 | #include <linux/sched.h> | 26 | #include <linux/sched.h> |
27 | #include <linux/kernel.h> | 27 | #include <linux/kernel.h> |
28 | #include <linux/version.h> | ||
29 | 28 | ||
30 | #include <scsi/scsi.h> | 29 | #include <scsi/scsi.h> |
31 | #include <scsi/scsi_cmnd.h> | 30 | #include <scsi/scsi_cmnd.h> |
diff --git a/drivers/uwb/uwb-internal.h b/drivers/uwb/uwb-internal.h index 157485c862c0..a7494bf10081 100644 --- a/drivers/uwb/uwb-internal.h +++ b/drivers/uwb/uwb-internal.h | |||
@@ -28,7 +28,6 @@ | |||
28 | #ifndef __UWB_INTERNAL_H__ | 28 | #ifndef __UWB_INTERNAL_H__ |
29 | #define __UWB_INTERNAL_H__ | 29 | #define __UWB_INTERNAL_H__ |
30 | 30 | ||
31 | #include <linux/version.h> | ||
32 | #include <linux/kernel.h> | 31 | #include <linux/kernel.h> |
33 | #include <linux/device.h> | 32 | #include <linux/device.h> |
34 | #include <linux/uwb.h> | 33 | #include <linux/uwb.h> |
diff --git a/drivers/video/igafb.c b/drivers/video/igafb.c index d885c770eb84..2d97752f79a5 100644 --- a/drivers/video/igafb.c +++ b/drivers/video/igafb.c | |||
@@ -428,7 +428,7 @@ static int __init igafb_init(void) | |||
428 | * | 428 | * |
429 | * IGS2000 has its I/O memory mapped and we want | 429 | * IGS2000 has its I/O memory mapped and we want |
430 | * to generate memory cycles on PCI, e.g. do ioremap(), | 430 | * to generate memory cycles on PCI, e.g. do ioremap(), |
431 | * then readb/writeb() as in Documentation/IO-mapping.txt. | 431 | * then readb/writeb() as in Documentation/io-mapping.txt. |
432 | * | 432 | * |
433 | * IGS1682 is more traditional, it responds to PCI I/O | 433 | * IGS1682 is more traditional, it responds to PCI I/O |
434 | * cycles, so we want to access it with inb()/outb(). | 434 | * cycles, so we want to access it with inb()/outb(). |
diff --git a/drivers/watchdog/smsc37b787_wdt.c b/drivers/watchdog/smsc37b787_wdt.c index e97b0499bd0d..97b8184614ae 100644 --- a/drivers/watchdog/smsc37b787_wdt.c +++ b/drivers/watchdog/smsc37b787_wdt.c | |||
@@ -40,7 +40,7 @@ | |||
40 | * mknod /dev/watchdog c 10 130 | 40 | * mknod /dev/watchdog c 10 130 |
41 | * | 41 | * |
42 | * For an example userspace keep-alive daemon, see: | 42 | * For an example userspace keep-alive daemon, see: |
43 | * Documentation/watchdog/watchdog.txt | 43 | * Documentation/watchdog/wdt.txt |
44 | */ | 44 | */ |
45 | 45 | ||
46 | #include <linux/module.h> | 46 | #include <linux/module.h> |
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c index 71beb0201970..62abf9fd6ff0 100644 --- a/fs/cifs/connect.c +++ b/fs/cifs/connect.c | |||
@@ -2877,9 +2877,9 @@ cleanup_volume_info_contents(struct smb_vol *volume_info) | |||
2877 | { | 2877 | { |
2878 | kfree(volume_info->username); | 2878 | kfree(volume_info->username); |
2879 | kzfree(volume_info->password); | 2879 | kzfree(volume_info->password); |
2880 | kfree(volume_info->UNC); | ||
2881 | if (volume_info->UNCip != volume_info->UNC + 2) | 2880 | if (volume_info->UNCip != volume_info->UNC + 2) |
2882 | kfree(volume_info->UNCip); | 2881 | kfree(volume_info->UNCip); |
2882 | kfree(volume_info->UNC); | ||
2883 | kfree(volume_info->domainname); | 2883 | kfree(volume_info->domainname); |
2884 | kfree(volume_info->iocharset); | 2884 | kfree(volume_info->iocharset); |
2885 | kfree(volume_info->prepath); | 2885 | kfree(volume_info->prepath); |
diff --git a/fs/coda/coda_linux.h b/fs/coda/coda_linux.h index 44e17e9c21ae..cc0ea9fe5ecf 100644 --- a/fs/coda/coda_linux.h +++ b/fs/coda/coda_linux.h | |||
@@ -59,12 +59,11 @@ void coda_sysctl_clean(void); | |||
59 | 59 | ||
60 | #define CODA_ALLOC(ptr, cast, size) do { \ | 60 | #define CODA_ALLOC(ptr, cast, size) do { \ |
61 | if (size < PAGE_SIZE) \ | 61 | if (size < PAGE_SIZE) \ |
62 | ptr = kmalloc((unsigned long) size, GFP_KERNEL); \ | 62 | ptr = kzalloc((unsigned long) size, GFP_KERNEL); \ |
63 | else \ | 63 | else \ |
64 | ptr = (cast)vmalloc((unsigned long) size); \ | 64 | ptr = (cast)vzalloc((unsigned long) size); \ |
65 | if (!ptr) \ | 65 | if (!ptr) \ |
66 | printk("kernel malloc returns 0 at %s:%d\n", __FILE__, __LINE__); \ | 66 | printk("kernel malloc returns 0 at %s:%d\n", __FILE__, __LINE__); \ |
67 | else memset( ptr, 0, size ); \ | ||
68 | } while (0) | 67 | } while (0) |
69 | 68 | ||
70 | 69 | ||
diff --git a/fs/configfs/inode.c b/fs/configfs/inode.c index c83f4768eeaa..ca418aaf6352 100644 --- a/fs/configfs/inode.c +++ b/fs/configfs/inode.c | |||
@@ -23,7 +23,8 @@ | |||
23 | * | 23 | * |
24 | * configfs Copyright (C) 2005 Oracle. All rights reserved. | 24 | * configfs Copyright (C) 2005 Oracle. All rights reserved. |
25 | * | 25 | * |
26 | * Please see Documentation/filesystems/configfs.txt for more information. | 26 | * Please see Documentation/filesystems/configfs/configfs.txt for more |
27 | * information. | ||
27 | */ | 28 | */ |
28 | 29 | ||
29 | #undef DEBUG | 30 | #undef DEBUG |
diff --git a/fs/configfs/item.c b/fs/configfs/item.c index 76dc4c3e5d51..50cee7f9110b 100644 --- a/fs/configfs/item.c +++ b/fs/configfs/item.c | |||
@@ -23,7 +23,7 @@ | |||
23 | * | 23 | * |
24 | * configfs Copyright (C) 2005 Oracle. All rights reserved. | 24 | * configfs Copyright (C) 2005 Oracle. All rights reserved. |
25 | * | 25 | * |
26 | * Please see the file Documentation/filesystems/configfs.txt for | 26 | * Please see the file Documentation/filesystems/configfs/configfs.txt for |
27 | * critical information about using the config_item interface. | 27 | * critical information about using the config_item interface. |
28 | */ | 28 | */ |
29 | 29 | ||
diff --git a/fs/eventpoll.c b/fs/eventpoll.c index fe047d966dc5..9026fc91fe3b 100644 --- a/fs/eventpoll.c +++ b/fs/eventpoll.c | |||
@@ -700,7 +700,7 @@ static const struct file_operations eventpoll_fops = { | |||
700 | .llseek = noop_llseek, | 700 | .llseek = noop_llseek, |
701 | }; | 701 | }; |
702 | 702 | ||
703 | /* Fast test to see if the file is an evenpoll file */ | 703 | /* Fast test to see if the file is an eventpoll file */ |
704 | static inline int is_file_epoll(struct file *f) | 704 | static inline int is_file_epoll(struct file *f) |
705 | { | 705 | { |
706 | return f->f_op == &eventpoll_fops; | 706 | return f->f_op == &eventpoll_fops; |
diff --git a/fs/locks.c b/fs/locks.c index 703f545097de..96b33989147d 100644 --- a/fs/locks.c +++ b/fs/locks.c | |||
@@ -60,7 +60,7 @@ | |||
60 | * | 60 | * |
61 | * Initial implementation of mandatory locks. SunOS turned out to be | 61 | * Initial implementation of mandatory locks. SunOS turned out to be |
62 | * a rotten model, so I implemented the "obvious" semantics. | 62 | * a rotten model, so I implemented the "obvious" semantics. |
63 | * See 'Documentation/mandatory.txt' for details. | 63 | * See 'Documentation/filesystems/mandatory-locking.txt' for details. |
64 | * Andy Walker (andy@lysaker.kvaerner.no), April 06, 1996. | 64 | * Andy Walker (andy@lysaker.kvaerner.no), April 06, 1996. |
65 | * | 65 | * |
66 | * Don't allow mandatory locks on mmap()'ed files. Added simple functions to | 66 | * Don't allow mandatory locks on mmap()'ed files. Added simple functions to |
diff --git a/fs/reiserfs/journal.c b/fs/reiserfs/journal.c index a159ba5a35e7..eb711060a6f2 100644 --- a/fs/reiserfs/journal.c +++ b/fs/reiserfs/journal.c | |||
@@ -291,14 +291,13 @@ int reiserfs_allocate_list_bitmaps(struct super_block *sb, | |||
291 | for (i = 0; i < JOURNAL_NUM_BITMAPS; i++) { | 291 | for (i = 0; i < JOURNAL_NUM_BITMAPS; i++) { |
292 | jb = jb_array + i; | 292 | jb = jb_array + i; |
293 | jb->journal_list = NULL; | 293 | jb->journal_list = NULL; |
294 | jb->bitmaps = vmalloc(mem); | 294 | jb->bitmaps = vzalloc(mem); |
295 | if (!jb->bitmaps) { | 295 | if (!jb->bitmaps) { |
296 | reiserfs_warning(sb, "clm-2000", "unable to " | 296 | reiserfs_warning(sb, "clm-2000", "unable to " |
297 | "allocate bitmaps for journal lists"); | 297 | "allocate bitmaps for journal lists"); |
298 | failed = 1; | 298 | failed = 1; |
299 | break; | 299 | break; |
300 | } | 300 | } |
301 | memset(jb->bitmaps, 0, mem); | ||
302 | } | 301 | } |
303 | if (failed) { | 302 | if (failed) { |
304 | free_list_bitmaps(sb, jb_array); | 303 | free_list_bitmaps(sb, jb_array); |
@@ -353,11 +352,10 @@ static struct reiserfs_journal_cnode *allocate_cnodes(int num_cnodes) | |||
353 | if (num_cnodes <= 0) { | 352 | if (num_cnodes <= 0) { |
354 | return NULL; | 353 | return NULL; |
355 | } | 354 | } |
356 | head = vmalloc(num_cnodes * sizeof(struct reiserfs_journal_cnode)); | 355 | head = vzalloc(num_cnodes * sizeof(struct reiserfs_journal_cnode)); |
357 | if (!head) { | 356 | if (!head) { |
358 | return NULL; | 357 | return NULL; |
359 | } | 358 | } |
360 | memset(head, 0, num_cnodes * sizeof(struct reiserfs_journal_cnode)); | ||
361 | head[0].prev = NULL; | 359 | head[0].prev = NULL; |
362 | head[0].next = head + 1; | 360 | head[0].next = head + 1; |
363 | for (i = 1; i < num_cnodes; i++) { | 361 | for (i = 1; i < num_cnodes; i++) { |
@@ -2685,14 +2683,13 @@ int journal_init(struct super_block *sb, const char *j_dev_name, | |||
2685 | * dependency inversion warnings. | 2683 | * dependency inversion warnings. |
2686 | */ | 2684 | */ |
2687 | reiserfs_write_unlock(sb); | 2685 | reiserfs_write_unlock(sb); |
2688 | journal = SB_JOURNAL(sb) = vmalloc(sizeof(struct reiserfs_journal)); | 2686 | journal = SB_JOURNAL(sb) = vzalloc(sizeof(struct reiserfs_journal)); |
2689 | if (!journal) { | 2687 | if (!journal) { |
2690 | reiserfs_warning(sb, "journal-1256", | 2688 | reiserfs_warning(sb, "journal-1256", |
2691 | "unable to get memory for journal structure"); | 2689 | "unable to get memory for journal structure"); |
2692 | reiserfs_write_lock(sb); | 2690 | reiserfs_write_lock(sb); |
2693 | return 1; | 2691 | return 1; |
2694 | } | 2692 | } |
2695 | memset(journal, 0, sizeof(struct reiserfs_journal)); | ||
2696 | INIT_LIST_HEAD(&journal->j_bitmap_nodes); | 2693 | INIT_LIST_HEAD(&journal->j_bitmap_nodes); |
2697 | INIT_LIST_HEAD(&journal->j_prealloc_list); | 2694 | INIT_LIST_HEAD(&journal->j_prealloc_list); |
2698 | INIT_LIST_HEAD(&journal->j_working_list); | 2695 | INIT_LIST_HEAD(&journal->j_working_list); |
diff --git a/fs/reiserfs/resize.c b/fs/reiserfs/resize.c index b6b9b1fe33b0..7483279b482d 100644 --- a/fs/reiserfs/resize.c +++ b/fs/reiserfs/resize.c | |||
@@ -111,15 +111,13 @@ int reiserfs_resize(struct super_block *s, unsigned long block_count_new) | |||
111 | /* allocate additional bitmap blocks, reallocate array of bitmap | 111 | /* allocate additional bitmap blocks, reallocate array of bitmap |
112 | * block pointers */ | 112 | * block pointers */ |
113 | bitmap = | 113 | bitmap = |
114 | vmalloc(sizeof(struct reiserfs_bitmap_info) * bmap_nr_new); | 114 | vzalloc(sizeof(struct reiserfs_bitmap_info) * bmap_nr_new); |
115 | if (!bitmap) { | 115 | if (!bitmap) { |
116 | /* Journal bitmaps are still supersized, but the memory isn't | 116 | /* Journal bitmaps are still supersized, but the memory isn't |
117 | * leaked, so I guess it's ok */ | 117 | * leaked, so I guess it's ok */ |
118 | printk("reiserfs_resize: unable to allocate memory.\n"); | 118 | printk("reiserfs_resize: unable to allocate memory.\n"); |
119 | return -ENOMEM; | 119 | return -ENOMEM; |
120 | } | 120 | } |
121 | memset(bitmap, 0, | ||
122 | sizeof(struct reiserfs_bitmap_info) * bmap_nr_new); | ||
123 | for (i = 0; i < bmap_nr; i++) | 121 | for (i = 0; i < bmap_nr; i++) |
124 | bitmap[i] = old_bitmap[i]; | 122 | bitmap[i] = old_bitmap[i]; |
125 | 123 | ||
diff --git a/fs/squashfs/Kconfig b/fs/squashfs/Kconfig index 1360d4f88f41..048b59d5b2f0 100644 --- a/fs/squashfs/Kconfig +++ b/fs/squashfs/Kconfig | |||
@@ -19,9 +19,9 @@ config SQUASHFS | |||
19 | 19 | ||
20 | If you want to compile this as a module ( = code which can be | 20 | If you want to compile this as a module ( = code which can be |
21 | inserted in and removed from the running kernel whenever you want), | 21 | inserted in and removed from the running kernel whenever you want), |
22 | say M here and read <file:Documentation/modules.txt>. The module | 22 | say M here. The module will be called squashfs. Note that the root |
23 | will be called squashfs. Note that the root file system (the one | 23 | file system (the one containing the directory /) cannot be compiled |
24 | containing the directory /) cannot be compiled as a module. | 24 | as a module. |
25 | 25 | ||
26 | If unsure, say N. | 26 | If unsure, say N. |
27 | 27 | ||
diff --git a/fs/xfs/kmem.h b/fs/xfs/kmem.h index f7c8f7a9ea6d..292eff198030 100644 --- a/fs/xfs/kmem.h +++ b/fs/xfs/kmem.h | |||
@@ -61,12 +61,7 @@ extern void kmem_free(const void *); | |||
61 | 61 | ||
62 | static inline void *kmem_zalloc_large(size_t size) | 62 | static inline void *kmem_zalloc_large(size_t size) |
63 | { | 63 | { |
64 | void *ptr; | 64 | return vzalloc(size); |
65 | |||
66 | ptr = vmalloc(size); | ||
67 | if (ptr) | ||
68 | memset(ptr, 0, size); | ||
69 | return ptr; | ||
70 | } | 65 | } |
71 | static inline void kmem_free_large(void *ptr) | 66 | static inline void kmem_free_large(void *ptr) |
72 | { | 67 | { |
diff --git a/include/linux/ceph/messenger.h b/include/linux/ceph/messenger.h index d7adf151d335..ca768ae729b4 100644 --- a/include/linux/ceph/messenger.h +++ b/include/linux/ceph/messenger.h | |||
@@ -6,7 +6,6 @@ | |||
6 | #include <linux/net.h> | 6 | #include <linux/net.h> |
7 | #include <linux/radix-tree.h> | 7 | #include <linux/radix-tree.h> |
8 | #include <linux/uio.h> | 8 | #include <linux/uio.h> |
9 | #include <linux/version.h> | ||
10 | #include <linux/workqueue.h> | 9 | #include <linux/workqueue.h> |
11 | 10 | ||
12 | #include "types.h" | 11 | #include "types.h" |
diff --git a/include/linux/drbd_tag_magic.h b/include/linux/drbd_tag_magic.h index 069543190516..81f52f2c5724 100644 --- a/include/linux/drbd_tag_magic.h +++ b/include/linux/drbd_tag_magic.h | |||
@@ -28,7 +28,7 @@ enum packet_types { | |||
28 | #define NL_STRING(pn, pr, member, len) \ | 28 | #define NL_STRING(pn, pr, member, len) \ |
29 | unsigned char member[len]; int member ## _len; \ | 29 | unsigned char member[len]; int member ## _len; \ |
30 | int tag_and_len ## member; | 30 | int tag_and_len ## member; |
31 | #include "linux/drbd_nl.h" | 31 | #include <linux/drbd_nl.h> |
32 | 32 | ||
33 | /* declare tag-list-sizes */ | 33 | /* declare tag-list-sizes */ |
34 | static const int tag_list_sizes[] = { | 34 | static const int tag_list_sizes[] = { |
diff --git a/include/linux/io-mapping.h b/include/linux/io-mapping.h index 8cdcc2a199ad..c81ed2ac16bd 100644 --- a/include/linux/io-mapping.h +++ b/include/linux/io-mapping.h | |||
@@ -27,7 +27,7 @@ | |||
27 | * The io_mapping mechanism provides an abstraction for mapping | 27 | * The io_mapping mechanism provides an abstraction for mapping |
28 | * individual pages from an io device to the CPU in an efficient fashion. | 28 | * individual pages from an io device to the CPU in an efficient fashion. |
29 | * | 29 | * |
30 | * See Documentation/io_mapping.txt | 30 | * See Documentation/io-mapping.txt |
31 | */ | 31 | */ |
32 | 32 | ||
33 | #ifdef CONFIG_HAVE_ATOMIC_IOMAP | 33 | #ifdef CONFIG_HAVE_ATOMIC_IOMAP |
diff --git a/include/linux/isdn.h b/include/linux/isdn.h index 44cd663c53b6..4ccf95d681b4 100644 --- a/include/linux/isdn.h +++ b/include/linux/isdn.h | |||
@@ -68,7 +68,7 @@ | |||
68 | #define ISDN_NET_ENCAP_SYNCPPP 4 | 68 | #define ISDN_NET_ENCAP_SYNCPPP 4 |
69 | #define ISDN_NET_ENCAP_UIHDLC 5 | 69 | #define ISDN_NET_ENCAP_UIHDLC 5 |
70 | #define ISDN_NET_ENCAP_CISCOHDLCK 6 /* With SLARP and keepalive */ | 70 | #define ISDN_NET_ENCAP_CISCOHDLCK 6 /* With SLARP and keepalive */ |
71 | #define ISDN_NET_ENCAP_X25IFACE 7 /* Documentation/networking/x25-iface.txt*/ | 71 | #define ISDN_NET_ENCAP_X25IFACE 7 /* Documentation/networking/x25-iface.txt */ |
72 | #define ISDN_NET_ENCAP_MAX_ENCAP ISDN_NET_ENCAP_X25IFACE | 72 | #define ISDN_NET_ENCAP_MAX_ENCAP ISDN_NET_ENCAP_X25IFACE |
73 | 73 | ||
74 | /* Facility which currently uses an ISDN-channel */ | 74 | /* Facility which currently uses an ISDN-channel */ |
diff --git a/include/linux/platform_data/ntc_thermistor.h b/include/linux/platform_data/ntc_thermistor.h index abd286215279..88734e871e3a 100644 --- a/include/linux/platform_data/ntc_thermistor.h +++ b/include/linux/platform_data/ntc_thermistor.h | |||
@@ -36,7 +36,7 @@ struct ntc_thermistor_platform_data { | |||
36 | * read_uV() | 36 | * read_uV() |
37 | * | 37 | * |
38 | * How to setup pullup_ohm, pulldown_ohm, and connect is | 38 | * How to setup pullup_ohm, pulldown_ohm, and connect is |
39 | * described at Documentation/hwmon/ntc | 39 | * described at Documentation/hwmon/ntc_thermistor |
40 | * | 40 | * |
41 | * pullup/down_ohm: 0 for infinite / not-connected | 41 | * pullup/down_ohm: 0 for infinite / not-connected |
42 | */ | 42 | */ |
diff --git a/include/media/pwc-ioctl.h b/include/media/pwc-ioctl.h index 0f19779c4634..1ed1e616fe33 100644 --- a/include/media/pwc-ioctl.h +++ b/include/media/pwc-ioctl.h | |||
@@ -53,7 +53,6 @@ | |||
53 | */ | 53 | */ |
54 | 54 | ||
55 | #include <linux/types.h> | 55 | #include <linux/types.h> |
56 | #include <linux/version.h> | ||
57 | 56 | ||
58 | /* Enumeration of image sizes */ | 57 | /* Enumeration of image sizes */ |
59 | #define PSZ_SQCIF 0x00 | 58 | #define PSZ_SQCIF 0x00 |
diff --git a/include/media/videobuf-dma-sg.h b/include/media/videobuf-dma-sg.h index 1c647e8148c4..d8fb6012c10d 100644 --- a/include/media/videobuf-dma-sg.h +++ b/include/media/videobuf-dma-sg.h | |||
@@ -34,7 +34,7 @@ | |||
34 | * does memory allocation too using vmalloc_32(). | 34 | * does memory allocation too using vmalloc_32(). |
35 | * | 35 | * |
36 | * videobuf_dma_*() | 36 | * videobuf_dma_*() |
37 | * see Documentation/PCI/PCI-DMA-mapping.txt, these functions to | 37 | * see Documentation/DMA-API-HOWTO.txt, these functions to |
38 | * basically the same. The map function does also build a | 38 | * basically the same. The map function does also build a |
39 | * scatterlist for the buffer (and unmap frees it ...) | 39 | * scatterlist for the buffer (and unmap frees it ...) |
40 | * | 40 | * |
diff --git a/include/target/configfs_macros.h b/include/target/configfs_macros.h index 7fe74608b437..a0fc85bbe2da 100644 --- a/include/target/configfs_macros.h +++ b/include/target/configfs_macros.h | |||
@@ -30,8 +30,8 @@ | |||
30 | * Added CONFIGFS_EATTR() macros from original configfs.h macros | 30 | * Added CONFIGFS_EATTR() macros from original configfs.h macros |
31 | * Copright (C) 2008-2009 Nicholas A. Bellinger <nab@linux-iscsi.org> | 31 | * Copright (C) 2008-2009 Nicholas A. Bellinger <nab@linux-iscsi.org> |
32 | * | 32 | * |
33 | * Please read Documentation/filesystems/configfs.txt before using the | 33 | * Please read Documentation/filesystems/configfs/configfs.txt before using |
34 | * configfs interface, ESPECIALLY the parts about reference counts and | 34 | * the configfs interface, ESPECIALLY the parts about reference counts and |
35 | * item destructors. | 35 | * item destructors. |
36 | */ | 36 | */ |
37 | 37 | ||
diff --git a/kernel/async.c b/kernel/async.c index d5fe7af0de2e..4c2843c0043e 100644 --- a/kernel/async.c +++ b/kernel/async.c | |||
@@ -120,7 +120,7 @@ static void async_run_entry_fn(struct work_struct *work) | |||
120 | struct async_entry *entry = | 120 | struct async_entry *entry = |
121 | container_of(work, struct async_entry, work); | 121 | container_of(work, struct async_entry, work); |
122 | unsigned long flags; | 122 | unsigned long flags; |
123 | ktime_t calltime, delta, rettime; | 123 | ktime_t uninitialized_var(calltime), delta, rettime; |
124 | 124 | ||
125 | /* 1) move self to the running queue */ | 125 | /* 1) move self to the running queue */ |
126 | spin_lock_irqsave(&async_lock, flags); | 126 | spin_lock_irqsave(&async_lock, flags); |
@@ -269,7 +269,7 @@ EXPORT_SYMBOL_GPL(async_synchronize_full_domain); | |||
269 | void async_synchronize_cookie_domain(async_cookie_t cookie, | 269 | void async_synchronize_cookie_domain(async_cookie_t cookie, |
270 | struct list_head *running) | 270 | struct list_head *running) |
271 | { | 271 | { |
272 | ktime_t starttime, delta, endtime; | 272 | ktime_t uninitialized_var(starttime), delta, endtime; |
273 | 273 | ||
274 | if (initcall_debug && system_state == SYSTEM_BOOTING) { | 274 | if (initcall_debug && system_state == SYSTEM_BOOTING) { |
275 | printk(KERN_DEBUG "async_waiting @ %i\n", task_pid_nr(current)); | 275 | printk(KERN_DEBUG "async_waiting @ %i\n", task_pid_nr(current)); |
diff --git a/kernel/futex.c b/kernel/futex.c index 11cbe052b2e8..1511dff0cfd6 100644 --- a/kernel/futex.c +++ b/kernel/futex.c | |||
@@ -854,7 +854,7 @@ static int wake_futex_pi(u32 __user *uaddr, u32 uval, struct futex_q *this) | |||
854 | { | 854 | { |
855 | struct task_struct *new_owner; | 855 | struct task_struct *new_owner; |
856 | struct futex_pi_state *pi_state = this->pi_state; | 856 | struct futex_pi_state *pi_state = this->pi_state; |
857 | u32 curval, newval; | 857 | u32 uninitialized_var(curval), newval; |
858 | 858 | ||
859 | if (!pi_state) | 859 | if (!pi_state) |
860 | return -EINVAL; | 860 | return -EINVAL; |
@@ -916,7 +916,7 @@ static int wake_futex_pi(u32 __user *uaddr, u32 uval, struct futex_q *this) | |||
916 | 916 | ||
917 | static int unlock_futex_pi(u32 __user *uaddr, u32 uval) | 917 | static int unlock_futex_pi(u32 __user *uaddr, u32 uval) |
918 | { | 918 | { |
919 | u32 oldval; | 919 | u32 uninitialized_var(oldval); |
920 | 920 | ||
921 | /* | 921 | /* |
922 | * There is no waiter, so we unlock the futex. The owner died | 922 | * There is no waiter, so we unlock the futex. The owner died |
@@ -1576,7 +1576,7 @@ static int fixup_pi_state_owner(u32 __user *uaddr, struct futex_q *q, | |||
1576 | u32 newtid = task_pid_vnr(newowner) | FUTEX_WAITERS; | 1576 | u32 newtid = task_pid_vnr(newowner) | FUTEX_WAITERS; |
1577 | struct futex_pi_state *pi_state = q->pi_state; | 1577 | struct futex_pi_state *pi_state = q->pi_state; |
1578 | struct task_struct *oldowner = pi_state->owner; | 1578 | struct task_struct *oldowner = pi_state->owner; |
1579 | u32 uval, curval, newval; | 1579 | u32 uval, uninitialized_var(curval), newval; |
1580 | int ret; | 1580 | int ret; |
1581 | 1581 | ||
1582 | /* Owner died? */ | 1582 | /* Owner died? */ |
@@ -1793,7 +1793,7 @@ static void futex_wait_queue_me(struct futex_hash_bucket *hb, struct futex_q *q, | |||
1793 | * | 1793 | * |
1794 | * Returns: | 1794 | * Returns: |
1795 | * 0 - uaddr contains val and hb has been locked | 1795 | * 0 - uaddr contains val and hb has been locked |
1796 | * <1 - -EFAULT or -EWOULDBLOCK (uaddr does not contain val) and hb is unlcoked | 1796 | * <1 - -EFAULT or -EWOULDBLOCK (uaddr does not contain val) and hb is unlocked |
1797 | */ | 1797 | */ |
1798 | static int futex_wait_setup(u32 __user *uaddr, u32 val, unsigned int flags, | 1798 | static int futex_wait_setup(u32 __user *uaddr, u32 val, unsigned int flags, |
1799 | struct futex_q *q, struct futex_hash_bucket **hb) | 1799 | struct futex_q *q, struct futex_hash_bucket **hb) |
@@ -2481,7 +2481,7 @@ err_unlock: | |||
2481 | */ | 2481 | */ |
2482 | int handle_futex_death(u32 __user *uaddr, struct task_struct *curr, int pi) | 2482 | int handle_futex_death(u32 __user *uaddr, struct task_struct *curr, int pi) |
2483 | { | 2483 | { |
2484 | u32 uval, nval, mval; | 2484 | u32 uval, uninitialized_var(nval), mval; |
2485 | 2485 | ||
2486 | retry: | 2486 | retry: |
2487 | if (get_user(uval, uaddr)) | 2487 | if (get_user(uval, uaddr)) |
diff --git a/kernel/sched.c b/kernel/sched.c index b50b0f0c9aa9..8aa00803c1ec 100644 --- a/kernel/sched.c +++ b/kernel/sched.c | |||
@@ -1739,7 +1739,7 @@ static inline void __set_task_cpu(struct task_struct *p, unsigned int cpu) | |||
1739 | #ifdef CONFIG_SMP | 1739 | #ifdef CONFIG_SMP |
1740 | /* | 1740 | /* |
1741 | * After ->cpu is set up to a new value, task_rq_lock(p, ...) can be | 1741 | * After ->cpu is set up to a new value, task_rq_lock(p, ...) can be |
1742 | * successfuly executed on another CPU. We must ensure that updates of | 1742 | * successfully executed on another CPU. We must ensure that updates of |
1743 | * per-task data have been completed by this moment. | 1743 | * per-task data have been completed by this moment. |
1744 | */ | 1744 | */ |
1745 | smp_wmb(); | 1745 | smp_wmb(); |
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 103c171ce605..75330bd87565 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug | |||
@@ -117,31 +117,31 @@ config DEBUG_SECTION_MISMATCH | |||
117 | help | 117 | help |
118 | The section mismatch analysis checks if there are illegal | 118 | The section mismatch analysis checks if there are illegal |
119 | references from one section to another section. | 119 | references from one section to another section. |
120 | Linux will during link or during runtime drop some sections | 120 | During linktime or runtime, some sections are dropped; |
121 | and any use of code/data previously in these sections will | 121 | any use of code/data previously in these sections would |
122 | most likely result in an oops. | 122 | most likely result in an oops. |
123 | In the code functions and variables are annotated with | 123 | In the code, functions and variables are annotated with |
124 | __init, __devinit etc. (see full list in include/linux/init.h) | 124 | __init, __devinit, etc. (see the full list in include/linux/init.h), |
125 | which results in the code/data being placed in specific sections. | 125 | which results in the code/data being placed in specific sections. |
126 | The section mismatch analysis is always done after a full | 126 | The section mismatch analysis is always performed after a full |
127 | kernel build but enabling this option will in addition | 127 | kernel build, and enabling this option causes the following |
128 | do the following: | 128 | additional steps to occur: |
129 | - Add the option -fno-inline-functions-called-once to gcc | 129 | - Add the option -fno-inline-functions-called-once to gcc commands. |
130 | When inlining a function annotated __init in a non-init | 130 | When inlining a function annotated with __init in a non-init |
131 | function we would lose the section information and thus | 131 | function, we would lose the section information and thus |
132 | the analysis would not catch the illegal reference. | 132 | the analysis would not catch the illegal reference. |
133 | This option tells gcc to inline less but will also | 133 | This option tells gcc to inline less (but it does result in |
134 | result in a larger kernel. | 134 | a larger kernel). |
135 | - Run the section mismatch analysis for each module/built-in.o | 135 | - Run the section mismatch analysis for each module/built-in.o file. |
136 | When we run the section mismatch analysis on vmlinux.o we | 136 | When we run the section mismatch analysis on vmlinux.o, we |
137 | lose valueble information about where the mismatch was | 137 | lose valueble information about where the mismatch was |
138 | introduced. | 138 | introduced. |
139 | Running the analysis for each module/built-in.o file | 139 | Running the analysis for each module/built-in.o file |
140 | will tell where the mismatch happens much closer to the | 140 | tells where the mismatch happens much closer to the |
141 | source. The drawback is that we will report the same | 141 | source. The drawback is that the same mismatch is |
142 | mismatch at least twice. | 142 | reported at least twice. |
143 | - Enable verbose reporting from modpost to help solving | 143 | - Enable verbose reporting from modpost in order to help resolve |
144 | the section mismatches reported. | 144 | the section mismatches that are reported. |
145 | 145 | ||
146 | config DEBUG_KERNEL | 146 | config DEBUG_KERNEL |
147 | bool "Kernel debugging" | 147 | bool "Kernel debugging" |
@@ -835,7 +835,7 @@ config DEBUG_CREDENTIALS | |||
835 | 835 | ||
836 | # | 836 | # |
837 | # Select this config option from the architecture Kconfig, if it | 837 | # Select this config option from the architecture Kconfig, if it |
838 | # it is preferred to always offer frame pointers as a config | 838 | # is preferred to always offer frame pointers as a config |
839 | # option on the architecture (regardless of KERNEL_DEBUG): | 839 | # option on the architecture (regardless of KERNEL_DEBUG): |
840 | # | 840 | # |
841 | config ARCH_WANT_FRAME_POINTERS | 841 | config ARCH_WANT_FRAME_POINTERS |
diff --git a/lib/dynamic_debug.c b/lib/dynamic_debug.c index 75ca78f3a8c9..79fc20b65e74 100644 --- a/lib/dynamic_debug.c +++ b/lib/dynamic_debug.c | |||
@@ -14,7 +14,6 @@ | |||
14 | #include <linux/module.h> | 14 | #include <linux/module.h> |
15 | #include <linux/moduleparam.h> | 15 | #include <linux/moduleparam.h> |
16 | #include <linux/kallsyms.h> | 16 | #include <linux/kallsyms.h> |
17 | #include <linux/version.h> | ||
18 | #include <linux/types.h> | 17 | #include <linux/types.h> |
19 | #include <linux/mutex.h> | 18 | #include <linux/mutex.h> |
20 | #include <linux/proc_fs.h> | 19 | #include <linux/proc_fs.h> |
@@ -860,7 +860,7 @@ EXPORT_SYMBOL(ida_get_new_above); | |||
860 | * and go back to the idr_pre_get() call. If the idr is full, it will | 860 | * and go back to the idr_pre_get() call. If the idr is full, it will |
861 | * return %-ENOSPC. | 861 | * return %-ENOSPC. |
862 | * | 862 | * |
863 | * @id returns a value in the range %0 ... %0x7fffffff. | 863 | * @p_id returns a value in the range %0 ... %0x7fffffff. |
864 | */ | 864 | */ |
865 | int ida_get_new(struct ida *ida, int *p_id) | 865 | int ida_get_new(struct ida *ida, int *p_id) |
866 | { | 866 | { |
diff --git a/mm/page_cgroup.c b/mm/page_cgroup.c index 39d216d535ea..6bdc67dbbc28 100644 --- a/mm/page_cgroup.c +++ b/mm/page_cgroup.c | |||
@@ -513,11 +513,10 @@ int swap_cgroup_swapon(int type, unsigned long max_pages) | |||
513 | length = DIV_ROUND_UP(max_pages, SC_PER_PAGE); | 513 | length = DIV_ROUND_UP(max_pages, SC_PER_PAGE); |
514 | array_size = length * sizeof(void *); | 514 | array_size = length * sizeof(void *); |
515 | 515 | ||
516 | array = vmalloc(array_size); | 516 | array = vzalloc(array_size); |
517 | if (!array) | 517 | if (!array) |
518 | goto nomem; | 518 | goto nomem; |
519 | 519 | ||
520 | memset(array, 0, array_size); | ||
521 | ctrl = &swap_cgroup_ctrl[type]; | 520 | ctrl = &swap_cgroup_ctrl[type]; |
522 | mutex_lock(&swap_cgroup_mutex); | 521 | mutex_lock(&swap_cgroup_mutex); |
523 | ctrl->length = length; | 522 | ctrl->length = length; |
diff --git a/mm/vmscan.c b/mm/vmscan.c index b55699cd9067..9fdfce7ba403 100644 --- a/mm/vmscan.c +++ b/mm/vmscan.c | |||
@@ -1416,7 +1416,7 @@ static inline bool should_reclaim_stall(unsigned long nr_taken, | |||
1416 | if (sc->reclaim_mode & RECLAIM_MODE_SINGLE) | 1416 | if (sc->reclaim_mode & RECLAIM_MODE_SINGLE) |
1417 | return false; | 1417 | return false; |
1418 | 1418 | ||
1419 | /* If we have relaimed everything on the isolated list, no stall */ | 1419 | /* If we have reclaimed everything on the isolated list, no stall */ |
1420 | if (nr_freed == nr_taken) | 1420 | if (nr_freed == nr_taken) |
1421 | return false; | 1421 | return false; |
1422 | 1422 | ||
diff --git a/net/netfilter/Kconfig b/net/netfilter/Kconfig index 32bff6d86cb2..8260b13d93c9 100644 --- a/net/netfilter/Kconfig +++ b/net/netfilter/Kconfig | |||
@@ -505,7 +505,7 @@ config NETFILTER_XT_TARGET_LED | |||
505 | echo netfilter-ssh > /sys/class/leds/<ledname>/trigger | 505 | echo netfilter-ssh > /sys/class/leds/<ledname>/trigger |
506 | 506 | ||
507 | For more information on the LEDs available on your system, see | 507 | For more information on the LEDs available on your system, see |
508 | Documentation/leds-class.txt | 508 | Documentation/leds/leds-class.txt |
509 | 509 | ||
510 | config NETFILTER_XT_TARGET_MARK | 510 | config NETFILTER_XT_TARGET_MARK |
511 | tristate '"MARK" target support' | 511 | tristate '"MARK" target support' |
diff --git a/net/netfilter/x_tables.c b/net/netfilter/x_tables.c index b0869fe3633b..71441b934ffd 100644 --- a/net/netfilter/x_tables.c +++ b/net/netfilter/x_tables.c | |||
@@ -776,12 +776,11 @@ static int xt_jumpstack_alloc(struct xt_table_info *i) | |||
776 | 776 | ||
777 | size = sizeof(void **) * nr_cpu_ids; | 777 | size = sizeof(void **) * nr_cpu_ids; |
778 | if (size > PAGE_SIZE) | 778 | if (size > PAGE_SIZE) |
779 | i->jumpstack = vmalloc(size); | 779 | i->jumpstack = vzalloc(size); |
780 | else | 780 | else |
781 | i->jumpstack = kmalloc(size, GFP_KERNEL); | 781 | i->jumpstack = kzalloc(size, GFP_KERNEL); |
782 | if (i->jumpstack == NULL) | 782 | if (i->jumpstack == NULL) |
783 | return -ENOMEM; | 783 | return -ENOMEM; |
784 | memset(i->jumpstack, 0, size); | ||
785 | 784 | ||
786 | i->stacksize *= xt_jumpstack_multiplier; | 785 | i->stacksize *= xt_jumpstack_multiplier; |
787 | size = sizeof(void *) * i->stacksize; | 786 | size = sizeof(void *) * i->stacksize; |
diff --git a/net/rds/ib_cm.c b/net/rds/ib_cm.c index cd67026be2d5..51c868923f64 100644 --- a/net/rds/ib_cm.c +++ b/net/rds/ib_cm.c | |||
@@ -375,23 +375,21 @@ static int rds_ib_setup_qp(struct rds_connection *conn) | |||
375 | goto out; | 375 | goto out; |
376 | } | 376 | } |
377 | 377 | ||
378 | ic->i_sends = vmalloc_node(ic->i_send_ring.w_nr * sizeof(struct rds_ib_send_work), | 378 | ic->i_sends = vzalloc_node(ic->i_send_ring.w_nr * sizeof(struct rds_ib_send_work), |
379 | ibdev_to_node(dev)); | 379 | ibdev_to_node(dev)); |
380 | if (!ic->i_sends) { | 380 | if (!ic->i_sends) { |
381 | ret = -ENOMEM; | 381 | ret = -ENOMEM; |
382 | rdsdebug("send allocation failed\n"); | 382 | rdsdebug("send allocation failed\n"); |
383 | goto out; | 383 | goto out; |
384 | } | 384 | } |
385 | memset(ic->i_sends, 0, ic->i_send_ring.w_nr * sizeof(struct rds_ib_send_work)); | ||
386 | 385 | ||
387 | ic->i_recvs = vmalloc_node(ic->i_recv_ring.w_nr * sizeof(struct rds_ib_recv_work), | 386 | ic->i_recvs = vzalloc_node(ic->i_recv_ring.w_nr * sizeof(struct rds_ib_recv_work), |
388 | ibdev_to_node(dev)); | 387 | ibdev_to_node(dev)); |
389 | if (!ic->i_recvs) { | 388 | if (!ic->i_recvs) { |
390 | ret = -ENOMEM; | 389 | ret = -ENOMEM; |
391 | rdsdebug("recv allocation failed\n"); | 390 | rdsdebug("recv allocation failed\n"); |
392 | goto out; | 391 | goto out; |
393 | } | 392 | } |
394 | memset(ic->i_recvs, 0, ic->i_recv_ring.w_nr * sizeof(struct rds_ib_recv_work)); | ||
395 | 393 | ||
396 | rds_ib_recv_init_ack(ic); | 394 | rds_ib_recv_init_ack(ic); |
397 | 395 | ||
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 3dfc47134e51..0b3e35c9ef08 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl | |||
@@ -2932,11 +2932,11 @@ sub process { | |||
2932 | } | 2932 | } |
2933 | } | 2933 | } |
2934 | if ($level == 0 && $block =~ /^\s*\{/ && !$allowed) { | 2934 | if ($level == 0 && $block =~ /^\s*\{/ && !$allowed) { |
2935 | my $herectx = $here . "\n";; | 2935 | my $herectx = $here . "\n"; |
2936 | my $cnt = statement_rawlines($block); | 2936 | my $cnt = statement_rawlines($block); |
2937 | 2937 | ||
2938 | for (my $n = 0; $n < $cnt; $n++) { | 2938 | for (my $n = 0; $n < $cnt; $n++) { |
2939 | $herectx .= raw_line($linenr, $n) . "\n";; | 2939 | $herectx .= raw_line($linenr, $n) . "\n"; |
2940 | } | 2940 | } |
2941 | 2941 | ||
2942 | WARN("BRACES", | 2942 | WARN("BRACES", |
diff --git a/sound/core/memalloc.c b/sound/core/memalloc.c index 16bd9c03679b..691569238435 100644 --- a/sound/core/memalloc.c +++ b/sound/core/memalloc.c | |||
@@ -176,7 +176,7 @@ static void snd_free_dev_pages(struct device *dev, size_t size, void *ptr, | |||
176 | * Calls the memory-allocator function for the corresponding | 176 | * Calls the memory-allocator function for the corresponding |
177 | * buffer type. | 177 | * buffer type. |
178 | * | 178 | * |
179 | * Returns zero if the buffer with the given size is allocated successfuly, | 179 | * Returns zero if the buffer with the given size is allocated successfully, |
180 | * other a negative value at error. | 180 | * other a negative value at error. |
181 | */ | 181 | */ |
182 | int snd_dma_alloc_pages(int type, struct device *device, size_t size, | 182 | int snd_dma_alloc_pages(int type, struct device *device, size_t size, |
@@ -230,7 +230,7 @@ int snd_dma_alloc_pages(int type, struct device *device, size_t size, | |||
230 | * tries to allocate again. The size actually allocated is stored in | 230 | * tries to allocate again. The size actually allocated is stored in |
231 | * res_size argument. | 231 | * res_size argument. |
232 | * | 232 | * |
233 | * Returns zero if the buffer with the given size is allocated successfuly, | 233 | * Returns zero if the buffer with the given size is allocated successfully, |
234 | * other a negative value at error. | 234 | * other a negative value at error. |
235 | */ | 235 | */ |
236 | int snd_dma_alloc_pages_fallback(int type, struct device *device, size_t size, | 236 | int snd_dma_alloc_pages_fallback(int type, struct device *device, size_t size, |
diff --git a/sound/oss/Kconfig b/sound/oss/Kconfig index 6c93e051f9ae..6c9e8e8f45f8 100644 --- a/sound/oss/Kconfig +++ b/sound/oss/Kconfig | |||
@@ -432,9 +432,7 @@ config SOUND_SB | |||
432 | ALS-007 and ALS-1X0 chips (read <file:Documentation/sound/oss/ALS>) and | 432 | ALS-007 and ALS-1X0 chips (read <file:Documentation/sound/oss/ALS>) and |
433 | for cards based on ESS chips (read | 433 | for cards based on ESS chips (read |
434 | <file:Documentation/sound/oss/ESS1868> and | 434 | <file:Documentation/sound/oss/ESS1868> and |
435 | <file:Documentation/sound/oss/ESS>). If you have an SB AWE 32 or SB AWE | 435 | <file:Documentation/sound/oss/ESS>). If you have an IBM Mwave |
436 | 64, say Y here and also to "AWE32 synth" below and read | ||
437 | <file:Documentation/sound/oss/INSTALL.awe>. If you have an IBM Mwave | ||
438 | card, say Y here and read <file:Documentation/sound/oss/mwave>. | 436 | card, say Y here and read <file:Documentation/sound/oss/mwave>. |
439 | 437 | ||
440 | If you compile the driver into the kernel and don't want to use | 438 | If you compile the driver into the kernel and don't want to use |
diff --git a/sound/soc/davinci/Kconfig b/sound/soc/davinci/Kconfig index 6bbf001f6591..9e11a14d1b45 100644 --- a/sound/soc/davinci/Kconfig +++ b/sound/soc/davinci/Kconfig | |||
@@ -29,7 +29,6 @@ choice | |||
29 | prompt "DM365 codec select" | 29 | prompt "DM365 codec select" |
30 | depends on SND_DAVINCI_SOC_EVM | 30 | depends on SND_DAVINCI_SOC_EVM |
31 | depends on MACH_DAVINCI_DM365_EVM | 31 | depends on MACH_DAVINCI_DM365_EVM |
32 | default SND_DM365_EXTERNAL_CODEC | ||
33 | 32 | ||
34 | config SND_DM365_AIC3X_CODEC | 33 | config SND_DM365_AIC3X_CODEC |
35 | bool "Audio Codec - AIC3101" | 34 | bool "Audio Codec - AIC3101" |
diff --git a/tools/perf/util/config.c b/tools/perf/util/config.c index fe02903f7d0f..80d9598db31a 100644 --- a/tools/perf/util/config.c +++ b/tools/perf/util/config.c | |||
@@ -341,7 +341,7 @@ const char *perf_config_dirname(const char *name, const char *value) | |||
341 | 341 | ||
342 | static int perf_default_core_config(const char *var __used, const char *value __used) | 342 | static int perf_default_core_config(const char *var __used, const char *value __used) |
343 | { | 343 | { |
344 | /* Add other config variables here and to Documentation/config.txt. */ | 344 | /* Add other config variables here. */ |
345 | return 0; | 345 | return 0; |
346 | } | 346 | } |
347 | 347 | ||
@@ -350,7 +350,7 @@ int perf_default_config(const char *var, const char *value, void *dummy __used) | |||
350 | if (!prefixcmp(var, "core.")) | 350 | if (!prefixcmp(var, "core.")) |
351 | return perf_default_core_config(var, value); | 351 | return perf_default_core_config(var, value); |
352 | 352 | ||
353 | /* Add other config variables here and to Documentation/config.txt. */ | 353 | /* Add other config variables here. */ |
354 | return 0; | 354 | return 0; |
355 | } | 355 | } |
356 | 356 | ||