Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
authorLinus Torvalds <torvalds@linux-foundation.org>
Wed, 21 Mar 2012 04:12:50 +0000 (21:12 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 21 Mar 2012 04:12:50 +0000 (21:12 -0700)
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
  ...

131 files changed:
Documentation/00-INDEX
Documentation/ABI/obsolete/sysfs-class-rfkill
Documentation/ABI/stable/sysfs-module
Documentation/DocBook/filesystems.tmpl
Documentation/DocBook/libata.tmpl
Documentation/DocBook/media/v4l/compat.xml
Documentation/arm/kernel_user_helpers.txt
Documentation/cgroups/blkio-controller.txt
Documentation/device-mapper/dm-raid.txt
Documentation/device-mapper/persistent-data.txt
Documentation/device-mapper/thin-provisioning.txt
Documentation/devicetree/bindings/arm/omap/omap.txt
Documentation/devicetree/bindings/arm/sirf.txt
Documentation/devicetree/booting-without-of.txt
Documentation/dmaengine.txt
Documentation/fb/matroxfb.txt
Documentation/filesystems/ext4.txt
Documentation/filesystems/gfs2-uevents.txt
Documentation/filesystems/pohmelfs/network_protocol.txt
Documentation/filesystems/ramfs-rootfs-initramfs.txt
Documentation/filesystems/vfs.txt
Documentation/hwmon/adm1275
Documentation/hwmon/max16064
Documentation/hwmon/max34440
Documentation/hwmon/max8688
Documentation/hwmon/ucd9000
Documentation/hwmon/ucd9200
Documentation/hwmon/zl6100
Documentation/i2o/ioctl
Documentation/ide/ChangeLog.ide-cd.1994-2004
Documentation/input/alps.txt
Documentation/input/joystick.txt
Documentation/ioctl/hdio.txt
Documentation/kbuild/kconfig-language.txt
Documentation/kernel-parameters.txt
Documentation/networking/fore200e.txt
Documentation/numastat.txt
Documentation/scsi/ChangeLog.lpfc
Documentation/scsi/ChangeLog.megaraid_sas
Documentation/scsi/scsi-generic.txt
Documentation/scsi/tmscsim.txt
Documentation/security/Smack.txt
Documentation/security/keys-trusted-encrypted.txt
Documentation/security/keys.txt
Documentation/sound/alsa/ALSA-Configuration.txt
Documentation/target/tcm_mod_builder.py
Documentation/trace/events-power.txt
Documentation/usb/mtouchusb.txt
Documentation/usb/power-management.txt
Documentation/usb/proc_usb_info.txt
Documentation/video4linux/uvcvideo.txt
Documentation/virtual/kvm/mmu.txt
Documentation/virtual/virtio-spec.txt
Documentation/vm/cleancache.txt
Documentation/vm/unevictable-lru.txt
Documentation/watchdog/watchdog-kernel-api.txt
arch/alpha/include/asm/machvec.h
arch/alpha/kernel/sys_dp264.c
arch/arm/mach-bcmring/dma.c
arch/arm/mach-ks8695/leds.c
arch/arm/mach-omap1/lcd_dma.c
arch/arm/mach-orion5x/db88f5281-setup.c
arch/arm/mach-orion5x/rd88f5182-setup.c
arch/arm/mach-spear3xx/spear300.c
arch/arm/mach-spear3xx/spear310.c
arch/arm/mach-spear3xx/spear320.c
arch/arm/mm/init.c
arch/arm/plat-s3c24xx/pm-simtec.c
arch/ia64/xen/irq_xen.c
arch/mips/bcm63xx/setup.c
arch/powerpc/include/asm/keylargo.h
arch/score/Kconfig.debug
arch/x86/platform/scx200/scx200_32.c
drivers/block/nvme.c
drivers/char/nvram.c
drivers/char/rtc.c
drivers/char/tpm/tpm_tis.c
drivers/dma/iop-adma.c
drivers/gpu/drm/gma500/psb_intel_lvds.c
drivers/gpu/drm/radeon/rv515.c
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c
drivers/hwmon/tmp401.c
drivers/infiniband/ulp/srpt/ib_srpt.c
drivers/iommu/intel-iommu.c
drivers/macintosh/mediabay.c
drivers/md/dm-bufio.c
drivers/media/dvb/dvb-usb/lmedm04.c
drivers/media/dvb/frontends/drxk_hard.c
drivers/media/dvb/frontends/tda1004x.c
drivers/media/dvb/mantis/mantis_hif.c
drivers/media/radio/radio-sf16fmr2.c
drivers/media/video/davinci/dm355_ccdc.c
drivers/media/video/ov6650.c
drivers/mfd/ab5500-core.c
drivers/mmc/host/s3cmci.c
drivers/mtd/chips/chipreg.c
drivers/net/wireless/hostap/hostap_hw.c
drivers/net/wireless/zd1211rw/zd_mac.c
drivers/net/wireless/zd1211rw/zd_usb.c
drivers/platform/x86/hdaps.c
drivers/power/bq27x00_battery.c
drivers/scsi/aic7xxx/aic79xx_core.c
drivers/scsi/aic7xxx/aic7xxx_core.c
drivers/scsi/isci/host.c
drivers/scsi/mpt2sas/mpt2sas_config.c
drivers/scsi/pm8001/pm8001_hwi.c
drivers/scsi/pmcraid.h
drivers/scsi/qla2xxx/qla_bsg.c
drivers/scsi/qla4xxx/ql4_os.c
drivers/staging/iio/dac/ad5686.c
drivers/tty/synclink_gt.c
fs/btrfs/check-integrity.c
fs/btrfs/free-space-cache.c
fs/cramfs/inode.c
fs/fs-writeback.c
fs/jffs2/compr.c
fs/ntfs/layout.h
fs/proc/kcore.c
fs/reiserfs/lbalance.c
include/linux/compiler.h
include/linux/pci.h
include/linux/security.h
include/linux/writeback.h
include/trace/events/power.h
init/main.c
kernel/resource.c
mm/truncate.c
net/rds/ib_recv.c
net/rds/iw_recv.c
sound/pci/hda/patch_conexant.c
tools/testing/ktest/ktest.pl

index 65bbd26223962209b7ea378eec541c3ac6479320..a1a643272883065a2a97a98adceded20912db381 100644 (file)
@@ -7,8 +7,8 @@ Please try and keep the descriptions small enough to fit on one line.
 
 Following translations are available on the WWW:
 
-   - Japanese, maintained by the JF Project (JF@linux.or.jp), at
-     http://www.linux.or.jp/JF/
+   - Japanese, maintained by the JF Project (jf@listserv.linux.or.jp), at
+     http://linuxjf.sourceforge.jp/
 
 00-INDEX
        - this file.
index 4201d5b05515564a3650af7de8f8b522b87e53aa..ff60ad9eca4c7ba390e22bd0eda0378bfbe236f1 100644 (file)
@@ -7,7 +7,7 @@ Date:           09-Jul-2007
 KernelVersion  v2.6.22
 Contact:       linux-wireless@vger.kernel.org
 Description:   Current state of the transmitter.
-               This file is deprecated and sheduled to be removed in 2014,
+               This file is deprecated and scheduled to be removed in 2014,
                because its not possible to express the 'soft and hard block'
                state of the rfkill driver.
 Values:        A numeric value.
index 75be4311833502b3adaa8b01029b7c9ec9a434fe..a0dd21c6db59ed84f06694c1ac0aa30c082800ad 100644 (file)
@@ -6,7 +6,7 @@ Description:
                The name of the module that is in the kernel.  This
                module name will show up either if the module is built
                directly into the kernel, or if it is loaded as a
-               dyanmic module.
+               dynamic module.
 
        /sys/module/MODULENAME/parameters
                This directory contains individual files that are each
index f51f28531b8d48d72a4775938c6eb43098af746a..3fca32c41927130dae636a93504d7d8aacdee90e 100644 (file)
@@ -387,7 +387,7 @@ an example.
      <title>See also</title>
        <para>
          <citation>
-          <ulink url="ftp://ftp.uk.linux.org/pub/linux/sct/fs/jfs/journal-design.ps.gz">
+          <ulink url="http://kernel.org/pub/linux/kernel/people/sct/ext3/journal-design.ps.gz">
                Journaling the Linux ext2fs Filesystem, LinuxExpo 98, Stephen Tweedie
           </ulink>
          </citation>
index cdd1bb9aac0d979be9702630be04689edf6b324f..31df1aa0071084ce43b89bc6dd5521524cf5ed24 100644 (file)
@@ -22,8 +22,8 @@
    <para>
    The contents of this file are subject to the Open
    Software License version 1.1 that can be found at
-   <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
-   by reference.
+   <ulink url="http://fedoraproject.org/wiki/Licensing:OSL1.1">http://fedoraproject.org/wiki/Licensing:OSL1.1</ulink>
+   and is included herein by reference.
    </para>
 
    <para>
@@ -945,7 +945,7 @@ and other resources, etc.
 
         <listitem>
        <para>
-       !BSY &amp;&amp; ERR after CDB tranfer starts but before the
+       !BSY &amp;&amp; ERR after CDB transfer starts but before the
         last byte of CDB is transferred.  ATA/ATAPI standard states
         that &quot;The device shall not terminate the PACKET command
         with an error before the last byte of the command packet has
@@ -1050,7 +1050,7 @@ and other resources, etc.
           to complete a command.  Combined with the fact that MWDMA
           and PIO transfer errors aren't allowed to use ICRC bit up to
           ATA/ATAPI-7, it seems to imply that ABRT bit alone could
-          indicate tranfer errors.
+          indicate transfer errors.
           </para>
           <para>
           However, ATA/ATAPI-8 draft revision 1f removes the part
index c736380b4647acc649f2203b09c394802cd6180e..a2485b3ff3d267f47020714382543bc8ca157d43 100644 (file)
@@ -444,7 +444,7 @@ linkend="pixfmt-rgb"><constant>V4L2_PIX_FMT_BGR24</constant></link></para></entr
                <entry><para><link
 linkend="pixfmt-rgb"><constant>V4L2_PIX_FMT_BGR32</constant></link><footnote>
                      <para>Presumably all V4L RGB formats are
-little-endian, although some drivers might interpret them according to machine endianess. V4L2 defines little-endian, big-endian and red/blue
+little-endian, although some drivers might interpret them according to machine endianness. V4L2 defines little-endian, big-endian and red/blue
 swapped variants. For details see <xref linkend="pixfmt-rgb" />.</para>
                    </footnote></para></entry>
              </row>
@@ -823,7 +823,7 @@ standard); 35468950&nbsp;Hz PAL and SECAM (625-line standards)</entry>
                <row>
                  <entry>sample_format</entry>
                  <entry>V4L2_PIX_FMT_GREY. The last four bytes (a
-machine endianess integer) contain a frame counter.</entry>
+machine endianness integer) contain a frame counter.</entry>
                </row>
                <row>
                  <entry>start[]</entry>
index a17df9f91d163d58a1497760d13a1ca3e16557ff..5673594717cfcfe798d87ae95b7e5a1d386aeaff 100644 (file)
@@ -25,7 +25,7 @@ inline (either in the code emitted directly by the compiler, or part of
 the implementation of a library call) when optimizing for a recent enough
 processor that has the necessary native support, but only if resulting
 binaries are already to be incompatible with earlier ARM processors due to
-useage of similar native instructions for other things.  In other words
+usage of similar native instructions for other things.  In other words
 don't make binaries unable to run on earlier processors just for the sake
 of not using these kernel helpers if your compiled code is not going to
 use new instructions for other purpose.
index 84f0a15fc210aec69648309a7676717d889ef6e5..b4b1fb3a83f00dcc4d0155fdab93281af254301a 100644 (file)
@@ -94,11 +94,11 @@ Throttling/Upper Limit policy
 
 Hierarchical Cgroups
 ====================
-- Currently none of the IO control policy supports hierarhical groups. But
-  cgroup interface does allow creation of hierarhical cgroups and internally
+- Currently none of the IO control policy supports hierarchical groups. But
+  cgroup interface does allow creation of hierarchical cgroups and internally
   IO policies treat them as flat hierarchy.
 
-  So this patch will allow creation of cgroup hierarhcy but at the backend
+  So this patch will allow creation of cgroup hierarchcy but at the backend
   everything will be treated as flat. So if somebody created a hierarchy like
   as follows.
 
@@ -266,7 +266,7 @@ Proportional weight policy files
 - blkio.idle_time
        - Debugging aid only enabled if CONFIG_DEBUG_BLK_CGROUP=y.
          This is the amount of time spent by the IO scheduler idling for a
-         given cgroup in anticipation of a better request than the exising ones
+         given cgroup in anticipation of a better request than the existing ones
          from other queues/cgroups. This is in nanoseconds. If this is read
          when the cgroup is in an idling state, the stat will only report the
          idle_time accumulated till the last idle period and will not include
@@ -283,34 +283,34 @@ Throttling/Upper limit policy files
 -----------------------------------
 - blkio.throttle.read_bps_device
        - Specifies upper limit on READ rate from the device. IO rate is
-         specified in bytes per second. Rules are per deivce. Following is
+         specified in bytes per second. Rules are per device. Following is
          the format.
 
   echo "<major>:<minor>  <rate_bytes_per_second>" > /cgrp/blkio.throttle.read_bps_device
 
 - blkio.throttle.write_bps_device
        - Specifies upper limit on WRITE rate to the device. IO rate is
-         specified in bytes per second. Rules are per deivce. Following is
+         specified in bytes per second. Rules are per device. Following is
          the format.
 
   echo "<major>:<minor>  <rate_bytes_per_second>" > /cgrp/blkio.throttle.write_bps_device
 
 - blkio.throttle.read_iops_device
        - Specifies upper limit on READ rate from the device. IO rate is
-         specified in IO per second. Rules are per deivce. Following is
+         specified in IO per second. Rules are per device. Following is
          the format.
 
   echo "<major>:<minor>  <rate_io_per_second>" > /cgrp/blkio.throttle.read_iops_device
 
 - blkio.throttle.write_iops_device
        - Specifies upper limit on WRITE rate to the device. IO rate is
-         specified in io per second. Rules are per deivce. Following is
+         specified in io per second. Rules are per device. Following is
          the format.
 
   echo "<major>:<minor>  <rate_io_per_second>" > /cgrp/blkio.throttle.write_iops_device
 
 Note: If both BW and IOPS rules are specified for a device, then IO is
-      subjectd to both the constraints.
+      subjected to both the constraints.
 
 - blkio.throttle.io_serviced
        - Number of IOs (bio) completed to/from the disk by the group (as
index 2a8c11331d2d6e8a861d272546e8a7f7d9f02cf8..946c73342cdea1c4afb23cb889828856a5e6308d 100644 (file)
@@ -28,7 +28,7 @@ The target is named "raid" and it accepts the following parameters:
   raid6_nc     RAID6 N continue
                - rotating parity N (right-to-left) with data continuation
 
-  Refererence: Chapter 4 of
+  Reference: Chapter 4 of
   http://www.snia.org/sites/default/files/SNIA_DDF_Technical_Position_v2.0.pdf
 
 <#raid_params>: The number of parameters that follow.
index 0e5df9b04ad2db5d96e95fdee83173c1e45a763a..a333bcb3a6c23671f77b09cb5c725ba023cc12c8 100644 (file)
@@ -3,7 +3,7 @@ Introduction
 
 The more-sophisticated device-mapper targets require complex metadata
 that is managed in kernel.  In late 2010 we were seeing that various
-different targets were rolling their own data strutures, for example:
+different targets were rolling their own data structures, for example:
 
 - Mikulas Patocka's multisnap implementation
 - Heinz Mauelshagen's thin provisioning target
index 801d9d1cf82be56facc9a8e9f99b41d35739374a..1ff044d87ca40d72565191615bac227ee2bc8d5c 100644 (file)
@@ -1,7 +1,7 @@
 Introduction
 ============
 
-This document descibes a collection of device-mapper targets that
+This document describes a collection of device-mapper targets that
 between them implement thin-provisioning and snapshots.
 
 The main highlight of this implementation, compared to the previous
index dbdab40ed3a62471879a1a6fb7b0d53c545cc8f9..edc618a8aab22da80037c2a8b406757d86171535 100644 (file)
@@ -5,7 +5,7 @@ IPs present in the SoC.
 On top of that an omap_device is created to extend the platform_device
 capabilities and to allow binding with one or several hwmods.
 The hwmods will contain all the information to build the device:
-adresse range, irq lines, dma lines, interconnect, PRCM register,
+address range, irq lines, dma lines, interconnect, PRCM register,
 clock domain, input clocks.
 For the moment just point to the existing hwmod, the next step will be
 to move data from hwmod to device-tree representation.
index 6b07f65b32de0e4563d80f20e4355fb7f5f9081e..1881e1c6dda59aea8d1c0076a70481eaec3a59fd 100644 (file)
@@ -1,3 +1,3 @@
-prima2 "cb" evalutation board
+prima2 "cb" evaluation board
 Required root node properties:
     - compatible = "sirf,prima2-cb", "sirf,prima2";
index 7c1329de0596a34ce81d60f214d46a43933f05c0..da0bfeb4253dfb5ad4546e1f199efdb28f8fd950 100644 (file)
@@ -169,7 +169,7 @@ it with special cases.
 
         b) Entry with a flattened device-tree block.  Firmware loads the
         physical address of the flattened device tree block (dtb) into r2,
-        r1 is not used, but it is considered good practise to use a valid
+        r1 is not used, but it is considered good practice to use a valid
         machine number as described in Documentation/arm/Booting.
 
                 r0 : 0
index bbe6cb3d1856b8943dd04d3449af9d39d5c1e7dc..879b6e31e2da6b4992d9ec5c556c741089851fff 100644 (file)
@@ -63,7 +63,7 @@ The slave DMA usage consists of following steps:
                                  struct dma_slave_config *config)
 
    Please see the dma_slave_config structure definition in dmaengine.h
-   for a detailed explaination of the struct members.  Please note
+   for a detailed explanation of the struct members.  Please note
    that the 'direction' member will be going away as it duplicates the
    direction given in the prepare call.
 
index e5ce8a1a978bf815654228c9d1a1e92625ffdb05..b95f5bb522f25e2e8ea6b1ba6ecbd06ecb82668c 100644 (file)
@@ -177,8 +177,8 @@ sgram    - tells to driver that you have Gxx0 with SGRAM memory. It has no
            effect without `init'.
 sdram    - tells to driver that you have Gxx0 with SDRAM memory.
            It is a default.
-inv24    - change timings parameters for 24bpp modes on Millenium and
-           Millenium II. Specify this if you see strange color shadows around
+inv24    - change timings parameters for 24bpp modes on Millennium and
+           Millennium II. Specify this if you see strange color shadows around
           characters.
 noinv24  - use standard timings. It is the default.
 inverse  - invert colors on screen (for LCD displays)
@@ -204,9 +204,9 @@ grayscale - enable grayscale summing. It works in PSEUDOCOLOR modes (text,
            can paint colors.
 nograyscale - disable grayscale summing. It is default.
 cross4MB - enables that pixel line can cross 4MB boundary. It is default for
-           non-Millenium.
+           non-Millennium.
 nocross4MB - pixel line must not cross 4MB boundary. It is default for
-             Millenium I or II, because of these devices have hardware
+             Millennium I or II, because of these devices have hardware
             limitations which do not allow this. But this option is
             incompatible with some (if not all yet released) versions of
             XF86_FBDev.
index 10ec4639f1522dad34d66eea61443750435fe3ae..8c10bf375c73d281c5b9e0919e23e1064ba8abc9 100644 (file)
@@ -308,7 +308,7 @@ min_batch_time=usec This parameter sets the commit time (as
                        fast disks, at the cost of increasing latency.
 
 journal_ioprio=prio    The I/O priority (from 0 to 7, where 0 is the
-                       highest priorty) which should be used for I/O
+                       highest priority) which should be used for I/O
                        operations submitted by kjournald2 during a
                        commit operation.  This defaults to 3, which is
                        a slightly higher priority than the default I/O
@@ -343,7 +343,7 @@ noinit_itable               Do not initialize any uninitialized inode table
 init_itable=n          The lazy itable init code will wait n times the
                        number of milliseconds it took to zero out the
                        previous block group's inode table.  This
-                       minimizes the impact on the systme performance
+                       minimizes the impact on the system performance
                        while file system's inode table is being initialized.
 
 discard                        Controls whether ext4 should issue discard/TRIM
index d81889669293d84d8fce823739618e37785cd75f..19a19ebebc34b8ced9398985a395661531dcd857 100644 (file)
@@ -62,7 +62,7 @@ be fixed.
 
 The REMOVE uevent is generated at the end of an unsuccessful mount
 or at the end of a umount of the filesystem. All REMOVE uevents will
-have been preceded by at least an ADD uevent for the same fileystem,
+have been preceded by at least an ADD uevent for the same filesystem,
 and unlike the other uevents is generated automatically by the kernel's
 kobject subsystem.
 
index 65e03dd44823879a923d4d0f819587865cc67f1d..c680b4b5353d56fc4dab3df07cf34dc8d3ac2c8c 100644 (file)
@@ -20,7 +20,7 @@ Commands can be embedded into transaction command (which in turn has own command
 so one can extend protocol as needed without breaking backward compatibility as long
 as old commands are supported. All string lengths include tail 0 byte.
 
-All commands are transferred over the network in big-endian. CPU endianess is used at the end peers.
+All commands are transferred over the network in big-endian. CPU endianness is used at the end peers.
 
 @cmd - command number, which specifies command to be processed. Following
        commands are used currently:
index a8273d5fad209b4ab4393c0667c03b549c83091c..59b4a0962e0f54df08399c2364b8161ac1b6434a 100644 (file)
@@ -297,7 +297,7 @@ the above threads) is:
    either way about the archive format, and there are alternative tools,
    such as:
 
-     http://freshmeat.net/projects/afio/
+     http://freecode.com/projects/afio
 
 2) The cpio archive format chosen by the kernel is simpler and cleaner (and
    thus easier to create and parse) than any of the (literally dozens of)
index 3d9393b845b8f71095dd2b55a1bd601ef70c37cd..e916e3d36488d982b4cc1a8580ea5f0529af79d2 100644 (file)
@@ -993,7 +993,7 @@ struct dentry_operations {
 
        If the 'rcu_walk' parameter is true, then the caller is doing a
        pathwalk in RCU-walk mode.  Sleeping is not permitted in this mode,
-       and the caller can be asked to leave it and call again by returing
+       and the caller can be asked to leave it and call again by returning
        -ECHILD.
 
        This function is only used if DCACHE_MANAGE_TRANSIT is set on the
index ab70d96d2dfd5fdb583359bb6fed0aee3ebee4ce..e5f982c845fd055525d40683e6eeb964ffce958e 100644 (file)
@@ -53,7 +53,7 @@ attributes are write-only, all other attributes are read-only.
 in1_label              "vin1" or "vout1" depending on chip variant and
                        configuration.
 in1_input              Measured voltage.
-in1_min                        Minumum Voltage.
+in1_min                        Minimum Voltage.
 in1_max                        Maximum voltage.
 in1_min_alarm          Voltage low alarm.
 in1_max_alarm          Voltage high alarm.
index f6e8bcbfaccfb4cd2c31671741fbb56b42b7cb7d..f8b478076f6dfda9e2fdbd47e2a4b843ca13bc51 100644 (file)
@@ -42,9 +42,9 @@ attributes are read-only.
 
 in[1-4]_label          "vout[1-4]"
 in[1-4]_input          Measured voltage. From READ_VOUT register.
-in[1-4]_min            Minumum Voltage. From VOUT_UV_WARN_LIMIT register.
+in[1-4]_min            Minimum Voltage. From VOUT_UV_WARN_LIMIT register.
 in[1-4]_max            Maximum voltage. From VOUT_OV_WARN_LIMIT register.
-in[1-4]_lcrit          Critical minumum Voltage. VOUT_UV_FAULT_LIMIT register.
+in[1-4]_lcrit          Critical minimum Voltage. VOUT_UV_FAULT_LIMIT register.
 in[1-4]_crit           Critical maximum voltage. From VOUT_OV_FAULT_LIMIT register.
 in[1-4]_min_alarm      Voltage low alarm. From VOLTAGE_UV_WARNING status.
 in[1-4]_max_alarm      Voltage high alarm. From VOLTAGE_OV_WARNING status.
index 8ab51536a1eb2b5dca0220bf45b7b6891b4e1213..19743919ea564985a6c34b485e89472d71077ca2 100644 (file)
@@ -48,9 +48,9 @@ attributes are read-only.
 
 in[1-6]_label          "vout[1-6]".
 in[1-6]_input          Measured voltage. From READ_VOUT register.
-in[1-6]_min            Minumum Voltage. From VOUT_UV_WARN_LIMIT register.
+in[1-6]_min            Minimum Voltage. From VOUT_UV_WARN_LIMIT register.
 in[1-6]_max            Maximum voltage. From VOUT_OV_WARN_LIMIT register.
-in[1-6]_lcrit          Critical minumum Voltage. VOUT_UV_FAULT_LIMIT register.
+in[1-6]_lcrit          Critical minimum Voltage. VOUT_UV_FAULT_LIMIT register.
 in[1-6]_crit           Critical maximum voltage. From VOUT_OV_FAULT_LIMIT register.
 in[1-6]_min_alarm      Voltage low alarm. From VOLTAGE_UV_WARNING status.
 in[1-6]_max_alarm      Voltage high alarm. From VOLTAGE_OV_WARNING status.
index 71ed10a3c94e7d6ad63db3ccd5edbd054d38ec60..fe849871df32dbe81af61fca76c300794047a1fe 100644 (file)
@@ -42,9 +42,9 @@ attributes are read-only.
 
 in1_label              "vout1"
 in1_input              Measured voltage. From READ_VOUT register.
-in1_min                        Minumum Voltage. From VOUT_UV_WARN_LIMIT register.
+in1_min                        Minimum Voltage. From VOUT_UV_WARN_LIMIT register.
 in1_max                        Maximum voltage. From VOUT_OV_WARN_LIMIT register.
-in1_lcrit              Critical minumum Voltage. VOUT_UV_FAULT_LIMIT register.
+in1_lcrit              Critical minimum Voltage. VOUT_UV_FAULT_LIMIT register.
 in1_crit               Critical maximum voltage. From VOUT_OV_FAULT_LIMIT register.
 in1_min_alarm          Voltage low alarm. From VOLTAGE_UV_WARNING status.
 in1_max_alarm          Voltage high alarm. From VOLTAGE_OV_WARNING status.
index 40ca6db50c4851d003a26b6e24febf63dd773a97..0df5f276505b6470e28f00c86c6bd1d76aad5b4d 100644 (file)
@@ -70,9 +70,9 @@ attributes are read-only.
 
 in[1-12]_label         "vout[1-12]".
 in[1-12]_input         Measured voltage. From READ_VOUT register.
-in[1-12]_min           Minumum Voltage. From VOUT_UV_WARN_LIMIT register.
+in[1-12]_min           Minimum Voltage. From VOUT_UV_WARN_LIMIT register.
 in[1-12]_max           Maximum voltage. From VOUT_OV_WARN_LIMIT register.
-in[1-12]_lcrit         Critical minumum Voltage. VOUT_UV_FAULT_LIMIT register.
+in[1-12]_lcrit         Critical minimum Voltage. VOUT_UV_FAULT_LIMIT register.
 in[1-12]_crit          Critical maximum voltage. From VOUT_OV_FAULT_LIMIT register.
 in[1-12]_min_alarm     Voltage low alarm. From VOLTAGE_UV_WARNING status.
 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.
 curr[1-12]_label       "iout[1-12]".
 curr[1-12]_input       Measured current. From READ_IOUT register.
 curr[1-12]_max         Maximum current. From IOUT_OC_WARN_LIMIT register.
-curr[1-12]_lcrit       Critical minumum output current. From IOUT_UC_FAULT_LIMIT
+curr[1-12]_lcrit       Critical minimum output current. From IOUT_UC_FAULT_LIMIT
                        register.
 curr[1-12]_crit                Critical maximum current. From IOUT_OC_FAULT_LIMIT register.
 curr[1-12]_max_alarm   Current high alarm. From IOUT_OC_WARNING status.
index 3c58607f72fe41095a20ebdfd6a2663ea3834cff..fd7d07b1908a9d0c5dfd3c38f3bb73c6cf980210 100644 (file)
@@ -54,9 +54,9 @@ attributes are read-only.
 
 in1_label              "vin".
 in1_input              Measured voltage. From READ_VIN register.
-in1_min                        Minumum Voltage. From VIN_UV_WARN_LIMIT register.
+in1_min                        Minimum Voltage. From VIN_UV_WARN_LIMIT register.
 in1_max                        Maximum voltage. From VIN_OV_WARN_LIMIT register.
-in1_lcrit              Critical minumum Voltage. VIN_UV_FAULT_LIMIT register.
+in1_lcrit              Critical minimum Voltage. VIN_UV_FAULT_LIMIT register.
 in1_crit               Critical maximum voltage. From VIN_OV_FAULT_LIMIT register.
 in1_min_alarm          Voltage low alarm. From VIN_UV_WARNING status.
 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.
 
 in[2-5]_label          "vout[1-4]".
 in[2-5]_input          Measured voltage. From READ_VOUT register.
-in[2-5]_min            Minumum Voltage. From VOUT_UV_WARN_LIMIT register.
+in[2-5]_min            Minimum Voltage. From VOUT_UV_WARN_LIMIT register.
 in[2-5]_max            Maximum voltage. From VOUT_OV_WARN_LIMIT register.
-in[2-5]_lcrit          Critical minumum Voltage. VOUT_UV_FAULT_LIMIT register.
+in[2-5]_lcrit          Critical minimum Voltage. VOUT_UV_FAULT_LIMIT register.
 in[2-5]_crit           Critical maximum voltage. From VOUT_OV_FAULT_LIMIT register.
 in[2-5]_min_alarm      Voltage low alarm. From VOLTAGE_UV_WARNING status.
 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.
 curr[2-5]_label                "iout[1-4]".
 curr[2-5]_input                Measured current. From READ_IOUT register.
 curr[2-5]_max          Maximum current. From IOUT_OC_WARN_LIMIT register.
-curr[2-5]_lcrit                Critical minumum output current. From IOUT_UC_FAULT_LIMIT
+curr[2-5]_lcrit                Critical minimum output current. From IOUT_UC_FAULT_LIMIT
                        register.
 curr[2-5]_crit         Critical maximum current. From IOUT_OC_FAULT_LIMIT register.
 curr[2-5]_max_alarm    Current high alarm. From IOUT_OC_WARNING status.
index a4e8d90f59f608d9d1a25341109fa8e9c3b52b5e..98ebacbdd8d97786c38f63f6ac7703c603634997 100644 (file)
@@ -106,7 +106,7 @@ in1_label           "vin"
 in1_input              Measured input voltage.
 in1_min                        Minimum input voltage.
 in1_max                        Maximum input voltage.
-in1_lcrit              Critical minumum input voltage.
+in1_lcrit              Critical minimum input voltage.
 in1_crit               Critical maximum input voltage.
 in1_min_alarm          Input voltage low alarm.
 in1_max_alarm          Input voltage high alarm.
@@ -115,7 +115,7 @@ in1_crit_alarm              Input voltage critical high alarm.
 
 in2_label              "vout1"
 in2_input              Measured output voltage.
-in2_lcrit              Critical minumum output Voltage.
+in2_lcrit              Critical minimum output Voltage.
 in2_crit               Critical maximum output voltage.
 in2_lcrit_alarm                Critical output voltage critical low alarm.
 in2_crit_alarm         Critical output voltage critical high alarm.
index 22ca53a67e23af5324fbf6b73ca820927bc12c50..27c3c5493116ada2eebf9fcd2480aea55072c5e4 100644 (file)
@@ -138,7 +138,7 @@ VI. Setting Parameters
 
    The return value is the size in bytes of the data written into
    ops->resbuf if no errors occur.  If an error occurs, -1 is returned
-   and errno is set appropriatly:
+   and errno is set appropriately:
 
       EFAULT      Invalid user space pointer was passed
       ENXIO       Invalid IOP number
@@ -222,7 +222,7 @@ VIII. Downloading Software
    RETURNS
 
    This function returns 0 no errors occur. If an error occurs, -1
-   is returned and errno is set appropriatly:
+   is returned and errno is set appropriately:
 
       EFAULT      Invalid user space pointer was passed
       ENXIO       Invalid IOP number
@@ -264,7 +264,7 @@ IX. Uploading Software
    RETURNS
 
    This function returns 0 if no errors occur.  If an error occurs, -1
-   is returned and errno is set appropriatly:
+   is returned and errno is set appropriately:
 
       EFAULT      Invalid user space pointer was passed
       ENXIO       Invalid IOP number
@@ -301,7 +301,7 @@ X. Removing Software
    RETURNS
 
    This function returns 0 if no errors occur.  If an error occurs, -1
-   is returned and errno is set appropriatly:
+   is returned and errno is set appropriately:
 
       EFAULT      Invalid user space pointer was passed
       ENXIO       Invalid IOP number
@@ -325,7 +325,7 @@ X. Validating Configuration
    RETURNS
 
    This function returns 0 if no erro occur.  If an error occurs, -1 is
-   returned and errno is set appropriatly:
+   returned and errno is set appropriately:
 
       ETIMEDOUT   Timeout waiting for reply message
       ENXIO       Invalid IOP number
@@ -360,7 +360,7 @@ XI. Configuration Dialog
    RETURNS
 
    This function returns 0 if no error occur. If an error occurs, -1
-   is returned and errno is set appropriatly:
+   is returned and errno is set appropriately:
 
       EFAULT      Invalid user space pointer was passed
       ENXIO       Invalid IOP number
index 190d17bfff6245282d3fa9cc0f2bad3e4e02eb17..4cc3ad99f39b394cc713ca193c275638cb766726 100644 (file)
  *                         since the .pdf version doesn't seem to work...
  *                     -- Updated the TODO list to something more current.
  *
- * 4.15  Aug 25, 1998  -- Updated ide-cd.h to respect mechine endianess,
+ * 4.15  Aug 25, 1998  -- Updated ide-cd.h to respect machine endianness,
  *                         patch thanks to "Eddie C. Dost" <ecd@skynet.be>
  *
  * 4.50  Oct 19, 1998  -- New maintainers!
index 2f95308251d4162ac21d4ccd3fc9454c371cb217..ae8ba9a74ce13e68519c2afa535c4cd06a4827db 100644 (file)
@@ -132,8 +132,8 @@ number of contacts (f1 and f0 in the table below).
  byte 5:    0    1    ?    ?    ?    ?   f1   f0
 
 This packet only appears after a position packet with the mt bit set, and
-ususally only appears when there are two or more contacts (although
-ocassionally it's seen with only a single contact).
+usually only appears when there are two or more contacts (although
+occassionally it's seen with only a single contact).
 
 The final v3 packet type is the trackstick packet.
 
index 8007b7ca87bf751a06b800967c493e90092d3324..304262bb661a87b7e55631c18082f8462b9d859a 100644 (file)
@@ -330,7 +330,7 @@ the USB documentation for how to setup an USB mouse.
   The TM DirectConnect (BSP) protocol is supported by the tmdc.c
 module. This includes, but is not limited to:
 
-* ThrustMaster Millenium 3D Inceptor
+* ThrustMaster Millennium 3D Interceptor
 * ThrustMaster 3D Rage Pad
 * ThrustMaster Fusion Digital Game Pad
 
index 91a6ecbae0bb9601b7d50e084af1eeb96869f730..18eb98c44ffeb1e24bec6c1efb7b6937d97fb75a 100644 (file)
@@ -596,7 +596,7 @@ HDIO_DRIVE_TASKFILE         execute raw taskfile
             if CHS/LBA28
 
          The association between in_flags.all and each enable
-         bitfield flips depending on endianess; fortunately, TASKFILE
+         bitfield flips depending on endianness; fortunately, TASKFILE
          only uses inflags.b.data bit and ignores all other bits.
          The end result is that, on any endian machines, it has no
          effect other than modifying in_flags on completion.
@@ -720,7 +720,7 @@ HDIO_DRIVE_TASKFILE         execute raw taskfile
 
          [6] Do not access {in|out}_flags->all except for resetting
          all the bits.  Always access individual bit fields.  ->all
-         value will flip depending on endianess.  For the same
+         value will flip depending on endianness.  For the same
          reason, do not use IDE_{TASKFILE|HOB}_STD_{OUT|IN}_FLAGS
          constants defined in hdreg.h.
 
index 44e2649fbb295db936245c4c0de09109738bfc5e..a686f9cd69c11797f85bea64333b30a33c97e612 100644 (file)
@@ -117,7 +117,7 @@ applicable everywhere (see syntax).
   This attribute is only applicable to menu blocks, if the condition is
   false, the menu block is not displayed to the user (the symbols
   contained there can still be selected by other symbols, though). It is
-  similar to a conditional "prompt" attribude for individual menu
+  similar to a conditional "prompt" attribute for individual menu
   entries. Default value of "visible" is true.
 
 - numerical ranges: "range" <symbol> <symbol> ["if" <expr>]
index d99fd9c0ec0e16900663e1378eac9911d4afc845..8cadb7551fca8d5a199edc7fa9008af07359d499 100644 (file)
@@ -950,7 +950,7 @@ bytes respectively. Such letter suffixes can also be entirely omitted.
                             controller
        i8042.nopnp     [HW] Don't use ACPIPnP / PnPBIOS to discover KBD/AUX
                             controllers
-       i8042.notimeout [HW] Ignore timeout condition signalled by conroller
+       i8042.notimeout [HW] Ignore timeout condition signalled by controller
        i8042.reset     [HW] Reset the controller during init and cleanup
        i8042.unlock    [HW] Unlock (ignore) the keylock
 
@@ -2440,7 +2440,7 @@ bytes respectively. Such letter suffixes can also be entirely omitted.
                        For more information see Documentation/vm/slub.txt.
 
        slub_min_order= [MM, SLUB]
-                       Determines the mininum page order for slabs. Must be
+                       Determines the minimum page order for slabs. Must be
                        lower than slub_max_order.
                        For more information see Documentation/vm/slub.txt.
 
@@ -2606,7 +2606,7 @@ bytes respectively. Such letter suffixes can also be entirely omitted.
 
        threadirqs      [KNL]
                        Force threading of all interrupt handlers except those
-                       marked explicitely IRQF_NO_THREAD.
+                       marked explicitly IRQF_NO_THREAD.
 
        topology=       [S390]
                        Format: {off | on}
index 6e0d2a9613ec22d108cb40f56c3f839a45344e43..f648eb2651887db8fd95ca4706714c9591113309 100644 (file)
@@ -44,7 +44,7 @@ the 'software updates' pages. The firmware binaries are part of
 the various ForeThought software distributions.
 
 Notice that different versions of the PCA-200E firmware exist, depending
-on the endianess of the host architecture. The driver is shipped with
+on the endianness of the host architecture. The driver is shipped with
 both little and big endian PCA firmware images.
 
 Name and location of the new firmware images can be set at kernel
index 9fcc9a608dc04789c1a0831db06998561dffbec8..520327790d5431daae3a537d0fd36ec897cde5a8 100644 (file)
@@ -5,18 +5,23 @@ Numa policy hit/miss statistics
 
 All units are pages. Hugepages have separate counters.
 
-numa_hit                       A process wanted to allocate memory from this node,
-                                       and succeeded.
-numa_miss                      A process wanted to allocate memory from another node,
-                                       but ended up with memory from this node.
-numa_foreign           A process wanted to allocate on this node,
-                                   but ended up with memory from another one.
-local_node                     A process ran on this node and got memory from it.
-other_node                     A process ran on this node and got memory from another node.
-interleave_hit                 Interleaving wanted to allocate from this node
-                                       and succeeded.
+numa_hit       A process wanted to allocate memory from this node,
+               and succeeded.
+
+numa_miss      A process wanted to allocate memory from another node,
+               but ended up with memory from this node.
+
+numa_foreign   A process wanted to allocate on this node,
+               but ended up with memory from another one.
+
+local_node     A process ran on this node and got memory from it.
+
+other_node     A process ran on this node and got memory from another node.
+
+interleave_hit         Interleaving wanted to allocate from this node
+               and succeeded.
 
 For easier reading you can use the numastat utility from the numactl package
-(ftp://ftp.suse.com/pub/people/ak/numa/numactl*). Note that it only works
+(http://oss.sgi.com/projects/libnuma/). Note that it only works
 well right now on machines with a small number of CPUs.
 
index c56ec99d7b2fbec50f3456c71b83961f1e88e961..2f6d595f95e1c5e55307a8f228968d6afa39f499 100644 (file)
@@ -1718,7 +1718,7 @@ Changes from 20040319 to 20040326
        * lpfc_els_timeout_handler() now uses system timer.
        * Further cleanup of #ifdef powerpc
        * lpfc_scsi_timeout_handler() now uses system timer.
-       * Replace common driver's own defines for endianess w/ Linux's
+       * Replace common driver's own defines for endianness w/ Linux's
          __BIG_ENDIAN etc.
        * Added #ifdef IPFC for all IPFC specific code.
        * lpfc_disc_retry_rptlun() now uses system timer.
index 57566bacb4c56c8182f0e9b16bafe74c9b1233ab..83f8ea8b79ebe378cc8ccb919fd8834eca21e60f 100644 (file)
@@ -510,7 +510,7 @@ i.  Support for 1078 type (ppc IOP) controller, device id : 0x60 added.
 3 Older Version   : 00.00.02.02 
 i.     Register 16 byte CDB capability with scsi midlayer 
 
-       "Ths patch properly registers the 16 byte command length capability of the 
+       "This patch properly registers the 16 byte command length capability of the 
        megaraid_sas controlled hardware with the scsi midlayer. All megaraid_sas 
        hardware supports 16 byte CDB's."
 
index 0a22ab8ea0c1a89e94d9a9006c5f2930db7b31ad..51be20a6a14dd379377f7ae54eb5157f551f53ab 100644 (file)
@@ -62,7 +62,7 @@ There are two packages of sg utilities:
                 and earlier
 Both packages will work in the lk 2.4 series however sg3_utils offers more
 capabilities. They can be found at: http://sg.danny.cz/sg/sg3_utils.html and 
-freshmeat.net
+freecode.com
 
 Another approach is to look at the applications that use the sg driver.
 These include cdrecord, cdparanoia, SANE and cdrdao.
index 61c0531e044a75f68f4eea49f846d78d42f55194..3303d218b32ec69ed529e3fcc1081478fbc5ec5a 100644 (file)
@@ -102,7 +102,7 @@ So take at least the following measures:
   ftp://student.physik.uni-dortmund.de/pub/linux/kernel/bootdisk.gz
 
 One more warning: I used to overclock my PCI bus to 41.67 MHz. My Tekram
-DC390F (Sym53c875) accepted this as well as my Millenium. But the Am53C974
+DC390F (Sym53c875) accepted this as well as my Millennium. But the Am53C974
 produced errors and started to corrupt my disks. So don't do that! A 37.50
 MHz PCI bus works for me, though, but I don't recommend using higher clocks
 than the 33.33 MHz being in the PCI spec.
index e9dab41c0fe0edd896b6ced2c7b8a455847849e6..d2f72ae66432467e0726eb4b0f7a29297c6784a3 100644 (file)
@@ -536,6 +536,6 @@ writing a single character to the /smack/logging file :
 3 : log denied & accepted
 
 Events are logged as 'key=value' pairs, for each event you at least will get
-the subjet, the object, the rights requested, the action, the kernel function
+the subject, the object, the rights requested, the action, the kernel function
 that triggered the event, plus other pairs depending on the type of event
 audited.
index c9e4855ed3d7958f4bbbcc53025b7e8fec0c2261..e105ae97a4f5c0ff71387a5a895c7c4872e07afa 100644 (file)
@@ -1,7 +1,7 @@
                        Trusted and Encrypted Keys
 
 Trusted and Encrypted Keys are two new key types added to the existing kernel
-key ring service.  Both of these new types are variable length symmetic keys,
+key ring service.  Both of these new types are variable length symmetric keys,
 and in both cases all keys are created in the kernel, and user space sees,
 stores, and loads only encrypted blobs.  Trusted Keys require the availability
 of a Trusted Platform Module (TPM) chip for greater security, while Encrypted
index 4d75931d2d79e7febde59664b005798827df6d26..fcbe7a70340574de9ff4e2ad12ac53ea212fc338 100644 (file)
@@ -668,7 +668,7 @@ The keyctl syscall functions are:
 
      If the kernel calls back to userspace to complete the instantiation of a
      key, userspace should use this call mark the key as negative before the
-     invoked process returns if it is unable to fulfil the request.
+     invoked process returns if it is unable to fulfill the request.
 
      The process must have write access on the key to be able to instantiate
      it, and the key must be uninstantiated.
index 936699e4f04b0abdf74788b66ace8ab1a16f66ff..12e3a0fb9bec3f9a358f42be1cd8ce2cb8195435 100644 (file)
@@ -1588,7 +1588,7 @@ Prior to version 0.9.0rc4 options had a 'snd_' prefix. This was removed.
 
     Module supports autoprobe a chip.
 
-    Note: the driver may have problems regarding endianess.
+    Note: the driver may have problems regarding endianness.
 
     The power-management is supported.
 
index 6e21b8b52638a1f0ab014cd46b532d341ba17619..a78879b01f09ecb93aedff8ead9e619449851d54 100755 (executable)
@@ -775,7 +775,7 @@ def tcm_mod_dump_fabric_ops(proto_ident, fabric_mod_dir_var, fabric_mod_name):
                        buf += "        struct " + fabric_mod_name + "_nacl *nacl;\n\n"
                        buf += "        nacl = kzalloc(sizeof(struct " + fabric_mod_name + "_nacl), GFP_KERNEL);\n"
                        buf += "        if (!nacl) {\n"
-                       buf += "                printk(KERN_ERR \"Unable to alocate struct " + fabric_mod_name + "_nacl\\n\");\n"
+                       buf += "                printk(KERN_ERR \"Unable to allocate struct " + fabric_mod_name + "_nacl\\n\");\n"
                        buf += "                return NULL;\n"
                        buf += "        }\n\n"
                        buf += "        return &nacl->se_node_acl;\n"
index 96d87b67fe37111dff518636d45b3e9e82337fcf..cf794af22855458ed06133d6acbcd372180730ae 100644 (file)
@@ -57,7 +57,7 @@ power_end             "cpu_id=%lu"
 The 'type' parameter takes one of those macros:
  . POWER_NONE  = 0,
  . POWER_CSTATE        = 1,    /* C-State */
- . POWER_PSTATE        = 2,    /* Fequency change or DVFS */
+ . POWER_PSTATE        = 2,    /* Frequency change or DVFS */
 
 The 'state' parameter is set depending on the type:
  . Target C-state for type=POWER_CSTATE,
index 86302cd53ed3a9cf7b83ed4745c8d1d8f6c86e70..a91adb26ea7bb2eb6afda1bc93b90bf599f1567d 100644 (file)
@@ -1,7 +1,7 @@
 CHANGES
 
 - 0.3 - Created based off of scanner & INSTALL from the original touchscreen
-  driver on freshmeat (http://freshmeat.net/projects/3mtouchscreendriver)
+  driver on freecode (http://freecode.com/projects/3mtouchscreendriver)
 - Amended for linux-2.4.18, then 2.4.19
 
 - 0.5 - Complete rewrite using Linux Input in 2.6.3
index 12511c98cc4faecaf17f31db16f1db347936dad2..817df299ea07918b138da483de5bd3be5407e51d 100644 (file)
@@ -345,7 +345,7 @@ autosuspend the device.
 Drivers need not be concerned about balancing changes to the usage
 counter; the USB core will undo any remaining "get"s when a driver
 is unbound from its interface.  As a corollary, drivers must not call
-any of the usb_autopm_* functions after their diconnect() routine has
+any of the usb_autopm_* functions after their disconnect() routine has
 returned.
 
 Drivers using the async routines are responsible for their own
index afe596d5f201bfa4b7fc5a504a48bd020aaeeca1..c9c3f0f5ad7bfa7b81aa21342b2f1afa4638eebf 100644 (file)
@@ -7,7 +7,7 @@ The usbfs filesystem for USB devices is traditionally mounted at
 /proc/bus/usb.  It provides the /proc/bus/usb/devices file, as well as
 the /proc/bus/usb/BBB/DDD files.
 
-In many modern systems the usbfs filsystem isn't used at all.  Instead
+In many modern systems the usbfs filesystem isn't used at all.  Instead
 USB device nodes are created under /dev/usb/ or someplace similar.  The
 "devices" file is available in debugfs, typically as
 /sys/kernel/debug/usb/devices.
index 848d620dcc5cf35ff2fad404e1e6cea9070bece2..35ce19cddcf8070501e0d30f81c2fde2ac2a2456 100644 (file)
@@ -116,7 +116,7 @@ Description:
        A UVC control can be mapped to several V4L2 controls. For instance,
        a UVC pan/tilt control could be mapped to separate pan and tilt V4L2
        controls. The UVC control is divided into non overlapping fields using
-       the 'size' and 'offset' fields and are then independantly mapped to
+       the 'size' and 'offset' fields and are then independently mapped to
        V4L2 control.
 
        For signed integer V4L2 controls the data_type field should be set to
index 5dc972c09b556353ccbf99fec2543da9880a55eb..fa5f1dbc6b235f7ac12d08d5c0f70d7b9275821c 100644 (file)
@@ -347,7 +347,7 @@ To instantiate a large spte, four constraints must be satisfied:
 
 - the spte must point to a large host page
 - the guest pte must be a large pte of at least equivalent size (if tdp is
-  enabled, there is no guest pte and this condition is satisified)
+  enabled, there is no guest pte and this condition is satisfied)
 - if the spte will be writeable, the large page frame may not overlap any
   write-protected pages
 - 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
 arrays for each memory slot and large page size.  Every write protected page
 causes its write_count to be incremented, thus preventing instantiation of
 a large spte.  The frames at the end of an unaligned memory slot have
-artificically inflated ->write_counts so they can never be instantiated.
+artificially inflated ->write_counts so they can never be instantiated.
 
 Further reading
 ===============
index a350ae135b8c4073bd2a0092fae182d7e8ffaca7..da094737e2f8660519d7fefbfde2c11f6acd00fd 100644 (file)
@@ -1403,7 +1403,7 @@ segmentation, if both guests are amenable.
 
 Packets are transmitted by placing them in the transmitq, and
 buffers for incoming packets are placed in the receiveq. In each
-case, the packet itself is preceeded by a header:
+case, the packet itself is preceded by a header:
 
 struct virtio_net_hdr {
 
@@ -1642,7 +1642,7 @@ struct virtio_net_ctrl_mac {
 
 The device can filter incoming packets by any number of
 destination MAC addresses.[footnote:
-Since there are no guarentees, it can use a hash filter
+Since there are no guarantees, it can use a hash filter
 orsilently switch to allmulti or promiscuous mode if it is given
 too many addresses.
 ] 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
 distinguish between them
 ]). If the device has VIRTIO_BLK_F_BARRIER feature the high bit
 (VIRTIO_BLK_T_BARRIER) indicates that this request acts as a
-barrier and that all preceeding requests must be complete before
+barrier and that all preceding requests must be complete before
 this one, and all following requests must not be started until
 this is complete. Note that a barrier does not flush caches in
 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
 
   Otherwise, the guest may begin to re-use pages previously given
     to the balloon before the device has acknowledged their
-    withdrawl. [footnote:
+    withdrawal. [footnote:
 In this case, deflation advice is merely a courtesy
 ]
 
index 36c367c730843df95200eaa4223842ff2ad8a536..d5c615af10ba4089ba45aea72d1571ded835eb65 100644 (file)
@@ -92,7 +92,7 @@ failed_gets   - number of gets that failed
 puts           - number of puts attempted (all "succeed")
 flushes                - number of flushes attempted
 
-A backend implementatation may provide additional metrics.
+A backend implementation may provide additional metrics.
 
 FAQ
 
index 97bae3c576c23668cc0fccfbc45ff97b8172840e..fa206cccf89f8577a8a44ff84d0836b06b712cb5 100644 (file)
@@ -538,7 +538,7 @@ different reverse map mechanisms.
      process because mlocked pages are migratable.  However, for reclaim, if
      the page is mapped into a VM_LOCKED VMA, the scan stops.
 
-     try_to_unmap_anon() attempts to acquire in read mode the mmap semphore of
+     try_to_unmap_anon() attempts to acquire in read mode the mmap semaphore of
      the mm_struct to which the VMA belongs.  If this is successful, it will
      mlock the page via mlock_vma_page() - we wouldn't have gotten to
      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
 introduced a variant of try_to_unmap() called try_to_munlock().
 
 try_to_munlock() calls the same functions as try_to_unmap() for anonymous and
-mapped file pages with an additional argument specifing unlock versus unmap
+mapped file pages with an additional argument specifying unlock versus unmap
 processing.  Again, these functions walk the respective reverse maps looking
 for VM_LOCKED VMAs.  When such a VMA is found for anonymous pages and file
 pages mapped in linear VMAs, as in the try_to_unmap() case, the functions
-attempt to acquire the associated mmap semphore, mlock the page via
+attempt to acquire the associated mmap semaphore, mlock the page via
 mlock_vma_page() and return SWAP_MLOCK.  This effectively undoes the
 pre-clearing of the page's PG_mlocked done by munlock_vma_page.
 
@@ -641,7 +641,7 @@ with it - the usual fallback position.
 Note that try_to_munlock()'s reverse map walk must visit every VMA in a page's
 reverse map to determine that a page is NOT mapped into any VM_LOCKED VMA.
 However, the scan can terminate when it encounters a VM_LOCKED VMA and can
-successfully acquire the VMA's mmap semphore for read and mlock the page.
+successfully acquire the VMA's mmap semaphore for read and mlock the page.
 Although try_to_munlock() might be called a great many times when munlocking a
 large region or tearing down a large address space that has been mlocked via
 mlockall(), overall this is a fairly rare event.
index 4b93c28e35c672925d88e5460c0a1c4cb6da7ca7..9e162465b0cf024844a507b78c640ac759e7a0b1 100644 (file)
@@ -167,4 +167,4 @@ driver specific data to and a pointer to the data itself.
 
 The watchdog_get_drvdata function allows you to retrieve driver specific data.
 The argument of this function is the watchdog device where you want to retrieve
-data from. The function retruns the pointer to the driver specific data.
+data from. The function returns the pointer to the driver specific data.
index 13cd42743810e916b1be719497ac511034ddef67..72dbf235927054145d8c18c14968d452efd2c494 100644 (file)
@@ -90,7 +90,7 @@ struct alpha_machine_vector
        void (*kill_arch)(int);
 
        u8 (*pci_swizzle)(struct pci_dev *, u8 *);
-       int (*pci_map_irq)(struct pci_dev *, u8, u8);
+       int (*pci_map_irq)(const struct pci_dev *, u8, u8);
        struct pci_ops *pci_ops;
 
        struct _alpha_agp_info *(*agp_info)(void);
index bb7f0c7cb17a6c1abd5cdb07c30d080a4b30d9ff..13f0717fc7fe314d6a3f9df62bb57a36abc92b95 100644 (file)
@@ -366,7 +366,7 @@ clipper_init_irq(void)
  */
 
 static int __init
-isa_irq_fixup(struct pci_dev *dev, int irq)
+isa_irq_fixup(const struct pci_dev *dev, int irq)
 {
        u8 irq8;
 
index 1024396797e16f6c839383da409731bfaef494d3..e5fd241fccdc4b5c93e982ed503c6e43f45bac9b 100644 (file)
@@ -35,7 +35,6 @@
 
 #include <linux/pfn.h>
 #include <linux/atomic.h>
-#include <linux/sched.h>
 #include <mach/dma.h>
 
 /* ---- Public Variables ------------------------------------------------- */
index d6f6502ac9b59c1722a0ea09b6938933a15e62e9..4bd707547293189bcae0ce588ad30f2b05bf1d20 100644 (file)
@@ -11,7 +11,6 @@
 #include <linux/kernel.h>
 #include <linux/module.h>
 #include <linux/init.h>
-#include <linux/gpio.h>
 
 #include <asm/leds.h>
 #include <mach/devices.h>
index 453809359ba6620e2d96df0e2c7b1dc4ec8c811c..4c5ce7d829c2414d508825e9d1a816713e301420 100644 (file)
@@ -117,7 +117,7 @@ EXPORT_SYMBOL(omap_set_lcd_dma_b1_mirror);
 void omap_set_lcd_dma_b1_vxres(unsigned long vxres)
 {
        if (cpu_is_omap15xx()) {
-               printk(KERN_ERR "DMA virtual resulotion is not supported "
+               printk(KERN_ERR "DMA virtual resolution is not supported "
                                "in 1510 mode\n");
                BUG();
        }
index a104d5a80e111fec985bc207f5c6419f3e0ef4ee..e52108c9aaea334e589610dd1b51e007230adb80 100644 (file)
@@ -214,7 +214,7 @@ void __init db88f5281_pci_preinit(void)
                if (gpio_direction_input(pin) == 0) {
                        irq_set_irq_type(gpio_to_irq(pin), IRQ_TYPE_LEVEL_LOW);
                } else {
-                       printk(KERN_ERR "db88f5281_pci_preinit faield to "
+                       printk(KERN_ERR "db88f5281_pci_preinit failed to "
                                        "set_irq_type pin %d\n", pin);
                        gpio_free(pin);
                }
@@ -227,7 +227,7 @@ void __init db88f5281_pci_preinit(void)
                if (gpio_direction_input(pin) == 0) {
                        irq_set_irq_type(gpio_to_irq(pin), IRQ_TYPE_LEVEL_LOW);
                } else {
-                       printk(KERN_ERR "db88f5281_pci_preinit faield "
+                       printk(KERN_ERR "db88f5281_pci_preinit failed "
                                        "to set_irq_type pin %d\n", pin);
                        gpio_free(pin);
                }
index 96438b6b2022294297f8fc23390546f877f2b139..e3ce61711478d17359c2bad35438a2e5ed31ffd8 100644 (file)
@@ -149,7 +149,7 @@ void __init rd88f5182_pci_preinit(void)
                if (gpio_direction_input(pin) == 0) {
                        irq_set_irq_type(gpio_to_irq(pin), IRQ_TYPE_LEVEL_LOW);
                } else {
-                       printk(KERN_ERR "rd88f5182_pci_preinit faield to "
+                       printk(KERN_ERR "rd88f5182_pci_preinit failed to "
                                        "set_irq_type pin %d\n", pin);
                        gpio_free(pin);
                }
@@ -162,7 +162,7 @@ void __init rd88f5182_pci_preinit(void)
                if (gpio_direction_input(pin) == 0) {
                        irq_set_irq_type(gpio_to_irq(pin), IRQ_TYPE_LEVEL_LOW);
                } else {
-                       printk(KERN_ERR "rd88f5182_pci_preinit faield to "
+                       printk(KERN_ERR "rd88f5182_pci_preinit failed to "
                                        "set_irq_type pin %d\n", pin);
                        gpio_free(pin);
                }
index a5e46b4ade206cbc4897bbe68336dd9d3524dada..4f7f5182dd4dab838fae9237e75ade89e17cc90a 100644 (file)
@@ -469,7 +469,7 @@ void __init spear300_init(struct pmx_mode *pmx_mode, struct pmx_dev **pmx_devs,
        if (pmx_driver.base) {
                ret = pmx_register(&pmx_driver);
                if (ret)
-                       printk(KERN_ERR "padmux: registeration failed. err no"
+                       printk(KERN_ERR "padmux: registration failed. err no"
                                        ": %d\n", ret);
                /* Free Mapping, device selection already done */
                iounmap(pmx_driver.base);
index 9004cf9f01bf0ffbae8c9d7ffc951f6be7cba8d2..febaa6fcfb6a0ee7d39da9a25ad0286fdd0eeed1 100644 (file)
@@ -303,6 +303,6 @@ void __init spear310_init(struct pmx_mode *pmx_mode, struct pmx_dev **pmx_devs,
 
        ret = pmx_register(&pmx_driver);
        if (ret)
-               printk(KERN_ERR "padmux: registeration failed. err no: %d\n",
+               printk(KERN_ERR "padmux: registration failed. err no: %d\n",
                                ret);
 }
index ee29bef430747d0e3c7a1c74c614f9aeed16649f..deaaf199612c87efd9d29e27448b92fdc07dddca 100644 (file)
@@ -550,6 +550,6 @@ void __init spear320_init(struct pmx_mode *pmx_mode, struct pmx_dev **pmx_devs,
 
        ret = pmx_register(&pmx_driver);
        if (ret)
-               printk(KERN_ERR "padmux: registeration failed. err no: %d\n",
+               printk(KERN_ERR "padmux: registration failed. err no: %d\n",
                                ret);
 }
index 5dc7d127a40fba7e8e16c6dd54abade74a45d5aa..245a55a0a5bbcd0db13beda940b16533533d1b61 100644 (file)
@@ -32,7 +32,6 @@
 
 #include <asm/mach/arch.h>
 #include <asm/mach/map.h>
-#include <asm/memblock.h>
 
 #include "mm.h"
 
index 68296b1fe7e54dddd2919d757599481bc8453968..699f9317129750558f004102cabb9ecae1caa8c2 100644 (file)
@@ -52,7 +52,7 @@ static __init int pm_simtec_init(void)
            !machine_is_aml_m5900())
                return 0;
 
-       printk(KERN_INFO "Simtec Board Power Manangement" COPYRIGHT "\n");
+       printk(KERN_INFO "Simtec Board Power Management" COPYRIGHT "\n");
 
        gstatus4  = (__raw_readl(S3C2410_BANKCON7) & 0x3) << 30;
        gstatus4 |= (__raw_readl(S3C2410_BANKCON6) & 0x3) << 28;
index b279e142c6334dfcecf74c9cef69e60576805a0c..3bb12230721fed28140164dfcb707fb679ae6fdb 100644 (file)
@@ -58,7 +58,7 @@ xen_free_irq_vector(int vector)
 
        irq_op.vector = vector;
        if (HYPERVISOR_physdev_op(PHYSDEVOP_free_irq_vector, &irq_op))
-               printk(KERN_WARNING "%s: xen_free_irq_vecotr fail vector=%d\n",
+               printk(KERN_WARNING "%s: xen_free_irq_vector fail vector=%d\n",
                       __func__, vector);
 }
 
index d209f85d87bb654cb41f0b2308c871bb6c3aa845..356b05583e14ca97d7ee9a1968950c41827b1c8f 100644 (file)
@@ -33,7 +33,7 @@ static void bcm6348_a1_reboot(void)
        u32 reg;
 
        /* soft reset all blocks */
-       printk(KERN_INFO "soft-reseting all blocks ...\n");
+       printk(KERN_INFO "soft-resetting all blocks ...\n");
        reg = bcm_perf_readl(PERF_SOFTRESET_REG);
        reg &= ~SOFTRESET_6348_ALL;
        bcm_perf_writel(reg, PERF_SOFTRESET_REG);
index fc195d0b3c34d7ed96485bd6eebc8cf499eed7a2..2156315d8a90444619e477451d0ec28dca8d3a4a 100644 (file)
@@ -21,7 +21,7 @@
 #define KEYLARGO_FCR4          0x48
 #define KEYLARGO_FCR5          0x4c    /* Pangea only */
 
-/* K2 aditional FCRs */
+/* K2 additional FCRs */
 #define K2_FCR6                        0x34
 #define K2_FCR7                        0x30
 #define K2_FCR8                        0x2c
index a1f346df0a710bd5441fbf6ceb46a8fe47927c2e..d8a9b2d146ee471971dbbfda8cf42fbfd97efcb6 100644 (file)
@@ -22,7 +22,7 @@ config RUNTIME_DEBUG
        help
          If you say Y here, some debugging macros will do run-time checking.
          If you say N here, those macros will mostly turn to no-ops.  See
-         include/asm-score/debug.h for debuging macros.
+         include/asm-score/debug.h for debugging macros.
          If unsure, say N.
 
 endmenu
index 7e004acbe52648918fd691765f6cafc86297b42b..7a9ad30d6c9f60b47623fcd9b9e72291e7e9a8fd 100644 (file)
@@ -17,8 +17,6 @@
 /* Verify that the configuration block really is there */
 #define scx200_cb_probe(base) (inw((base) + SCx200_CBA) == (base))
 
-#define NAME "scx200"
-
 MODULE_AUTHOR("Christer Weinigel <wingel@nano-system.com>");
 MODULE_DESCRIPTION("NatSemi SCx200 Driver");
 MODULE_LICENSE("GPL");
@@ -29,10 +27,10 @@ unsigned long scx200_gpio_shadow[2];
 unsigned scx200_cb_base = 0;
 
 static struct pci_device_id scx200_tbl[] = {
-       { PCI_DEVICE(PCI_VENDOR_ID_NS, PCI_DEVICE_ID_NS_SCx200_BRIDGE) },
-       { PCI_DEVICE(PCI_VENDOR_ID_NS, PCI_DEVICE_ID_NS_SC1100_BRIDGE) },
-       { PCI_DEVICE(PCI_VENDOR_ID_NS, PCI_DEVICE_ID_NS_SCx200_XBUS)   },
-       { PCI_DEVICE(PCI_VENDOR_ID_NS, PCI_DEVICE_ID_NS_SC1100_XBUS)   },
+       { PCI_VDEVICE(NS, PCI_DEVICE_ID_NS_SCx200_BRIDGE) },
+       { PCI_VDEVICE(NS, PCI_DEVICE_ID_NS_SC1100_BRIDGE) },
+       { PCI_VDEVICE(NS, PCI_DEVICE_ID_NS_SCx200_XBUS)   },
+       { PCI_VDEVICE(NS, PCI_DEVICE_ID_NS_SC1100_XBUS)   },
        { },
 };
 MODULE_DEVICE_TABLE(pci,scx200_tbl);
@@ -63,10 +61,11 @@ static int __devinit scx200_probe(struct pci_dev *pdev, const struct pci_device_
        if (pdev->device == PCI_DEVICE_ID_NS_SCx200_BRIDGE ||
            pdev->device == PCI_DEVICE_ID_NS_SC1100_BRIDGE) {
                base = pci_resource_start(pdev, 0);
-               printk(KERN_INFO NAME ": GPIO base 0x%x\n", base);
+               pr_info("GPIO base 0x%x\n", base);
 
-               if (!request_region(base, SCx200_GPIO_SIZE, "NatSemi SCx200 GPIO")) {
-                       printk(KERN_ERR NAME ": can't allocate I/O for GPIOs\n");
+               if (!request_region(base, SCx200_GPIO_SIZE,
+                                   "NatSemi SCx200 GPIO")) {
+                       pr_err("can't allocate I/O for GPIOs\n");
                        return -EBUSY;
                }
 
@@ -82,11 +81,11 @@ static int __devinit scx200_probe(struct pci_dev *pdev, const struct pci_device_
                        if (scx200_cb_probe(base)) {
                                scx200_cb_base = base;
                        } else {
-                               printk(KERN_WARNING NAME ": Configuration Block not found\n");
+                               pr_warn("Configuration Block not found\n");
                                return -ENODEV;
                        }
                }
-               printk(KERN_INFO NAME ": Configuration Block base 0x%x\n", scx200_cb_base);
+               pr_info("Configuration Block base 0x%x\n", scx200_cb_base);
        }
 
        return 0;
@@ -111,8 +110,7 @@ u32 scx200_gpio_configure(unsigned index, u32 mask, u32 bits)
 
 static int __init scx200_init(void)
 {
-       printk(KERN_INFO NAME ": NatSemi SCx200 Driver\n");
-
+       pr_info("NatSemi SCx200 Driver\n");
        return pci_register_driver(&scx200_pci_driver);
 }
 
index 1f3c1a7d132a59ded61f1859fb83febc5e19609a..38a2d0631882ccd192ee475fc3b0f7a2e3b9d0cb 100644 (file)
@@ -39,7 +39,6 @@
 #include <linux/sched.h>
 #include <linux/slab.h>
 #include <linux/types.h>
-#include <linux/version.h>
 
 #include <asm-generic/io-64-nonatomic-lo-hi.h>
 
index da3cfee782dc32eb76a724cb640b92d4da5f0dee..eaade8a1ecd72df7eead2abf8838518d5bb0fbeb 100644 (file)
@@ -94,7 +94,7 @@
 /* Note that *all* calls to CMOS_READ and CMOS_WRITE must be done with
  * rtc_lock held. Due to the index-port/data-port design of the RTC, we
  * don't want two different things trying to get to it at once. (e.g. the
- * periodic 11 min sync from time.c vs. this driver.)
+ * periodic 11 min sync from kernel/time/ntp.c vs. this driver.)
  */
 
 #include <linux/types.h>
index ccd124ab7ca7c54d3b6ae2cc947d01261954cd1d..872e09a02d239d7d32b92a26db00aad36fe16f67 100644 (file)
@@ -57,8 +57,8 @@
  *     Note that *all* calls to CMOS_READ and CMOS_WRITE are done with
  *     interrupts disabled. Due to the index-port/data-port (0x70/0x71)
  *     design of the RTC, we don't want two different things trying to
- *     get to it at once. (e.g. the periodic 11 min sync from time.c vs.
- *     this driver.)
+ *     get to it at once. (e.g. the periodic 11 min sync from
+ *      kernel/time/ntp.c vs. this driver.)
  */
 
 #include <linux/interrupt.h>
index a1748621111be511a8694a4d91ab74094f45c631..70fac9abb0e2b57e16857f00beb52ecd7c633f3f 100644 (file)
@@ -76,7 +76,7 @@ enum tis_defaults {
 #define        TPM_RID(l)                      (0x0F04 | ((l) << 12))
 
 static LIST_HEAD(tis_chips);
-static DEFINE_SPINLOCK(tis_lock);
+static DEFINE_MUTEX(tis_lock);
 
 #if defined(CONFIG_PNP) && defined(CONFIG_ACPI)
 static int is_itpm(struct pnp_dev *dev)
@@ -689,9 +689,9 @@ static int tpm_tis_init(struct device *dev, resource_size_t start,
        }
 
        INIT_LIST_HEAD(&chip->vendor.list);
-       spin_lock(&tis_lock);
+       mutex_lock(&tis_lock);
        list_add(&chip->vendor.list, &tis_chips);
-       spin_unlock(&tis_lock);
+       mutex_unlock(&tis_lock);
 
 
        return 0;
@@ -855,7 +855,7 @@ static void __exit cleanup_tis(void)
 {
        struct tpm_vendor_specific *i, *j;
        struct tpm_chip *chip;
-       spin_lock(&tis_lock);
+       mutex_lock(&tis_lock);
        list_for_each_entry_safe(i, j, &tis_chips, list) {
                chip = to_tpm_chip(i);
                tpm_remove_hardware(chip->dev);
@@ -871,7 +871,7 @@ static void __exit cleanup_tis(void)
                iounmap(i->iobase);
                list_del(&i->list);
        }
-       spin_unlock(&tis_lock);
+       mutex_unlock(&tis_lock);
 #ifdef CONFIG_PNP
        if (!force) {
                pnp_unregister_driver(&tis_pnp_driver);
index 04be90b645b839e929512032a234089cfe2d082c..faf88b7e1e71d4d0385b9f1c9038429a774ff826 100644 (file)
@@ -1482,7 +1482,7 @@ static int __devinit iop_adma_probe(struct platform_device *pdev)
                goto err_free_adev;
        }
 
-       dev_dbg(&pdev->dev, "%s: allocted descriptor pool virt %p phys %p\n",
+       dev_dbg(&pdev->dev, "%s: allocated descriptor pool virt %p phys %p\n",
                __func__, adev->dma_desc_pool_virt,
                (void *) adev->dma_desc_pool);
 
index a25e4ca5e91cbcd6e9f3f033c38fa5f271564d09..0a437586d8ccf55bef40d88413d44e3ec493024f 100644 (file)
@@ -713,7 +713,6 @@ void psb_intel_lvds_init(struct drm_device *dev,
 
        psb_intel_encoder =
                        kzalloc(sizeof(struct psb_intel_encoder), GFP_KERNEL);
-
        if (!psb_intel_encoder) {
                dev_err(dev->dev, "psb_intel_encoder allocation error\n");
                return;
@@ -721,10 +720,9 @@ void psb_intel_lvds_init(struct drm_device *dev,
 
        psb_intel_connector =
                kzalloc(sizeof(struct psb_intel_connector), GFP_KERNEL);
-
        if (!psb_intel_connector) {
-               kfree(psb_intel_encoder);
                dev_err(dev->dev, "psb_intel_connector allocation error\n");
+               goto failed_encoder;
        }
 
        lvds_priv = kzalloc(sizeof(struct psb_intel_lvds_priv), GFP_KERNEL);
@@ -862,7 +860,8 @@ failed_blc_i2c:
        drm_encoder_cleanup(encoder);
        drm_connector_cleanup(connector);
 failed_connector:
-       if (psb_intel_connector)
-               kfree(psb_intel_connector);
+       kfree(psb_intel_connector);
+failed_encoder:
+       kfree(psb_intel_encoder);
 }
 
index 959bf4483beab43766d795ba75002f40c3d04558..c520d06a930c06e10cb49c9017574dec2b692c36 100644 (file)
@@ -150,7 +150,7 @@ void rv515_gpu_init(struct radeon_device *rdev)
 
        if (r100_gui_wait_for_idle(rdev)) {
                printk(KERN_WARNING "Failed to wait GUI idle while "
-                      "reseting GPU. Bad things might happen.\n");
+                      "resetting GPU. Bad things might happen.\n");
        }
        rv515_vga_render_disable(rdev);
        r420_pipes_init(rdev);
@@ -162,7 +162,7 @@ void rv515_gpu_init(struct radeon_device *rdev)
        WREG32_PLL(0x000D, tmp);
        if (r100_gui_wait_for_idle(rdev)) {
                printk(KERN_WARNING "Failed to wait GUI idle while "
-                      "reseting GPU. Bad things might happen.\n");
+                      "resetting GPU. Bad things might happen.\n");
        }
        if (rv515_mc_wait_for_idle(rdev)) {
                printk(KERN_WARNING "Failed to wait MC idle while "
index f390f5f9cb684f64fc2e0dbb390a713841f296f2..2d6f573bfff25bf9aa9641a2ae55704f48132519 100644 (file)
@@ -430,7 +430,7 @@ static int vmw_driver_load(struct drm_device *dev, unsigned long chipset)
        svga_id = vmw_read(dev_priv, SVGA_REG_ID);
        if (svga_id != SVGA_ID_2) {
                ret = -ENOSYS;
-               DRM_ERROR("Unsuported SVGA ID 0x%x\n", svga_id);
+               DRM_ERROR("Unsupported SVGA ID 0x%x\n", svga_id);
                mutex_unlock(&dev_priv->hw_mutex);
                goto out_err0;
        }
index 8b9a77486d57b8a1c7a9e8371ef160cfe75d53a3..951442adc0675eb0b5b68e49d395293ca0d44c42 100644 (file)
@@ -624,7 +624,7 @@ static int tmp401_probe(struct i2c_client *client,
                        goto exit_remove;
        }
 
-       /* Register aditional tmp411 sysfs hooks */
+       /* Register additional tmp411 sysfs hooks */
        if (data->kind == tmp411) {
                for (i = 0; i < ARRAY_SIZE(tmp411_attr); i++) {
                        err = device_create_file(&client->dev,
index 2b73d43cd6919a33c6b491467ea02a5d7af8202f..ebe33d960d77b235bff0caf1e6721700b69312b8 100644 (file)
@@ -3450,7 +3450,7 @@ static struct se_node_acl *srpt_alloc_fabric_acl(struct se_portal_group *se_tpg)
 
        nacl = kzalloc(sizeof(struct srpt_node_acl), GFP_KERNEL);
        if (!nacl) {
-               printk(KERN_ERR "Unable to alocate struct srpt_node_acl\n");
+               printk(KERN_ERR "Unable to allocate struct srpt_node_acl\n");
                return NULL;
        }
 
index a08a53448b72e05684885ef7eb4225a6936eb27b..132f93b0515488a41ada28353e9de872e2c4f333 100644 (file)
@@ -1247,7 +1247,7 @@ static int iommu_init_domains(struct intel_iommu *iommu)
        unsigned long nlongs;
 
        ndomains = cap_ndoms(iommu->cap);
-       pr_debug("IOMMU %d: Number of Domains supportd <%ld>\n", iommu->seq_id,
+       pr_debug("IOMMU %d: Number of Domains supported <%ld>\n", iommu->seq_id,
                        ndomains);
        nlongs = BITS_TO_LONGS(ndomains);
 
index 2fd435bc542e0db14a8488cbe97dc9380768dc72..831d7517c759294f4936e810f12008c257e5c1f4 100644 (file)
@@ -356,7 +356,7 @@ static void poll_media_bay(struct media_bay_info* bay)
        static char *mb_content_types[] = {
                "a floppy drive",
                "a floppy drive",
-               "an unsuported audio device",
+               "an unsupported audio device",
                "an ATA device",
                "an unsupported PCI device",
                "an unknown device",
index 0a6806f80ab5cdf40d4dba56c41dc74ad3db772b..b6e58c7b6df544fa3a9f2f2cff94a7da6af72c3f 100644 (file)
@@ -12,7 +12,6 @@
 #include <linux/dm-io.h>
 #include <linux/slab.h>
 #include <linux/vmalloc.h>
-#include <linux/version.h>
 #include <linux/shrinker.h>
 #include <linux/module.h>
 
index b3fe05bbffc955bcbd45ea9830729f7bd22a6d53..291f6b110399c6361108d84da63cbdb52e9843c2 100644 (file)
@@ -1054,7 +1054,7 @@ static int dm04_lme2510_tuner(struct dvb_usb_adapter *adap)
        if (ret)
                info("TUN Found %s tuner", tun_msg[ret]);
        else {
-               info("TUN No tuner found --- reseting device");
+               info("TUN No tuner found --- resetting device");
                lme_coldreset(adap->dev->udev);
                return -ENODEV;
        }
index 6980ed7b8786b6048b5e4271db0f7758bb277204..5ab53795bd7ab605ea240ebbfb3970b37158b361 100644 (file)
@@ -28,7 +28,6 @@
 #include <linux/delay.h>
 #include <linux/firmware.h>
 #include <linux/i2c.h>
-#include <linux/version.h>
 #include <asm/div64.h>
 
 #include "dvb_frontend.h"
index ae6f22aae677e3e0a88988233f380e47e249f47d..35d72b46aa1e81acc51706433738f21abac76767 100644 (file)
@@ -1272,7 +1272,7 @@ struct dvb_frontend* tda10045_attach(const struct tda1004x_config* config,
        /* allocate memory for the internal state */
        state = kzalloc(sizeof(struct tda1004x_state), GFP_KERNEL);
        if (!state) {
-               printk(KERN_ERR "Can't alocate memory for tda10045 state\n");
+               printk(KERN_ERR "Can't allocate memory for tda10045 state\n");
                return NULL;
        }
 
@@ -1342,7 +1342,7 @@ struct dvb_frontend* tda10046_attach(const struct tda1004x_config* config,
        /* allocate memory for the internal state */
        state = kzalloc(sizeof(struct tda1004x_state), GFP_KERNEL);
        if (!state) {
-               printk(KERN_ERR "Can't alocate memory for tda10046 state\n");
+               printk(KERN_ERR "Can't allocate memory for tda10046 state\n");
                return NULL;
        }
 
index 672cf4d2462d68001a537e92f5a6646c141e7272..10c68df7e16f56cebaf1c305baac92de45d3c3a1 100644 (file)
@@ -76,7 +76,7 @@ static int mantis_hif_write_wait(struct mantis_ca *ca)
                udelay(500);
                timeout++;
                if (timeout > 100) {
-                       dprintk(MANTIS_ERROR, 1, "Adater(%d) Slot(0): Write operation timed out!", mantis->num);
+                       dprintk(MANTIS_ERROR, 1, "Adapter(%d) Slot(0): Write operation timed out!", mantis->num);
                        rc = -ETIMEDOUT;
                        break;
                }
index 2dd485996ba8e05ddd94b127e205590c1f34f6a9..7ab9afadf29b7f2b4e788f6fd644225cdb8ffb0a 100644 (file)
@@ -172,7 +172,7 @@ static int fmr2_tea_ext_init(struct snd_tea575x *tea)
                fmr2->volume = v4l2_ctrl_new_std(&tea->ctrl_handler, &fmr2_ctrl_ops, V4L2_CID_AUDIO_VOLUME, 0, 68, 2, 56);
                fmr2->balance = v4l2_ctrl_new_std(&tea->ctrl_handler, &fmr2_ctrl_ops, V4L2_CID_AUDIO_BALANCE, -68, 68, 2, 0);
                if (tea->ctrl_handler.error) {
-                       printk(KERN_ERR "radio-sf16fmr2: can't initialize contrls\n");
+                       printk(KERN_ERR "radio-sf16fmr2: can't initialize controls\n");
                        return tea->ctrl_handler.error;
                }
        }
index f83baf3a52b0b7ae40f0e05091b2cb90147e2d4a..5b68847d40179fb43b988d7fe73966919158c1a7 100644 (file)
@@ -292,7 +292,7 @@ static int validate_ccdc_param(struct ccdc_config_params_raw *ccdcparam)
        if ((ccdcparam->med_filt_thres < 0) ||
           (ccdcparam->med_filt_thres > CCDC_MED_FILT_THRESH)) {
                dev_dbg(ccdc_cfg.dev,
-                       "Invalid value of median filter thresold\n");
+                       "Invalid value of median filter threshold\n");
                return -EINVAL;
        }
 
index 6806345ec2f0f6a9a26accb862b8eb4aa6d5c565..3627f3225bbb32a79aedb577b155999146cb531b 100644 (file)
@@ -649,7 +649,7 @@ static int ov6650_s_fmt(struct v4l2_subdev *sd, struct v4l2_mbus_framefmt *mf)
                        clkrc = CLKRC_24MHz;
                } else {
                        dev_err(&client->dev,
-                               "unspported input clock, check platform data\n");
+                               "unsupported input clock, check platform data\n");
                        return -EINVAL;
                }
                mclk = sense->master_clock;
index bd56a764dea1f36cb522225e09ce4992e0733a56..54d0fe40845f0f00bf895d6edce27ea422eabd2e 100644 (file)
@@ -28,7 +28,6 @@
 #include <linux/bitops.h>
 #include <linux/spinlock.h>
 #include <linux/mfd/core.h>
-#include <linux/version.h>
 #include <linux/mfd/db5500-prcmu.h>
 
 #include "ab5500-core.h"
index 1bcfd6dbb5cc242eb97de198f3eb383d85655e98..c3622a69f432b34e63f218ad1e003ea48bc69922 100644 (file)
@@ -1606,7 +1606,7 @@ static int __devinit s3cmci_probe(struct platform_device *pdev)
        host->mem = platform_get_resource(pdev, IORESOURCE_MEM, 0);
        if (!host->mem) {
                dev_err(&pdev->dev,
-                       "failed to get io memory region resouce.\n");
+                       "failed to get io memory region resource.\n");
 
                ret = -ENOENT;
                goto probe_free_gpio;
@@ -1630,7 +1630,7 @@ static int __devinit s3cmci_probe(struct platform_device *pdev)
 
        host->irq = platform_get_irq(pdev, 0);
        if (host->irq == 0) {
-               dev_err(&pdev->dev, "failed to get interrupt resouce.\n");
+               dev_err(&pdev->dev, "failed to get interrupt resource.\n");
                ret = -EINVAL;
                goto probe_iounmap;
        }
index da1f96f385c70b695f6e52696cc91b3bf6833948..0bbc61ba9524ec7f89e1ffba7b0aaceb53c365ad 100644 (file)
@@ -76,10 +76,7 @@ struct mtd_info *do_map_probe(const char *name, struct map_info *map)
        */
        module_put(drv->module);
 
-       if (ret)
-               return ret;
-
-       return NULL;
+       return ret;
 }
 /*
  * Destroy an MTD device which was created for a map device.
index aa15cc4269a18f4ff5a5b24c42c80427567c127e..50f87b60b0bd01400590dcd7e661f7bbe5423cd9 100644 (file)
@@ -1466,7 +1466,7 @@ static int prism2_hw_enable(struct net_device *dev, int initial)
         * before it starts acting as an AP, so reset port automatically
         * here just in case */
        if (initial && prism2_reset_port(dev)) {
-               printk("%s: MAC port 0 reseting failed\n", dev->name);
+               printk("%s: MAC port 0 resetting failed\n", dev->name);
                return 1;
        }
 
@@ -1557,7 +1557,7 @@ static void prism2_hw_reset(struct net_device *dev)
        static long last_reset = 0;
 
        /* do not reset card more than once per second to avoid ending up in a
-        * busy loop reseting the card */
+        * busy loop resetting the card */
        if (time_before_eq(jiffies, last_reset + HZ))
                return;
        last_reset = jiffies;
index 9fcde36d5013d9435d0070e2eadd4c36f5dc21aa..c9e2660e12638d156818367c19cc646064e4aeb3 100644 (file)
@@ -856,7 +856,7 @@ reset_device:
 
        /* semaphore stuck, reset device to avoid fw freeze later */
        dev_warn(zd_mac_dev(mac), "CR_BCN_FIFO_SEMAPHORE stuck, "
-                                 "reseting device...");
+                                 "resetting device...");
        usb_queue_reset_device(mac->chip.usb.intf);
 
        return r;
index 785bdbe38f2a0cb6f67d6ad56a3c0ad2d5980490..f766b3e67c6d42380cee91936cd0b85ab9907337 100644 (file)
@@ -1104,7 +1104,7 @@ static void zd_tx_watchdog_handler(struct work_struct *work)
                goto out;
 
        /* TX halted, try reset */
-       dev_warn(zd_usb_dev(usb), "TX-stall detected, reseting device...");
+       dev_warn(zd_usb_dev(usb), "TX-stall detected, resetting device...");
 
        usb_queue_reset_device(usb->intf);
 
index 5a34973dc16486aeb701cd5dd0e0cc59372a0eb5..ba68d4e7a779cbec42c15f6d8bfa08b85ff8e2b0 100644 (file)
@@ -379,7 +379,7 @@ static ssize_t hdaps_temp1_show(struct device *dev,
        int ret;
 
        ret = hdaps_readb_one(HDAPS_PORT_TEMP1, &temp);
-       if (ret < 0)
+       if (ret)
                return ret;
 
        return sprintf(buf, "%u\n", temp);
@@ -392,7 +392,7 @@ static ssize_t hdaps_temp2_show(struct device *dev,
        int ret;
 
        ret = hdaps_readb_one(HDAPS_PORT_TEMP2, &temp);
-       if (ret < 0)
+       if (ret)
                return ret;
 
        return sprintf(buf, "%u\n", temp);
index 1ed6ea0bad6e621bcf1b9523606189e28ec708c8..222ccd872ac55119fb6af650af20cd3c48d42ad6 100644 (file)
 #define BQ27x00_REG_TTE                        0x16
 #define BQ27x00_REG_TTF                        0x18
 #define BQ27x00_REG_TTECP              0x26
-#define BQ27x00_REG_NAC                        0x0C /* Nominal available capaciy */
+#define BQ27x00_REG_NAC                        0x0C /* Nominal available capacity */
 #define BQ27x00_REG_LMD                        0x12 /* Last measured discharge */
 #define BQ27x00_REG_CYCT               0x2A /* Cycle count total */
-#define BQ27x00_REG_AE                 0x22 /* Available enery */
+#define BQ27x00_REG_AE                 0x22 /* Available energy */
 
 #define BQ27000_REG_RSOC               0x0B /* Relative State-of-Charge */
 #define BQ27000_REG_ILMD               0x76 /* Initial last measured discharge */
index 5f8617dd43bb6afdab903e47c06bff08d0c1987e..25417d0e7acbf655392ac8c98cbfaf72745b6c5f 100644 (file)
@@ -8993,7 +8993,7 @@ ahd_handle_scsi_status(struct ahd_softc *ahd, struct scb *scb)
                                        printk("Invalid Command IU Field\n");
                                        break;
                                case SIU_PFC_TMF_NOT_SUPPORTED:
-                                       printk("TMF not supportd\n");
+                                       printk("TMF not supported\n");
                                        break;
                                case SIU_PFC_TMF_FAILED:
                                        printk("TMF failed\n");
@@ -9113,7 +9113,7 @@ ahd_handle_scsi_status(struct ahd_softc *ahd, struct scb *scb)
                break;
        }
        case SCSI_STATUS_OK:
-               printk("%s: Interrupted for staus of 0???\n",
+               printk("%s: Interrupted for status of 0???\n",
                       ahd_name(ahd));
                /* FALLTHROUGH */
        default:
index dc28b0a91b22706c1a5b715677635bdaff9b6f95..10172a3af1b9c77563be8c2971498525894edea7 100644 (file)
@@ -1049,7 +1049,7 @@ ahc_handle_seqint(struct ahc_softc *ahc, u_int intstat)
                ahc_set_scsi_status(scb, hscb->shared_data.status.scsi_status);
                switch (hscb->shared_data.status.scsi_status) {
                case SCSI_STATUS_OK:
-                       printk("%s: Interrupted for staus of 0???\n",
+                       printk("%s: Interrupted for status of 0???\n",
                               ahc_name(ahc));
                        break;
                case SCSI_STATUS_CMD_TERMINATED:
index 418391b1c3616b07f2976467720565d7e9ee4479..6ca9b26bb2fb75fc7adcb2d3cde586d4a38ae3a7 100644 (file)
@@ -58,7 +58,6 @@
 #include "host.h"
 #include "isci.h"
 #include "port.h"
-#include "host.h"
 #include "probe_roms.h"
 #include "remote_device.h"
 #include "request.h"
index 36ea0b2d80209e017e1ddffe50baf71eeaec4d2b..2b4d37613d325416b606cee8a096e961a62ce42a 100644 (file)
@@ -149,7 +149,7 @@ _config_display_some_debug(struct MPT2SAS_ADAPTER *ioc, u16 smid,
                        desc = "raid_config";
                        break;
                case MPI2_CONFIG_EXTPAGETYPE_DRIVER_MAPPING:
-                       desc = "driver_mappping";
+                       desc = "driver_mapping";
                        break;
                }
                break;
index b7b92f7be2aa440afd1613149049f7bb5ea3993f..e12c4f632a630523fbbd2a4b9ad67bab38b8a19f 100644 (file)
@@ -3532,7 +3532,7 @@ static void process_one_iomb(struct pm8001_hba_info *pm8001_ha, void *piomb)
                break;
        case OPC_OUB_DEREG_DEV:
                PM8001_MSG_DBG(pm8001_ha,
-                       pm8001_printk("unresgister the deviece\n"));
+                       pm8001_printk("unregister the device\n"));
                mpi_dereg_resp(pm8001_ha, piomb);
                break;
        case OPC_OUB_GET_DEV_HANDLE:
index ca496c7474e3bcb95ae3f7ae2fbdde7c74fd79ff..e1d150f3fd4d4912c2cdc9f972550874f0fd63f7 100644 (file)
@@ -857,11 +857,11 @@ static struct pmcraid_ioasc_error pmcraid_ioasc_error_table[] = {
        {0x01180600, IOASC_LOG_LEVEL_HARD,
         "Recovered Error, soft media error, sector reassignment suggested"},
        {0x015D0000, IOASC_LOG_LEVEL_HARD,
-        "Recovered Error, failure prediction thresold exceeded"},
+        "Recovered Error, failure prediction threshold exceeded"},
        {0x015D9200, IOASC_LOG_LEVEL_HARD,
-        "Recovered Error, soft Cache Card Battery error thresold"},
+        "Recovered Error, soft Cache Card Battery error threshold"},
        {0x015D9200, IOASC_LOG_LEVEL_HARD,
-        "Recovered Error, soft Cache Card Battery error thresold"},
+        "Recovered Error, soft Cache Card Battery error threshold"},
        {0x02048000, IOASC_LOG_LEVEL_HARD,
         "Not Ready, IOA Reset Required"},
        {0x02408500, IOASC_LOG_LEVEL_HARD,
index 1682e2e4201d9729546cbe43fa5b46889fc7739f..2c4714279bcc0406ddaff5012da12100f58323bd 100644 (file)
@@ -731,7 +731,7 @@ qla2x00_process_loopback(struct fc_bsg_job *bsg_job)
 
                        if (elreq.options != EXTERNAL_LOOPBACK) {
                                ql_dbg(ql_dbg_user, vha, 0x7020,
-                                   "Internal: curent port config = %x\n",
+                                   "Internal: current port config = %x\n",
                                    config[0]);
                                if (qla81xx_set_internal_loopback(vha, config,
                                        new_config)) {
index ce6d3b7f0c616a3adc14677c27996e99711d4f75..edf503437e962571cec8c0e42e85034269a87f4d 100644 (file)
@@ -3382,7 +3382,7 @@ static int get_fw_boot_info(struct scsi_qla_host *ha, uint16_t ddb_index[])
                if (qla4xxx_get_flash(ha, buf_dma, addr,
                                      13 * sizeof(uint8_t)) != QLA_SUCCESS) {
                        DEBUG2(ql4_printk(KERN_ERR, ha, "scsi%ld: %s: Get Flash"
-                                         "failed\n", ha->host_no, __func__));
+                                         " failed\n", ha->host_no, __func__));
                        ret = QLA_ERROR;
                        goto exit_boot_info_free;
                }
@@ -3620,7 +3620,7 @@ static int qla4xxx_setup_boot_info(struct scsi_qla_host *ha)
 
        if (ql4xdisablesysfsboot) {
                ql4_printk(KERN_INFO, ha,
-                          "%s: syfsboot disabled - driver will trigger login"
+                          "%s: syfsboot disabled - driver will trigger login "
                           "and publish session for discovery .\n", __func__);
                return QLA_SUCCESS;
        }
index ce2d6193dd893997380eb1567a0d4a4b8ae83db1..2415a6e60c776dbe2581db767d0e5bdc16e4bab1 100644 (file)
@@ -15,7 +15,6 @@
 #include <linux/slab.h>
 #include <linux/sysfs.h>
 #include <linux/regulator/consumer.h>
-#include <linux/module.h>
 
 #include "../iio.h"
 #include "../sysfs.h"
index 6bee4907c6a50295a2b604360e3df53b447a9568..34b1a3c43066a45b7f22153d9ad674f43215bc2c 100644 (file)
@@ -3923,7 +3923,7 @@ static void tdma_reset(struct slgt_info *info)
  */
 static void enable_loopback(struct slgt_info *info)
 {
-       /* SCR (serial control) BIT2=looopback enable */
+       /* SCR (serial control) BIT2=loopback enable */
        wr_reg16(info, SCR, (unsigned short)(rd_reg16(info, SCR) | BIT2));
 
        if (info->params.mode != MGSL_MODE_ASYNC) {
index d986824bb2b4f8eacafcda957978f0efe8aa8e25..c053e90f2006f580ed4f8a4440fb520639c3edd6 100644 (file)
@@ -89,7 +89,6 @@
 #include "disk-io.h"
 #include "transaction.h"
 #include "extent_io.h"
-#include "disk-io.h"
 #include "volumes.h"
 #include "print-tree.h"
 #include "locking.h"
index 710ea380c7edbdbeb4fbabc1266745f047606909..b02e379b14c7d5872513a52a05cea1d2d845c6b8 100644 (file)
@@ -1068,7 +1068,7 @@ int btrfs_write_out_cache(struct btrfs_root *root,
                spin_unlock(&block_group->lock);
                ret = 0;
 #ifdef DEBUG
-               printk(KERN_ERR "btrfs: failed to write free space cace "
+               printk(KERN_ERR "btrfs: failed to write free space cache "
                       "for block group %llu\n", block_group->key.objectid);
 #endif
        }
index a2ee8f9f5a387ed683733d1f8d434357a31b138f..04d51f9333d73fa52a7f4b1b586ededdfbd63b79 100644 (file)
@@ -257,10 +257,10 @@ static int cramfs_fill_super(struct super_block *sb, void *data, int silent)
 
        /* Do sanity checks on the superblock */
        if (super.magic != CRAMFS_MAGIC) {
-               /* check for wrong endianess */
+               /* check for wrong endianness */
                if (super.magic == CRAMFS_MAGIC_WEND) {
                        if (!silent)
-                               printk(KERN_ERR "cramfs: wrong endianess\n");
+                               printk(KERN_ERR "cramfs: wrong endianness\n");
                        goto out;
                }
 
@@ -270,7 +270,7 @@ static int cramfs_fill_super(struct super_block *sb, void *data, int silent)
                mutex_unlock(&read_mutex);
                if (super.magic != CRAMFS_MAGIC) {
                        if (super.magic == CRAMFS_MAGIC_WEND && !silent)
-                               printk(KERN_ERR "cramfs: wrong endianess\n");
+                               printk(KERN_ERR "cramfs: wrong endianness\n");
                        else if (!silent)
                                printk(KERN_ERR "cramfs: wrong magic\n");
                        goto out;
index 5b4a9362d5aafd7568605b5ec99f862458811ac4..77b535ac71361a48abb7f7d92d6ac07bf47c177c 100644 (file)
@@ -1284,7 +1284,7 @@ int writeback_inodes_sb_if_idle(struct super_block *sb, enum wb_reason reason)
 EXPORT_SYMBOL(writeback_inodes_sb_if_idle);
 
 /**
- * writeback_inodes_sb_if_idle -       start writeback if none underway
+ * writeback_inodes_sb_nr_if_idle      -       start writeback if none underway
  * @sb: the superblock
  * @nr: the number of pages to write
  * @reason: reason why some writeback work was initiated
index 5b6c9d1a2fb9bb3c99bf84d2ef0f6f67296491fa..96ed3c9ec3fc3b3a52b521b1227a1e561fe0c3d9 100644 (file)
@@ -340,7 +340,7 @@ int jffs2_unregister_compressor(struct jffs2_compressor *comp)
 
        if (comp->usecount) {
                spin_unlock(&jffs2_compressor_list_lock);
-               printk(KERN_WARNING "JFFS2: Compressor modul is in use. Unregister failed.\n");
+               printk(KERN_WARNING "JFFS2: Compressor module is in use. Unregister failed.\n");
                return -1;
        }
        list_del(&comp->list);
index faece7190866ff9298d64479ee9d98048f6b4ff3..809c0e6d8e09ebf29fe9a4b4426a4508b7bd4c26 100644 (file)
@@ -2008,14 +2008,14 @@ typedef struct {
  *
  * When a directory is small enough to fit inside the index root then this
  * is the only attribute describing the directory. When the directory is too
- * large to fit in the index root, on the other hand, two aditional attributes
+ * large to fit in the index root, on the other hand, two additional attributes
  * are present: an index allocation attribute, containing sub-nodes of the B+
  * directory tree (see below), and a bitmap attribute, describing which virtual
  * cluster numbers (vcns) in the index allocation attribute are in use by an
  * index block.
  *
  * NOTE: The root directory (FILE_root) contains an entry for itself. Other
- * dircetories do not contain entries for themselves, though.
+ * directories do not contain entries for themselves, though.
  */
 typedef struct {
        ATTR_TYPE type;                 /* Type of the indexed attribute. Is
index d245cb23dd726206806304022d0c83a0ab784656..e5e69aff6c69c3fe9e6eba78ad686852a394bc5e 100644 (file)
@@ -513,7 +513,7 @@ read_kcore(struct file *file, char __user *buffer, size_t buflen, loff_t *fpos)
 
                                n = copy_to_user(buffer, (char *)start, tsz);
                                /*
-                                * We cannot distingush between fault on source
+                                * We cannot distinguish between fault on source
                                 * and fault on destination. When this happens
                                 * we clear too and hope it will trigger the
                                 * EFAULT again.
index 03d85cbf90bf644e40ef046c606c0dff61d99506..b43d01556313fd2f7b7ce8ba4494fe9534c43697 100644 (file)
@@ -975,7 +975,7 @@ static int leaf_cut_entries(struct buffer_head *bh,
           remove */
        RFALSE(!is_direntry_le_ih(ih), "10180: item is not directory item");
        RFALSE(I_ENTRY_COUNT(ih) < from + del_count,
-              "10185: item contains not enough entries: entry_cout = %d, from = %d, to delete = %d",
+              "10185: item contains not enough entries: entry_count = %d, from = %d, to delete = %d",
               I_ENTRY_COUNT(ih), from, del_count);
 
        if (del_count == 0)
index 4a243546d142b3e0264b115332bf73e354aa0fdf..923d093c9ceac685f199868a8b49fa58349aa554 100644 (file)
@@ -236,7 +236,7 @@ void ftrace_likely_update(struct ftrace_branch_data *f, int val, int expect);
 
 /*
  * Rather then using noinline to prevent stack consumption, use
- * noinline_for_stack instead.  For documentaiton reasons.
+ * noinline_for_stack instead.  For documentation reasons.
  */
 #define noinline_for_stack noinline
 
index d4afd703e9487b74307c64f36c8f4ac86e9c46b5..b843fe79583b9b6cd4805ea87523f97ac1273928 100644 (file)
@@ -746,28 +746,28 @@ int pci_bus_write_config_dword(struct pci_bus *bus, unsigned int devfn,
                               int where, u32 val);
 struct pci_ops *pci_bus_set_ops(struct pci_bus *bus, struct pci_ops *ops);
 
-static inline int pci_read_config_byte(struct pci_dev *dev, int where, u8 *val)
+static inline int pci_read_config_byte(const struct pci_dev *dev, int where, u8 *val)
 {
        return pci_bus_read_config_byte(dev->bus, dev->devfn, where, val);
 }
-static inline int pci_read_config_word(struct pci_dev *dev, int where, u16 *val)
+static inline int pci_read_config_word(const struct pci_dev *dev, int where, u16 *val)
 {
        return pci_bus_read_config_word(dev->bus, dev->devfn, where, val);
 }
-static inline int pci_read_config_dword(struct pci_dev *dev, int where,
+static inline int pci_read_config_dword(const struct pci_dev *dev, int where,
                                        u32 *val)
 {
        return pci_bus_read_config_dword(dev->bus, dev->devfn, where, val);
 }
-static inline int pci_write_config_byte(struct pci_dev *dev, int where, u8 val)
+static inline int pci_write_config_byte(const struct pci_dev *dev, int where, u8 val)
 {
        return pci_bus_write_config_byte(dev->bus, dev->devfn, where, val);
 }
-static inline int pci_write_config_word(struct pci_dev *dev, int where, u16 val)
+static inline int pci_write_config_word(const struct pci_dev *dev, int where, u16 val)
 {
        return pci_bus_write_config_word(dev->bus, dev->devfn, where, val);
 }
-static inline int pci_write_config_dword(struct pci_dev *dev, int where,
+static inline int pci_write_config_dword(const struct pci_dev *dev, int where,
                                         u32 val)
 {
        return pci_bus_write_config_dword(dev->bus, dev->devfn, where, val);
index 83c18e8c846d399832c5ab3ab2e5500286b26186..c8949385e56ef257f7882fe786fd95a38ceffa64 100644 (file)
@@ -812,7 +812,7 @@ static inline void security_free_mnt_opts(struct security_mnt_opts *opts)
  *     Check permissions before connecting or sending datagrams from @sock to
  *     @other.
  *     @sock contains the socket structure.
- *     @sock contains the peer socket structure.
+ *     @other contains the peer socket structure.
  *     Return 0 if permission is granted.
  *
  * The @unix_stream_connect and @unix_may_send hooks were necessary because
index 995b8bf630aca90e6c29f0f0d919e95c51586c10..a2b84f598e2b1a3068c3c4ec422df05dcf094d6a 100644 (file)
@@ -64,7 +64,7 @@ struct writeback_control {
        long pages_skipped;             /* Pages which were not written */
 
        /*
-        * For a_ops->writepages(): is start or end are non-zero then this is
+        * For a_ops->writepages(): if start or end are non-zero then this is
         * a hint that the filesystem need only write out the pages inside that
         * byterange.  The byte at `end' is included in the writeout request.
         */
index 14b38940062b36b79dacc434f19ad8a43b8133e5..cae9a94f025d95ab1a6f4d927e2459d337280d23 100644 (file)
@@ -65,7 +65,6 @@ TRACE_EVENT(machine_suspend,
        TP_printk("state=%lu", (unsigned long)__entry->state)
 );
 
-/* This code will be removed after deprecation time exceeded (2.6.41) */
 #ifdef CONFIG_EVENT_POWER_TRACING_DEPRECATED
 
 /*
index 4990f7ec776af2ec84a5783727589fd8e2655488..c24805c824b981d92b134e84792b66b515b0ef46 100644 (file)
@@ -446,8 +446,8 @@ void __init __weak thread_info_cache_init(void)
 static void __init mm_init(void)
 {
        /*
-        * page_cgroup requires countinous pages as memmap
-        * and it's bigger than MAX_ORDER unless SPARSEMEM.
+        * page_cgroup requires contiguous pages,
+        * bigger than MAX_ORDER unless SPARSEMEM.
         */
        page_cgroup_init_flatmem();
        mem_init();
index 7640b3a947d03aac578bee5849324843a0866798..7e8ea66a8c016ffc934997256835f3fdc735f2f8 100644 (file)
@@ -749,6 +749,7 @@ int adjust_resource(struct resource *res, resource_size_t start, resource_size_t
        write_unlock(&resource_lock);
        return result;
 }
+EXPORT_SYMBOL(adjust_resource);
 
 static void __init __reserve_region_with_split(struct resource *root,
                resource_size_t start, resource_size_t end,
@@ -792,8 +793,6 @@ void __init reserve_region_with_split(struct resource *root,
        write_unlock(&resource_lock);
 }
 
-EXPORT_SYMBOL(adjust_resource);
-
 /**
  * resource_alignment - calculate resource's alignment
  * @res: resource pointer
index 632b15e29f74533a5a22434351d8d21dc07e4a54..a188058582e07239c3f9cc5b6cf76c9f48f7d51b 100644 (file)
@@ -184,7 +184,7 @@ int invalidate_inode_page(struct page *page)
 }
 
 /**
- * truncate_inode_pages - truncate range of pages specified by start & end byte offsets
+ * truncate_inode_pages_range - truncate range of pages specified by start & end byte offsets
  * @mapping: mapping to truncate
  * @lstart: offset from which to truncate
  * @lend: offset to which to truncate
index e29e0ca32f740d978aeccf23a4fba5453a4e8aa4..8d6d9702d1ec9092b6e9fbde2599c5f6663a2472 100644 (file)
@@ -826,7 +826,7 @@ static void rds_ib_process_recv(struct rds_connection *conn,
 
        if (data_len < sizeof(struct rds_header)) {
                rds_ib_conn_error(conn, "incoming message "
-                      "from %pI4 didn't inclue a "
+                      "from %pI4 didn't include a "
                       "header, disconnecting and "
                       "reconnecting\n",
                       &conn->c_faddr);
index 5e57347f49ff040968067b50ac35283e4463acd7..3c87170050186e2a4d575684bf53eb9cb0f377cf 100644 (file)
@@ -661,7 +661,7 @@ static void rds_iw_process_recv(struct rds_connection *conn,
 
        if (byte_len < sizeof(struct rds_header)) {
                rds_iw_conn_error(conn, "incoming message "
-                      "from %pI4 didn't inclue a "
+                      "from %pI4 didn't include a "
                       "header, disconnecting and "
                       "reconnecting\n",
                       &conn->c_faddr);
index d29d6d37790425924ce818acff4f6402f0fa8e82..f584f6d8ffcccfe1237e8495289cec805b91b9bb 100644 (file)
@@ -1643,7 +1643,7 @@ static void cxt5051_update_speaker(struct hda_codec *codec)
        pinctl = (!spec->hp_present && spec->cur_eapd) ? PIN_OUT : 0;
        snd_hda_codec_write(codec, 0x1a, 0, AC_VERB_SET_PIN_WIDGET_CONTROL,
                            pinctl);
-       /* on ideapad there is an aditional speaker (subwoofer) to mute */
+       /* on ideapad there is an additional speaker (subwoofer) to mute */
        if (spec->ideapad)
                snd_hda_codec_write(codec, 0x1b, 0,
                                    AC_VERB_SET_PIN_WIDGET_CONTROL,
index 9507c4b251a8e370ae5419ff38f51b9f6ea8d5a0..758ec2a08c40642e6e08eac4c6069f50e4806180 100755 (executable)
@@ -2601,7 +2601,7 @@ sub config_bisect {
     # read directly what we want to check
     my %config_check;
     open (IN, $output_config)
-       or dodie "faied to open $output_config";
+       or dodie "failed to open $output_config";
 
     while (<IN>) {
        if (/^((CONFIG\S*)=.*)/) {