Pull trivial tree from Jiri Kosina: "It's indeed trivial -- mostly documentation updates and a bunch of typo fixes from Masanari. There are also several linux/version.h include removals from Jesper." * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (101 commits) kcore: fix spelling in read_kcore() comment constify struct pci_dev * in obvious cases Revert "char: Fix typo in viotape.c" init: fix wording error in mm_init comment usb: gadget: Kconfig: fix typo for 'different' Revert "power, max8998: Include linux/module.h just once in drivers/power/max8998_charger.c" writeback: fix fn name in writeback_inodes_sb_nr_if_idle() comment header writeback: fix typo in the writeback_control comment Documentation: Fix multiple typo in Documentation tpm_tis: fix tis_lock with respect to RCU Revert "media: Fix typo in mixer_drv.c and hdmi_drv.c" Doc: Update numastat.txt qla4xxx: Add missing spaces to error messages compiler.h: Fix typo security: struct security_operations kerneldoc fix Documentation: broken URL in libata.tmpl Documentation: broken URL in filesystems.tmpl mtd: simplify return logic in do_map_probe() mm: fix comment typo of truncate_inode_pages_range power: bq27x00: Fix typos in comment ...
Unified · Split
| @@ -7,8 +7,8 @@ Please try and keep the descriptions small enough to fit on one line. · 6 unmodified lines | ||
| 7 | 7 | |
| 8 | 8 | Following translations are available on the WWW: |
| 9 | 9 | |
| 10 | − - Japanese, maintained by the JF Project (JF@linux.or.jp), at | |
| 11 | − http://www.linux.or.jp/JF/ | |
| 10 | + - Japanese, maintained by the JF Project (jf@listserv.linux.or.jp), at | |
| 11 | + http://linuxjf.sourceforge.jp/ | |
| 12 | 12 | |
| 13 | 13 | 00-INDEX |
| 14 | 14 | - this file. |
| @@ -7,7 +7,7 @@ Date: 09-Jul-2007 · 6 unmodified lines | ||
| 7 | 7 | KernelVersion v2.6.22 |
| 8 | 8 | Contact: linux-wireless@vger.kernel.org |
| 9 | 9 | Description: Current state of the transmitter. |
| 10 | − This file is deprecated and sheduled to be removed in 2014, | |
| 10 | + This file is deprecated and scheduled to be removed in 2014, | |
| 11 | 11 | because its not possible to express the 'soft and hard block' |
| 12 | 12 | state of the rfkill driver. |
| 13 | 13 | Values: A numeric value. |
| @@ -6,7 +6,7 @@ Description: · 5 unmodified lines | ||
| 6 | 6 | The name of the module that is in the kernel. This |
| 7 | 7 | module name will show up either if the module is built |
| 8 | 8 | directly into the kernel, or if it is loaded as a |
| 9 | − dyanmic module. | |
| 9 | + dynamic module. | |
| 10 | 10 | |
| 11 | 11 | /sys/module/MODULENAME/parameters |
| 12 | 12 | This directory contains individual files that are each |
| @@ -387,7 +387,7 @@ an example. · 386 unmodified lines | ||
| 387 | 387 | <title>See also</title> |
| 388 | 388 | <para> |
| 389 | 389 | <citation> |
| 390 | − <ulink url="ftp://ftp.uk.linux.org/pub/linux/sct/fs/jfs/journal-design.ps.gz"> | |
| 390 | + <ulink url="http://kernel.org/pub/linux/kernel/people/sct/ext3/journal-design.ps.gz"> | |
| 391 | 391 | Journaling the Linux ext2fs Filesystem, LinuxExpo 98, Stephen Tweedie |
| 392 | 392 | </ulink> |
| 393 | 393 | </citation> |
| @@ -22,8 +22,8 @@ · 21 unmodified lines | ||
| 22 | 22 | <para> |
| 23 | 23 | The contents of this file are subject to the Open |
| 24 | 24 | Software License version 1.1 that can be found at |
| 25 | − <ulink url="http://www.opensource.org/licenses/osl-1.1.txt">http://www.opensource.org/licenses/osl-1.1.txt</ulink> and is included herein | |
| 26 | − by reference. | |
| 25 | + <ulink url="http://fedoraproject.org/wiki/Licensing:OSL1.1">http://fedoraproject.org/wiki/Licensing:OSL1.1</ulink> | |
| 26 | + and is included herein by reference. | |
| 27 | 27 | </para> |
| 28 | 28 | |
| 29 | 29 | <para> |
| @@ -945,7 +945,7 @@ and other resources, etc. · 915 unmodified lines | ||
| 945 | 945 | |
| 946 | 946 | <listitem> |
| 947 | 947 | <para> |
| 948 | − !BSY && ERR after CDB tranfer starts but before the | |
| 948 | + !BSY && ERR after CDB transfer starts but before the | |
| 949 | 949 | last byte of CDB is transferred. ATA/ATAPI standard states |
| 950 | 950 | that "The device shall not terminate the PACKET command |
| 951 | 951 | with an error before the last byte of the command packet has |
| @@ -1050,7 +1050,7 @@ and other resources, etc. · 98 unmodified lines | ||
| 1050 | 1050 | to complete a command. Combined with the fact that MWDMA |
| 1051 | 1051 | and PIO transfer errors aren't allowed to use ICRC bit up to |
| 1052 | 1052 | ATA/ATAPI-7, it seems to imply that ABRT bit alone could |
| 1053 | − indicate tranfer errors. | |
| 1053 | + indicate transfer errors. | |
| 1054 | 1054 | </para> |
| 1055 | 1055 | <para> |
| 1056 | 1056 | However, ATA/ATAPI-8 draft revision 1f removes the part |
| @@ -444,7 +444,7 @@ linkend="pixfmt-rgb"><constant>V4L2_PIX_FMT_BGR24</constant></link></para></entr · 443 unmodified lines | ||
| 444 | 444 | <entry><para><link |
| 445 | 445 | linkend="pixfmt-rgb"><constant>V4L2_PIX_FMT_BGR32</constant></link><footnote> |
| 446 | 446 | <para>Presumably all V4L RGB formats are |
| 447 | −little-endian, although some drivers might interpret them according to machine endianess. V4L2 defines little-endian, big-endian and red/blue | |
| 447 | +little-endian, although some drivers might interpret them according to machine endianness. V4L2 defines little-endian, big-endian and red/blue | |
| 448 | 448 | swapped variants. For details see <xref linkend="pixfmt-rgb" />.</para> |
| 449 | 449 | </footnote></para></entry> |
| 450 | 450 | </row> |
| @@ -823,7 +823,7 @@ standard); 35468950 Hz PAL and SECAM (625-line standards)</entry> · 372 unmodified lines | ||
| 823 | 823 | <row> |
| 824 | 824 | <entry>sample_format</entry> |
| 825 | 825 | <entry>V4L2_PIX_FMT_GREY. The last four bytes (a |
| 826 | −machine endianess integer) contain a frame counter.</entry> | |
| 826 | +machine endianness integer) contain a frame counter.</entry> | |
| 827 | 827 | </row> |
| 828 | 828 | <row> |
| 829 | 829 | <entry>start[]</entry> |
| @@ -25,7 +25,7 @@ inline (either in the code emitted directly by the compiler, or part of · 24 unmodified lines | ||
| 25 | 25 | the implementation of a library call) when optimizing for a recent enough |
| 26 | 26 | processor that has the necessary native support, but only if resulting |
| 27 | 27 | binaries are already to be incompatible with earlier ARM processors due to |
| 28 | −useage of similar native instructions for other things. In other words | |
| 28 | +usage of similar native instructions for other things. In other words | |
| 29 | 29 | don't make binaries unable to run on earlier processors just for the sake |
| 30 | 30 | of not using these kernel helpers if your compiled code is not going to |
| 31 | 31 | use new instructions for other purpose. |
| @@ -94,11 +94,11 @@ Throttling/Upper Limit policy · 93 unmodified lines | ||
| 94 | 94 | |
| 95 | 95 | Hierarchical Cgroups |
| 96 | 96 | ==================== |
| 97 | −- Currently none of the IO control policy supports hierarhical groups. But | |
| 98 | − cgroup interface does allow creation of hierarhical cgroups and internally | |
| 97 | +- Currently none of the IO control policy supports hierarchical groups. But | |
| 98 | + cgroup interface does allow creation of hierarchical cgroups and internally | |
| 99 | 99 | IO policies treat them as flat hierarchy. |
| 100 | 100 | |
| 101 | − So this patch will allow creation of cgroup hierarhcy but at the backend | |
| 101 | + So this patch will allow creation of cgroup hierarchcy but at the backend | |
| 102 | 102 | everything will be treated as flat. So if somebody created a hierarchy like |
| 103 | 103 | as follows. |
| 104 | 104 | |
| @@ -266,7 +266,7 @@ Proportional weight policy files · 161 unmodified lines | ||
| 266 | 266 | - blkio.idle_time |
| 267 | 267 | - Debugging aid only enabled if CONFIG_DEBUG_BLK_CGROUP=y. |
| 268 | 268 | This is the amount of time spent by the IO scheduler idling for a |
| 269 | − given cgroup in anticipation of a better request than the exising ones | |
| 269 | + given cgroup in anticipation of a better request than the existing ones | |
| 270 | 270 | from other queues/cgroups. This is in nanoseconds. If this is read |
| 271 | 271 | when the cgroup is in an idling state, the stat will only report the |
| 272 | 272 | idle_time accumulated till the last idle period and will not include |
| @@ -283,34 +283,34 @@ Throttling/Upper limit policy files · 10 unmodified lines | ||
| 283 | 283 | ----------------------------------- |
| 284 | 284 | - blkio.throttle.read_bps_device |
| 285 | 285 | - Specifies upper limit on READ rate from the device. IO rate is |
| 286 | − specified in bytes per second. Rules are per deivce. Following is | |
| 286 | + specified in bytes per second. Rules are per device. Following is | |
| 287 | 287 | the format. |
| 288 | 288 | |
| 289 | 289 | echo "<major>:<minor> <rate_bytes_per_second>" > /cgrp/blkio.throttle.read_bps_device |
| 290 | 290 | |
| 291 | 291 | - blkio.throttle.write_bps_device |
| 292 | 292 | - Specifies upper limit on WRITE rate to the device. IO rate is |
| 293 | − specified in bytes per second. Rules are per deivce. Following is | |
| 293 | + specified in bytes per second. Rules are per device. Following is | |
| 294 | 294 | the format. |
| 295 | 295 | |
| 296 | 296 | echo "<major>:<minor> <rate_bytes_per_second>" > /cgrp/blkio.throttle.write_bps_device |
| 297 | 297 | |
| 298 | 298 | - blkio.throttle.read_iops_device |
| 299 | 299 | - Specifies upper limit on READ rate from the device. IO rate is |
| 300 | − specified in IO per second. Rules are per deivce. Following is | |
| 300 | + specified in IO per second. Rules are per device. Following is | |
| 301 | 301 | the format. |
| 302 | 302 | |
| 303 | 303 | echo "<major>:<minor> <rate_io_per_second>" > /cgrp/blkio.throttle.read_iops_device |
| 304 | 304 | |
| 305 | 305 | - blkio.throttle.write_iops_device |
| 306 | 306 | - Specifies upper limit on WRITE rate to the device. IO rate is |
| 307 | − specified in io per second. Rules are per deivce. Following is | |
| 307 | + specified in io per second. Rules are per device. Following is | |
| 308 | 308 | the format. |
| 309 | 309 | |
| 310 | 310 | echo "<major>:<minor> <rate_io_per_second>" > /cgrp/blkio.throttle.write_iops_device |
| 311 | 311 | |
| 312 | 312 | Note: If both BW and IOPS rules are specified for a device, then IO is |
| 313 | − subjectd to both the constraints. | |
| 313 | + subjected to both the constraints. | |
| 314 | 314 | |
| 315 | 315 | - blkio.throttle.io_serviced |
| 316 | 316 | - Number of IOs (bio) completed to/from the disk by the group (as |
| @@ -28,7 +28,7 @@ The target is named "raid" and it accepts the following parameters: · 27 unmodified lines | ||
| 28 | 28 | raid6_nc RAID6 N continue |
| 29 | 29 | - rotating parity N (right-to-left) with data continuation |
| 30 | 30 | |
| 31 | − Refererence: Chapter 4 of | |
| 31 | + Reference: Chapter 4 of | |
| 32 | 32 | http://www.snia.org/sites/default/files/SNIA_DDF_Technical_Position_v2.0.pdf |
| 33 | 33 | |
| 34 | 34 | <#raid_params>: The number of parameters that follow. |
| @@ -3,7 +3,7 @@ Introduction · 2 unmodified lines | ||
| 3 | 3 | |
| 4 | 4 | The more-sophisticated device-mapper targets require complex metadata |
| 5 | 5 | that is managed in kernel. In late 2010 we were seeing that various |
| 6 | −different targets were rolling their own data strutures, for example: | |
| 6 | +different targets were rolling their own data structures, for example: | |
| 7 | 7 | |
| 8 | 8 | - Mikulas Patocka's multisnap implementation |
| 9 | 9 | - Heinz Mauelshagen's thin provisioning target |
| @@ -1,7 +1,7 @@ | ||
| 1 | 1 | Introduction |
| 2 | 2 | ============ |
| 3 | 3 | |
| 4 | −This document descibes a collection of device-mapper targets that | |
| 4 | +This document describes a collection of device-mapper targets that | |
| 5 | 5 | between them implement thin-provisioning and snapshots. |
| 6 | 6 | |
| 7 | 7 | The main highlight of this implementation, compared to the previous |
| @@ -5,7 +5,7 @@ IPs present in the SoC. · 4 unmodified lines | ||
| 5 | 5 | On top of that an omap_device is created to extend the platform_device |
| 6 | 6 | capabilities and to allow binding with one or several hwmods. |
| 7 | 7 | The hwmods will contain all the information to build the device: |
| 8 | −adresse range, irq lines, dma lines, interconnect, PRCM register, | |
| 8 | +address range, irq lines, dma lines, interconnect, PRCM register, | |
| 9 | 9 | clock domain, input clocks. |
| 10 | 10 | For the moment just point to the existing hwmod, the next step will be |
| 11 | 11 | to move data from hwmod to device-tree representation. |
| @@ -1,3 +1,3 @@ | ||
| 1 | −prima2 "cb" evalutation board | |
| 1 | +prima2 "cb" evaluation board | |
| 2 | 2 | Required root node properties: |
| 3 | 3 | - compatible = "sirf,prima2-cb", "sirf,prima2"; |
| @@ -169,7 +169,7 @@ it with special cases. · 168 unmodified lines | ||
| 169 | 169 | |
| 170 | 170 | b) Entry with a flattened device-tree block. Firmware loads the |
| 171 | 171 | physical address of the flattened device tree block (dtb) into r2, |
| 172 | − r1 is not used, but it is considered good practise to use a valid | |
| 172 | + r1 is not used, but it is considered good practice to use a valid | |
| 173 | 173 | machine number as described in Documentation/arm/Booting. |
| 174 | 174 | |
| 175 | 175 | r0 : 0 |
| @@ -63,7 +63,7 @@ The slave DMA usage consists of following steps: · 62 unmodified lines | ||
| 63 | 63 | struct dma_slave_config *config) |
| 64 | 64 | |
| 65 | 65 | Please see the dma_slave_config structure definition in dmaengine.h |
| 66 | − for a detailed explaination of the struct members. Please note | |
| 66 | + for a detailed explanation of the struct members. Please note | |
| 67 | 67 | that the 'direction' member will be going away as it duplicates the |
| 68 | 68 | direction given in the prepare call. |
| 69 | 69 | |
| @@ -177,8 +177,8 @@ sgram - tells to driver that you have Gxx0 with SGRAM memory. It has no · 176 unmodified lines | ||
| 177 | 177 | effect without `init'. |
| 178 | 178 | sdram - tells to driver that you have Gxx0 with SDRAM memory. |
| 179 | 179 | It is a default. |
| 180 | −inv24 - change timings parameters for 24bpp modes on Millenium and | |
| 181 | − Millenium II. Specify this if you see strange color shadows around | |
| 180 | +inv24 - change timings parameters for 24bpp modes on Millennium and | |
| 181 | + Millennium II. Specify this if you see strange color shadows around | |
| 182 | 182 | characters. |
| 183 | 183 | noinv24 - use standard timings. It is the default. |
| 184 | 184 | inverse - invert colors on screen (for LCD displays) |
| @@ -204,9 +204,9 @@ grayscale - enable grayscale summing. It works in PSEUDOCOLOR modes (text, · 19 unmodified lines | ||
| 204 | 204 | can paint colors. |
| 205 | 205 | nograyscale - disable grayscale summing. It is default. |
| 206 | 206 | cross4MB - enables that pixel line can cross 4MB boundary. It is default for |
| 207 | − non-Millenium. | |
| 207 | + non-Millennium. | |
| 208 | 208 | nocross4MB - pixel line must not cross 4MB boundary. It is default for |
| 209 | − Millenium I or II, because of these devices have hardware | |
| 209 | + Millennium I or II, because of these devices have hardware | |
| 210 | 210 | limitations which do not allow this. But this option is |
| 211 | 211 | incompatible with some (if not all yet released) versions of |
| 212 | 212 | XF86_FBDev. |
| @@ -308,7 +308,7 @@ min_batch_time=usec This parameter sets the commit time (as · 307 unmodified lines | ||
| 308 | 308 | fast disks, at the cost of increasing latency. |
| 309 | 309 | |
| 310 | 310 | journal_ioprio=prio The I/O priority (from 0 to 7, where 0 is the |
| 311 | − highest priorty) which should be used for I/O | |
| 311 | + highest priority) which should be used for I/O | |
| 312 | 312 | operations submitted by kjournald2 during a |
| 313 | 313 | commit operation. This defaults to 3, which is |
| 314 | 314 | a slightly higher priority than the default I/O |
| @@ -343,7 +343,7 @@ noinit_itable Do not initialize any uninitialized inode table · 28 unmodified lines | ||
| 343 | 343 | init_itable=n The lazy itable init code will wait n times the |
| 344 | 344 | number of milliseconds it took to zero out the |
| 345 | 345 | previous block group's inode table. This |
| 346 | − minimizes the impact on the systme performance | |
| 346 | + minimizes the impact on the system performance | |
| 347 | 347 | while file system's inode table is being initialized. |
| 348 | 348 | |
| 349 | 349 | discard Controls whether ext4 should issue discard/TRIM |
| @@ -62,7 +62,7 @@ be fixed. · 61 unmodified lines | ||
| 62 | 62 | |
| 63 | 63 | The REMOVE uevent is generated at the end of an unsuccessful mount |
| 64 | 64 | or at the end of a umount of the filesystem. All REMOVE uevents will |
| 65 | −have been preceded by at least an ADD uevent for the same fileystem, | |
| 65 | +have been preceded by at least an ADD uevent for the same filesystem, | |
| 66 | 66 | and unlike the other uevents is generated automatically by the kernel's |
| 67 | 67 | kobject subsystem. |
| 68 | 68 | |
| @@ -20,7 +20,7 @@ Commands can be embedded into transaction command (which in turn has own command · 19 unmodified lines | ||
| 20 | 20 | so one can extend protocol as needed without breaking backward compatibility as long |
| 21 | 21 | as old commands are supported. All string lengths include tail 0 byte. |
| 22 | 22 | |
| 23 | −All commands are transferred over the network in big-endian. CPU endianess is used at the end peers. | |
| 23 | +All commands are transferred over the network in big-endian. CPU endianness is used at the end peers. | |
| 24 | 24 | |
| 25 | 25 | @cmd - command number, which specifies command to be processed. Following |
| 26 | 26 | commands are used currently: |
| @@ -297,7 +297,7 @@ the above threads) is: · 296 unmodified lines | ||
| 297 | 297 | either way about the archive format, and there are alternative tools, |
| 298 | 298 | such as: |
| 299 | 299 | |
| 300 | − http://freshmeat.net/projects/afio/ | |
| 300 | + http://freecode.com/projects/afio | |
| 301 | 301 | |
| 302 | 302 | 2) The cpio archive format chosen by the kernel is simpler and cleaner (and |
| 303 | 303 | thus easier to create and parse) than any of the (literally dozens of) |
| @@ -993,7 +993,7 @@ struct dentry_operations { · 992 unmodified lines | ||
| 993 | 993 | |
| 994 | 994 | If the 'rcu_walk' parameter is true, then the caller is doing a |
| 995 | 995 | pathwalk in RCU-walk mode. Sleeping is not permitted in this mode, |
| 996 | − and the caller can be asked to leave it and call again by returing | |
| 996 | + and the caller can be asked to leave it and call again by returning | |
| 997 | 997 | -ECHILD. |
| 998 | 998 | |
| 999 | 999 | This function is only used if DCACHE_MANAGE_TRANSIT is set on the |
| @@ -53,7 +53,7 @@ attributes are write-only, all other attributes are read-only. · 52 unmodified lines | ||
| 53 | 53 | in1_label "vin1" or "vout1" depending on chip variant and |
| 54 | 54 | configuration. |
| 55 | 55 | in1_input Measured voltage. |
| 56 | −in1_min Minumum Voltage. | |
| 56 | +in1_min Minimum Voltage. | |
| 57 | 57 | in1_max Maximum voltage. |
| 58 | 58 | in1_min_alarm Voltage low alarm. |
| 59 | 59 | in1_max_alarm Voltage high alarm. |
| @@ -42,9 +42,9 @@ attributes are read-only. · 41 unmodified lines | ||
| 42 | 42 | |
| 43 | 43 | in[1-4]_label "vout[1-4]" |
| 44 | 44 | in[1-4]_input Measured voltage. From READ_VOUT register. |
| 45 | −in[1-4]_min Minumum Voltage. From VOUT_UV_WARN_LIMIT register. | |
| 45 | +in[1-4]_min Minimum Voltage. From VOUT_UV_WARN_LIMIT register. | |
| 46 | 46 | in[1-4]_max Maximum voltage. From VOUT_OV_WARN_LIMIT register. |
| 47 | −in[1-4]_lcrit Critical minumum Voltage. VOUT_UV_FAULT_LIMIT register. | |
| 47 | +in[1-4]_lcrit Critical minimum Voltage. VOUT_UV_FAULT_LIMIT register. | |
| 48 | 48 | in[1-4]_crit Critical maximum voltage. From VOUT_OV_FAULT_LIMIT register. |
| 49 | 49 | in[1-4]_min_alarm Voltage low alarm. From VOLTAGE_UV_WARNING status. |
| 50 | 50 | in[1-4]_max_alarm Voltage high alarm. From VOLTAGE_OV_WARNING status. |
| @@ -48,9 +48,9 @@ attributes are read-only. · 47 unmodified lines | ||
| 48 | 48 | |
| 49 | 49 | in[1-6]_label "vout[1-6]". |
| 50 | 50 | in[1-6]_input Measured voltage. From READ_VOUT register. |
| 51 | −in[1-6]_min Minumum Voltage. From VOUT_UV_WARN_LIMIT register. | |
| 51 | +in[1-6]_min Minimum Voltage. From VOUT_UV_WARN_LIMIT register. | |
| 52 | 52 | in[1-6]_max Maximum voltage. From VOUT_OV_WARN_LIMIT register. |
| 53 | −in[1-6]_lcrit Critical minumum Voltage. VOUT_UV_FAULT_LIMIT register. | |
| 53 | +in[1-6]_lcrit Critical minimum Voltage. VOUT_UV_FAULT_LIMIT register. | |
| 54 | 54 | in[1-6]_crit Critical maximum voltage. From VOUT_OV_FAULT_LIMIT register. |
| 55 | 55 | in[1-6]_min_alarm Voltage low alarm. From VOLTAGE_UV_WARNING status. |
| 56 | 56 | in[1-6]_max_alarm Voltage high alarm. From VOLTAGE_OV_WARNING status. |
| @@ -42,9 +42,9 @@ attributes are read-only. · 41 unmodified lines | ||
| 42 | 42 | |
| 43 | 43 | in1_label "vout1" |
| 44 | 44 | in1_input Measured voltage. From READ_VOUT register. |
| 45 | −in1_min Minumum Voltage. From VOUT_UV_WARN_LIMIT register. | |
| 45 | +in1_min Minimum Voltage. From VOUT_UV_WARN_LIMIT register. | |
| 46 | 46 | in1_max Maximum voltage. From VOUT_OV_WARN_LIMIT register. |
| 47 | −in1_lcrit Critical minumum Voltage. VOUT_UV_FAULT_LIMIT register. | |
| 47 | +in1_lcrit Critical minimum Voltage. VOUT_UV_FAULT_LIMIT register. | |
| 48 | 48 | in1_crit Critical maximum voltage. From VOUT_OV_FAULT_LIMIT register. |
| 49 | 49 | in1_min_alarm Voltage low alarm. From VOLTAGE_UV_WARNING status. |
| 50 | 50 | in1_max_alarm Voltage high alarm. From VOLTAGE_OV_WARNING status. |
| @@ -70,9 +70,9 @@ attributes are read-only. · 69 unmodified lines | ||
| 70 | 70 | |
| 71 | 71 | in[1-12]_label "vout[1-12]". |
| 72 | 72 | in[1-12]_input Measured voltage. From READ_VOUT register. |
| 73 | −in[1-12]_min Minumum Voltage. From VOUT_UV_WARN_LIMIT register. | |
| 73 | +in[1-12]_min Minimum Voltage. From VOUT_UV_WARN_LIMIT register. | |
| 74 | 74 | in[1-12]_max Maximum voltage. From VOUT_OV_WARN_LIMIT register. |
| 75 | −in[1-12]_lcrit Critical minumum Voltage. VOUT_UV_FAULT_LIMIT register. | |
| 75 | +in[1-12]_lcrit Critical minimum Voltage. VOUT_UV_FAULT_LIMIT register. | |
| 76 | 76 | in[1-12]_crit Critical maximum voltage. From VOUT_OV_FAULT_LIMIT register. |
| 77 | 77 | in[1-12]_min_alarm Voltage low alarm. From VOLTAGE_UV_WARNING status. |
| 78 | 78 | in[1-12]_max_alarm Voltage high alarm. From VOLTAGE_OV_WARNING status. |
| @@ -82,7 +82,7 @@ in[1-12]_crit_alarm Voltage critical high alarm. From VOLTAGE_OV_FAULT status. · 3 unmodified lines | ||
| 82 | 82 | curr[1-12]_label "iout[1-12]". |
| 83 | 83 | curr[1-12]_input Measured current. From READ_IOUT register. |
| 84 | 84 | curr[1-12]_max Maximum current. From IOUT_OC_WARN_LIMIT register. |
| 85 | −curr[1-12]_lcrit Critical minumum output current. From IOUT_UC_FAULT_LIMIT | |
| 85 | +curr[1-12]_lcrit Critical minimum output current. From IOUT_UC_FAULT_LIMIT | |
| 86 | 86 | register. |
| 87 | 87 | curr[1-12]_crit Critical maximum current. From IOUT_OC_FAULT_LIMIT register. |
| 88 | 88 | curr[1-12]_max_alarm Current high alarm. From IOUT_OC_WARNING status. |
| @@ -54,9 +54,9 @@ attributes are read-only. · 53 unmodified lines | ||
| 54 | 54 | |
| 55 | 55 | in1_label "vin". |
| 56 | 56 | in1_input Measured voltage. From READ_VIN register. |
| 57 | −in1_min Minumum Voltage. From VIN_UV_WARN_LIMIT register. | |
| 57 | +in1_min Minimum Voltage. From VIN_UV_WARN_LIMIT register. | |
| 58 | 58 | in1_max Maximum voltage. From VIN_OV_WARN_LIMIT register. |
| 59 | −in1_lcrit Critical minumum Voltage. VIN_UV_FAULT_LIMIT register. | |
| 59 | +in1_lcrit Critical minimum Voltage. VIN_UV_FAULT_LIMIT register. | |
| 60 | 60 | in1_crit Critical maximum voltage. From VIN_OV_FAULT_LIMIT register. |
| 61 | 61 | in1_min_alarm Voltage low alarm. From VIN_UV_WARNING status. |
| 62 | 62 | in1_max_alarm Voltage high alarm. From VIN_OV_WARNING status. |
| @@ -65,9 +65,9 @@ in1_crit_alarm Voltage critical high alarm. From VIN_OV_FAULT status. · 2 unmodified lines | ||
| 65 | 65 | |
| 66 | 66 | in[2-5]_label "vout[1-4]". |
| 67 | 67 | in[2-5]_input Measured voltage. From READ_VOUT register. |
| 68 | −in[2-5]_min Minumum Voltage. From VOUT_UV_WARN_LIMIT register. | |
| 68 | +in[2-5]_min Minimum Voltage. From VOUT_UV_WARN_LIMIT register. | |
| 69 | 69 | in[2-5]_max Maximum voltage. From VOUT_OV_WARN_LIMIT register. |
| 70 | −in[2-5]_lcrit Critical minumum Voltage. VOUT_UV_FAULT_LIMIT register. | |
| 70 | +in[2-5]_lcrit Critical minimum Voltage. VOUT_UV_FAULT_LIMIT register. | |
| 71 | 71 | in[2-5]_crit Critical maximum voltage. From VOUT_OV_FAULT_LIMIT register. |
| 72 | 72 | in[2-5]_min_alarm Voltage low alarm. From VOLTAGE_UV_WARNING status. |
| 73 | 73 | in[2-5]_max_alarm Voltage high alarm. From VOLTAGE_OV_WARNING status. |
| @@ -80,7 +80,7 @@ curr1_input Measured current. From READ_IIN register. · 6 unmodified lines | ||
| 80 | 80 | curr[2-5]_label "iout[1-4]". |
| 81 | 81 | curr[2-5]_input Measured current. From READ_IOUT register. |
| 82 | 82 | curr[2-5]_max Maximum current. From IOUT_OC_WARN_LIMIT register. |
| 83 | −curr[2-5]_lcrit Critical minumum output current. From IOUT_UC_FAULT_LIMIT | |
| 83 | +curr[2-5]_lcrit Critical minimum output current. From IOUT_UC_FAULT_LIMIT | |
| 84 | 84 | register. |
| 85 | 85 | curr[2-5]_crit Critical maximum current. From IOUT_OC_FAULT_LIMIT register. |
| 86 | 86 | curr[2-5]_max_alarm Current high alarm. From IOUT_OC_WARNING status. |
| @@ -106,7 +106,7 @@ in1_label "vin" · 105 unmodified lines | ||
| 106 | 106 | in1_input Measured input voltage. |
| 107 | 107 | in1_min Minimum input voltage. |
| 108 | 108 | in1_max Maximum input voltage. |
| 109 | −in1_lcrit Critical minumum input voltage. | |
| 109 | +in1_lcrit Critical minimum input voltage. | |
| 110 | 110 | in1_crit Critical maximum input voltage. |
| 111 | 111 | in1_min_alarm Input voltage low alarm. |
| 112 | 112 | in1_max_alarm Input voltage high alarm. |
| @@ -115,7 +115,7 @@ in1_crit_alarm Input voltage critical high alarm. · 2 unmodified lines | ||
| 115 | 115 | |
| 116 | 116 | in2_label "vout1" |
| 117 | 117 | in2_input Measured output voltage. |
| 118 | −in2_lcrit Critical minumum output Voltage. | |
| 118 | +in2_lcrit Critical minimum output Voltage. | |
| 119 | 119 | in2_crit Critical maximum output voltage. |
| 120 | 120 | in2_lcrit_alarm Critical output voltage critical low alarm. |
| 121 | 121 | in2_crit_alarm Critical output voltage critical high alarm. |
| @@ -138,7 +138,7 @@ VI. Setting Parameters · 137 unmodified lines | ||
| 138 | 138 | |
| 139 | 139 | The return value is the size in bytes of the data written into |
| 140 | 140 | ops->resbuf if no errors occur. If an error occurs, -1 is returned |
| 141 | − and errno is set appropriatly: | |
| 141 | + and errno is set appropriately: | |
| 142 | 142 | |
| 143 | 143 | EFAULT Invalid user space pointer was passed |
| 144 | 144 | ENXIO Invalid IOP number |
| @@ -222,7 +222,7 @@ VIII. Downloading Software · 77 unmodified lines | ||
| 222 | 222 | RETURNS |
| 223 | 223 | |
| 224 | 224 | This function returns 0 no errors occur. If an error occurs, -1 |
| 225 | − is returned and errno is set appropriatly: | |
| 225 | + is returned and errno is set appropriately: | |
| 226 | 226 | |
| 227 | 227 | EFAULT Invalid user space pointer was passed |
| 228 | 228 | ENXIO Invalid IOP number |
| @@ -264,7 +264,7 @@ IX. Uploading Software · 35 unmodified lines | ||
| 264 | 264 | RETURNS |
| 265 | 265 | |
| 266 | 266 | This function returns 0 if no errors occur. If an error occurs, -1 |
| 267 | − is returned and errno is set appropriatly: | |
| 267 | + is returned and errno is set appropriately: | |
| 268 | 268 | |
| 269 | 269 | EFAULT Invalid user space pointer was passed |
| 270 | 270 | ENXIO Invalid IOP number |
| @@ -301,7 +301,7 @@ X. Removing Software · 30 unmodified lines | ||
| 301 | 301 | RETURNS |
| 302 | 302 | |
| 303 | 303 | This function returns 0 if no errors occur. If an error occurs, -1 |
| 304 | − is returned and errno is set appropriatly: | |
| 304 | + is returned and errno is set appropriately: | |
| 305 | 305 | |
| 306 | 306 | EFAULT Invalid user space pointer was passed |
| 307 | 307 | ENXIO Invalid IOP number |
| @@ -325,7 +325,7 @@ X. Validating Configuration · 17 unmodified lines | ||
| 325 | 325 | RETURNS |
| 326 | 326 | |
| 327 | 327 | This function returns 0 if no erro occur. If an error occurs, -1 is |
| 328 | − returned and errno is set appropriatly: | |
| 328 | + returned and errno is set appropriately: | |
| 329 | 329 | |
| 330 | 330 | ETIMEDOUT Timeout waiting for reply message |
| 331 | 331 | ENXIO Invalid IOP number |
| @@ -360,7 +360,7 @@ XI. Configuration Dialog · 28 unmodified lines | ||
| 360 | 360 | RETURNS |
| 361 | 361 | |
| 362 | 362 | This function returns 0 if no error occur. If an error occurs, -1 |
| 363 | − is returned and errno is set appropriatly: | |
| 363 | + is returned and errno is set appropriately: | |
| 364 | 364 | |
| 365 | 365 | EFAULT Invalid user space pointer was passed |
| 366 | 366 | ENXIO Invalid IOP number |
| @@ -175,7 +175,7 @@ · 174 unmodified lines | ||
| 175 | 175 | * since the .pdf version doesn't seem to work... |
| 176 | 176 | * -- Updated the TODO list to something more current. |
| 177 | 177 | * |
| 178 | − * 4.15 Aug 25, 1998 -- Updated ide-cd.h to respect mechine endianess, | |
| 178 | + * 4.15 Aug 25, 1998 -- Updated ide-cd.h to respect machine endianness, | |
| 179 | 179 | * patch thanks to "Eddie C. Dost" <ecd@skynet.be> |
| 180 | 180 | * |
| 181 | 181 | * 4.50 Oct 19, 1998 -- New maintainers! |
| @@ -132,8 +132,8 @@ number of contacts (f1 and f0 in the table below). · 131 unmodified lines | ||
| 132 | 132 | byte 5: 0 1 ? ? ? ? f1 f0 |
| 133 | 133 | |
| 134 | 134 | This packet only appears after a position packet with the mt bit set, and |
| 135 | −ususally only appears when there are two or more contacts (although | |
| 136 | −ocassionally it's seen with only a single contact). | |
| 135 | +usually only appears when there are two or more contacts (although | |
| 136 | +occassionally it's seen with only a single contact). | |
| 137 | 137 | |
| 138 | 138 | The final v3 packet type is the trackstick packet. |
| 139 | 139 | |
| @@ -330,7 +330,7 @@ the USB documentation for how to setup an USB mouse. · 329 unmodified lines | ||
| 330 | 330 | The TM DirectConnect (BSP) protocol is supported by the tmdc.c |
| 331 | 331 | module. This includes, but is not limited to: |
| 332 | 332 | |
| 333 | −* ThrustMaster Millenium 3D Inceptor | |
| 333 | +* ThrustMaster Millennium 3D Interceptor | |
| 334 | 334 | * ThrustMaster 3D Rage Pad |
| 335 | 335 | * ThrustMaster Fusion Digital Game Pad |
| 336 | 336 | |
| @@ -596,7 +596,7 @@ HDIO_DRIVE_TASKFILE execute raw taskfile · 595 unmodified lines | ||
| 596 | 596 | if CHS/LBA28 |
| 597 | 597 | |
| 598 | 598 | The association between in_flags.all and each enable |
| 599 | − bitfield flips depending on endianess; fortunately, TASKFILE | |
| 599 | + bitfield flips depending on endianness; fortunately, TASKFILE | |
| 600 | 600 | only uses inflags.b.data bit and ignores all other bits. |
| 601 | 601 | The end result is that, on any endian machines, it has no |
| 602 | 602 | effect other than modifying in_flags on completion. |
| @@ -720,7 +720,7 @@ HDIO_DRIVE_TASKFILE execute raw taskfile · 117 unmodified lines | ||
| 720 | 720 | |
| 721 | 721 | [6] Do not access {in|out}_flags->all except for resetting |
| 722 | 722 | all the bits. Always access individual bit fields. ->all |
| 723 | − value will flip depending on endianess. For the same | |
| 723 | + value will flip depending on endianness. For the same | |
| 724 | 724 | reason, do not use IDE_{TASKFILE|HOB}_STD_{OUT|IN}_FLAGS |
| 725 | 725 | constants defined in hdreg.h. |
| 726 | 726 | |
| @@ -117,7 +117,7 @@ applicable everywhere (see syntax). · 116 unmodified lines | ||
| 117 | 117 | This attribute is only applicable to menu blocks, if the condition is |
| 118 | 118 | false, the menu block is not displayed to the user (the symbols |
| 119 | 119 | contained there can still be selected by other symbols, though). It is |
| 120 | − similar to a conditional "prompt" attribude for individual menu | |
| 120 | + similar to a conditional "prompt" attribute for individual menu | |
| 121 | 121 | entries. Default value of "visible" is true. |
| 122 | 122 | |
| 123 | 123 | - numerical ranges: "range" <symbol> <symbol> ["if" <expr>] |
| @@ -950,7 +950,7 @@ bytes respectively. Such letter suffixes can also be entirely omitted. · 949 unmodified lines | ||
| 950 | 950 | controller |
| 951 | 951 | i8042.nopnp [HW] Don't use ACPIPnP / PnPBIOS to discover KBD/AUX |
| 952 | 952 | controllers |
| 953 | − i8042.notimeout [HW] Ignore timeout condition signalled by conroller | |
| 953 | + i8042.notimeout [HW] Ignore timeout condition signalled by controller | |
| 954 | 954 | i8042.reset [HW] Reset the controller during init and cleanup |
| 955 | 955 | i8042.unlock [HW] Unlock (ignore) the keylock |
| 956 | 956 | |
| @@ -2440,7 +2440,7 @@ bytes respectively. Such letter suffixes can also be entirely omitted. · 1483 unmodified lines | ||
| 2440 | 2440 | For more information see Documentation/vm/slub.txt. |
| 2441 | 2441 | |
| 2442 | 2442 | slub_min_order= [MM, SLUB] |
| 2443 | − Determines the mininum page order for slabs. Must be | |
| 2443 | + Determines the minimum page order for slabs. Must be | |
| 2444 | 2444 | lower than slub_max_order. |
| 2445 | 2445 | For more information see Documentation/vm/slub.txt. |
| 2446 | 2446 | |
| @@ -2606,7 +2606,7 @@ bytes respectively. Such letter suffixes can also be entirely omitted. · 159 unmodified lines | ||
| 2606 | 2606 | |
| 2607 | 2607 | threadirqs [KNL] |
| 2608 | 2608 | Force threading of all interrupt handlers except those |
| 2609 | − marked explicitely IRQF_NO_THREAD. | |
| 2609 | + marked explicitly IRQF_NO_THREAD. | |
| 2610 | 2610 | |
| 2611 | 2611 | topology= [S390] |
| 2612 | 2612 | Format: {off | on} |
| @@ -44,7 +44,7 @@ the 'software updates' pages. The firmware binaries are part of · 43 unmodified lines | ||
| 44 | 44 | the various ForeThought software distributions. |
| 45 | 45 | |
| 46 | 46 | Notice that different versions of the PCA-200E firmware exist, depending |
| 47 | −on the endianess of the host architecture. The driver is shipped with | |
| 47 | +on the endianness of the host architecture. The driver is shipped with | |
| 48 | 48 | both little and big endian PCA firmware images. |
| 49 | 49 | |
| 50 | 50 | Name and location of the new firmware images can be set at kernel |
| @@ -5,18 +5,23 @@ Numa policy hit/miss statistics · 4 unmodified lines | ||
| 5 | 5 | |
| 6 | 6 | All units are pages. Hugepages have separate counters. |
| 7 | 7 | |
| 8 | −numa_hit A process wanted to allocate memory from this node, | |
| 9 | − and succeeded. | |
| 10 | −numa_miss A process wanted to allocate memory from another node, | |
| 11 | − but ended up with memory from this node. | |
| 12 | −numa_foreign A process wanted to allocate on this node, | |
| 13 | − but ended up with memory from another one. | |
| 14 | −local_node A process ran on this node and got memory from it. | |
| 15 | −other_node A process ran on this node and got memory from another node. | |
| 16 | −interleave_hit Interleaving wanted to allocate from this node | |
| 17 | − and succeeded. | |
| 8 | +numa_hit A process wanted to allocate memory from this node, | |
| 9 | + and succeeded. | |
| 10 | + | |
| 11 | +numa_miss A process wanted to allocate memory from another node, | |
| 12 | + but ended up with memory from this node. | |
| 13 | + | |
| 14 | +numa_foreign A process wanted to allocate on this node, | |
| 15 | + but ended up with memory from another one. | |
| 16 | + | |
| 17 | +local_node A process ran on this node and got memory from it. | |
| 18 | + | |
| 19 | +other_node A process ran on this node and got memory from another node. | |
| 20 | + | |
| 21 | +interleave_hit Interleaving wanted to allocate from this node | |
| 22 | + and succeeded. | |
| 18 | 23 | |
| 19 | 24 | For easier reading you can use the numastat utility from the numactl package |
| 20 | −(ftp://ftp.suse.com/pub/people/ak/numa/numactl*). Note that it only works | |
| 25 | +(http://oss.sgi.com/projects/libnuma/). Note that it only works | |
| 21 | 26 | well right now on machines with a small number of CPUs. |
| 22 | 27 | |
| @@ -1718,7 +1718,7 @@ Changes from 20040319 to 20040326 · 1717 unmodified lines | ||
| 1718 | 1718 | * lpfc_els_timeout_handler() now uses system timer. |
| 1719 | 1719 | * Further cleanup of #ifdef powerpc |
| 1720 | 1720 | * lpfc_scsi_timeout_handler() now uses system timer. |
| 1721 | − * Replace common driver's own defines for endianess w/ Linux's | |
| 1721 | + * Replace common driver's own defines for endianness w/ Linux's | |
| 1722 | 1722 | __BIG_ENDIAN etc. |
| 1723 | 1723 | * Added #ifdef IPFC for all IPFC specific code. |
| 1724 | 1724 | * lpfc_disc_retry_rptlun() now uses system timer. |
| @@ -510,7 +510,7 @@ i. Support for 1078 type (ppc IOP) controller, device id : 0x60 added. · 509 unmodified lines | ||
| 510 | 510 | 3 Older Version : 00.00.02.02 |
| 511 | 511 | i. Register 16 byte CDB capability with scsi midlayer |
| 512 | 512 | |
| 513 | − "Ths patch properly registers the 16 byte command length capability of the | |
| 513 | + "This patch properly registers the 16 byte command length capability of the | |
| 514 | 514 | megaraid_sas controlled hardware with the scsi midlayer. All megaraid_sas |
| 515 | 515 | hardware supports 16 byte CDB's." |
| 516 | 516 | |
| @@ -62,7 +62,7 @@ There are two packages of sg utilities: · 61 unmodified lines | ||
| 62 | 62 | and earlier |
| 63 | 63 | Both packages will work in the lk 2.4 series however sg3_utils offers more |
| 64 | 64 | capabilities. They can be found at: http://sg.danny.cz/sg/sg3_utils.html and |
| 65 | −freshmeat.net | |
| 65 | +freecode.com | |
| 66 | 66 | |
| 67 | 67 | Another approach is to look at the applications that use the sg driver. |
| 68 | 68 | These include cdrecord, cdparanoia, SANE and cdrdao. |
| @@ -102,7 +102,7 @@ So take at least the following measures: · 101 unmodified lines | ||
| 102 | 102 | ftp://student.physik.uni-dortmund.de/pub/linux/kernel/bootdisk.gz |
| 103 | 103 | |
| 104 | 104 | One more warning: I used to overclock my PCI bus to 41.67 MHz. My Tekram |
| 105 | −DC390F (Sym53c875) accepted this as well as my Millenium. But the Am53C974 | |
| 105 | +DC390F (Sym53c875) accepted this as well as my Millennium. But the Am53C974 | |
| 106 | 106 | produced errors and started to corrupt my disks. So don't do that! A 37.50 |
| 107 | 107 | MHz PCI bus works for me, though, but I don't recommend using higher clocks |
| 108 | 108 | than the 33.33 MHz being in the PCI spec. |
| @@ -536,6 +536,6 @@ writing a single character to the /smack/logging file : · 535 unmodified lines | ||
| 536 | 536 | 3 : log denied & accepted |
| 537 | 537 | |
| 538 | 538 | Events are logged as 'key=value' pairs, for each event you at least will get |
| 539 | −the subjet, the object, the rights requested, the action, the kernel function | |
| 539 | +the subject, the object, the rights requested, the action, the kernel function | |
| 540 | 540 | that triggered the event, plus other pairs depending on the type of event |
| 541 | 541 | audited. |
| @@ -1,7 +1,7 @@ | ||
| 1 | 1 | Trusted and Encrypted Keys |
| 2 | 2 | |
| 3 | 3 | Trusted and Encrypted Keys are two new key types added to the existing kernel |
| 4 | −key ring service. Both of these new types are variable length symmetic keys, | |
| 4 | +key ring service. Both of these new types are variable length symmetric keys, | |
| 5 | 5 | and in both cases all keys are created in the kernel, and user space sees, |
| 6 | 6 | stores, and loads only encrypted blobs. Trusted Keys require the availability |
| 7 | 7 | of a Trusted Platform Module (TPM) chip for greater security, while Encrypted |
| @@ -668,7 +668,7 @@ The keyctl syscall functions are: · 667 unmodified lines | ||
| 668 | 668 | |
| 669 | 669 | If the kernel calls back to userspace to complete the instantiation of a |
| 670 | 670 | key, userspace should use this call mark the key as negative before the |
| 671 | − invoked process returns if it is unable to fulfil the request. | |
| 671 | + invoked process returns if it is unable to fulfill the request. | |
| 672 | 672 | |
| 673 | 673 | The process must have write access on the key to be able to instantiate |
| 674 | 674 | it, and the key must be uninstantiated. |
| @@ -1588,7 +1588,7 @@ Prior to version 0.9.0rc4 options had a 'snd_' prefix. This was removed. · 1587 unmodified lines | ||
| 1588 | 1588 | |
| 1589 | 1589 | Module supports autoprobe a chip. |
| 1590 | 1590 | |
| 1591 | − Note: the driver may have problems regarding endianess. | |
| 1591 | + Note: the driver may have problems regarding endianness. | |
| 1592 | 1592 | |
| 1593 | 1593 | The power-management is supported. |
| 1594 | 1594 | |
| @@ -775,7 +775,7 @@ def tcm_mod_dump_fabric_ops(proto_ident, fabric_mod_dir_var, fabric_mod_name): · 774 unmodified lines | ||
| 775 | 775 | buf += " struct " + fabric_mod_name + "_nacl *nacl;\n\n" |
| 776 | 776 | buf += " nacl = kzalloc(sizeof(struct " + fabric_mod_name + "_nacl), GFP_KERNEL);\n" |
| 777 | 777 | buf += " if (!nacl) {\n" |
| 778 | − buf += " printk(KERN_ERR \"Unable to alocate struct " + fabric_mod_name + "_nacl\\n\");\n" | |
| 778 | + buf += " printk(KERN_ERR \"Unable to allocate struct " + fabric_mod_name + "_nacl\\n\");\n" | |
| 779 | 779 | buf += " return NULL;\n" |
| 780 | 780 | buf += " }\n\n" |
| 781 | 781 | buf += " return &nacl->se_node_acl;\n" |
| @@ -57,7 +57,7 @@ power_end "cpu_id=%lu" · 56 unmodified lines | ||
| 57 | 57 | The 'type' parameter takes one of those macros: |
| 58 | 58 | . POWER_NONE = 0, |
| 59 | 59 | . POWER_CSTATE = 1, /* C-State */ |
| 60 | − . POWER_PSTATE = 2, /* Fequency change or DVFS */ | |
| 60 | + . POWER_PSTATE = 2, /* Frequency change or DVFS */ | |
| 61 | 61 | |
| 62 | 62 | The 'state' parameter is set depending on the type: |
| 63 | 63 | . Target C-state for type=POWER_CSTATE, |
| @@ -1,7 +1,7 @@ | ||
| 1 | 1 | CHANGES |
| 2 | 2 | |
| 3 | 3 | - 0.3 - Created based off of scanner & INSTALL from the original touchscreen |
| 4 | − driver on freshmeat (http://freshmeat.net/projects/3mtouchscreendriver) | |
| 4 | + driver on freecode (http://freecode.com/projects/3mtouchscreendriver) | |
| 5 | 5 | - Amended for linux-2.4.18, then 2.4.19 |
| 6 | 6 | |
| 7 | 7 | - 0.5 - Complete rewrite using Linux Input in 2.6.3 |
| @@ -345,7 +345,7 @@ autosuspend the device. · 344 unmodified lines | ||
| 345 | 345 | Drivers need not be concerned about balancing changes to the usage |
| 346 | 346 | counter; the USB core will undo any remaining "get"s when a driver |
| 347 | 347 | is unbound from its interface. As a corollary, drivers must not call |
| 348 | −any of the usb_autopm_* functions after their diconnect() routine has | |
| 348 | +any of the usb_autopm_* functions after their disconnect() routine has | |
| 349 | 349 | returned. |
| 350 | 350 | |
| 351 | 351 | Drivers using the async routines are responsible for their own |
| @@ -7,7 +7,7 @@ The usbfs filesystem for USB devices is traditionally mounted at · 6 unmodified lines | ||
| 7 | 7 | /proc/bus/usb. It provides the /proc/bus/usb/devices file, as well as |
| 8 | 8 | the /proc/bus/usb/BBB/DDD files. |
| 9 | 9 | |
| 10 | −In many modern systems the usbfs filsystem isn't used at all. Instead | |
| 10 | +In many modern systems the usbfs filesystem isn't used at all. Instead | |
| 11 | 11 | USB device nodes are created under /dev/usb/ or someplace similar. The |
| 12 | 12 | "devices" file is available in debugfs, typically as |
| 13 | 13 | /sys/kernel/debug/usb/devices. |
| @@ -116,7 +116,7 @@ Description: · 115 unmodified lines | ||
| 116 | 116 | A UVC control can be mapped to several V4L2 controls. For instance, |
| 117 | 117 | a UVC pan/tilt control could be mapped to separate pan and tilt V4L2 |
| 118 | 118 | controls. The UVC control is divided into non overlapping fields using |
| 119 | − the 'size' and 'offset' fields and are then independantly mapped to | |
| 119 | + the 'size' and 'offset' fields and are then independently mapped to | |
| 120 | 120 | V4L2 control. |
| 121 | 121 | |
| 122 | 122 | For signed integer V4L2 controls the data_type field should be set to |
| @@ -347,7 +347,7 @@ To instantiate a large spte, four constraints must be satisfied: · 346 unmodified lines | ||
| 347 | 347 | |
| 348 | 348 | - the spte must point to a large host page |
| 349 | 349 | - the guest pte must be a large pte of at least equivalent size (if tdp is |
| 350 | − enabled, there is no guest pte and this condition is satisified) | |
| 350 | + enabled, there is no guest pte and this condition is satisfied) | |
| 351 | 351 | - if the spte will be writeable, the large page frame may not overlap any |
| 352 | 352 | write-protected pages |
| 353 | 353 | - the guest page must be wholly contained by a single memory slot |
| @@ -356,7 +356,7 @@ To check the last two conditions, the mmu maintains a ->write_count set of · 2 unmodified lines | ||
| 356 | 356 | arrays for each memory slot and large page size. Every write protected page |
| 357 | 357 | causes its write_count to be incremented, thus preventing instantiation of |
| 358 | 358 | a large spte. The frames at the end of an unaligned memory slot have |
| 359 | −artificically inflated ->write_counts so they can never be instantiated. | |
| 359 | +artificially inflated ->write_counts so they can never be instantiated. | |
| 360 | 360 | |
| 361 | 361 | Further reading |
| 362 | 362 | =============== |
| @@ -1403,7 +1403,7 @@ segmentation, if both guests are amenable. · 1402 unmodified lines | ||
| 1403 | 1403 | |
| 1404 | 1404 | Packets are transmitted by placing them in the transmitq, and |
| 1405 | 1405 | buffers for incoming packets are placed in the receiveq. In each |
| 1406 | −case, the packet itself is preceeded by a header: | |
| 1406 | +case, the packet itself is preceded by a header: | |
| 1407 | 1407 | |
| 1408 | 1408 | struct virtio_net_hdr { |
| 1409 | 1409 | |
| @@ -1642,7 +1642,7 @@ struct virtio_net_ctrl_mac { · 232 unmodified lines | ||
| 1642 | 1642 | |
| 1643 | 1643 | The device can filter incoming packets by any number of |
| 1644 | 1644 | destination MAC addresses.[footnote: |
| 1645 | −Since there are no guarentees, it can use a hash filter | |
| 1645 | +Since there are no guarantees, it can use a hash filter | |
| 1646 | 1646 | orsilently switch to allmulti or promiscuous mode if it is given |
| 1647 | 1647 | too many addresses. |
| 1648 | 1648 | ] This table is set using the class VIRTIO_NET_CTRL_MAC and the |
| @@ -1805,7 +1805,7 @@ the FLUSH and FLUSH_OUT types are equivalent, the device does not · 156 unmodified lines | ||
| 1805 | 1805 | distinguish between them |
| 1806 | 1806 | ]). If the device has VIRTIO_BLK_F_BARRIER feature the high bit |
| 1807 | 1807 | (VIRTIO_BLK_T_BARRIER) indicates that this request acts as a |
| 1808 | −barrier and that all preceeding requests must be complete before | |
| 1808 | +barrier and that all preceding requests must be complete before | |
| 1809 | 1809 | this one, and all following requests must not be started until |
| 1810 | 1810 | this is complete. Note that a barrier does not flush caches in |
| 1811 | 1811 | the underlying backend device in host, and thus does not serve as |
| @@ -2118,7 +2118,7 @@ This is historical, and independent of the guest page size · 306 unmodified lines | ||
| 2118 | 2118 | |
| 2119 | 2119 | Otherwise, the guest may begin to re-use pages previously given |
| 2120 | 2120 | to the balloon before the device has acknowledged their |
| 2121 | − withdrawl. [footnote: | |
| 2121 | + withdrawal. [footnote: | |
| 2122 | 2122 | In this case, deflation advice is merely a courtesy |
| 2123 | 2123 | ] |
| 2124 | 2124 | |
| @@ -92,7 +92,7 @@ failed_gets - number of gets that failed · 91 unmodified lines | ||
| 92 | 92 | puts - number of puts attempted (all "succeed") |
| 93 | 93 | flushes - number of flushes attempted |
| 94 | 94 | |
| 95 | −A backend implementatation may provide additional metrics. | |
| 95 | +A backend implementation may provide additional metrics. | |
| 96 | 96 | |
| 97 | 97 | FAQ |
| 98 | 98 | |
| @@ -538,7 +538,7 @@ different reverse map mechanisms. · 537 unmodified lines | ||
| 538 | 538 | process because mlocked pages are migratable. However, for reclaim, if |
| 539 | 539 | the page is mapped into a VM_LOCKED VMA, the scan stops. |
| 540 | 540 | |
| 541 | − try_to_unmap_anon() attempts to acquire in read mode the mmap semphore of | |
| 541 | + try_to_unmap_anon() attempts to acquire in read mode the mmap semaphore of | |
| 542 | 542 | the mm_struct to which the VMA belongs. If this is successful, it will |
| 543 | 543 | mlock the page via mlock_vma_page() - we wouldn't have gotten to |
| 544 | 544 | try_to_unmap_anon() if the page were already mlocked - and will return |
| @@ -619,11 +619,11 @@ all PTEs from the page. For this purpose, the unevictable/mlock infrastructure · 74 unmodified lines | ||
| 619 | 619 | introduced a variant of try_to_unmap() called try_to_munlock(). |
| 620 | 620 | |
| 621 | 621 | try_to_munlock() calls the same functions as try_to_unmap() for anonymous and |
| 622 | −mapped file pages with an additional argument specifing unlock versus unmap | |
| 622 | +mapped file pages with an additional argument specifying unlock versus unmap | |
| 623 | 623 | processing. Again, these functions walk the respective reverse maps looking |
| 624 | 624 | for VM_LOCKED VMAs. When such a VMA is found for anonymous pages and file |
| 625 | 625 | pages mapped in linear VMAs, as in the try_to_unmap() case, the functions |
| 626 | −attempt to acquire the associated mmap semphore, mlock the page via | |
| 626 | +attempt to acquire the associated mmap semaphore, mlock the page via | |
| 627 | 627 | mlock_vma_page() and return SWAP_MLOCK. This effectively undoes the |
| 628 | 628 | pre-clearing of the page's PG_mlocked done by munlock_vma_page. |
| 629 | 629 | |
| @@ -641,7 +641,7 @@ with it - the usual fallback position. · 11 unmodified lines | ||
| 641 | 641 | Note that try_to_munlock()'s reverse map walk must visit every VMA in a page's |
| 642 | 642 | reverse map to determine that a page is NOT mapped into any VM_LOCKED VMA. |
| 643 | 643 | However, the scan can terminate when it encounters a VM_LOCKED VMA and can |
| 644 | −successfully acquire the VMA's mmap semphore for read and mlock the page. | |
| 644 | +successfully acquire the VMA's mmap semaphore for read and mlock the page. | |
| 645 | 645 | Although try_to_munlock() might be called a great many times when munlocking a |
| 646 | 646 | large region or tearing down a large address space that has been mlocked via |
| 647 | 647 | mlockall(), overall this is a fairly rare event. |
| @@ -167,4 +167,4 @@ driver specific data to and a pointer to the data itself. · 166 unmodified lines | ||
| 167 | 167 | |
| 168 | 168 | The watchdog_get_drvdata function allows you to retrieve driver specific data. |
| 169 | 169 | The argument of this function is the watchdog device where you want to retrieve |
| 170 | −data from. The function retruns the pointer to the driver specific data. | |
| 170 | +data from. The function returns the pointer to the driver specific data. | |
| @@ -90,7 +90,7 @@ struct alpha_machine_vector · 89 unmodified lines | ||
| 90 | 90 | void (*kill_arch)(int); |
| 91 | 91 | |
| 92 | 92 | u8 (*pci_swizzle)(struct pci_dev *, u8 *); |
| 93 | − int (*pci_map_irq)(struct pci_dev *, u8, u8); | |
| 93 | + int (*pci_map_irq)(const struct pci_dev *, u8, u8); | |
| 94 | 94 | struct pci_ops *pci_ops; |
| 95 | 95 | |
| 96 | 96 | struct _alpha_agp_info *(*agp_info)(void); |
| @@ -366,7 +366,7 @@ clipper_init_irq(void) · 365 unmodified lines | ||
| 366 | 366 | */ |
| 367 | 367 | |
| 368 | 368 | static int __init |
| 369 | −isa_irq_fixup(struct pci_dev *dev, int irq) | |
| 369 | +isa_irq_fixup(const struct pci_dev *dev, int irq) | |
| 370 | 370 | { |
| 371 | 371 | u8 irq8; |
| 372 | 372 | |
| @@ -35,7 +35,6 @@ · 34 unmodified lines | ||
| 35 | 35 | |
| 36 | 36 | #include <linux/pfn.h> |
| 37 | 37 | #include <linux/atomic.h> |
| 38 | −#include <linux/sched.h> | |
| 39 | 38 | #include <mach/dma.h> |
| 40 | 39 | |
| 41 | 40 | /* ---- Public Variables ------------------------------------------------- */ |
| @@ -11,7 +11,6 @@ · 10 unmodified lines | ||
| 11 | 11 | #include <linux/kernel.h> |
| 12 | 12 | #include <linux/module.h> |
| 13 | 13 | #include <linux/init.h> |
| 14 | −#include <linux/gpio.h> | |
| 15 | 14 | |
| 16 | 15 | #include <asm/leds.h> |
| 17 | 16 | #include <mach/devices.h> |
| @@ -117,7 +117,7 @@ EXPORT_SYMBOL(omap_set_lcd_dma_b1_mirror); · 116 unmodified lines | ||
| 117 | 117 | void omap_set_lcd_dma_b1_vxres(unsigned long vxres) |
| 118 | 118 | { |
| 119 | 119 | if (cpu_is_omap15xx()) { |
| 120 | − printk(KERN_ERR "DMA virtual resulotion is not supported " | |
| 120 | + printk(KERN_ERR "DMA virtual resolution is not supported " | |
| 121 | 121 | "in 1510 mode\n"); |
| 122 | 122 | BUG(); |
| 123 | 123 | } |
| @@ -214,7 +214,7 @@ void __init db88f5281_pci_preinit(void) · 213 unmodified lines | ||
| 214 | 214 | if (gpio_direction_input(pin) == 0) { |
| 215 | 215 | irq_set_irq_type(gpio_to_irq(pin), IRQ_TYPE_LEVEL_LOW); |
| 216 | 216 | } else { |
| 217 | − printk(KERN_ERR "db88f5281_pci_preinit faield to " | |
| 217 | + printk(KERN_ERR "db88f5281_pci_preinit failed to " | |
| 218 | 218 | "set_irq_type pin %d\n", pin); |
| 219 | 219 | gpio_free(pin); |
| 220 | 220 | } |
| @@ -227,7 +227,7 @@ void __init db88f5281_pci_preinit(void) · 6 unmodified lines | ||
| 227 | 227 | if (gpio_direction_input(pin) == 0) { |
| 228 | 228 | irq_set_irq_type(gpio_to_irq(pin), IRQ_TYPE_LEVEL_LOW); |
| 229 | 229 | } else { |
| 230 | − printk(KERN_ERR "db88f5281_pci_preinit faield " | |
| 230 | + printk(KERN_ERR "db88f5281_pci_preinit failed " | |
| 231 | 231 | "to set_irq_type pin %d\n", pin); |
| 232 | 232 | gpio_free(pin); |
| 233 | 233 | } |
| @@ -149,7 +149,7 @@ void __init rd88f5182_pci_preinit(void) · 148 unmodified lines | ||
| 149 | 149 | if (gpio_direction_input(pin) == 0) { |
| 150 | 150 | irq_set_irq_type(gpio_to_irq(pin), IRQ_TYPE_LEVEL_LOW); |
| 151 | 151 | } else { |
| 152 | − printk(KERN_ERR "rd88f5182_pci_preinit faield to " | |
| 152 | + printk(KERN_ERR "rd88f5182_pci_preinit failed to " | |
| 153 | 153 | "set_irq_type pin %d\n", pin); |
| 154 | 154 | gpio_free(pin); |
| 155 | 155 | } |
| @@ -162,7 +162,7 @@ void __init rd88f5182_pci_preinit(void) · 6 unmodified lines | ||
| 162 | 162 | if (gpio_direction_input(pin) == 0) { |
| 163 | 163 | irq_set_irq_type(gpio_to_irq(pin), IRQ_TYPE_LEVEL_LOW); |
| 164 | 164 | } else { |
| 165 | − printk(KERN_ERR "rd88f5182_pci_preinit faield to " | |
| 165 | + printk(KERN_ERR "rd88f5182_pci_preinit failed to " | |
| 166 | 166 | "set_irq_type pin %d\n", pin); |
| 167 | 167 | gpio_free(pin); |
| 168 | 168 | } |
| @@ -469,7 +469,7 @@ void __init spear300_init(struct pmx_mode *pmx_mode, struct pmx_dev **pmx_devs, · 468 unmodified lines | ||
| 469 | 469 | if (pmx_driver.base) { |
| 470 | 470 | ret = pmx_register(&pmx_driver); |
| 471 | 471 | if (ret) |
| 472 | − printk(KERN_ERR "padmux: registeration failed. err no" | |
| 472 | + printk(KERN_ERR "padmux: registration failed. err no" | |
| 473 | 473 | ": %d\n", ret); |
| 474 | 474 | /* Free Mapping, device selection already done */ |
| 475 | 475 | iounmap(pmx_driver.base); |
| @@ -303,6 +303,6 @@ void __init spear310_init(struct pmx_mode *pmx_mode, struct pmx_dev **pmx_devs, · 302 unmodified lines | ||
| 303 | 303 | |
| 304 | 304 | ret = pmx_register(&pmx_driver); |
| 305 | 305 | if (ret) |
| 306 | − printk(KERN_ERR "padmux: registeration failed. err no: %d\n", | |
| 306 | + printk(KERN_ERR "padmux: registration failed. err no: %d\n", | |
| 307 | 307 | ret); |
| 308 | 308 | } |
| @@ -550,6 +550,6 @@ void __init spear320_init(struct pmx_mode *pmx_mode, struct pmx_dev **pmx_devs, · 549 unmodified lines | ||
| 550 | 550 | |
| 551 | 551 | ret = pmx_register(&pmx_driver); |
| 552 | 552 | if (ret) |
| 553 | − printk(KERN_ERR "padmux: registeration failed. err no: %d\n", | |
| 553 | + printk(KERN_ERR "padmux: registration failed. err no: %d\n", | |
| 554 | 554 | ret); |
| 555 | 555 | } |
| @@ -32,7 +32,6 @@ · 31 unmodified lines | ||
| 32 | 32 | |
| 33 | 33 | #include <asm/mach/arch.h> |
| 34 | 34 | #include <asm/mach/map.h> |
| 35 | −#include <asm/memblock.h> | |
| 36 | 35 | |
| 37 | 36 | #include "mm.h" |
| 38 | 37 | |
| @@ -52,7 +52,7 @@ static __init int pm_simtec_init(void) · 51 unmodified lines | ||
| 52 | 52 | !machine_is_aml_m5900()) |
| 53 | 53 | return 0; |
| 54 | 54 | |
| 55 | − printk(KERN_INFO "Simtec Board Power Manangement" COPYRIGHT "\n"); | |
| 55 | + printk(KERN_INFO "Simtec Board Power Management" COPYRIGHT "\n"); | |
| 56 | 56 | |
| 57 | 57 | gstatus4 = (__raw_readl(S3C2410_BANKCON7) & 0x3) << 30; |
| 58 | 58 | gstatus4 |= (__raw_readl(S3C2410_BANKCON6) & 0x3) << 28; |
| @@ -58,7 +58,7 @@ xen_free_irq_vector(int vector) · 57 unmodified lines | ||
| 58 | 58 | |
| 59 | 59 | irq_op.vector = vector; |
| 60 | 60 | if (HYPERVISOR_physdev_op(PHYSDEVOP_free_irq_vector, &irq_op)) |
| 61 | − printk(KERN_WARNING "%s: xen_free_irq_vecotr fail vector=%d\n", | |
| 61 | + printk(KERN_WARNING "%s: xen_free_irq_vector fail vector=%d\n", | |
| 62 | 62 | __func__, vector); |
| 63 | 63 | } |
| 64 | 64 | |
| @@ -33,7 +33,7 @@ static void bcm6348_a1_reboot(void) · 32 unmodified lines | ||
| 33 | 33 | u32 reg; |
| 34 | 34 | |
| 35 | 35 | /* soft reset all blocks */ |
| 36 | − printk(KERN_INFO "soft-reseting all blocks ...\n"); | |
| 36 | + printk(KERN_INFO "soft-resetting all blocks ...\n"); | |
| 37 | 37 | reg = bcm_perf_readl(PERF_SOFTRESET_REG); |
| 38 | 38 | reg &= ~SOFTRESET_6348_ALL; |
| 39 | 39 | bcm_perf_writel(reg, PERF_SOFTRESET_REG); |
| @@ -21,7 +21,7 @@ · 20 unmodified lines | ||
| 21 | 21 | #define KEYLARGO_FCR4 0x48 |
| 22 | 22 | #define KEYLARGO_FCR5 0x4c /* Pangea only */ |
| 23 | 23 | |
| 24 | −/* K2 aditional FCRs */ | |
| 24 | +/* K2 additional FCRs */ | |
| 25 | 25 | #define K2_FCR6 0x34 |
| 26 | 26 | #define K2_FCR7 0x30 |
| 27 | 27 | #define K2_FCR8 0x2c |
| @@ -22,7 +22,7 @@ config RUNTIME_DEBUG · 21 unmodified lines | ||
| 22 | 22 | help |
| 23 | 23 | If you say Y here, some debugging macros will do run-time checking. |
| 24 | 24 | If you say N here, those macros will mostly turn to no-ops. See |
| 25 | − include/asm-score/debug.h for debuging macros. | |
| 25 | + include/asm-score/debug.h for debugging macros. | |
| 26 | 26 | If unsure, say N. |
| 27 | 27 | |
| 28 | 28 | endmenu |
| @@ -17,8 +17,6 @@ · 16 unmodified lines | ||
| 17 | 17 | /* Verify that the configuration block really is there */ |
| 18 | 18 | #define scx200_cb_probe(base) (inw((base) + SCx200_CBA) == (base)) |
| 19 | 19 | |
| 20 | −#define NAME "scx200" | |
| 21 | − | |
| 22 | 20 | MODULE_AUTHOR("Christer Weinigel <wingel@nano-system.com>"); |
| 23 | 21 | MODULE_DESCRIPTION("NatSemi SCx200 Driver"); |
| 24 | 22 | MODULE_LICENSE("GPL"); |
| @@ -29,10 +27,10 @@ unsigned long scx200_gpio_shadow[2]; · 4 unmodified lines | ||
| 29 | 27 | unsigned scx200_cb_base = 0; |
| 30 | 28 | |
| 31 | 29 | static struct pci_device_id scx200_tbl[] = { |
| 32 | − { PCI_DEVICE(PCI_VENDOR_ID_NS, PCI_DEVICE_ID_NS_SCx200_BRIDGE) }, | |
| 33 | − { PCI_DEVICE(PCI_VENDOR_ID_NS, PCI_DEVICE_ID_NS_SC1100_BRIDGE) }, | |
| 34 | − { PCI_DEVICE(PCI_VENDOR_ID_NS, PCI_DEVICE_ID_NS_SCx200_XBUS) }, | |
| 35 | − { PCI_DEVICE(PCI_VENDOR_ID_NS, PCI_DEVICE_ID_NS_SC1100_XBUS) }, | |
| 30 | + { PCI_VDEVICE(NS, PCI_DEVICE_ID_NS_SCx200_BRIDGE) }, | |
| 31 | + { PCI_VDEVICE(NS, PCI_DEVICE_ID_NS_SC1100_BRIDGE) }, | |
| 32 | + { PCI_VDEVICE(NS, PCI_DEVICE_ID_NS_SCx200_XBUS) }, | |
| 33 | + { PCI_VDEVICE(NS, PCI_DEVICE_ID_NS_SC1100_XBUS) }, | |
| 36 | 34 | { }, |
| 37 | 35 | }; |
| 38 | 36 | MODULE_DEVICE_TABLE(pci,scx200_tbl); |
| @@ -63,10 +61,11 @@ static int __devinit scx200_probe(struct pci_dev *pdev, const struct pci_device_ · 24 unmodified lines | ||
| 63 | 61 | if (pdev->device == PCI_DEVICE_ID_NS_SCx200_BRIDGE || |
| 64 | 62 | pdev->device == PCI_DEVICE_ID_NS_SC1100_BRIDGE) { |
| 65 | 63 | base = pci_resource_start(pdev, 0); |
| 66 | − printk(KERN_INFO NAME ": GPIO base 0x%x\n", base); | |
| 64 | + pr_info("GPIO base 0x%x\n", base); | |
| 67 | 65 | |
| 68 | − if (!request_region(base, SCx200_GPIO_SIZE, "NatSemi SCx200 GPIO")) { | |
| 69 | − printk(KERN_ERR NAME ": can't allocate I/O for GPIOs\n"); | |
| 66 | + if (!request_region(base, SCx200_GPIO_SIZE, | |
| 67 | + "NatSemi SCx200 GPIO")) { | |
| 68 | + pr_err("can't allocate I/O for GPIOs\n"); | |
| 70 | 69 | return -EBUSY; |
| 71 | 70 | } |
| 72 | 71 | |
| @@ -82,11 +81,11 @@ static int __devinit scx200_probe(struct pci_dev *pdev, const struct pci_device_ · 9 unmodified lines | ||
| 82 | 81 | if (scx200_cb_probe(base)) { |
| 83 | 82 | scx200_cb_base = base; |
| 84 | 83 | } else { |
| 85 | − printk(KERN_WARNING NAME ": Configuration Block not found\n"); | |
| 84 | + pr_warn("Configuration Block not found\n"); | |
| 86 | 85 | return -ENODEV; |
| 87 | 86 | } |
| 88 | 87 | } |
| 89 | − printk(KERN_INFO NAME ": Configuration Block base 0x%x\n", scx200_cb_base); | |
| 88 | + pr_info("Configuration Block base 0x%x\n", scx200_cb_base); | |
| 90 | 89 | } |
| 91 | 90 | |
| 92 | 91 | return 0; |
| @@ -111,8 +110,7 @@ u32 scx200_gpio_configure(unsigned index, u32 mask, u32 bits) · 18 unmodified lines | ||
| 111 | 110 | |
| 112 | 111 | static int __init scx200_init(void) |
| 113 | 112 | { |
| 114 | − printk(KERN_INFO NAME ": NatSemi SCx200 Driver\n"); | |
| 115 | − | |
| 113 | + pr_info("NatSemi SCx200 Driver\n"); | |
| 116 | 114 | return pci_register_driver(&scx200_pci_driver); |
| 117 | 115 | } |
| 118 | 116 | |
| @@ -39,7 +39,6 @@ · 38 unmodified lines | ||
| 39 | 39 | #include <linux/sched.h> |
| 40 | 40 | #include <linux/slab.h> |
| 41 | 41 | #include <linux/types.h> |
| 42 | −#include <linux/version.h> | |
| 43 | 42 | |
| 44 | 43 | #include <asm-generic/io-64-nonatomic-lo-hi.h> |
| 45 | 44 | |
| @@ -94,7 +94,7 @@ · 93 unmodified lines | ||
| 94 | 94 | /* Note that *all* calls to CMOS_READ and CMOS_WRITE must be done with |
| 95 | 95 | * rtc_lock held. Due to the index-port/data-port design of the RTC, we |
| 96 | 96 | * don't want two different things trying to get to it at once. (e.g. the |
| 97 | − * periodic 11 min sync from time.c vs. this driver.) | |
| 97 | + * periodic 11 min sync from kernel/time/ntp.c vs. this driver.) | |
| 98 | 98 | */ |
| 99 | 99 | |
| 100 | 100 | #include <linux/types.h> |
| @@ -57,8 +57,8 @@ · 56 unmodified lines | ||
| 57 | 57 | * Note that *all* calls to CMOS_READ and CMOS_WRITE are done with |
| 58 | 58 | * interrupts disabled. Due to the index-port/data-port (0x70/0x71) |
| 59 | 59 | * design of the RTC, we don't want two different things trying to |
| 60 | − * get to it at once. (e.g. the periodic 11 min sync from time.c vs. | |
| 61 | − * this driver.) | |
| 60 | + * get to it at once. (e.g. the periodic 11 min sync from | |
| 61 | + * kernel/time/ntp.c vs. this driver.) | |
| 62 | 62 | */ |
| 63 | 63 | |
| 64 | 64 | #include <linux/interrupt.h> |
| @@ -76,7 +76,7 @@ enum tis_defaults { · 75 unmodified lines | ||
| 76 | 76 | #define TPM_RID(l) (0x0F04 | ((l) << 12)) |
| 77 | 77 | |
| 78 | 78 | static LIST_HEAD(tis_chips); |
| 79 | −static DEFINE_SPINLOCK(tis_lock); | |
| 79 | +static DEFINE_MUTEX(tis_lock); | |
| 80 | 80 | |
| 81 | 81 | #if defined(CONFIG_PNP) && defined(CONFIG_ACPI) |
| 82 | 82 | static int is_itpm(struct pnp_dev *dev) |
| @@ -689,9 +689,9 @@ static int tpm_tis_init(struct device *dev, resource_size_t start, · 606 unmodified lines | ||
| 689 | 689 | } |
| 690 | 690 | |
| 691 | 691 | INIT_LIST_HEAD(&chip->vendor.list); |
| 692 | − spin_lock(&tis_lock); | |
| 692 | + mutex_lock(&tis_lock); | |
| 693 | 693 | list_add(&chip->vendor.list, &tis_chips); |
| 694 | − spin_unlock(&tis_lock); | |
| 694 | + mutex_unlock(&tis_lock); | |
| 695 | 695 | |
| 696 | 696 | |
| 697 | 697 | return 0; |
| @@ -855,7 +855,7 @@ static void __exit cleanup_tis(void) · 157 unmodified lines | ||
| 855 | 855 | { |
| 856 | 856 | struct tpm_vendor_specific *i, *j; |
| 857 | 857 | struct tpm_chip *chip; |
| 858 | − spin_lock(&tis_lock); | |
| 858 | + mutex_lock(&tis_lock); | |
| 859 | 859 | list_for_each_entry_safe(i, j, &tis_chips, list) { |
| 860 | 860 | chip = to_tpm_chip(i); |
| 861 | 861 | tpm_remove_hardware(chip->dev); |
| @@ -871,7 +871,7 @@ static void __exit cleanup_tis(void) · 9 unmodified lines | ||
| 871 | 871 | iounmap(i->iobase); |
| 872 | 872 | list_del(&i->list); |
| 873 | 873 | } |
| 874 | − spin_unlock(&tis_lock); | |
| 874 | + mutex_unlock(&tis_lock); | |
| 875 | 875 | #ifdef CONFIG_PNP |
| 876 | 876 | if (!force) { |
| 877 | 877 | pnp_unregister_driver(&tis_pnp_driver); |
| @@ -1482,7 +1482,7 @@ static int __devinit iop_adma_probe(struct platform_device *pdev) · 1481 unmodified lines | ||
| 1482 | 1482 | goto err_free_adev; |
| 1483 | 1483 | } |
| 1484 | 1484 | |
| 1485 | − dev_dbg(&pdev->dev, "%s: allocted descriptor pool virt %p phys %p\n", | |
| 1485 | + dev_dbg(&pdev->dev, "%s: allocated descriptor pool virt %p phys %p\n", | |
| 1486 | 1486 | __func__, adev->dma_desc_pool_virt, |
| 1487 | 1487 | (void *) adev->dma_desc_pool); |
| 1488 | 1488 | |
| @@ -713,7 +713,6 @@ void psb_intel_lvds_init(struct drm_device *dev, · 712 unmodified lines | ||
| 713 | 713 | |
| 714 | 714 | psb_intel_encoder = |
| 715 | 715 | kzalloc(sizeof(struct psb_intel_encoder), GFP_KERNEL); |
| 716 | − | |
| 717 | 716 | if (!psb_intel_encoder) { |
| 718 | 717 | dev_err(dev->dev, "psb_intel_encoder allocation error\n"); |
| 719 | 718 | return; |
| @@ -721,10 +720,9 @@ void psb_intel_lvds_init(struct drm_device *dev, · 1 unmodified line | ||
| 721 | 720 | |
| 722 | 721 | psb_intel_connector = |
| 723 | 722 | kzalloc(sizeof(struct psb_intel_connector), GFP_KERNEL); |
| 724 | − | |
| 725 | 723 | if (!psb_intel_connector) { |
| 726 | − kfree(psb_intel_encoder); | |
| 727 | 724 | dev_err(dev->dev, "psb_intel_connector allocation error\n"); |
| 725 | + goto failed_encoder; | |
| 728 | 726 | } |
| 729 | 727 | |
| 730 | 728 | lvds_priv = kzalloc(sizeof(struct psb_intel_lvds_priv), GFP_KERNEL); |
| @@ -862,7 +860,8 @@ failed_blc_i2c: · 131 unmodified lines | ||
| 862 | 860 | drm_encoder_cleanup(encoder); |
| 863 | 861 | drm_connector_cleanup(connector); |
| 864 | 862 | failed_connector: |
| 865 | − if (psb_intel_connector) | |
| 866 | − kfree(psb_intel_connector); | |
| 863 | + kfree(psb_intel_connector); | |
| 864 | +failed_encoder: | |
| 865 | + kfree(psb_intel_encoder); | |
| 867 | 866 | } |
| 868 | 867 | |
| @@ -150,7 +150,7 @@ void rv515_gpu_init(struct radeon_device *rdev) · 149 unmodified lines | ||
| 150 | 150 | |
| 151 | 151 | if (r100_gui_wait_for_idle(rdev)) { |
| 152 | 152 | printk(KERN_WARNING "Failed to wait GUI idle while " |
| 153 | − "reseting GPU. Bad things might happen.\n"); | |
| 153 | + "resetting GPU. Bad things might happen.\n"); | |
| 154 | 154 | } |
| 155 | 155 | rv515_vga_render_disable(rdev); |
| 156 | 156 | r420_pipes_init(rdev); |
| @@ -162,7 +162,7 @@ void rv515_gpu_init(struct radeon_device *rdev) · 5 unmodified lines | ||
| 162 | 162 | WREG32_PLL(0x000D, tmp); |
| 163 | 163 | if (r100_gui_wait_for_idle(rdev)) { |
| 164 | 164 | printk(KERN_WARNING "Failed to wait GUI idle while " |
| 165 | − "reseting GPU. Bad things might happen.\n"); | |
| 165 | + "resetting GPU. Bad things might happen.\n"); | |
| 166 | 166 | } |
| 167 | 167 | if (rv515_mc_wait_for_idle(rdev)) { |
| 168 | 168 | printk(KERN_WARNING "Failed to wait MC idle while " |
| @@ -430,7 +430,7 @@ static int vmw_driver_load(struct drm_device *dev, unsigned long chipset) · 429 unmodified lines | ||
| 430 | 430 | svga_id = vmw_read(dev_priv, SVGA_REG_ID); |
| 431 | 431 | if (svga_id != SVGA_ID_2) { |
| 432 | 432 | ret = -ENOSYS; |
| 433 | − DRM_ERROR("Unsuported SVGA ID 0x%x\n", svga_id); | |
| 433 | + DRM_ERROR("Unsupported SVGA ID 0x%x\n", svga_id); | |
| 434 | 434 | mutex_unlock(&dev_priv->hw_mutex); |
| 435 | 435 | goto out_err0; |
| 436 | 436 | } |
| @@ -624,7 +624,7 @@ static int tmp401_probe(struct i2c_client *client, · 623 unmodified lines | ||
| 624 | 624 | goto exit_remove; |
| 625 | 625 | } |
| 626 | 626 | |
| 627 | − /* Register aditional tmp411 sysfs hooks */ | |
| 627 | + /* Register additional tmp411 sysfs hooks */ | |
| 628 | 628 | if (data->kind == tmp411) { |
| 629 | 629 | for (i = 0; i < ARRAY_SIZE(tmp411_attr); i++) { |
| 630 | 630 | err = device_create_file(&client->dev, |
| @@ -3450,7 +3450,7 @@ static struct se_node_acl *srpt_alloc_fabric_acl(struct se_portal_group *se_tpg) · 3449 unmodified lines | ||
| 3450 | 3450 | |
| 3451 | 3451 | nacl = kzalloc(sizeof(struct srpt_node_acl), GFP_KERNEL); |
| 3452 | 3452 | if (!nacl) { |
| 3453 | − printk(KERN_ERR "Unable to alocate struct srpt_node_acl\n"); | |
| 3453 | + printk(KERN_ERR "Unable to allocate struct srpt_node_acl\n"); | |
| 3454 | 3454 | return NULL; |
| 3455 | 3455 | } |
| 3456 | 3456 | |
| @@ -1247,7 +1247,7 @@ static int iommu_init_domains(struct intel_iommu *iommu) · 1246 unmodified lines | ||
| 1247 | 1247 | unsigned long nlongs; |
| 1248 | 1248 | |
| 1249 | 1249 | ndomains = cap_ndoms(iommu->cap); |
| 1250 | − pr_debug("IOMMU %d: Number of Domains supportd <%ld>\n", iommu->seq_id, | |
| 1250 | + pr_debug("IOMMU %d: Number of Domains supported <%ld>\n", iommu->seq_id, | |
| 1251 | 1251 | ndomains); |
| 1252 | 1252 | nlongs = BITS_TO_LONGS(ndomains); |
| 1253 | 1253 | |
| @@ -356,7 +356,7 @@ static void poll_media_bay(struct media_bay_info* bay) · 355 unmodified lines | ||
| 356 | 356 | static char *mb_content_types[] = { |
| 357 | 357 | "a floppy drive", |
| 358 | 358 | "a floppy drive", |
| 359 | − "an unsuported audio device", | |
| 359 | + "an unsupported audio device", | |
| 360 | 360 | "an ATA device", |
| 361 | 361 | "an unsupported PCI device", |
| 362 | 362 | "an unknown device", |
| @@ -12,7 +12,6 @@ · 11 unmodified lines | ||
| 12 | 12 | #include <linux/dm-io.h> |
| 13 | 13 | #include <linux/slab.h> |
| 14 | 14 | #include <linux/vmalloc.h> |
| 15 | −#include <linux/version.h> | |
| 16 | 15 | #include <linux/shrinker.h> |
| 17 | 16 | #include <linux/module.h> |
| 18 | 17 | |
| @@ -1054,7 +1054,7 @@ static int dm04_lme2510_tuner(struct dvb_usb_adapter *adap) · 1053 unmodified lines | ||
| 1054 | 1054 | if (ret) |
| 1055 | 1055 | info("TUN Found %s tuner", tun_msg[ret]); |
| 1056 | 1056 | else { |
| 1057 | − info("TUN No tuner found --- reseting device"); | |
| 1057 | + info("TUN No tuner found --- resetting device"); | |
| 1058 | 1058 | lme_coldreset(adap->dev->udev); |
| 1059 | 1059 | return -ENODEV; |
| 1060 | 1060 | } |
| @@ -28,7 +28,6 @@ · 27 unmodified lines | ||
| 28 | 28 | #include <linux/delay.h> |
| 29 | 29 | #include <linux/firmware.h> |
| 30 | 30 | #include <linux/i2c.h> |
| 31 | −#include <linux/version.h> | |
| 32 | 31 | #include <asm/div64.h> |
| 33 | 32 | |
| 34 | 33 | #include "dvb_frontend.h" |
| @@ -1272,7 +1272,7 @@ struct dvb_frontend* tda10045_attach(const struct tda1004x_config* config, · 1271 unmodified lines | ||
| 1272 | 1272 | /* allocate memory for the internal state */ |
| 1273 | 1273 | state = kzalloc(sizeof(struct tda1004x_state), GFP_KERNEL); |
| 1274 | 1274 | if (!state) { |
| 1275 | − printk(KERN_ERR "Can't alocate memory for tda10045 state\n"); | |
| 1275 | + printk(KERN_ERR "Can't allocate memory for tda10045 state\n"); | |
| 1276 | 1276 | return NULL; |
| 1277 | 1277 | } |
| 1278 | 1278 | |
| @@ -1342,7 +1342,7 @@ struct dvb_frontend* tda10046_attach(const struct tda1004x_config* config, · 63 unmodified lines | ||
| 1342 | 1342 | /* allocate memory for the internal state */ |
| 1343 | 1343 | state = kzalloc(sizeof(struct tda1004x_state), GFP_KERNEL); |
| 1344 | 1344 | if (!state) { |
| 1345 | − printk(KERN_ERR "Can't alocate memory for tda10046 state\n"); | |
| 1345 | + printk(KERN_ERR "Can't allocate memory for tda10046 state\n"); | |
| 1346 | 1346 | return NULL; |
| 1347 | 1347 | } |
| 1348 | 1348 | |
| @@ -76,7 +76,7 @@ static int mantis_hif_write_wait(struct mantis_ca *ca) · 75 unmodified lines | ||
| 76 | 76 | udelay(500); |
| 77 | 77 | timeout++; |
| 78 | 78 | if (timeout > 100) { |
| 79 | − dprintk(MANTIS_ERROR, 1, "Adater(%d) Slot(0): Write operation timed out!", mantis->num); | |
| 79 | + dprintk(MANTIS_ERROR, 1, "Adapter(%d) Slot(0): Write operation timed out!", mantis->num); | |
| 80 | 80 | rc = -ETIMEDOUT; |
| 81 | 81 | break; |
| 82 | 82 | } |
| @@ -172,7 +172,7 @@ static int fmr2_tea_ext_init(struct snd_tea575x *tea) · 171 unmodified lines | ||
| 172 | 172 | fmr2->volume = v4l2_ctrl_new_std(&tea->ctrl_handler, &fmr2_ctrl_ops, V4L2_CID_AUDIO_VOLUME, 0, 68, 2, 56); |
| 173 | 173 | fmr2->balance = v4l2_ctrl_new_std(&tea->ctrl_handler, &fmr2_ctrl_ops, V4L2_CID_AUDIO_BALANCE, -68, 68, 2, 0); |
| 174 | 174 | if (tea->ctrl_handler.error) { |
| 175 | − printk(KERN_ERR "radio-sf16fmr2: can't initialize contrls\n"); | |
| 175 | + printk(KERN_ERR "radio-sf16fmr2: can't initialize controls\n"); | |
| 176 | 176 | return tea->ctrl_handler.error; |
| 177 | 177 | } |
| 178 | 178 | } |
| @@ -292,7 +292,7 @@ static int validate_ccdc_param(struct ccdc_config_params_raw *ccdcparam) · 291 unmodified lines | ||
| 292 | 292 | if ((ccdcparam->med_filt_thres < 0) || |
| 293 | 293 | (ccdcparam->med_filt_thres > CCDC_MED_FILT_THRESH)) { |
| 294 | 294 | dev_dbg(ccdc_cfg.dev, |
| 295 | − "Invalid value of median filter thresold\n"); | |
| 295 | + "Invalid value of median filter threshold\n"); | |
| 296 | 296 | return -EINVAL; |
| 297 | 297 | } |
| 298 | 298 | |
| @@ -649,7 +649,7 @@ static int ov6650_s_fmt(struct v4l2_subdev *sd, struct v4l2_mbus_framefmt *mf) · 648 unmodified lines | ||
| 649 | 649 | clkrc = CLKRC_24MHz; |
| 650 | 650 | } else { |
| 651 | 651 | dev_err(&client->dev, |
| 652 | − "unspported input clock, check platform data\n"); | |
| 652 | + "unsupported input clock, check platform data\n"); | |
| 653 | 653 | return -EINVAL; |
| 654 | 654 | } |
| 655 | 655 | mclk = sense->master_clock; |
| @@ -28,7 +28,6 @@ · 27 unmodified lines | ||
| 28 | 28 | #include <linux/bitops.h> |
| 29 | 29 | #include <linux/spinlock.h> |
| 30 | 30 | #include <linux/mfd/core.h> |
| 31 | −#include <linux/version.h> | |
| 32 | 31 | #include <linux/mfd/db5500-prcmu.h> |
| 33 | 32 | |
| 34 | 33 | #include "ab5500-core.h" |
| @@ -1606,7 +1606,7 @@ static int __devinit s3cmci_probe(struct platform_device *pdev) · 1605 unmodified lines | ||
| 1606 | 1606 | host->mem = platform_get_resource(pdev, IORESOURCE_MEM, 0); |
| 1607 | 1607 | if (!host->mem) { |
| 1608 | 1608 | dev_err(&pdev->dev, |
| 1609 | − "failed to get io memory region resouce.\n"); | |
| 1609 | + "failed to get io memory region resource.\n"); | |
| 1610 | 1610 | |
| 1611 | 1611 | ret = -ENOENT; |
| 1612 | 1612 | goto probe_free_gpio; |
| @@ -1630,7 +1630,7 @@ static int __devinit s3cmci_probe(struct platform_device *pdev) · 17 unmodified lines | ||
| 1630 | 1630 | |
| 1631 | 1631 | host->irq = platform_get_irq(pdev, 0); |
| 1632 | 1632 | if (host->irq == 0) { |
| 1633 | − dev_err(&pdev->dev, "failed to get interrupt resouce.\n"); | |
| 1633 | + dev_err(&pdev->dev, "failed to get interrupt resource.\n"); | |
| 1634 | 1634 | ret = -EINVAL; |
| 1635 | 1635 | goto probe_iounmap; |
| 1636 | 1636 | } |
| @@ -76,10 +76,7 @@ struct mtd_info *do_map_probe(const char *name, struct map_info *map) · 75 unmodified lines | ||
| 76 | 76 | */ |
| 77 | 77 | module_put(drv->module); |
| 78 | 78 | |
| 79 | − if (ret) | |
| 80 | − return ret; | |
| 81 | − | |
| 82 | − return NULL; | |
| 79 | + return ret; | |
| 83 | 80 | } |
| 84 | 81 | /* |
| 85 | 82 | * Destroy an MTD device which was created for a map device. |
| @@ -1466,7 +1466,7 @@ static int prism2_hw_enable(struct net_device *dev, int initial) · 1465 unmodified lines | ||
| 1466 | 1466 | * before it starts acting as an AP, so reset port automatically |
| 1467 | 1467 | * here just in case */ |
| 1468 | 1468 | if (initial && prism2_reset_port(dev)) { |
| 1469 | − printk("%s: MAC port 0 reseting failed\n", dev->name); | |
| 1469 | + printk("%s: MAC port 0 resetting failed\n", dev->name); | |
| 1470 | 1470 | return 1; |
| 1471 | 1471 | } |
| 1472 | 1472 | |
| @@ -1557,7 +1557,7 @@ static void prism2_hw_reset(struct net_device *dev) · 84 unmodified lines | ||
| 1557 | 1557 | static long last_reset = 0; |
| 1558 | 1558 | |
| 1559 | 1559 | /* do not reset card more than once per second to avoid ending up in a |
| 1560 | − * busy loop reseting the card */ | |
| 1560 | + * busy loop resetting the card */ | |
| 1561 | 1561 | if (time_before_eq(jiffies, last_reset + HZ)) |
| 1562 | 1562 | return; |
| 1563 | 1563 | last_reset = jiffies; |
| @@ -856,7 +856,7 @@ reset_device: · 855 unmodified lines | ||
| 856 | 856 | |
| 857 | 857 | /* semaphore stuck, reset device to avoid fw freeze later */ |
| 858 | 858 | dev_warn(zd_mac_dev(mac), "CR_BCN_FIFO_SEMAPHORE stuck, " |
| 859 | − "reseting device..."); | |
| 859 | + "resetting device..."); | |
| 860 | 860 | usb_queue_reset_device(mac->chip.usb.intf); |
| 861 | 861 | |
| 862 | 862 | return r; |
| @@ -1104,7 +1104,7 @@ static void zd_tx_watchdog_handler(struct work_struct *work) · 1103 unmodified lines | ||
| 1104 | 1104 | goto out; |
| 1105 | 1105 | |
| 1106 | 1106 | /* TX halted, try reset */ |
| 1107 | − dev_warn(zd_usb_dev(usb), "TX-stall detected, reseting device..."); | |
| 1107 | + dev_warn(zd_usb_dev(usb), "TX-stall detected, resetting device..."); | |
| 1108 | 1108 | |
| 1109 | 1109 | usb_queue_reset_device(usb->intf); |
| 1110 | 1110 | |
| @@ -379,7 +379,7 @@ static ssize_t hdaps_temp1_show(struct device *dev, · 378 unmodified lines | ||
| 379 | 379 | int ret; |
| 380 | 380 | |
| 381 | 381 | ret = hdaps_readb_one(HDAPS_PORT_TEMP1, &temp); |
| 382 | − if (ret < 0) | |
| 382 | + if (ret) | |
| 383 | 383 | return ret; |
| 384 | 384 | |
| 385 | 385 | return sprintf(buf, "%u\n", temp); |
| @@ -392,7 +392,7 @@ static ssize_t hdaps_temp2_show(struct device *dev, · 6 unmodified lines | ||
| 392 | 392 | int ret; |
| 393 | 393 | |
| 394 | 394 | ret = hdaps_readb_one(HDAPS_PORT_TEMP2, &temp); |
| 395 | − if (ret < 0) | |
| 395 | + if (ret) | |
| 396 | 396 | return ret; |
| 397 | 397 | |
| 398 | 398 | return sprintf(buf, "%u\n", temp); |
| @@ -47,10 +47,10 @@ · 46 unmodified lines | ||
| 47 | 47 | #define BQ27x00_REG_TTE 0x16 |
| 48 | 48 | #define BQ27x00_REG_TTF 0x18 |
| 49 | 49 | #define BQ27x00_REG_TTECP 0x26 |
| 50 | −#define BQ27x00_REG_NAC 0x0C /* Nominal available capaciy */ | |
| 50 | +#define BQ27x00_REG_NAC 0x0C /* Nominal available capacity */ | |
| 51 | 51 | #define BQ27x00_REG_LMD 0x12 /* Last measured discharge */ |
| 52 | 52 | #define BQ27x00_REG_CYCT 0x2A /* Cycle count total */ |
| 53 | −#define BQ27x00_REG_AE 0x22 /* Available enery */ | |
| 53 | +#define BQ27x00_REG_AE 0x22 /* Available energy */ | |
| 54 | 54 | |
| 55 | 55 | #define BQ27000_REG_RSOC 0x0B /* Relative State-of-Charge */ |
| 56 | 56 | #define BQ27000_REG_ILMD 0x76 /* Initial last measured discharge */ |
| @@ -8993,7 +8993,7 @@ ahd_handle_scsi_status(struct ahd_softc *ahd, struct scb *scb) · 8992 unmodified lines | ||
| 8993 | 8993 | printk("Invalid Command IU Field\n"); |
| 8994 | 8994 | break; |
| 8995 | 8995 | case SIU_PFC_TMF_NOT_SUPPORTED: |
| 8996 | − printk("TMF not supportd\n"); | |
| 8996 | + printk("TMF not supported\n"); | |
| 8997 | 8997 | break; |
| 8998 | 8998 | case SIU_PFC_TMF_FAILED: |
| 8999 | 8999 | printk("TMF failed\n"); |
| @@ -9113,7 +9113,7 @@ ahd_handle_scsi_status(struct ahd_softc *ahd, struct scb *scb) · 113 unmodified lines | ||
| 9113 | 9113 | break; |
| 9114 | 9114 | } |
| 9115 | 9115 | case SCSI_STATUS_OK: |
| 9116 | − printk("%s: Interrupted for staus of 0???\n", | |
| 9116 | + printk("%s: Interrupted for status of 0???\n", | |
| 9117 | 9117 | ahd_name(ahd)); |
| 9118 | 9118 | /* FALLTHROUGH */ |
| 9119 | 9119 | default: |
| @@ -1049,7 +1049,7 @@ ahc_handle_seqint(struct ahc_softc *ahc, u_int intstat) · 1048 unmodified lines | ||
| 1049 | 1049 | ahc_set_scsi_status(scb, hscb->shared_data.status.scsi_status); |
| 1050 | 1050 | switch (hscb->shared_data.status.scsi_status) { |
| 1051 | 1051 | case SCSI_STATUS_OK: |
| 1052 | − printk("%s: Interrupted for staus of 0???\n", | |
| 1052 | + printk("%s: Interrupted for status of 0???\n", | |
| 1053 | 1053 | ahc_name(ahc)); |
| 1054 | 1054 | break; |
| 1055 | 1055 | case SCSI_STATUS_CMD_TERMINATED: |
| @@ -58,7 +58,6 @@ · 57 unmodified lines | ||
| 58 | 58 | #include "host.h" |
| 59 | 59 | #include "isci.h" |
| 60 | 60 | #include "port.h" |
| 61 | −#include "host.h" | |
| 62 | 61 | #include "probe_roms.h" |
| 63 | 62 | #include "remote_device.h" |
| 64 | 63 | #include "request.h" |
| @@ -149,7 +149,7 @@ _config_display_some_debug(struct MPT2SAS_ADAPTER *ioc, u16 smid, · 148 unmodified lines | ||
| 149 | 149 | desc = "raid_config"; |
| 150 | 150 | break; |
| 151 | 151 | case MPI2_CONFIG_EXTPAGETYPE_DRIVER_MAPPING: |
| 152 | − desc = "driver_mappping"; | |
| 152 | + desc = "driver_mapping"; | |
| 153 | 153 | break; |
| 154 | 154 | } |
| 155 | 155 | break; |
| @@ -3532,7 +3532,7 @@ static void process_one_iomb(struct pm8001_hba_info *pm8001_ha, void *piomb) · 3531 unmodified lines | ||
| 3532 | 3532 | break; |
| 3533 | 3533 | case OPC_OUB_DEREG_DEV: |
| 3534 | 3534 | PM8001_MSG_DBG(pm8001_ha, |
| 3535 | − pm8001_printk("unresgister the deviece\n")); | |
| 3535 | + pm8001_printk("unregister the device\n")); | |
| 3536 | 3536 | mpi_dereg_resp(pm8001_ha, piomb); |
| 3537 | 3537 | break; |
| 3538 | 3538 | case OPC_OUB_GET_DEV_HANDLE: |
| @@ -857,11 +857,11 @@ static struct pmcraid_ioasc_error pmcraid_ioasc_error_table[] = { · 856 unmodified lines | ||
| 857 | 857 | {0x01180600, IOASC_LOG_LEVEL_HARD, |
| 858 | 858 | "Recovered Error, soft media error, sector reassignment suggested"}, |
| 859 | 859 | {0x015D0000, IOASC_LOG_LEVEL_HARD, |
| 860 | − "Recovered Error, failure prediction thresold exceeded"}, | |
| 860 | + "Recovered Error, failure prediction threshold exceeded"}, | |
| 861 | 861 | {0x015D9200, IOASC_LOG_LEVEL_HARD, |
| 862 | − "Recovered Error, soft Cache Card Battery error thresold"}, | |
| 862 | + "Recovered Error, soft Cache Card Battery error threshold"}, | |
| 863 | 863 | {0x015D9200, IOASC_LOG_LEVEL_HARD, |
| 864 | − "Recovered Error, soft Cache Card Battery error thresold"}, | |
| 864 | + "Recovered Error, soft Cache Card Battery error threshold"}, | |
| 865 | 865 | {0x02048000, IOASC_LOG_LEVEL_HARD, |
| 866 | 866 | "Not Ready, IOA Reset Required"}, |
| 867 | 867 | {0x02408500, IOASC_LOG_LEVEL_HARD, |
| @@ -731,7 +731,7 @@ qla2x00_process_loopback(struct fc_bsg_job *bsg_job) · 730 unmodified lines | ||
| 731 | 731 | |
| 732 | 732 | if (elreq.options != EXTERNAL_LOOPBACK) { |
| 733 | 733 | ql_dbg(ql_dbg_user, vha, 0x7020, |
| 734 | − "Internal: curent port config = %x\n", | |
| 734 | + "Internal: current port config = %x\n", | |
| 735 | 735 | config[0]); |
| 736 | 736 | if (qla81xx_set_internal_loopback(vha, config, |
| 737 | 737 | new_config)) { |
| @@ -3382,7 +3382,7 @@ static int get_fw_boot_info(struct scsi_qla_host *ha, uint16_t ddb_index[]) · 3381 unmodified lines | ||
| 3382 | 3382 | if (qla4xxx_get_flash(ha, buf_dma, addr, |
| 3383 | 3383 | 13 * sizeof(uint8_t)) != QLA_SUCCESS) { |
| 3384 | 3384 | DEBUG2(ql4_printk(KERN_ERR, ha, "scsi%ld: %s: Get Flash" |
| 3385 | − "failed\n", ha->host_no, __func__)); | |
| 3385 | + " failed\n", ha->host_no, __func__)); | |
| 3386 | 3386 | ret = QLA_ERROR; |
| 3387 | 3387 | goto exit_boot_info_free; |
| 3388 | 3388 | } |
| @@ -3620,7 +3620,7 @@ static int qla4xxx_setup_boot_info(struct scsi_qla_host *ha) · 231 unmodified lines | ||
| 3620 | 3620 | |
| 3621 | 3621 | if (ql4xdisablesysfsboot) { |
| 3622 | 3622 | ql4_printk(KERN_INFO, ha, |
| 3623 | − "%s: syfsboot disabled - driver will trigger login" | |
| 3623 | + "%s: syfsboot disabled - driver will trigger login " | |
| 3624 | 3624 | "and publish session for discovery .\n", __func__); |
| 3625 | 3625 | return QLA_SUCCESS; |
| 3626 | 3626 | } |
| @@ -15,7 +15,6 @@ · 14 unmodified lines | ||
| 15 | 15 | #include <linux/slab.h> |
| 16 | 16 | #include <linux/sysfs.h> |
| 17 | 17 | #include <linux/regulator/consumer.h> |
| 18 | −#include <linux/module.h> | |
| 19 | 18 | |
| 20 | 19 | #include "../iio.h" |
| 21 | 20 | #include "../sysfs.h" |
| @@ -3923,7 +3923,7 @@ static void tdma_reset(struct slgt_info *info) · 3922 unmodified lines | ||
| 3923 | 3923 | */ |
| 3924 | 3924 | static void enable_loopback(struct slgt_info *info) |
| 3925 | 3925 | { |
| 3926 | − /* SCR (serial control) BIT2=looopback enable */ | |
| 3926 | + /* SCR (serial control) BIT2=loopback enable */ | |
| 3927 | 3927 | wr_reg16(info, SCR, (unsigned short)(rd_reg16(info, SCR) | BIT2)); |
| 3928 | 3928 | |
| 3929 | 3929 | if (info->params.mode != MGSL_MODE_ASYNC) { |
| @@ -89,7 +89,6 @@ · 88 unmodified lines | ||
| 89 | 89 | #include "disk-io.h" |
| 90 | 90 | #include "transaction.h" |
| 91 | 91 | #include "extent_io.h" |
| 92 | −#include "disk-io.h" | |
| 93 | 92 | #include "volumes.h" |
| 94 | 93 | #include "print-tree.h" |
| 95 | 94 | #include "locking.h" |
| @@ -1068,7 +1068,7 @@ int btrfs_write_out_cache(struct btrfs_root *root, · 1067 unmodified lines | ||
| 1068 | 1068 | spin_unlock(&block_group->lock); |
| 1069 | 1069 | ret = 0; |
| 1070 | 1070 | #ifdef DEBUG |
| 1071 | − printk(KERN_ERR "btrfs: failed to write free space cace " | |
| 1071 | + printk(KERN_ERR "btrfs: failed to write free space cache " | |
| 1072 | 1072 | "for block group %llu\n", block_group->key.objectid); |
| 1073 | 1073 | #endif |
| 1074 | 1074 | } |
| @@ -257,10 +257,10 @@ static int cramfs_fill_super(struct super_block *sb, void *data, int silent) · 256 unmodified lines | ||
| 257 | 257 | |
| 258 | 258 | /* Do sanity checks on the superblock */ |
| 259 | 259 | if (super.magic != CRAMFS_MAGIC) { |
| 260 | − /* check for wrong endianess */ | |
| 260 | + /* check for wrong endianness */ | |
| 261 | 261 | if (super.magic == CRAMFS_MAGIC_WEND) { |
| 262 | 262 | if (!silent) |
| 263 | − printk(KERN_ERR "cramfs: wrong endianess\n"); | |
| 263 | + printk(KERN_ERR "cramfs: wrong endianness\n"); | |
| 264 | 264 | goto out; |
| 265 | 265 | } |
| 266 | 266 | |
| @@ -270,7 +270,7 @@ static int cramfs_fill_super(struct super_block *sb, void *data, int silent) · 3 unmodified lines | ||
| 270 | 270 | mutex_unlock(&read_mutex); |
| 271 | 271 | if (super.magic != CRAMFS_MAGIC) { |
| 272 | 272 | if (super.magic == CRAMFS_MAGIC_WEND && !silent) |
| 273 | − printk(KERN_ERR "cramfs: wrong endianess\n"); | |
| 273 | + printk(KERN_ERR "cramfs: wrong endianness\n"); | |
| 274 | 274 | else if (!silent) |
| 275 | 275 | printk(KERN_ERR "cramfs: wrong magic\n"); |
| 276 | 276 | goto out; |
| @@ -1284,7 +1284,7 @@ int writeback_inodes_sb_if_idle(struct super_block *sb, enum wb_reason reason) · 1283 unmodified lines | ||
| 1284 | 1284 | EXPORT_SYMBOL(writeback_inodes_sb_if_idle); |
| 1285 | 1285 | |
| 1286 | 1286 | /** |
| 1287 | − * writeback_inodes_sb_if_idle - start writeback if none underway | |
| 1287 | + * writeback_inodes_sb_nr_if_idle - start writeback if none underway | |
| 1288 | 1288 | * @sb: the superblock |
| 1289 | 1289 | * @nr: the number of pages to write |
| 1290 | 1290 | * @reason: reason why some writeback work was initiated |
| @@ -340,7 +340,7 @@ int jffs2_unregister_compressor(struct jffs2_compressor *comp) · 339 unmodified lines | ||
| 340 | 340 | |
| 341 | 341 | if (comp->usecount) { |
| 342 | 342 | spin_unlock(&jffs2_compressor_list_lock); |
| 343 | − printk(KERN_WARNING "JFFS2: Compressor modul is in use. Unregister failed.\n"); | |
| 343 | + printk(KERN_WARNING "JFFS2: Compressor module is in use. Unregister failed.\n"); | |
| 344 | 344 | return -1; |
| 345 | 345 | } |
| 346 | 346 | list_del(&comp->list); |
| @@ -2008,14 +2008,14 @@ typedef struct { · 2007 unmodified lines | ||
| 2008 | 2008 | * |
| 2009 | 2009 | * When a directory is small enough to fit inside the index root then this |
| 2010 | 2010 | * is the only attribute describing the directory. When the directory is too |
| 2011 | − * large to fit in the index root, on the other hand, two aditional attributes | |
| 2011 | + * large to fit in the index root, on the other hand, two additional attributes | |
| 2012 | 2012 | * are present: an index allocation attribute, containing sub-nodes of the B+ |
| 2013 | 2013 | * directory tree (see below), and a bitmap attribute, describing which virtual |
| 2014 | 2014 | * cluster numbers (vcns) in the index allocation attribute are in use by an |
| 2015 | 2015 | * index block. |
| 2016 | 2016 | * |
| 2017 | 2017 | * NOTE: The root directory (FILE_root) contains an entry for itself. Other |
| 2018 | − * dircetories do not contain entries for themselves, though. | |
| 2018 | + * directories do not contain entries for themselves, though. | |
| 2019 | 2019 | */ |
| 2020 | 2020 | typedef struct { |
| 2021 | 2021 | ATTR_TYPE type; /* Type of the indexed attribute. Is |
| @@ -513,7 +513,7 @@ read_kcore(struct file *file, char __user *buffer, size_t buflen, loff_t *fpos) · 512 unmodified lines | ||
| 513 | 513 | |
| 514 | 514 | n = copy_to_user(buffer, (char *)start, tsz); |
| 515 | 515 | /* |
| 516 | − * We cannot distingush between fault on source | |
| 516 | + * We cannot distinguish between fault on source | |
| 517 | 517 | * and fault on destination. When this happens |
| 518 | 518 | * we clear too and hope it will trigger the |
| 519 | 519 | * EFAULT again. |
| @@ -975,7 +975,7 @@ static int leaf_cut_entries(struct buffer_head *bh, · 974 unmodified lines | ||
| 975 | 975 | remove */ |
| 976 | 976 | RFALSE(!is_direntry_le_ih(ih), "10180: item is not directory item"); |
| 977 | 977 | RFALSE(I_ENTRY_COUNT(ih) < from + del_count, |
| 978 | − "10185: item contains not enough entries: entry_cout = %d, from = %d, to delete = %d", | |
| 978 | + "10185: item contains not enough entries: entry_count = %d, from = %d, to delete = %d", | |
| 979 | 979 | I_ENTRY_COUNT(ih), from, del_count); |
| 980 | 980 | |
| 981 | 981 | if (del_count == 0) |
| @@ -236,7 +236,7 @@ void ftrace_likely_update(struct ftrace_branch_data *f, int val, int expect); · 235 unmodified lines | ||
| 236 | 236 | |
| 237 | 237 | /* |
| 238 | 238 | * Rather then using noinline to prevent stack consumption, use |
| 239 | − * noinline_for_stack instead. For documentaiton reasons. | |
| 239 | + * noinline_for_stack instead. For documentation reasons. | |
| 240 | 240 | */ |
| 241 | 241 | #define noinline_for_stack noinline |
| 242 | 242 | |
| @@ -746,28 +746,28 @@ int pci_bus_write_config_dword(struct pci_bus *bus, unsigned int devfn, · 745 unmodified lines | ||
| 746 | 746 | int where, u32 val); |
| 747 | 747 | struct pci_ops *pci_bus_set_ops(struct pci_bus *bus, struct pci_ops *ops); |
| 748 | 748 | |
| 749 | −static inline int pci_read_config_byte(struct pci_dev *dev, int where, u8 *val) | |
| 749 | +static inline int pci_read_config_byte(const struct pci_dev *dev, int where, u8 *val) | |
| 750 | 750 | { |
| 751 | 751 | return pci_bus_read_config_byte(dev->bus, dev->devfn, where, val); |
| 752 | 752 | } |
| 753 | −static inline int pci_read_config_word(struct pci_dev *dev, int where, u16 *val) | |
| 753 | +static inline int pci_read_config_word(const struct pci_dev *dev, int where, u16 *val) | |
| 754 | 754 | { |
| 755 | 755 | return pci_bus_read_config_word(dev->bus, dev->devfn, where, val); |
| 756 | 756 | } |
| 757 | −static inline int pci_read_config_dword(struct pci_dev *dev, int where, | |
| 757 | +static inline int pci_read_config_dword(const struct pci_dev *dev, int where, | |
| 758 | 758 | u32 *val) |
| 759 | 759 | { |
| 760 | 760 | return pci_bus_read_config_dword(dev->bus, dev->devfn, where, val); |
| 761 | 761 | } |
| 762 | −static inline int pci_write_config_byte(struct pci_dev *dev, int where, u8 val) | |
| 762 | +static inline int pci_write_config_byte(const struct pci_dev *dev, int where, u8 val) | |
| 763 | 763 | { |
| 764 | 764 | return pci_bus_write_config_byte(dev->bus, dev->devfn, where, val); |
| 765 | 765 | } |
| 766 | −static inline int pci_write_config_word(struct pci_dev *dev, int where, u16 val) | |
| 766 | +static inline int pci_write_config_word(const struct pci_dev *dev, int where, u16 val) | |
| 767 | 767 | { |
| 768 | 768 | return pci_bus_write_config_word(dev->bus, dev->devfn, where, val); |
| 769 | 769 | } |
| 770 | −static inline int pci_write_config_dword(struct pci_dev *dev, int where, | |
| 770 | +static inline int pci_write_config_dword(const struct pci_dev *dev, int where, | |
| 771 | 771 | u32 val) |
| 772 | 772 | { |
| 773 | 773 | return pci_bus_write_config_dword(dev->bus, dev->devfn, where, val); |
| @@ -812,7 +812,7 @@ static inline void security_free_mnt_opts(struct security_mnt_opts *opts) · 811 unmodified lines | ||
| 812 | 812 | * Check permissions before connecting or sending datagrams from @sock to |
| 813 | 813 | * @other. |
| 814 | 814 | * @sock contains the socket structure. |
| 815 | − * @sock contains the peer socket structure. | |
| 815 | + * @other contains the peer socket structure. | |
| 816 | 816 | * Return 0 if permission is granted. |
| 817 | 817 | * |
| 818 | 818 | * The @unix_stream_connect and @unix_may_send hooks were necessary because |
| @@ -64,7 +64,7 @@ struct writeback_control { · 63 unmodified lines | ||
| 64 | 64 | long pages_skipped; /* Pages which were not written */ |
| 65 | 65 | |
| 66 | 66 | /* |
| 67 | − * For a_ops->writepages(): is start or end are non-zero then this is | |
| 67 | + * For a_ops->writepages(): if start or end are non-zero then this is | |
| 68 | 68 | * a hint that the filesystem need only write out the pages inside that |
| 69 | 69 | * byterange. The byte at `end' is included in the writeout request. |
| 70 | 70 | */ |
| @@ -65,7 +65,6 @@ TRACE_EVENT(machine_suspend, · 64 unmodified lines | ||
| 65 | 65 | TP_printk("state=%lu", (unsigned long)__entry->state) |
| 66 | 66 | ); |
| 67 | 67 | |
| 68 | −/* This code will be removed after deprecation time exceeded (2.6.41) */ | |
| 69 | 68 | #ifdef CONFIG_EVENT_POWER_TRACING_DEPRECATED |
| 70 | 69 | |
| 71 | 70 | /* |
| @@ -446,8 +446,8 @@ void __init __weak thread_info_cache_init(void) · 445 unmodified lines | ||
| 446 | 446 | static void __init mm_init(void) |
| 447 | 447 | { |
| 448 | 448 | /* |
| 449 | − * page_cgroup requires countinous pages as memmap | |
| 450 | − * and it's bigger than MAX_ORDER unless SPARSEMEM. | |
| 449 | + * page_cgroup requires contiguous pages, | |
| 450 | + * bigger than MAX_ORDER unless SPARSEMEM. | |
| 451 | 451 | */ |
| 452 | 452 | page_cgroup_init_flatmem(); |
| 453 | 453 | mem_init(); |
| @@ -749,6 +749,7 @@ int adjust_resource(struct resource *res, resource_size_t start, resource_size_t · 748 unmodified lines | ||
| 749 | 749 | write_unlock(&resource_lock); |
| 750 | 750 | return result; |
| 751 | 751 | } |
| 752 | +EXPORT_SYMBOL(adjust_resource); | |
| 752 | 753 | |
| 753 | 754 | static void __init __reserve_region_with_split(struct resource *root, |
| 754 | 755 | resource_size_t start, resource_size_t end, |
| @@ -792,8 +793,6 @@ void __init reserve_region_with_split(struct resource *root, · 37 unmodified lines | ||
| 792 | 793 | write_unlock(&resource_lock); |
| 793 | 794 | } |
| 794 | 795 | |
| 795 | −EXPORT_SYMBOL(adjust_resource); | |
| 796 | − | |
| 797 | 796 | /** |
| 798 | 797 | * resource_alignment - calculate resource's alignment |
| 799 | 798 | * @res: resource pointer |
| @@ -184,7 +184,7 @@ int invalidate_inode_page(struct page *page) · 183 unmodified lines | ||
| 184 | 184 | } |
| 185 | 185 | |
| 186 | 186 | /** |
| 187 | − * truncate_inode_pages - truncate range of pages specified by start & end byte offsets | |
| 187 | + * truncate_inode_pages_range - truncate range of pages specified by start & end byte offsets | |
| 188 | 188 | * @mapping: mapping to truncate |
| 189 | 189 | * @lstart: offset from which to truncate |
| 190 | 190 | * @lend: offset to which to truncate |
| @@ -826,7 +826,7 @@ static void rds_ib_process_recv(struct rds_connection *conn, · 825 unmodified lines | ||
| 826 | 826 | |
| 827 | 827 | if (data_len < sizeof(struct rds_header)) { |
| 828 | 828 | rds_ib_conn_error(conn, "incoming message " |
| 829 | − "from %pI4 didn't inclue a " | |
| 829 | + "from %pI4 didn't include a " | |
| 830 | 830 | "header, disconnecting and " |
| 831 | 831 | "reconnecting\n", |
| 832 | 832 | &conn->c_faddr); |
| @@ -661,7 +661,7 @@ static void rds_iw_process_recv(struct rds_connection *conn, · 660 unmodified lines | ||
| 661 | 661 | |
| 662 | 662 | if (byte_len < sizeof(struct rds_header)) { |
| 663 | 663 | rds_iw_conn_error(conn, "incoming message " |
| 664 | − "from %pI4 didn't inclue a " | |
| 664 | + "from %pI4 didn't include a " | |
| 665 | 665 | "header, disconnecting and " |
| 666 | 666 | "reconnecting\n", |
| 667 | 667 | &conn->c_faddr); |
| @@ -1643,7 +1643,7 @@ static void cxt5051_update_speaker(struct hda_codec *codec) · 1642 unmodified lines | ||
| 1643 | 1643 | pinctl = (!spec->hp_present && spec->cur_eapd) ? PIN_OUT : 0; |
| 1644 | 1644 | snd_hda_codec_write(codec, 0x1a, 0, AC_VERB_SET_PIN_WIDGET_CONTROL, |
| 1645 | 1645 | pinctl); |
| 1646 | − /* on ideapad there is an aditional speaker (subwoofer) to mute */ | |
| 1646 | + /* on ideapad there is an additional speaker (subwoofer) to mute */ | |
| 1647 | 1647 | if (spec->ideapad) |
| 1648 | 1648 | snd_hda_codec_write(codec, 0x1b, 0, |
| 1649 | 1649 | AC_VERB_SET_PIN_WIDGET_CONTROL, |
| @@ -2601,7 +2601,7 @@ sub config_bisect { · 2600 unmodified lines | ||
| 2601 | 2601 | # read directly what we want to check |
| 2602 | 2602 | my %config_check; |
| 2603 | 2603 | open (IN, $output_config) |
| 2604 | − or dodie "faied to open $output_config"; | |
| 2604 | + or dodie "failed to open $output_config"; | |
| 2605 | 2605 | |
| 2606 | 2606 | while (<IN>) { |
| 2607 | 2607 | if (/^((CONFIG\S*)=.*)/) { |