Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
authorLinus Torvalds <torvalds@linux-foundation.org>
Thu, 13 Dec 2012 20:00:02 +0000 (12:00 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 13 Dec 2012 20:00:02 +0000 (12:00 -0800)
Pull trivial branch from Jiri Kosina:
 "Usual stuff -- comment/printk typo fixes, documentation updates, dead
  code elimination."

* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (39 commits)
  HOWTO: fix double words typo
  x86 mtrr: fix comment typo in mtrr_bp_init
  propagate name change to comments in kernel source
  doc: Update the name of profiling based on sysfs
  treewide: Fix typos in various drivers
  treewide: Fix typos in various Kconfig
  wireless: mwifiex: Fix typo in wireless/mwifiex driver
  messages: i2o: Fix typo in messages/i2o
  scripts/kernel-doc: check that non-void fcts describe their return value
  Kernel-doc: Convention: Use a "Return" section to describe return values
  radeon: Fix typo and copy/paste error in comments
  doc: Remove unnecessary declarations from Documentation/accounting/getdelays.c
  various: Fix spelling of "asynchronous" in comments.
  Fix misspellings of "whether" in comments.
  eisa: Fix spelling of "asynchronous".
  various: Fix spelling of "registered" in comments.
  doc: fix quite a few typos within Documentation
  target: iscsi: fix comment typos in target/iscsi drivers
  treewide: fix typo of "suport" in various comments and Kconfig
  treewide: fix typo of "suppport" in various comments
  ...

181 files changed:
Documentation/ABI/testing/dev-kmsg
Documentation/ABI/testing/sysfs-devices-power
Documentation/ABI/testing/sysfs-driver-ppi
Documentation/ABI/testing/sysfs-profiling
Documentation/HOWTO
Documentation/accounting/getdelays.c
Documentation/dma-buf-sharing.txt
Documentation/dontdiff
Documentation/fault-injection/notifier-error-inject.txt
Documentation/hid/uhid.txt
Documentation/hwmon/pmbus
Documentation/input/alps.txt
Documentation/kbuild/modules.txt
Documentation/kernel-doc-nano-HOWTO.txt
Documentation/misc-devices/mei/mei-amt-version.c
Documentation/video4linux/bttv/Cards
Documentation/video4linux/bttv/Sound-FAQ
Documentation/vm/frontswap.txt
MAINTAINERS
README
arch/alpha/include/asm/mmzone.h
arch/alpha/kernel/pci_iommu.c
arch/arm/kernel/kprobes-test.c
arch/arm/mach-netx/xc.c
arch/arm/mach-s3c24xx/include/mach/bast-map.h
arch/arm/mach-s3c24xx/include/mach/dma.h
arch/arm/mach-s3c24xx/include/mach/vr1000-map.h
arch/arm/mach-s3c24xx/pm.c
arch/arm/mach-tegra/Kconfig
arch/arm/plat-s3c24xx/dma.c
arch/blackfin/mach-bf609/Kconfig
arch/blackfin/mm/sram-alloc.c
arch/cris/include/arch-v10/arch/irq.h
arch/cris/include/arch-v32/arch/irq.h
arch/frv/mm/pgalloc.c
arch/ia64/kvm/kvm-ia64.c
arch/m68k/math-emu/fp_log.c
arch/mips/txx9/generic/pci.c
arch/mn10300/mm/pgtable.c
arch/openrisc/Kconfig
arch/powerpc/include/asm/oprofile_impl.h
arch/powerpc/include/asm/pte-hash64-64k.h
arch/powerpc/include/asm/smu.h
arch/powerpc/kernel/legacy_serial.c
arch/powerpc/kernel/of_platform.c
arch/powerpc/kernel/signal_64.c
arch/powerpc/mm/slice.c
arch/powerpc/platforms/52xx/mpc52xx_gpt.c
arch/powerpc/platforms/cell/iommu.c
arch/powerpc/platforms/cell/spider-pic.c
arch/powerpc/platforms/powermac/pic.c
arch/sh/boards/board-espt.c
arch/x86/boot/.gitignore
arch/x86/kernel/cpu/mtrr/main.c
arch/x86/mm/pgtable.c
drivers/acpi/acpica/dsopcode.c
drivers/char/ipmi/ipmi_msghandler.c
drivers/char/ipmi/ipmi_si_intf.c
drivers/char/ppdev.c
drivers/eisa/eisa.ids
drivers/firewire/init_ohci1394_dma.c
drivers/firewire/ohci.c
drivers/gpio/Kconfig
drivers/gpu/drm/radeon/evergreen.c
drivers/gpu/drm/radeon/ni.c
drivers/gpu/drm/radeon/radeon_ring.c
drivers/gpu/drm/radeon/si.c
drivers/i2c/busses/i2c-nuc900.c
drivers/i2c/busses/i2c-s3c2410.c
drivers/isdn/hisax/amd7930_fn.c
drivers/isdn/hisax/isar.c
drivers/md/md.c
drivers/md/persistent-data/dm-block-manager.c
drivers/md/persistent-data/dm-btree.h
drivers/md/raid5.c
drivers/media/dvb-frontends/drxk_hard.c
drivers/media/platform/mx2_emmaprp.c
drivers/message/i2o/README.ioctl
drivers/message/i2o/i2o_block.c
drivers/message/i2o/i2o_config.c
drivers/mmc/host/Kconfig
drivers/mtd/maps/plat-ram.c
drivers/mtd/nand/s3c2410.c
drivers/net/bonding/bonding.h
drivers/net/ethernet/8390/ax88796.c
drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c
drivers/net/ethernet/intel/e1000/e1000_ethtool.c
drivers/net/ethernet/mellanox/mlx4/eq.c
drivers/net/ethernet/micrel/ksz884x.c
drivers/net/ethernet/myricom/myri10ge/myri10ge_mcp_gen_header.h
drivers/net/sungem_phy.c
drivers/net/wimax/i2400m/debugfs.c
drivers/net/wireless/atmel.c
drivers/net/wireless/ipw2x00/ipw2100.h
drivers/net/wireless/zd1211rw/zd_chip.c
drivers/regulator/palmas-regulator.c
drivers/remoteproc/remoteproc_elf_loader.c
drivers/rtc/rtc-isl1208.c
drivers/rtc/rtc-s3c.c
drivers/s390/block/dasd_devmap.c
drivers/scsi/bnx2fc/bnx2fc_hwi.c
drivers/scsi/libsas/sas_expander.c
drivers/scsi/qla2xxx/qla_isr.c
drivers/scsi/qla2xxx/qla_nx.c
drivers/scsi/qla2xxx/qla_target.c
drivers/scsi/qla2xxx/tcm_qla2xxx.c
drivers/staging/comedi/drivers/usbdux.c
drivers/staging/tidspbridge/rmgr/node.c
drivers/target/iscsi/iscsi_target_configfs.c
drivers/target/iscsi/iscsi_target_erl0.c
drivers/target/iscsi/iscsi_target_parameters.c
drivers/target/iscsi/iscsi_target_util.c
drivers/thermal/Kconfig
drivers/tty/hvc/hvc_opal.c
drivers/tty/hvc/hvc_vio.c
drivers/tty/ipwireless/setup_protocol.h
drivers/tty/serial/8250/Kconfig
drivers/tty/serial/bfin_uart.c
drivers/tty/serial/icom.c
drivers/usb/core/driver.c
drivers/usb/gadget/at91_udc.c
drivers/usb/storage/realtek_cr.c
drivers/vhost/tcm_vhost.c
drivers/watchdog/booke_wdt.c
drivers/xen/xen-pciback/pci_stub.c
fs/btrfs/ctree.h
fs/btrfs/extent-tree.c
fs/btrfs/extent_map.c
fs/btrfs/ordered-data.h
fs/btrfs/volumes.c
fs/cifs/README
fs/ext4/ext4.h
fs/fhandle.c
fs/hugetlbfs/inode.c
fs/jbd/transaction.c
fs/jbd2/transaction.c
fs/logfs/inode.c
fs/ncpfs/mmap.c
fs/notify/fanotify/Kconfig
fs/notify/notification.c
include/linux/dlm.h
include/linux/hash.h
include/linux/ipmi_smi.h
include/linux/lru_cache.h
include/linux/netdevice.h
include/linux/stmmac.h
include/linux/vgaarb.h
include/linux/watchdog.h
include/net/irda/irlmp.h
include/net/sock.h
kernel/pid.c
kernel/profile.c
kernel/trace/ftrace.c
kernel/trace/trace.c
kernel/trace/trace_functions.c
kernel/trace/trace_irqsoff.c
kernel/trace/trace_sched_wakeup.c
kernel/wait.c
lib/Kconfig.debug
lib/bitmap.c
mm/hugetlb.c
mm/memory_hotplug.c
mm/page_alloc.c
mm/util.c
net/can/proc.c
net/ipv4/tcp_cong.c
net/mac80211/driver-ops.h
net/netfilter/nf_log.c
net/rfkill/core.c
net/sctp/endpointola.c
net/sctp/sm_statefuns.c
scripts/kernel-doc
security/keys/process_keys.c
sound/core/seq/seq_device.c
sound/pci/emu10k1/emu10k1_patch.c
sound/pci/es1968.c
sound/pci/ice1712/delta.c
sound/pci/sis7019.c
sound/usb/quirks.c
tools/perf/Documentation/perf-record.txt
usr/gen_init_cpio.c

index 7e7e07a82e0ec15dbe3255683acd67dba8d2f429..bb820be48179000dd85472ca5d02286778880aeb 100644 (file)
@@ -92,7 +92,7 @@ Description:  The /dev/kmsg character device node provides userspace access
                The flags field carries '-' by default. A 'c' indicates a
                fragment of a line. All following fragments are flagged with
                '+'. Note, that these hints about continuation lines are not
-               neccessarily correct, and the stream could be interleaved with
+               necessarily correct, and the stream could be interleaved with
                unrelated messages, but merging the lines in the output
                usually produces better human readable results. A similar
                logic is used internally when messages are printed to the
index 7fc2997b23a6e25e1690249b3161a29f6b950596..9d43e76708413bdf6b3d25a0b1179714b06680ba 100644 (file)
@@ -164,7 +164,7 @@ Contact:    Rafael J. Wysocki <rjw@sisk.pl>
 Description:
                The /sys/devices/.../wakeup_prevent_sleep_time_ms attribute
                contains the total time the device has been preventing
-               opportunistic transitions to sleep states from occuring.
+               opportunistic transitions to sleep states from occurring.
                This attribute is read-only.  If the device is not enabled to
                wake up the system from sleep states, this attribute is not
                present.
index 97a003ee058bc79e444bf8e442fa87d93b8f8af3..7d1435bc976c702a7cb432a49632e7f3a6a2f6f3 100644 (file)
@@ -5,7 +5,7 @@ Contact:        xiaoyan.zhang@intel.com
 Description:
                This folder includes the attributes related with PPI (Physical
                Presence Interface). Only if TPM is supported by BIOS, this
-               folder makes sence. The folder path can be got by command
+               folder makes sense. The folder path can be got by command
                'find /sys/ -name 'pcrs''. For the detail information of PPI,
                please refer to the PPI specification from
                http://www.trustedcomputinggroup.org/
index b02d8b8c173a9678ba8459037cddd5ab8717c05c..8a8e466eb2c01d39ec2afb7cac46cc183dde94aa 100644 (file)
@@ -1,13 +1,13 @@
-What:          /sys/kernel/profile
+What:          /sys/kernel/profiling
 Date:          September 2008
 Contact:       Dave Hansen <dave@linux.vnet.ibm.com>
 Description:
-               /sys/kernel/profile is the runtime equivalent
+               /sys/kernel/profiling is the runtime equivalent
                of the boot-time profile= option.
 
                You can get the same effect running:
 
-                       echo 2 > /sys/kernel/profile
+                       echo 2 > /sys/kernel/profiling
 
                as you would by issuing profile=2 on the boot
                command line.
index 59c080f084ef3dcfb52a21e850334b66672fe6af..a9f288ff54f97214c3afd4fd10839a4e75de01ad 100644 (file)
@@ -462,7 +462,7 @@ Differences between the kernel community and corporate structures
 
 The kernel community works differently than most traditional corporate
 development environments.  Here are a list of things that you can try to
-do to try to avoid problems:
+do to avoid problems:
   Good things to say regarding your proposed changes:
     - "This solves multiple problems."
     - "This deletes 2000 lines of code."
index 6f706aca2049718c436501f56b8e33592f7f14d6..f8ebcde43b174640ae1ab1d8ac47426a10688614 100644 (file)
@@ -51,7 +51,6 @@ int dbg;
 int print_delays;
 int print_io_accounting;
 int print_task_context_switch_counts;
-__u64 stime, utime;
 
 #define PRINTF(fmt, arg...) {                  \
            if (dbg) {                          \
index ad86fb86c9a0252ba7c51df8d5ddcf91d71eb6ed..0188903bc9e1ede2c5668d5d78c632d2c4f923b3 100644 (file)
@@ -376,7 +376,7 @@ Being able to mmap an export dma-buf buffer object has 2 main use-cases:
    leaving the cpu domain and flushing caches at fault time. Note that all the
    dma_buf files share the same anon inode, hence the exporter needs to replace
    the dma_buf file stored in vma->vm_file with it's own if pte shootdown is
-   requred. This is because the kernel uses the underlying inode's address_space
+   required. This is because the kernel uses the underlying inode's address_space
    for vma tracking (and hence pte tracking at shootdown time with
    unmap_mapping_range).
 
@@ -388,7 +388,7 @@ Being able to mmap an export dma-buf buffer object has 2 main use-cases:
    Exporters that shoot down mappings (for any reasons) shall not do any
    synchronization at fault time with outstanding device operations.
    Synchronization is an orthogonal issue to sharing the backing storage of a
-   buffer and hence should not be handled by dma-buf itself. This is explictly
+   buffer and hence should not be handled by dma-buf itself. This is explicitly
    mentioned here because many people seem to want something like this, but if
    different exporters handle this differently, buffer sharing can fail in
    interesting ways depending upong the exporter (if userspace starts depending
index 74c25c8d8884633c7275b590a48a229482685bbd..b89a739a32761db0f9100395fd6426352ad9167c 100644 (file)
@@ -181,7 +181,6 @@ modversions.h*
 nconf
 ncscope.*
 offset.h
-offsets.h
 oui.c*
 page-types
 parse.c
index c83526c364e58433ec96023d5e8fa4deeebe9f95..09adabef513ff863ae6f413a239b0b79f90d575b 100644 (file)
@@ -1,7 +1,7 @@
 Notifier error injection
 ========================
 
-Notifier error injection provides the ability to inject artifical errors to
+Notifier error injection provides the ability to inject artificial errors to
 specified notifier chain callbacks. It is useful to test the error handling of
 notifier call chain failures which is rarely executed.  There are kernel
 modules that can be used to test the following notifiers.
@@ -14,7 +14,7 @@ modules that can be used to test the following notifiers.
 CPU notifier error injection module
 -----------------------------------
 This feature can be used to test the error handling of the CPU notifiers by
-injecting artifical errors to CPU notifier chain callbacks.
+injecting artificial errors to CPU notifier chain callbacks.
 
 If the notifier call chain should be failed with some events notified, write
 the error code to debugfs interface
index 4627c4241ece699cedbe6660c7754e12933c4c2c..3c741214dfbbb028044be22a88c5359f7ba49646 100644 (file)
@@ -108,7 +108,7 @@ the request was handled successfully.
   UHID_FEATURE_ANSWER:
   If you receive a UHID_FEATURE request you must answer with this request. You
   must copy the "id" field from the request into the answer. Set the "err" field
-  to 0 if no error occured or to EIO if an I/O error occurred.
+  to 0 if no error occurred or to EIO if an I/O error occurred.
   If "err" is 0 then you should fill the buffer of the answer with the results
   of the feature request and set "size" correspondingly.
 
index f90f99920cc5ea49664aa1c6ed334f1619cbd94c..3d3a0f97f966f677e76a5d9685036edc43022ca6 100644 (file)
@@ -138,7 +138,7 @@ Sysfs entries
 
 When probing the chip, the driver identifies which PMBus registers are
 supported, and determines available sensors from this information.
-Attribute files only exist if respective sensors are suported by the chip.
+Attribute files only exist if respective sensors are supported by the chip.
 Labels are provided to inform the user about the sensor associated with
 a given sysfs entry.
 
index ae8ba9a74ce13e68519c2afa535c4cd06a4827db..3262b6e4d686ac944f7e767642228f4d4cc2f8f6 100644 (file)
@@ -133,7 +133,7 @@ number of contacts (f1 and f0 in the table below).
 
 This packet only appears after a position packet with the mt bit set, and
 usually only appears when there are two or more contacts (although
-occassionally it's seen with only a single contact).
+occasionally it's seen with only a single contact).
 
 The final v3 packet type is the trackstick packet.
 
index 3fb39e0116b4c8e42d40009357ed5cf13c1f2888..69372fb98cf89e4971e1520cd335ff66f27f7a6f 100644 (file)
@@ -470,7 +470,7 @@ build.
 
        Sometimes, an external module uses exported symbols from
        another external module. kbuild needs to have full knowledge of
-       all symbols to avoid spitting out warnings about undefined
+       all symbols to avoid spliitting out warnings about undefined
        symbols. Three solutions exist for this situation.
 
        NOTE: The method with a top-level kbuild file is recommended
index 3d8a97747f7731c801ca7d3a1483858feeb76b6c..99b57abddf8a186e2dcb399e167778c3605147df 100644 (file)
@@ -64,6 +64,8 @@ Example kernel-doc function comment:
  * comment lines.
  *
  * The longer description can have multiple paragraphs.
+ *
+ * Return: Describe the return value of foobar.
  */
 
 The short description following the subject can span multiple lines
@@ -78,6 +80,8 @@ If a function parameter is "..." (varargs), it should be listed in
 kernel-doc notation as:
  * @...: description
 
+The return value, if any, should be described in a dedicated section
+named "Return".
 
 Example kernel-doc data structure comment.
 
@@ -222,6 +226,9 @@ only a "*").
 "section header:" names must be unique per function (or struct,
 union, typedef, enum).
 
+Use the section header "Return" for sections describing the return value
+of a function.
+
 Avoid putting a spurious blank line after the function name, or else the
 description will be repeated!
 
@@ -237,21 +244,21 @@ patterns, which are highlighted appropriately.
 NOTE 1:  The multi-line descriptive text you provide does *not* recognize
 line breaks, so if you try to format some text nicely, as in:
 
-  Return codes
+  Return:
     0 - cool
     1 - invalid arg
     2 - out of memory
 
 this will all run together and produce:
 
-  Return codes 0 - cool 1 - invalid arg 2 - out of memory
+  Return: 0 - cool 1 - invalid arg 2 - out of memory
 
 NOTE 2:  If the descriptive text you provide has lines that begin with
 some phrase followed by a colon, each of those phrases will be taken as
 a new section heading, which means you should similarly try to avoid text
 like:
 
-  Return codes:
+  Return:
     0: cool
     1: invalid arg
     2: out of memory
index 01804f21631293b796a113319c202d2593330b5e..49e4f770864a5f1ee2211e75378719f39e91eafd 100644 (file)
@@ -214,7 +214,7 @@ out:
 }
 
 /***************************************************************************
- * Intel Advanced Management Technolgy ME Client
+ * Intel Advanced Management Technology ME Client
  ***************************************************************************/
 
 #define AMT_MAJOR_VERSION 1
@@ -256,7 +256,7 @@ struct amt_code_versions {
 } __attribute__((packed));
 
 /***************************************************************************
- * Intel Advanced Management Technolgy Host Interface
+ * Intel Advanced Management Technology Host Interface
  ***************************************************************************/
 
 struct amt_host_if_msg_header {
index db833ced2cb89cc68d9fa9c10c400cbdb64e056a..a8fb6e2d3c8bed16d0f32930ac6ba0006c7fa64a 100644 (file)
@@ -43,7 +43,7 @@ Very nice card if you only have satellite TV but several tuners connected
 to the card via composite.
 
 Many thanks to Matrix-Vision for giving us 2 cards for free which made
-Bt848a/Bt849 single crytal operation support possible!!!
+Bt848a/Bt849 single crystal operation support possible!!!
 
 
 
index 395f6c6fdd9899883e6e8a75ed7ae517a2efac62..d3f1d7783d1ccde25d42e496a69165244dee8728 100644 (file)
@@ -82,7 +82,7 @@ card installed, you might to check out if you can read these registers
 values used by the windows driver.  A tool to do this is available
 from ftp://telepresence.dmem.strath.ac.uk/pub/bt848/winutil, but it
 does'nt work with bt878 boards according to some reports I received.
-Another one with bt878 suport is available from
+Another one with bt878 support is available from
 http://btwincap.sourceforge.net/Files/btspy2.00.zip
 
 You might also dig around in the *.ini files of the Windows applications.
index 5ef2d1366425416128d252fab11f884350a758fc..c71a019be600bf7f7d54f1917cba50059bb9cdf6 100644 (file)
@@ -193,7 +193,7 @@ faster.
    or maybe swap-over-nbd/NFS)?
 
 No.  First, the existing swap subsystem doesn't allow for any kind of
-swap hierarchy.  Perhaps it could be rewritten to accomodate a hierarchy,
+swap hierarchy.  Perhaps it could be rewritten to accommodate a hierarchy,
 but this would require fairly drastic changes.  Even if it were
 rewritten, the existing swap subsystem uses the block I/O layer which
 assumes a swap device is fixed size and any page in it is linearly
index 0bc485c4a88e8c81bb10bba3f04f48aeb5071127..b0b880da6e5c0e57c932c21f72e0025f2bc6435b 100644 (file)
@@ -3596,7 +3596,7 @@ S:        Maintained
 F:     drivers/input/touchscreen/htcpen.c
 
 HUGETLB FILESYSTEM
-M:     William Irwin <wli@holomorphy.com>
+M:     Nadia Yvette Chambers <nyc@holomorphy.com>
 S:     Maintained
 F:     fs/hugetlbfs/
 
diff --git a/README b/README
index f32710a817fc392262f5f890cb637e5e0b1b5d1a..a24ec89ba4420ad38e8848422ca5f69baa5ffe1c 100644 (file)
--- a/README
+++ b/README
@@ -180,6 +180,10 @@ CONFIGURING the kernel:
                         with questions already answered.
                         Additionally updates the dependencies.
 
+     "make olddefconfig"
+                        Like above, but sets new symbols to their default
+                        values without prompting.
+
      "make defconfig"   Create a ./.config file by using the default
                         symbol values from either arch/$ARCH/defconfig
                         or arch/$ARCH/configs/${PLATFORM}_defconfig,
index 445dc42e033495be2ac6b1ae37fe3a8221c483e8..c5b5d6bac9ed1ac42b93275cf0602200ddf479f5 100644 (file)
@@ -66,7 +66,7 @@ PLAT_NODE_DATA_LOCALNR(unsigned long p, int n)
     ((unsigned long)__va(NODE_DATA(kvaddr_to_nid(kaddr))->node_start_pfn  \
                         << PAGE_SHIFT))
 
-/* XXX: FIXME -- wli */
+/* XXX: FIXME -- nyc */
 #define kern_addr_valid(kaddr) (0)
 
 #define virt_to_page(kaddr)    pfn_to_page(__pa(kaddr) >> PAGE_SHIFT)
index 3f844d26d2c71e072d28fb71a232e444daba281b..a21d0ab3b19e1cf3f57f7c95e2a0b5dbe4ab8e9d 100644 (file)
@@ -354,8 +354,7 @@ static dma_addr_t alpha_pci_map_page(struct device *dev, struct page *page,
        struct pci_dev *pdev = alpha_gendev_to_pci(dev);
        int dac_allowed;
 
-       if (dir == PCI_DMA_NONE)
-               BUG();
+       BUG_ON(dir == PCI_DMA_NONE);
 
        dac_allowed = pdev ? pci_dac_dma_supported(pdev, pdev->dma_mask) : 0; 
        return pci_map_single_1(pdev, (char *)page_address(page) + offset, 
@@ -378,8 +377,7 @@ static void alpha_pci_unmap_page(struct device *dev, dma_addr_t dma_addr,
        struct pci_iommu_arena *arena;
        long dma_ofs, npages;
 
-       if (dir == PCI_DMA_NONE)
-               BUG();
+       BUG_ON(dir == PCI_DMA_NONE);
 
        if (dma_addr >= __direct_map_base
            && dma_addr < __direct_map_base + __direct_map_size) {
@@ -662,8 +660,7 @@ static int alpha_pci_map_sg(struct device *dev, struct scatterlist *sg,
        dma_addr_t max_dma;
        int dac_allowed;
 
-       if (dir == PCI_DMA_NONE)
-               BUG();
+       BUG_ON(dir == PCI_DMA_NONE);
 
        dac_allowed = dev ? pci_dac_dma_supported(pdev, pdev->dma_mask) : 0;
 
@@ -742,8 +739,7 @@ static void alpha_pci_unmap_sg(struct device *dev, struct scatterlist *sg,
        dma_addr_t max_dma;
        dma_addr_t fbeg, fend;
 
-       if (dir == PCI_DMA_NONE)
-               BUG();
+       BUG_ON(dir == PCI_DMA_NONE);
 
        if (! alpha_mv.mv_pci_tbi)
                return;
index 1862d8f2fd44c00d1d535a1b447a5ab6cdf333b7..0cd63d080c7bf2d93f35db5a69e3debc5147351e 100644 (file)
@@ -1598,7 +1598,7 @@ static int __init run_all_tests(void)
 {
        int ret = 0;
 
-       pr_info("Begining kprobe tests...\n");
+       pr_info("Beginning kprobe tests...\n");
 
 #ifndef CONFIG_THUMB2_KERNEL
 
index e4cfb7e5361d2fa25978502fbab1ac296208d61e..f1c972d87bacc164b297b6e7f8088818a09aa168 100644 (file)
@@ -136,7 +136,7 @@ int xc_request_firmware(struct xc *x)
        if (head->magic != 0x4e657458) {
                if (head->magic == 0x5874654e) {
                        dev_err(x->dev,
-                           "firmware magic is 'XteN'. Endianess problems?\n");
+                           "firmware magic is 'XteN'. Endianness problems?\n");
                        ret = -ENODEV;
                        goto exit_release_firmware;
                }
index 6e7dc9d0cf0ebee796a953acca878822b245dff3..eecea2a50f8f893bf79ec5f4727e005dfbd19158 100644 (file)
@@ -74,7 +74,7 @@
 
 
 /* 0xE0000000 contains the IO space that is split by speed and
- * wether the access is for 8 or 16bit IO... this ensures that
+ * whether the access is for 8 or 16bit IO... this ensures that
  * the correct access is made
  *
  * 0x10000000 of space, partitioned as so:
index ee99fd56c0439f5bdc22152fa2c530282424fd70..6b72d5a4b377981eca1944ecd1f07a0d51871bd4 100644 (file)
@@ -88,7 +88,7 @@ enum s3c2410_dma_state {
  *
  * This represents the state of the DMA engine, wrt to the loaded / running
  * transfers. Since we don't have any way of knowing exactly the state of
- * the DMA transfers, we need to know the state to make decisions on wether
+ * the DMA transfers, we need to know the state to make decisions on whether
  * we can
  *
  * S3C2410_DMA_NONE
index 99612fcc4eb20e3c1b822b48b7b407cbf2542029..28376e56dd3bd3ba30924e71569f739e19786534 100644 (file)
@@ -51,7 +51,7 @@
 #define VR1000_VA_PC104_IRQMASK VR1000_IOADDR(0x00600000)
 
 /* 0xE0000000 contains the IO space that is split by speed and
- * wether the access is for 8 or 16bit IO... this ensures that
+ * whether the access is for 8 or 16bit IO... this ensures that
  * the correct access is made
  *
  * 0x10000000 of space, partitioned as so:
index 60627e63a254671ffcf9bd49d098695ca0d31842..724755f0b0f5b0b9ebfdf00b4bdd7ccb8930cad7 100644 (file)
@@ -121,7 +121,7 @@ void s3c_pm_configure_extint(void)
        int pin;
 
        /* for each of the external interrupts (EINT0..EINT15) we
-        * need to check wether it is an external interrupt source,
+        * need to check whether it is an external interrupt source,
         * and then configure it as an input if it is not
        */
 
index e426d1b7747e8c5f8ab417de2a4e515e6631e9b0..b442f15fd01a8b7d49b14337c68896486da66cce 100644 (file)
@@ -55,7 +55,7 @@ config TEGRA_AHB
        help
          Adds AHB configuration functionality for NVIDIA Tegra SoCs,
          which controls AHB bus master arbitration and some
-         perfomance parameters(priority, prefech size).
+         performance parameters(priority, prefech size).
 
 config TEGRA_EMC_SCALING_ENABLE
        bool "Enable scaling the memory frequency"
index 0abd1c4698875f4edbb5be3cd506206c676019b6..ba3e76c9550489d18a50c8b9d4931c225c5edb73 100644 (file)
@@ -325,7 +325,7 @@ static int s3c2410_dma_start(struct s3c2410_dma_chan *chan)
 
        chan->state = S3C2410_DMA_RUNNING;
 
-       /* check wether there is anything to load, and if not, see
+       /* check whether there is anything to load, and if not, see
         * if we can find anything to load
         */
 
index 101b33ee9bbab914d75a7e2295feb6a57290aafa..95a4f1b676cead2006dfa3b44280020b4cb248ab 100644 (file)
@@ -56,7 +56,7 @@ config SEC_IRQ_PRIORITY_LEVELS
        default 7
        range 0 7
        help
-         Devide the total number of interrupt priority levels into sub-levels.
+         Divide the total number of interrupt priority levels into sub-levels.
          There is 2 ^ (SEC_IRQ_PRIORITY_LEVELS + 1) different levels.
 
 endmenu
index 342e378da1ece760b2c2b3531780cad9b897b95a..1f3b3ef3e103fbe3581670a62d03db2c5da9e153 100644 (file)
@@ -191,7 +191,7 @@ static irqreturn_t l2_ecc_err(int irq, void *dev_id)
 {
        int status;
 
-       printk(KERN_ERR "L2 ecc error happend\n");
+       printk(KERN_ERR "L2 ecc error happened\n");
        status = bfin_read32(L2CTL0_STAT);
        if (status & 0x1)
                printk(KERN_ERR "Core channel error type:0x%x, addr:0x%x\n",
index 7d345947b3ee271f0bc9d5206431d419d56f470c..ca2675ae08ed95d1c3de56ad0a507af390b348e3 100644 (file)
@@ -142,7 +142,7 @@ __asm__ ( \
  * it here, we would not get the multiple_irq at all.
  *
  * The non-blocking here is based on the knowledge that the timer interrupt is 
- * registred as a fast interrupt (IRQF_DISABLED) so that we _know_ there will not
+ * registered as a fast interrupt (IRQF_DISABLED) so that we _know_ there will not
  * be an sti() before the timer irq handler is run to acknowledge the interrupt.
  */
 
index b31e9984f84964570b16e743892f4432af730269..fe3cdd22bed4590315268c156e28076c26cff238 100644 (file)
@@ -103,7 +103,7 @@ __asm__ (                           \
  * if we had BLOCK'edit here, we would not get the multiple_irq at all.
  *
  * The non-blocking here is based on the knowledge that the timer interrupt is
- * registred as a fast interrupt (IRQF_DISABLED) so that we _know_ there will not
+ * registered as a fast interrupt (IRQF_DISABLED) so that we _know_ there will not
  * be an sti() before the timer irq handler is run to acknowledge the interrupt.
  */
 #define BUILD_TIMER_IRQ(nr, mask)      \
index 4fb63a36bd52ff0333f9d849a0a75479008aaa5e..f6084bc524e85e578487d34dea06f0e23b4a8214 100644 (file)
@@ -77,7 +77,7 @@ void __set_pmd(pmd_t *pmdptr, unsigned long pmd)
  * checks at dup_mmap(), exec(), and other mmlist addition points
  * could be used. The locking scheme was chosen on the basis of
  * manfred's recommendations and having no core impact whatsoever.
- * -- wli
+ * -- nyc
  */
 DEFINE_SPINLOCK(pgd_lock);
 struct page *pgd_list;
index 8b3a9c0e771dc3926131b428ba2472a337d41845..0a88cb5d316db2d1ecee607eabeace897857cdad 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * kvm_ia64.c: Basic KVM suppport On Itanium series processors
+ * kvm_ia64.c: Basic KVM support On Itanium series processors
  *
  *
  *     Copyright (C) 2007, Intel Corporation.
index 3384a5244fbdc147155278729ef979eca593c3b2..0663067870f2a9166dbdacb001cbeefdb97b37a7 100644 (file)
@@ -50,7 +50,7 @@ fp_fsqrt(struct fp_ext *dest, struct fp_ext *src)
         * sqrt(m*2^e) =
         *               sqrt(2*m) * 2^(p)      , if e = 2*p + 1
         *
-        * So we use the last bit of the exponent to decide wether to
+        * So we use the last bit of the exponent to decide whether to
         * use the m or 2*m.
         *
         * Since only the fractional part of the mantissa is stored and
index 4efd9185f294643d28aefe755c52c9d52e071f84..b14ee53581a9674fc53cbdef9555dbaf0513897e 100644 (file)
@@ -341,7 +341,7 @@ static void __devinit quirk_slc90e66_ide(struct pci_dev *dev)
 
 static void __devinit tc35815_fixup(struct pci_dev *dev)
 {
-       /* This device may have PM registers but not they are not suported. */
+       /* This device may have PM registers but not they are not supported. */
        if (dev->pm_cap) {
                dev_info(&dev->dev, "PM disabled\n");
                dev->pm_cap = 0;
index 4ebf117c3285079d7a4ca0d9a4cee8b311b9e16c..bd9ada693f9561ba15b581855d1b80c95f57db4b 100644 (file)
@@ -95,7 +95,7 @@ struct page *pte_alloc_one(struct mm_struct *mm, unsigned long address)
  * checks at dup_mmap(), exec(), and other mmlist addition points
  * could be used. The locking scheme was chosen on the basis of
  * manfred's recommendations and having no core impact whatsoever.
- * -- wli
+ * -- nyc
  */
 DEFINE_SPINLOCK(pgd_lock);
 struct page *pgd_list;
index e7f1a2993f780ab89795a73c8b2e9bd71bdd2ed6..ec37e185d20d82333c7e4f46cce5d721b99d98c2 100644 (file)
@@ -146,7 +146,7 @@ config DEBUG_STACKOVERFLOW
        help
          Make extra checks for space available on stack in some
           critical functions. This will cause kernel to run a bit slower,
-         but will catch most of kernel stack overruns and exit gracefuly.
+         but will catch most of kernel stack overruns and exit gracefully.
 
          Say Y if you are unsure.
 
index 639dc96077ab815addab3a43bc894e5654fe6bd9..d697b08994c916dd40e6eabb593fb28e67cd6135 100644 (file)
@@ -34,7 +34,7 @@ struct op_system_config {
        unsigned long mmcra;
 #ifdef CONFIG_OPROFILE_CELL
        /* Register for oprofile user tool to check cell kernel profiling
-        * suport.
+        * support.
         */
        unsigned long cell_support;
 #endif
index eedf427c9124f3c7fc4e13d5dd293b41dafd5f82..3e13e23e4fdf8a4e3fc84e07ef091cffdfc0492f 100644 (file)
@@ -23,7 +23,7 @@
 
 /* Note the full page bits must be in the same location as for normal
  * 4k pages as the same assembly will be used to insert 64K pages
- * wether the kernel has CONFIG_PPC_64K_PAGES or not
+ * whether the kernel has CONFIG_PPC_64K_PAGES or not
  */
 #define _PAGE_F_SECOND  0x00008000 /* full page: hidx bits */
 #define _PAGE_F_GIX     0x00007000 /* full page: hidx bits */
index ae20ce1af4c739e9085f3e53caf421a35f41c529..6e909f3e6a466972285aa2797fd315b898313720 100644 (file)
   *
   * At this point, the OF driver seems to have a limitation on transfer
   * sizes of 0xd bytes on reads and 0x5 bytes on writes. I do not know
-  * wether this is just an OF limit due to some temporary buffer size
+  * whether this is just an OF limit due to some temporary buffer size
   * or if this is an SMU imposed limit. This driver has the same limitation
   * for now as I use a 0x10 bytes temporary buffer as well
   *
  *   3 (optional): enable nmi? [0x00 or 0x01]
  *
  * Returns:
- *   If parameter 2 is 0x00 and parameter 3 is not specified, returns wether
+ *   If parameter 2 is 0x00 and parameter 3 is not specified, returns whether
  *   NMI is enabled. Otherwise unknown.
  */
 #define   SMU_CMD_MISC_df_NMI_OPTION           0x04
index bedd12e1cfbcc0b636eea99f1ca18728938ed2f4..0733b05eb856b05476621296b45fbde7661ef6a8 100644 (file)
@@ -387,7 +387,7 @@ void __init find_legacy_serial_ports(void)
                        of_node_put(parent);
                        continue;
                }
-               /* Check for known pciclass, and also check wether we have
+               /* Check for known pciclass, and also check whether we have
                 * a device with child nodes for ports or not
                 */
                if (of_device_is_compatible(np, "pciclass,0700") ||
index 2049f2d00ffef60f0e7b1f9cfa5fc9cbd25a1758..9db8ec07ec94ff4d953bb7277d1698304e39190c 100644 (file)
@@ -82,7 +82,7 @@ static int __devinit of_pci_phb_probe(struct platform_device *dev)
                return -ENXIO;
 
        /* Claim resources. This might need some rework as well depending
-        * wether we are doing probe-only or not, like assigning unassigned
+        * whether we are doing probe-only or not, like assigning unassigned
         * resources etc...
         */
        pcibios_claim_one_bus(phb->bus);
index d183f8719a505ce18e4cc8cb06ee4df3e8fa8674..1ca045d443249ebfa344dd01b15fe8f937f03674 100644 (file)
@@ -83,7 +83,7 @@ static long setup_sigcontext(struct sigcontext __user *sc, struct pt_regs *regs,
         * the context). This is very important because we must ensure we
         * don't lose the VRSAVE content that may have been set prior to
         * the process doing its first vector operation
-        * Userland shall check AT_HWCAP to know wether it can rely on the
+        * Userland shall check AT_HWCAP to know whether it can rely on the
         * v_regs pointer or not
         */
 #ifdef CONFIG_ALTIVEC
index 5829d2a950d48e4150b9c51510835c983a8854ad..cf9dada734b65ca2506444c6b00ea46b13b0314e 100644 (file)
@@ -722,7 +722,7 @@ void slice_set_range_psize(struct mm_struct *mm, unsigned long start,
 }
 
 /*
- * is_hugepage_only_range() is used by generic code to verify wether
+ * is_hugepage_only_range() is used by generic code to verify whether
  * a normal mmap mapping (non hugetlbfs) is valid on a given area.
  *
  * until the generic code provides a more generic hook and/or starts
index 028470b95886d0085a21416b4c64e6e179e4ec8b..a51cb07bd663debc0b9f9fb17211e0a57cbed1f1 100644 (file)
@@ -526,7 +526,7 @@ EXPORT_SYMBOL(mpc52xx_gpt_timer_period);
 
 #define WDT_IDENTITY       "mpc52xx watchdog on GPT0"
 
-/* wdt_is_active stores wether or not the /dev/watchdog device is opened */
+/* wdt_is_active stores whether or not the /dev/watchdog device is opened */
 static unsigned long wdt_is_active;
 
 /* wdt-capable gpt */
index dca213666747fecdc6d261f33adf5fbfbe294b05..e56bb651da1a1e4929c6047a196e6878d537581d 100644 (file)
@@ -728,7 +728,7 @@ static struct cbe_iommu * __init cell_iommu_alloc(struct device_node *np)
                 nid, np->full_name);
 
        /* XXX todo: If we can have multiple windows on the same IOMMU, which
-        * isn't the case today, we probably want here to check wether the
+        * isn't the case today, we probably want here to check whether the
         * iommu for that node is already setup.
         * However, there might be issue with getting the size right so let's
         * ignore that for now. We might want to completely get rid of the
index d8b7cc8a66cad141e4c9d58b23540427a4771167..8e299447127e108a7d0b8179fa085a8b245f8dbb 100644 (file)
@@ -148,7 +148,7 @@ static int spider_set_irq_type(struct irq_data *d, unsigned int type)
 
        /* Configure the source. One gross hack that was there before and
         * that I've kept around is the priority to the BE which I set to
-        * be the same as the interrupt source number. I don't know wether
+        * be the same as the interrupt source number. I don't know whether
         * that's supposed to make any kind of sense however, we'll have to
         * decide that, but for now, I'm not changing the behaviour.
         */
@@ -220,7 +220,7 @@ static void spider_irq_cascade(unsigned int irq, struct irq_desc *desc)
 /* For hooking up the cascace we have a problem. Our device-tree is
  * crap and we don't know on which BE iic interrupt we are hooked on at
  * least not the "standard" way. We can reconstitute it based on two
- * informations though: which BE node we are connected to and wether
+ * informations though: which BE node we are connected to and whether
  * we are connected to IOIF0 or IOIF1. Right now, we really only care
  * about the IBM cell blade and we know that its firmware gives us an
  * interrupt-map property which is pretty strange.
@@ -232,7 +232,7 @@ static unsigned int __init spider_find_cascade_and_node(struct spider_pic *pic)
        int imaplen, intsize, unit;
        struct device_node *iic;
 
-       /* First, we check wether we have a real "interrupts" in the device
+       /* First, we check whether we have a real "interrupts" in the device
         * tree in case the device-tree is ever fixed
         */
        struct of_irq oirq;
index c4e630576ff283666f74c37ee985cf4f1b22b105..31036b56670e6dc18e21a976e7632ccc57d78d4e 100644 (file)
@@ -529,7 +529,7 @@ static int __init pmac_pic_probe_mpic(void)
 void __init pmac_pic_init(void)
 {
        /* We configure the OF parsing based on our oldworld vs. newworld
-        * platform type and wether we were booted by BootX.
+        * platform type and whether we were booted by BootX.
         */
 #ifdef CONFIG_PPC32
        if (!pmac_newworld)
index 6cba0a7068bcf9f713a1ca79a233211a928c771a..d71a0bcf8145d529208ff9d053e8b6cb497eb45b 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Data Technology Inc. ESPT-GIGA board suport
+ * Data Technology Inc. ESPT-GIGA board support
  *
  * Copyright (C) 2008, 2009 Renesas Solutions Corp.
  * Copyright (C) 2008, 2009 Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com>
index 851fe936d2421a14d7a558e2946321503d73a5b6..e3cf9f682be55e5d07617a7ba921bead05a218e1 100644 (file)
@@ -2,7 +2,6 @@ bootsect
 bzImage
 cpustr.h
 mkcpustr
-offsets.h
 voffset.h
 zoffset.h
 setup
index e4c1a41845317b1f91a72774474d9c2a4dac9293..726bf963c2276569c39c67377b64fd7a74fb539e 100644 (file)
@@ -606,7 +606,7 @@ void __init mtrr_bp_init(void)
 
                /*
                 * This is an AMD specific MSR, but we assume(hope?) that
-                * Intel will implement it to when they extend the address
+                * Intel will implement it too when they extend the address
                 * bus of the Xeon.
                 */
                if (cpuid_eax(0x80000000) >= 0x80000008) {
index 8573b83a63d037bf2f7eb09c8922b94c2b535c45..217eb705fac073188fb18e908b675340834e1f97 100644 (file)
@@ -137,7 +137,7 @@ static void pgd_dtor(pgd_t *pgd)
  * against pageattr.c; it is the unique case in which a valid change
  * of kernel pagetables can't be lazily synchronized by vmalloc faults.
  * vmalloc faults work because attached pagetables are never freed.
- * -- wli
+ * -- nyc
  */
 
 #ifdef CONFIG_X86_PAE
index 0df024e5fb63fe75ba828fd3d4a847beb22ecb32..d09c6b4bab2c9632cf2bfa88ea5fb8ed196e10d4 100644 (file)
@@ -1,6 +1,6 @@
 /******************************************************************************
  *
- * Module Name: dsopcode - Dispatcher suport for regions and fields
+ * Module Name: dsopcode - Dispatcher support for regions and fields
  *
  *****************************************************************************/
 
index a0c84bb30856073aa7a46c52690f163789bbd9bc..053201b062a4cffce40422ad1e28c925d4ea5244 100644 (file)
@@ -3789,7 +3789,7 @@ static int handle_one_recv_msg(ipmi_smi_t          intf,
 
        } else if ((msg->rsp[0] == ((IPMI_NETFN_APP_REQUEST|1) << 2))
                   && (msg->rsp[1] == IPMI_READ_EVENT_MSG_BUFFER_CMD)) {
-               /* It's an asyncronous event. */
+               /* It's an asynchronous event. */
                requeue = handle_read_event_rsp(intf, msg);
        } else {
                /* It's a response from the local BMC. */
index 20ab5b3a89150954cab2ec442b4f8b4ce93234a9..cfdfecd5bc763026762bd9e26b08e4e3c15e7b67 100644 (file)
@@ -155,7 +155,7 @@ enum si_stat_indexes {
        /* Number of watchdog pretimeouts. */
        SI_STAT_watchdog_pretimeouts,
 
-       /* Number of asyncronous messages received. */
+       /* Number of asynchronous messages received. */
        SI_STAT_incoming_messages,
 
 
index d0d824ebf2c187d492f29daef8bbf1043f56d7f1..1cd49241e60eb5024ac2941a5b0787fa46f7c13e 100644 (file)
@@ -251,12 +251,8 @@ static ssize_t pp_write (struct file * file, const char __user * buf,
                        break;
                }
 
-               if (signal_pending (current)) {
-                       if (!bytes_written) {
-                               bytes_written = -EINTR;
-                       }
+               if (signal_pending (current))
                        break;
-               }
 
                cond_resched();
        }
index 6cbb7a514436fd0b355e38a2d6138a65254f147d..2d864b48a48f81ade5818cffb2f3825628020d6c 100644 (file)
@@ -985,8 +985,8 @@ ISABD00 "Racal-Interlan NP600A Ethernet 16bit"
 ISABD02 "Racal-Interlan NI5210/8 Ethernet"
 ISABD03 "Racal-Interlan NI5210/16 Ethernet"
 ISABE00 "Qua Tech PXB-1608 Parallel Expansion Board"
-ISABE01 "Qua Tech ES-100 8 Channel Asyncronous"
-ISABE02 "Qua Tech QS-100M 4 Channel Asyncronous"
+ISABE01 "Qua Tech ES-100 8 Channel Asynchronous"
+ISABE02 "Qua Tech QS-100M 4 Channel Asynchronous"
 ISABE03 "Qua Tech MXI-100 IEEE 488 GPIB"
 ISABE04 "Qua Tech DS-201 Dual Channel RS-422"
 ISABE05 "Qua Tech PXB-721 Parallel Expansion"
index a9a347adb35351a3b04b2e3a089ff6ecd9f0ef38..2cc89ce745c9b432e87920b5499a0c8f50cd2e0a 100644 (file)
@@ -149,10 +149,10 @@ static inline void __init init_ohci1394_initialize(struct ohci *ohci)
        reg_write(ohci, OHCI1394_IsoXmitIntMaskClear, 0xffffffff);
        reg_write(ohci, OHCI1394_IsoXmitIntEventClear, 0xffffffff);
 
-       /* Accept asyncronous transfer requests from all nodes for now */
+       /* Accept asynchronous transfer requests from all nodes for now */
        reg_write(ohci, OHCI1394_AsReqFilterHiSet, 0x80000000);
 
-       /* Specify asyncronous transfer retries */
+       /* Specify asynchronous transfer retries */
        reg_write(ohci, OHCI1394_ATRetries,
                  OHCI1394_MAX_AT_REQ_RETRIES |
                  (OHCI1394_MAX_AT_RESP_RETRIES<<4) |
index f25610bb31489a2ded669112c2b2915f826c4de6..6ce6e07c38c1b3ba038ee816e26225e8b5f9ee4a 100644 (file)
@@ -1281,7 +1281,7 @@ static int at_context_queue_packet(struct context *ctx,
        d[0].res_count = cpu_to_le16(packet->timestamp);
 
        /*
-        * The DMA format for asyncronous link packets is different
+        * The DMA format for asynchronous link packets is different
         * from the IEEE1394 layout, so shift the fields around
         * accordingly.
         */
index a5cbeec6f6db47f84aa5b74d1aad0f88f1aef42f..bf892bd68c1769fa35de808fcaf54e739fb142bc 100644 (file)
@@ -504,7 +504,7 @@ config GPIO_ADNP
        help
          This option enables support for N GPIOs found on Avionic Design
          I2C GPIO expanders. The register space will be extended by powers
-         of two, so the controller will need to accomodate for that. For
+         of two, so the controller will need to accommodate for that. For
          example: if a controller provides 48 pins, 6 registers will be
          enough to represent all pins, but the driver will assume a
          register layout for 64 pins (8 registers).
index 219942c660d7d2129e7c21ac375761dcd5309c9f..5d1d21a6dcdd11b20bb57637a333e83d2382bbbb 100644 (file)
@@ -1650,7 +1650,7 @@ static int evergreen_cp_resume(struct radeon_device *rdev)
        ring->wptr = 0;
        WREG32(CP_RB_WPTR, ring->wptr);
 
-       /* set the wb address wether it's enabled or not */
+       /* set the wb address whether it's enabled or not */
        WREG32(CP_RB_RPTR_ADDR,
               ((rdev->wb.gpu_addr + RADEON_WB_CP_RPTR_OFFSET) & 0xFFFFFFFC));
        WREG32(CP_RB_RPTR_ADDR_HI, upper_32_bits(rdev->wb.gpu_addr + RADEON_WB_CP_RPTR_OFFSET) & 0xFF);
index 81e6a568c29debcf49bb915c5d3aa19bcc88324e..cda01f808f12664d6226cc71facb64ed396d41cd 100644 (file)
@@ -1059,7 +1059,7 @@ static int cayman_cp_resume(struct radeon_device *rdev)
 
        WREG32(CP_DEBUG, (1 << 27));
 
-       /* set the wb address wether it's enabled or not */
+       /* set the wb address whether it's enabled or not */
        WREG32(SCRATCH_ADDR, ((rdev->wb.gpu_addr + RADEON_WB_SCRATCH_OFFSET) >> 8) & 0xFFFFFFFF);
        WREG32(SCRATCH_UMSK, 0xff);
 
@@ -1076,7 +1076,7 @@ static int cayman_cp_resume(struct radeon_device *rdev)
 #endif
                WREG32(cp_rb_cntl[i], rb_cntl);
 
-               /* set the wb address wether it's enabled or not */
+               /* set the wb address whether it's enabled or not */
                addr = rdev->wb.gpu_addr + RADEON_WB_CP_RPTR_OFFSET;
                WREG32(cp_rb_rptr_addr[i], addr & 0xFFFFFFFC);
                WREG32(cp_rb_rptr_addr_hi[i], upper_32_bits(addr) & 0xFF);
index 47634f27f2e5eca62cc6335d95fc246e13a6deb2..ebd69562ef6c802af7956dd168de29bf27f6f19f 100644 (file)
@@ -459,7 +459,7 @@ void radeon_ring_unlock_commit(struct radeon_device *rdev, struct radeon_ring *r
  *
  * @ring: radeon_ring structure holding ring information
  *
- * Reset the driver's copy of the wtpr (all asics).
+ * Reset the driver's copy of the wptr (all asics).
  */
 void radeon_ring_undo(struct radeon_ring *ring)
 {
@@ -503,7 +503,7 @@ void radeon_ring_force_activity(struct radeon_device *rdev, struct radeon_ring *
 }
 
 /**
- * radeon_ring_force_activity - update lockup variables
+ * radeon_ring_lockup_update - update lockup variables
  *
  * @ring: radeon_ring structure holding ring information
  *
index 4422d630b33bc4052ddfdc311ea37944f9d87051..010156dd949f392c9732f7a1b63ef0f67de26bd2 100644 (file)
@@ -2007,7 +2007,7 @@ static int si_cp_resume(struct radeon_device *rdev)
        ring->wptr = 0;
        WREG32(CP_RB0_WPTR, ring->wptr);
 
-       /* set the wb address wether it's enabled or not */
+       /* set the wb address whether it's enabled or not */
        WREG32(CP_RB0_RPTR_ADDR, (rdev->wb.gpu_addr + RADEON_WB_CP_RPTR_OFFSET) & 0xFFFFFFFC);
        WREG32(CP_RB0_RPTR_ADDR_HI, upper_32_bits(rdev->wb.gpu_addr + RADEON_WB_CP_RPTR_OFFSET) & 0xFF);
 
@@ -2040,7 +2040,7 @@ static int si_cp_resume(struct radeon_device *rdev)
        ring->wptr = 0;
        WREG32(CP_RB1_WPTR, ring->wptr);
 
-       /* set the wb address wether it's enabled or not */
+       /* set the wb address whether it's enabled or not */
        WREG32(CP_RB1_RPTR_ADDR, (rdev->wb.gpu_addr + RADEON_WB_CP1_RPTR_OFFSET) & 0xFFFFFFFC);
        WREG32(CP_RB1_RPTR_ADDR_HI, upper_32_bits(rdev->wb.gpu_addr + RADEON_WB_CP1_RPTR_OFFSET) & 0xFF);
 
@@ -2066,7 +2066,7 @@ static int si_cp_resume(struct radeon_device *rdev)
        ring->wptr = 0;
        WREG32(CP_RB2_WPTR, ring->wptr);
 
-       /* set the wb address wether it's enabled or not */
+       /* set the wb address whether it's enabled or not */
        WREG32(CP_RB2_RPTR_ADDR, (rdev->wb.gpu_addr + RADEON_WB_CP2_RPTR_OFFSET) & 0xFFFFFFFC);
        WREG32(CP_RB2_RPTR_ADDR_HI, upper_32_bits(rdev->wb.gpu_addr + RADEON_WB_CP2_RPTR_OFFSET) & 0xFF);
 
index f41502ef3f55086db9f87610b95d2acb07d72434..a23b91b0b7383829d7d6427f93e4e6dccace5069 100644 (file)
@@ -304,7 +304,7 @@ retry_write:
 
        case STATE_READ:
                /* we have a byte of data in the data register, do
-                * something with it, and then work out wether we are
+                * something with it, and then work out whether we are
                 * going to do any more read/write
                 */
 
index 9d902725bac94f28c91aa26ec57615988cd96e77..b33d95ebc890aa9667d64f01a66fb961244fbe88 100644 (file)
@@ -208,7 +208,7 @@ static void s3c24xx_i2c_message_start(struct s3c24xx_i2c *i2c,
        if (msg->flags & I2C_M_REV_DIR_ADDR)
                addr ^= 1;
 
-       /* todo - check for wether ack wanted or not */
+       /* todo - check for whether ack wanted or not */
        s3c24xx_i2c_enable_ack(i2c);
 
        iiccon = readl(i2c->regs + S3C2410_IICCON);
@@ -397,7 +397,7 @@ static int i2c_s3c_irq_nextbyte(struct s3c24xx_i2c *i2c, unsigned long iicstat)
 
        case STATE_READ:
                /* we have a byte of data in the data register, do
-                * something with it, and then work out wether we are
+                * something with it, and then work out whether we are
                 * going to do any more read/write
                 */
 
index 89342f7e0c5b700eb302484ba5eb556ccadacef9..525471e776a76dfe468be16a9d714011ea27546b 100644 (file)
@@ -628,7 +628,7 @@ Amd7930_l1hw(struct PStack *st, int pr, void *arg)
                if ((cs->dc.amd7930.ph_state == 8)) {
                        /* b-channels off, PH-AR cleared
                         * change to F3 */
-                       Amd7930_ph_command(cs, 0x20, "HW_RESET REQEST"); //LMR1 bit 5
+                       Amd7930_ph_command(cs, 0x20, "HW_RESET REQUEST"); //LMR1 bit 5
                        spin_unlock_irqrestore(&cs->lock, flags);
                } else {
                        Amd7930_ph_command(cs, 0x40, "HW_RESET REQUEST");
index ff5e139f48503c54e695144d6061be65ad1e1e95..7fdf34704fe5d3469f815f7c44b79f6fb8e15e35 100644 (file)
@@ -1417,7 +1417,7 @@ modeisar(struct BCState *bcs, int mode, int bc)
                                                   &bcs->hw.isar.reg->Flags))
                                bcs->hw.isar.dpath = 1;
                        else {
-                               printk(KERN_WARNING"isar modeisar both pathes in use\n");
+                               printk(KERN_WARNING"isar modeisar both paths in use\n");
                                return (1);
                        }
                        break;
index 61200717687b85b3fed040f9599ffd1987b8842d..bd8bf0953fe38db2d071cd6ef0110f6b03271e0b 100644 (file)
@@ -4124,7 +4124,7 @@ static struct md_sysfs_entry md_size =
 __ATTR(component_size, S_IRUGO|S_IWUSR, size_show, size_store);
 
 
-/* Metdata version.
+/* Metadata version.
  * This is one of
  *   'none' for arrays with no metadata (good luck...)
  *   'external' for arrays with externally managed metadata,
index 5ba277768d9914c3dd6364f3d990feef55b67c92..a3ae09124a67f786c19f1e426c12ca77a06c3963 100644 (file)
@@ -25,7 +25,7 @@
  * may be held at once.  This is just an implementation detail.
  *
  * ii) Recursive locking attempts are detected and return EINVAL.  A stack
- * trace is also emitted for the previous lock aquisition.
+ * trace is also emitted for the previous lock acquisition.
  *
  * iii) Priority is given to write locks.
  */
@@ -109,7 +109,7 @@ static int __check_holder(struct block_lock *lock)
                        DMERR("previously held here:");
                        print_stack_trace(lock->traces + i, 4);
 
-                       DMERR("subsequent aquisition attempted here:");
+                       DMERR("subsequent acquisition attempted here:");
                        t.nr_entries = 0;
                        t.max_entries = MAX_STACK;
                        t.entries = entries;
index ae02c84410ff5c04325444f6660125c87335dd3d..a2cd50441ca1a5805bb60c5a03bac573c0b38664 100644 (file)
@@ -35,7 +35,7 @@ struct dm_transaction_manager;
  */
 
 /*
- * Infomation about the values stored within the btree.
+ * Information about the values stored within the btree.
  */
 struct dm_btree_value_type {
        void *context;
index a4502686e7a8763fb5aeded988f026b2a9dd1c99..3380372c0393e7262b95a611c92aa7da659d997b 100644 (file)
@@ -1576,7 +1576,7 @@ static int resize_stripes(struct r5conf *conf, int newsize)
         * This happens in stages:
         * 1/ create a new kmem_cache and allocate the required number of
         *    stripe_heads.
-        * 2/ gather all the old stripe_heads and tranfer the pages across
+        * 2/ gather all the old stripe_heads and transfer the pages across
         *    to the new stripe_heads.  This will have the side effect of
         *    freezing the array as once all stripe_heads have been collected,
         *    no IO will be possible.  Old stripe heads are freed once their
index 8b4c6d5f8f3694d330dfd50d36ae9ef870af4339..df9abe83f8773efe38eda6d6f349399ec107df4d 100644 (file)
@@ -948,7 +948,7 @@ static int GetDeviceCapabilities(struct drxk_state *state)
                state->m_oscClockFreq = 20250;
                break;
        default:
-               printk(KERN_ERR "drxk: Clock Frequency is unkonwn\n");
+               printk(KERN_ERR "drxk: Clock Frequency is unknown\n");
                return -EINVAL;
        }
        /*
index 8f22ce543cf704315399b751371d79f8dfbd2c6e..bfa65079fc38de832e3eabc8c0227ff3f9e96fda 100644 (file)
@@ -371,7 +371,7 @@ static irqreturn_t emmaprp_irq(int irq_emma, void *data)
        if (!curr_ctx->aborting) {
                if ((irqst & PRP_INTR_ST_RDERR) ||
                (irqst & PRP_INTR_ST_CH2WERR)) {
-                       pr_err("PrP bus error ocurred, this transfer is probably corrupted\n");
+                       pr_err("PrP bus error occurred, this transfer is probably corrupted\n");
                        writel(PRP_CNTL_SWRST, pcdev->base_emma + PRP_CNTL);
                } else if (irqst & PRP_INTR_ST_CH2B1CI) { /* buffer ready */
                        src_vb = v4l2_m2m_src_buf_remove(curr_ctx->m2m_ctx);
index 5fb195af43e23696572e8debff626e5ac4a00d69..4a7d2ebdfc97e7ee7d1773f3d82672783f44dc87 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 4796bbf0ae4e5b4fdd1476ac8e6cd4e9e43ec6c5..49e86aed2bc4f13d05ffbf5a2d094b5a979372cc 100644 (file)
@@ -609,7 +609,7 @@ static int i2o_block_release(struct gendisk *disk, fmode_t mode)
        u8 operation;
 
        /*
-        * This is to deail with the case of an application
+        * This is to deal with the case of an application
         * opening a device and then the device disappears while
         * it's in use, and then the application tries to release
         * it.  ex: Unmounting a deleted RAID volume at reboot.
index 9a49c243a6ac59c78c98cd9de021429d44aa8908..5451beff183ffdf69e24d5d1ca016d11215882a2 100644 (file)
@@ -189,7 +189,7 @@ static int i2o_cfg_parms(unsigned long arg, unsigned int type)
                return -ENXIO;
 
        /*
-        * Stop users being able to try and allocate arbitary amounts
+        * Stop users being able to try and allocate arbitrary amounts
         * of DMA space. 64K is way more than sufficient for this.
         */
        if (kcmd.oplen > 65536)
index 737e4edc241bcf3d17db3f2cb21866b76504f072..8d13c6594520094c82f054628b1086bfe5cc7bec 100644 (file)
@@ -533,7 +533,7 @@ config MMC_DW_PLTFM
          If unsure, say Y.
 
 config MMC_DW_EXYNOS
-       tristate "Exynos specific extentions for Synopsys DW Memory Card Interface"
+       tristate "Exynos specific extensions for Synopsys DW Memory Card Interface"
        depends on MMC_DW
        select MMC_DW_PLTFM
        help
index 891558de3ec19d1ef67ca69751be8f06e21e480f..2de66b062f0d733be6e97751312d9f576c198236 100644 (file)
@@ -219,7 +219,7 @@ static int platram_probe(struct platform_device *pdev)
 
        platram_setrw(info, PLATRAM_RW);
 
-       /* check to see if there are any available partitions, or wether
+       /* check to see if there are any available partitions, or whether
         * to add this device whole */
 
        err = mtd_device_parse_register(info->mtd, pdata->probes, NULL,
index 295e4bedad960a0efe653dc893fe0f1e0270f2f1..79ded48e7427f7b868a9b419385db2263f279474 100644 (file)
@@ -879,7 +879,7 @@ static void s3c2410_nand_update_chip(struct s3c2410_nand_info *info,
        if (chip->ecc.mode != NAND_ECC_HW)
                return;
 
-               /* change the behaviour depending on wether we are using
+               /* change the behaviour depending on whether we are using
                 * the large or small page nand device */
 
        if (chip->page_shift > 10) {
index 6dded569b111d07fee6bb49088847f633f628852..21b68e5c14fd24c49d606289220f51a2a9902e65 100644 (file)
@@ -245,7 +245,7 @@ struct bonding {
        struct   delayed_work ad_work;
        struct   delayed_work mcast_work;
 #ifdef CONFIG_DEBUG_FS
-       /* debugging suport via debugfs */
+       /* debugging support via debugfs */
        struct   dentry *debug_dir;
 #endif /* CONFIG_DEBUG_FS */
 };
index 0338352bc0369cc4d7f1836ec2395b6bf2383e28..70dba5d01ad3cc8178318f9976a5922894a86859 100644 (file)
@@ -109,7 +109,7 @@ static inline struct ax_device *to_ax_dev(struct net_device *dev)
 /*
  * ax_initial_check
  *
- * do an initial probe for the card to check wether it exists
+ * do an initial probe for the card to check whether it exists
  * and is functional
  */
 static int ax_initial_check(struct net_device *dev)
index b8b4b749daab7d8f5a954c679422035182c0df30..09b625e0fdaa999260daaca271adac8b67112108 100644 (file)
@@ -4318,7 +4318,7 @@ static int bnx2x_queue_comp_cmd(struct bnx2x *bp,
 
        if (o->next_tx_only >= o->max_cos)
                /* >= becuase tx only must always be smaller than cos since the
-                * primary connection suports COS 0
+                * primary connection supports COS 0
                 */
                BNX2X_ERR("illegal value for next tx_only: %d. max cos was %d",
                           o->next_tx_only, o->max_cos);
index 9089d00f14216431b9bf33db13a51b35414184b9..14e30515f6aa86a9f45d88aded9a027c736872b4 100644 (file)
@@ -1671,7 +1671,7 @@ static void e1000_get_wol(struct net_device *netdev,
        /* apply any specific unsupported masks here */
        switch (hw->device_id) {
        case E1000_DEV_ID_82546GB_QUAD_COPPER_KSP3:
-               /* KSP3 does not suppport UCAST wake-ups */
+               /* KSP3 does not support UCAST wake-ups */
                wol->supported &= ~WAKE_UCAST;
 
                if (adapter->wol & E1000_WUFC_EX)
index b84a88bc44dc2a5e7391ca7bc7116344dd63a97f..c48cf6f6529c2c28bdfde6b302432d3c746c6e50 100644 (file)
@@ -1267,7 +1267,7 @@ int mlx4_test_interrupts(struct mlx4_dev *dev)
                /* Temporary use polling for command completions */
                mlx4_cmd_use_polling(dev);
 
-               /* Map the new eq to handle all asyncronous events */
+               /* Map the new eq to handle all asynchronous events */
                err = mlx4_MAP_EQ(dev, get_async_ev_mask(dev), 0,
                                  priv->eq_table.eq[i].eqn);
                if (err) {
index 093d594435e136db52fff20587d64f23e92df569..83f0ea929d3d90971aa9aea7ad5730778ab1276d 100644 (file)
@@ -6769,7 +6769,7 @@ static int stp;
 /*
  * This enables fast aging in the KSZ8842 switch.  Not sure what situation
  * needs that.  However, fast aging is used to flush the dynamic MAC table when
- * STP suport is enabled.
+ * STP support is enabled.
  */
 static int fast_aging;
 
index 7ec4b864a5508d64dc02613ece2f00384014b322..75ec5e7cf50d454f7868142d9f7c6233da0b8461 100644 (file)
@@ -27,7 +27,7 @@ struct mcp_gen_header {
         *
         * Fields below this comment are extensions added in later versions
         * of this struct, drivers should compare the header_length against
-        * offsetof(field) to check wether a given MCP implements them.
+        * offsetof(field) to check whether a given MCP implements them.
         *
         * Never remove any field.  Keep everything naturally align.
         */
index 58f13adaa5490793ebb01be90b38482ee92ec53b..ae7cd7f3656d04174b74ae534814029795217f18 100644 (file)
@@ -608,7 +608,7 @@ static int bcm5421_poll_link(struct mii_phy* phy)
        if ( mode == BCM54XX_COPPER)
                return genmii_poll_link(phy);
 
-       /* try to find out wether we have a link */
+       /* try to find out whether we have a link */
        phy_write(phy, MII_NCONFIG, 0x2000);
        phy_reg = phy_read(phy, MII_NCONFIG);
 
@@ -634,7 +634,7 @@ static int bcm5421_read_link(struct mii_phy* phy)
 
        phy->speed = SPEED_1000;
 
-       /* find out wether we are running half- or full duplex */
+       /* find out whether we are running half- or full duplex */
        phy_write(phy, MII_NCONFIG, 0x2000);
        phy_reg = phy_read(phy, MII_NCONFIG);
 
@@ -681,7 +681,7 @@ static int bcm5461_poll_link(struct mii_phy* phy)
        if ( mode == BCM54XX_COPPER)
                return genmii_poll_link(phy);
 
-       /* find out wether we have a link */
+       /* find out whether we have a link */
        phy_write(phy, MII_NCONFIG, 0x7000);
        phy_reg = phy_read(phy, MII_NCONFIG);
 
@@ -710,7 +710,7 @@ static int bcm5461_read_link(struct mii_phy* phy)
 
        phy->speed = SPEED_1000;
 
-       /* find out wether we are running half- or full duplex */
+       /* find out whether we are running half- or full duplex */
        phy_write(phy, MII_NCONFIG, 0x7000);
        phy_reg = phy_read(phy, MII_NCONFIG);
 
index 4b66ab1d0e5cf8f9e0fb9511c145e0049585172f..6702da838b0ebc7b434267b18d595d696cc03799 100644 (file)
@@ -209,6 +209,7 @@ int debugfs_i2400m_reset_set(void *data, u64 val)
                result = i2400m_reset(i2400m, rt);
                if (result >= 0)
                        result = 0;
+               break;
        default:
                result = -EINVAL;
        }
index 4a4e98f7180777c97b9a9cc0ec10fcdc97a46c83..4374079dfc2a031d6faa0a2819c69e1b9c49885f 100644 (file)
@@ -2963,7 +2963,7 @@ static void send_association_request(struct atmel_private *priv, int is_reassoc)
        ssid_el_p[1] = priv->SSID_size;
        memcpy(ssid_el_p + 2, priv->SSID, priv->SSID_size);
        ssid_el_p[2 + priv->SSID_size] = WLAN_EID_SUPP_RATES;
-       ssid_el_p[3 + priv->SSID_size] = 4; /* len of suported rates */
+       ssid_el_p[3 + priv->SSID_size] = 4; /* len of supported rates */
        memcpy(ssid_el_p + 4 + priv->SSID_size, atmel_basic_rates, 4);
 
        atmel_transmit_management_frame(priv, &header, (void *)&body, bodysize);
index 9731252424900e0e5e080ced9c33d2a5ee9a82fe..5fe17cbab1f313c7095595fa0d8a0d31b1435e56 100644 (file)
@@ -1045,7 +1045,7 @@ typedef enum _ORDINAL_TABLE_1 {   // NS - means Not Supported by FW
        IPW_ORD_POWER_MGMT_MODE,        // Power mode - 0=CAM, 1=PSP
        IPW_ORD_POWER_MGMT_INDEX,       //NS //
        IPW_ORD_COUNTRY_CODE,   // IEEE country code as recv'd from beacon
-       IPW_ORD_COUNTRY_CHANNELS,       // channels suported by country
+       IPW_ORD_COUNTRY_CHANNELS,       // channels supported by country
 // IPW_ORD_COUNTRY_CHANNELS:
 // For 11b the lower 2-byte are used for channels from 1-14
 //   and the higher 2-byte are not used.
index ff306d763e37a893976e67b9a5502760b208ff4a..71ab320fae821a34b5afc4917f6915248c10fdd6 100644 (file)
@@ -1155,7 +1155,7 @@ int zd_chip_init_hw(struct zd_chip *chip)
        if (r)
                goto out;
        /* Currently we support IEEE 802.11g for full and high speed USB.
-        * It might be discussed, whether we should suppport pure b mode for
+        * It might be discussed, whether we should support pure b mode for
         * full speed USB.
         */
        r = set_mandatory_rates(chip, 1);
index 07aee694ba92abc4c8eab282b519a89dbff69ff1..08fec06dba50fd5d3d11497c67ae9664df2d4715 100644 (file)
@@ -773,7 +773,7 @@ static __devinit int palmas_probe(struct platform_device *pdev)
                /*
                 * read and store the RANGE bit for later use
                 * This must be done before regulator is probed otherwise
-                * we error in probe with unsuportable ranges.
+                * we error in probe with unsupportable ranges.
                 */
                if (id != PALMAS_REG_SMPS10) {
                        addr = palmas_regs_info[id].vsel_addr;
index e1f89d649733e22e75f1e00709b3675e9cced0a7..0d36f94ab51defdd1adea3c1d42b58366ac02f21 100644 (file)
@@ -66,13 +66,13 @@ rproc_elf_sanity_check(struct rproc *rproc, const struct firmware *fw)
                return -EINVAL;
        }
 
-       /* We assume the firmware has the same endianess as the host */
+       /* We assume the firmware has the same endianness as the host */
 # ifdef __LITTLE_ENDIAN
        if (ehdr->e_ident[EI_DATA] != ELFDATA2LSB) {
 # else /* BIG ENDIAN */
        if (ehdr->e_ident[EI_DATA] != ELFDATA2MSB) {
 # endif
-               dev_err(dev, "Unsupported firmware endianess\n");
+               dev_err(dev, "Unsupported firmware endianness\n");
                return -EINVAL;
        }
 
index 26c81f233606ebe043360cf349196f5ed7557670..afb7cfa85ccc04ac637268ee0bba4240f05c12d3 100644 (file)
@@ -118,7 +118,7 @@ isl1208_i2c_set_regs(struct i2c_client *client, u8 reg, u8 const buf[],
        return ret;
 }
 
-/* simple check to see wether we have a isl1208 */
+/* simple check to see whether we have a isl1208 */
 static int
 isl1208_i2c_validate_client(struct i2c_client *client)
 {
index 77823d21d31488065b6ca8a12de02d1b5e9f013f..a7a2a998fa91fd2b626b2a241dbeef7ff212341e 100644 (file)
@@ -186,7 +186,7 @@ static int s3c_rtc_gettime(struct device *dev, struct rtc_time *rtc_tm)
        rtc_tm->tm_year = readb(base + S3C2410_RTCYEAR);
        rtc_tm->tm_sec  = readb(base + S3C2410_RTCSEC);
 
-       /* the only way to work out wether the system was mid-update
+       /* the only way to work out whether the system was mid-update
         * when we read it is to check the second counter, and if it
         * is zero, then we re-try the entire read
         */
index b2b8c18eecedc98f32b708aa000649f35102fa93..20cfd028edcfae886f44584289295c20372aa5d6 100644 (file)
@@ -1344,7 +1344,7 @@ dasd_get_feature(struct ccw_device *cdev, int feature)
 
 /*
  * Set / reset given feature.
- * Flag indicates wether to set (!=0) or the reset (=0) the feature.
+ * Flag indicates whether to set (!=0) or the reset (=0) the feature.
  */
 int
 dasd_set_feature(struct ccw_device *cdev, int feature, int flag)
index 6d6eee42ac7d4181c775c5617475720c4e50c231..ef60afa94d0e75c265a5010be1dc72c62b82166b 100644 (file)
@@ -296,7 +296,7 @@ int bnx2fc_send_session_ofld_req(struct fcoe_port *port,
        ofld_req3.flags |= (interface->vlan_enabled <<
                            FCOE_KWQE_CONN_OFFLOAD3_B_VLAN_FLAG_SHIFT);
 
-       /* C2_VALID and ACK flags are not set as they are not suppported */
+       /* C2_VALID and ACK flags are not set as they are not supported */
 
 
        /* Initialize offload request 4 structure */
index efc6e72f09f34fefdf6faa947bdf74ab588f2a5d..aec2e0da50164ca688cc9e2ea95355f0aeaf4669 100644 (file)
@@ -1800,7 +1800,7 @@ out:
  * @dev:domain device to be detect.
  * @src_dev: the device which originated BROADCAST(CHANGE).
  *
- * Add self-configuration expander suport. Suppose two expander cascading,
+ * Add self-configuration expander support. Suppose two expander cascading,
  * when the first level expander is self-configuring, hotplug the disks in
  * second level expander, BROADCAST(CHANGE) will not only be originated
  * in the second level expander, but also be originated in the first level
index 5733811ce8e79eb0bce599550604fe6290444f5f..9d1c7b56090a950a3777e5c3244b265167d647cb 100644 (file)
@@ -251,7 +251,7 @@ qla2x00_mbx_completion(scsi_qla_host_t *vha, uint16_t mb0)
        /* Read all mbox registers? */
        mboxes = (1 << ha->mbx_count) - 1;
        if (!ha->mcp)
-               ql_dbg(ql_dbg_async, vha, 0x5001, "MBX pointer ERRROR.\n");
+               ql_dbg(ql_dbg_async, vha, 0x5001, "MBX pointer ERROR.\n");
        else
                mboxes = ha->mcp->in_mb;
 
@@ -2318,7 +2318,7 @@ qla24xx_mbx_completion(scsi_qla_host_t *vha, uint16_t mb0)
        /* Read all mbox registers? */
        mboxes = (1 << ha->mbx_count) - 1;
        if (!ha->mcp)
-               ql_dbg(ql_dbg_async, vha, 0x504e, "MBX pointer ERRROR.\n");
+               ql_dbg(ql_dbg_async, vha, 0x504e, "MBX pointer ERROR.\n");
        else
                mboxes = ha->mcp->in_mb;
 
index 14cd361742fa668259b1df795bec4616e7bd68d4..f5e297c6b6848e2ef9d8940107c8a0b245e54e28 100644 (file)
@@ -955,7 +955,7 @@ qla82xx_rom_fast_read(struct qla_hw_data *ha, int addr, int *valp)
        }
        if (loops >= 50000) {
                ql_log(ql_log_fatal, vha, 0x00b9,
-                   "Failed to aquire SEM2 lock.\n");
+                   "Failed to acquire SEM2 lock.\n");
                return -1;
        }
        ret = qla82xx_do_rom_fast_read(ha, addr, valp);
@@ -1122,7 +1122,7 @@ qla82xx_pinit_from_rom(scsi_qla_host_t *vha)
                long data;
        };
 
-       /* Halt all the indiviual PEGs and other blocks of the ISP */
+       /* Halt all the individual PEGs and other blocks of the ISP */
        qla82xx_rom_lock(ha);
 
        /* disable all I2Q */
index 62aa5584f64478d286e373414dd8b119315a5204..b49d21779a2433ea653ccc6c40fde97527ee1289 100644 (file)
@@ -73,7 +73,7 @@ enum fcp_resp_rsp_codes {
 #define FCP_PTA_SIMPLE      0   /* simple task attribute */
 #define FCP_PTA_HEADQ       1   /* head of queue task attribute */
 #define FCP_PTA_ORDERED     2   /* ordered task attribute */
-#define FCP_PTA_ACA         4   /* auto. contigent allegiance */
+#define FCP_PTA_ACA         4   /* auto. contingent allegiance */
 #define FCP_PTA_MASK        7   /* mask for task attribute field */
 #define FCP_PRI_SHIFT       3   /* priority field starts in bit 3 */
 #define FCP_PRI_RESVD_MASK  0x80        /* reserved bits in priority field */
@@ -3980,7 +3980,7 @@ void qlt_async_event(uint16_t code, struct scsi_qla_host *vha,
        case MBA_RSP_TRANSFER_ERR:      /* Response Transfer Error */
                ql_dbg(ql_dbg_tgt_mgt, vha, 0xf03a,
                    "qla_target(%d): System error async event %#x "
-                   "occured", vha->vp_idx, code);
+                   "occurred", vha->vp_idx, code);
                break;
        case MBA_WAKEUP_THRES:          /* Request Queue Wake-up. */
                set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags);
@@ -3989,7 +3989,7 @@ void qlt_async_event(uint16_t code, struct scsi_qla_host *vha,
        case MBA_LOOP_UP:
        {
                ql_dbg(ql_dbg_tgt_mgt, vha, 0xf03b,
-                   "qla_target(%d): Async LOOP_UP occured "
+                   "qla_target(%d): Async LOOP_UP occurred "
                    "(m[0]=%x, m[1]=%x, m[2]=%x, m[3]=%x)", vha->vp_idx,
                    le16_to_cpu(mailbox[0]), le16_to_cpu(mailbox[1]),
                    le16_to_cpu(mailbox[2]), le16_to_cpu(mailbox[3]));
@@ -4006,7 +4006,7 @@ void qlt_async_event(uint16_t code, struct scsi_qla_host *vha,
        case MBA_LIP_RESET:
        case MBA_RSCN_UPDATE:
                ql_dbg(ql_dbg_tgt_mgt, vha, 0xf03c,
-                   "qla_target(%d): Async event %#x occured "
+                   "qla_target(%d): Async event %#x occurred "
                    "(m[0]=%x, m[1]=%x, m[2]=%x, m[3]=%x)", vha->vp_idx, code,
                    le16_to_cpu(mailbox[0]), le16_to_cpu(mailbox[1]),
                    le16_to_cpu(mailbox[2]), le16_to_cpu(mailbox[3]));
@@ -4015,7 +4015,7 @@ void qlt_async_event(uint16_t code, struct scsi_qla_host *vha,
        case MBA_PORT_UPDATE:
                ql_dbg(ql_dbg_tgt_mgt, vha, 0xf03d,
                    "qla_target(%d): Port update async event %#x "
-                   "occured: updating the ports database (m[0]=%x, m[1]=%x, "
+                   "occurred: updating the ports database (m[0]=%x, m[1]=%x, "
                    "m[2]=%x, m[3]=%x)", vha->vp_idx, code,
                    le16_to_cpu(mailbox[0]), le16_to_cpu(mailbox[1]),
                    le16_to_cpu(mailbox[2]), le16_to_cpu(mailbox[3]));
@@ -4031,7 +4031,7 @@ void qlt_async_event(uint16_t code, struct scsi_qla_host *vha,
 
        default:
                ql_dbg(ql_dbg_tgt_mgt, vha, 0xf040,
-                   "qla_target(%d): Async event %#x occured: "
+                   "qla_target(%d): Async event %#x occurred: "
                    "ignore (m[0]=%x, m[1]=%x, m[2]=%x, m[3]=%x)", vha->vp_idx,
                    code, le16_to_cpu(mailbox[0]), le16_to_cpu(mailbox[1]),
                    le16_to_cpu(mailbox[2]), le16_to_cpu(mailbox[3]));
index 3d74f2f39ae18954ac825f4599b689d770f494cf..4372e32bc95f71bfde3adf95d5c5ebdfbbfc8c9b 100644 (file)
@@ -367,7 +367,7 @@ static struct se_node_acl *tcm_qla2xxx_alloc_fabric_acl(
 
        nacl = kzalloc(sizeof(struct tcm_qla2xxx_nacl), GFP_KERNEL);
        if (!nacl) {
-               pr_err("Unable to alocate struct tcm_qla2xxx_nacl\n");
+               pr_err("Unable to allocate struct tcm_qla2xxx_nacl\n");
                return NULL;
        }
 
index 78f3a2e013c4c3881894749f259e89c5ecd109cc..17b45ebb0553aeabb4ac0facf47d7a4b029719e4 100644 (file)
@@ -73,7 +73,7 @@ sampling rate. If you sample two channels you get 4kHz and so on.
  *       And loads of cleaning up, in particular streamlining the
  *       bulk transfers.
  * 1.1:  moved EP4 transfers to EP1 to make space for a PWM output on EP4
- * 1.2:  added PWM suport via EP4
+ * 1.2:  added PWM support via EP4
  * 2.0:  PWM seems to be stable and is not interfering with the other functions
  * 2.1:  changed PWM API
  * 2.2:  added firmware kernel request to fix an udev problem
index 294e9b40f51666396c2a56c3d92036951e04382d..737f4a9d86a33fb7fcb865c11f43453d15bd7ecd 100644 (file)
@@ -736,7 +736,7 @@ DBAPI node_alloc_msg_buf(struct node_object *hnode, u32 usize,
                case 4:
                        break;
                default:
-                       /* alignment value not suportted */
+                       /* alignment value not supportted */
                        status = -EPERM;
                        break;
                }
index ff6fd4fb624d44fc4791a62af7e837ba18c10fc1..0f03b7919d7c2d13b18221cac4e77cb962f195da 100644 (file)
@@ -235,7 +235,7 @@ static struct se_tpg_np *lio_target_call_addnptotpg(
         * iSER/SCTP (TODO, software emulation with osc-iwarp)
         * iSER/IB (TODO, hardware available)
         *
-        * can be enabled with atributes under
+        * can be enabled with attributes under
         * sys/kernel/config/iscsi/$IQN/$TPG/np/$IP:$PORT/
         *
         */
index 8aacf611b86d43243677845c0a89b8abe825f5a0..8e6298cc8839711e03745c08f7be04446ac47f3b 100644 (file)
@@ -410,11 +410,11 @@ static int iscsit_dataout_pre_datapduinorder_yes(
        /*
         * For DataSequenceInOrder=Yes: If the offset is greater than the global
         * DataPDUInOrder=Yes offset counter in struct iscsi_cmd a protcol error has
-        * occured and fail the connection.
+        * occurred and fail the connection.
         *
         * For DataSequenceInOrder=No: If the offset is greater than the per
         * sequence DataPDUInOrder=Yes offset counter in struct iscsi_seq a protocol
-        * error has occured and fail the connection.
+        * error has occurred and fail the connection.
         */
        if (conn->sess->sess_ops->DataSequenceInOrder) {
                if (be32_to_cpu(hdr->offset) != cmd->write_data_done) {
@@ -801,7 +801,7 @@ void iscsit_start_time2retain_handler(struct iscsi_session *sess)
 {
        int tpg_active;
        /*
-        * Only start Time2Retain timer when the assoicated TPG is still in
+        * Only start Time2Retain timer when the associated TPG is still in
         * an ACTIVE (eg: not disabled or shutdown) state.
         */
        spin_lock(&ISCSI_TPG_S(sess)->tpg_state_lock);
index 90b740048f26ee7151eda956b092e12fad74e70c..1bf7432bfcbc659f8b27dc15400016b31173add3 100644 (file)
@@ -1432,6 +1432,7 @@ static struct iscsi_param *iscsi_check_key(
                        break;
                case PHASE_OPERATIONAL:
                        pr_debug("Operational phase.\n");
+                       break;
                default:
                        pr_debug("Unknown phase.\n");
                }
index 1a91195ab619a9ebbfa503cf7851c3cb8ca02b49..69e0cfd988704a9f18143d3231d9c2fb79daaf29 100644 (file)
@@ -684,7 +684,7 @@ void iscsit_release_cmd(struct iscsi_cmd *cmd)
 void iscsit_free_cmd(struct iscsi_cmd *cmd)
 {
        /*
-        * Determine if a struct se_cmd is assoicated with
+        * Determine if a struct se_cmd is associated with
         * this struct iscsi_cmd.
         */
        switch (cmd->iscsi_opcode) {
index 8636fae1f7ecfa88909b5b4aa7eb39b71722933f..c2c77d1ac499d3ccb4d4c141d66986e88e980bf6 100644 (file)
@@ -98,7 +98,7 @@ config EXYNOS_THERMAL
        depends on (ARCH_EXYNOS4 || ARCH_EXYNOS5)
        depends on CPU_THERMAL
        help
-         If you say yes here you get support for TMU (Thermal Managment
+         If you say yes here you get support for TMU (Thermal Management
          Unit) on SAMSUNG EXYNOS series of SoC.
 
 config DB8500_THERMAL
index be1a9a1e749e6761678fe1c135a1a64ff25160e7..cd69b48f6dfd390a8231f689b35f5d2588c16772 100644 (file)
@@ -178,7 +178,7 @@ static int hvc_opal_probe(struct platform_device *dev)
                proto = HV_PROTOCOL_HVSI;
                ops = &hvc_opal_hvsi_ops;
        } else {
-               pr_err("hvc_opal: Unkown protocol for %s\n",
+               pr_err("hvc_opal: Unknown protocol for %s\n",
                       dev->dev.of_node->full_name);
                return -ENXIO;
        }
index ed6f5f1f5a552e461af7ddb2941774194ea2c558..0c629807610e6576ff822f2b958d8894e4182dc7 100644 (file)
@@ -313,7 +313,7 @@ static int hvc_vio_probe(struct vio_dev *vdev,
                proto = HV_PROTOCOL_HVSI;
                ops = &hvterm_hvsi_ops;
        } else {
-               pr_err("hvc_vio: Unkown protocol for %s\n", vdev->dev.of_node->full_name);
+               pr_err("hvc_vio: Unknown protocol for %s\n", vdev->dev.of_node->full_name);
                return -ENXIO;
        }
 
index 9d6bcc77c73ca4fc253411557fb413082e2822ef..002c34e72521097525d478577fb2737b2faf7c0c 100644 (file)
@@ -59,7 +59,7 @@ struct tl_setup_config_done_msg {
        unsigned char sig_no;           /* TL_SETUP_SIGNO_CONFIG_DONE_MSG */
 } __attribute__ ((__packed__));
 
-/* Asyncronous messages */
+/* Asynchronous messages */
 struct tl_setup_open_msg {
        unsigned char sig_no;           /* TL_SETUP_SIGNO_OPEN_MSG */
        unsigned char port_no;
index f3d283f2e3aa280598867500de23f142cb050670..c31133a6ea8e0361f1f84103c469026bda82c077 100644 (file)
@@ -271,7 +271,7 @@ config SERIAL_8250_DW
          present in the Synopsys DesignWare APB UART.
 
 config SERIAL_8250_EM
-       tristate "Support for Emma Mobile intergrated serial port"
+       tristate "Support for Emma Mobile integrated serial port"
        depends on SERIAL_8250 && ARM && HAVE_CLK
        help
          Selecting this option will add support for the integrated serial
index e6a008f4939f47ac6aac0129ef0f1cf5b90c3998..2e2b2c1cb72252d607dd747305cb354c68dd2cb7 100644 (file)
@@ -815,7 +815,7 @@ bfin_serial_set_termios(struct uart_port *port, struct ktermios *termios,
                lcr = WLS(5);
                break;
        default:
-               printk(KERN_ERR "%s: word lengh not supported\n",
+               printk(KERN_ERR "%s: word length not supported\n",
                        __func__);
        }
 
index 6197a69adb4d407e3011c37625cbca8faae66eb1..72b6334bcf1aacae37068258ec9d4cbd46e6bf3d 100644 (file)
@@ -505,7 +505,7 @@ static void load_code(struct icom_port *icom_port)
                /* Stop processor */
                stop_processor(icom_port);
 
-               dev_err(&icom_port->adapter->pci_dev->dev,"Port not opertional\n");
+               dev_err(&icom_port->adapter->pci_dev->dev,"Port not operational\n");
        }
 
        if (new_page != NULL)
index 88dde95b6795fcc66cf7016cc2ff1559b633d0f1..d938b2b99e31fcee332a2f83ae46e4998907190a 100644 (file)
@@ -222,7 +222,7 @@ static int usb_probe_device(struct device *dev)
        /* TODO: Add real matching code */
 
        /* The device should always appear to be in use
-        * unless the driver suports autosuspend.
+        * unless the driver supports autosuspend.
         */
        if (!udriver->supports_autosuspend)
                error = usb_autoresume_device(udev);
index 59dcea2f69574f9d62747b315c141201e130de1f..f4a21f6f081f280ea117860a46e0ec0bf13f573a 100644 (file)
@@ -51,7 +51,7 @@
  * full speed USB controllers, including the at91rm9200 (arm920T, with MMU),
  * at91sam926x (arm926ejs, with MMU), and several no-mmu versions.
  *
- * This driver expects the board has been wired with two GPIOs suppporting
+ * This driver expects the board has been wired with two GPIOs supporting
  * a VBUS sensing IRQ, and a D+ pullup.  (They may be omitted, but the
  * testing hasn't covered such cases.)
  *
index ea5f2586fbdd3f9b8279c2d7230a2dbe5f067334..6c3586a4c95635780cc4adf7a8f14ed62cda6b24 100644 (file)
@@ -883,7 +883,7 @@ static void rts51x_invoke_transport(struct scsi_cmnd *srb, struct us_data *us)
                } else {
                        US_DEBUGP("%s: NOT working scsi, not SS\n", __func__);
                        chip->proto_handler_backup(srb, us);
-                       /* Check wether card is plugged in */
+                       /* Check whether card is plugged in */
                        if (srb->cmnd[0] == TEST_UNIT_READY) {
                                if (srb->result == SAM_STAT_GOOD) {
                                        SET_LUN_READY(chip, srb->device->lun);
index 79e7e4d45eb242b42aeb20ab14dfe73aaabfa565..d670130ee687e803407a10075608bb883ab70451 100644 (file)
@@ -230,7 +230,7 @@ static struct se_node_acl *tcm_vhost_alloc_fabric_acl(
 
        nacl = kzalloc(sizeof(struct tcm_vhost_nacl), GFP_KERNEL);
        if (!nacl) {
-               pr_err("Unable to alocate struct tcm_vhost_nacl\n");
+               pr_err("Unable to allocate struct tcm_vhost_nacl\n");
                return NULL;
        }
 
index 5b06d31ab6a98678320b8c88456f0d3abde2cb35..c0bc92d8e438f40a1dba75e078a636fb56c7b99f 100644 (file)
@@ -212,7 +212,7 @@ static long booke_wdt_ioctl(struct file *file,
        return 0;
 }
 
-/* wdt_is_active stores wether or not the /dev/watchdog device is opened */
+/* wdt_is_active stores whether or not the /dev/watchdog device is opened */
 static unsigned long wdt_is_active;
 
 static int booke_wdt_open(struct inode *inode, struct file *file)
index 961d664e2d2faacde4272fa83023919c6ebcf3ca..68dcc59cd28783bad5a62e97a272bd31114bca0b 100644 (file)
@@ -360,7 +360,7 @@ static int __devinit pcistub_init_device(struct pci_dev *dev)
        if (!dev_data->pci_saved_state)
                dev_err(&dev->dev, "Could not store PCI conf saved state!\n");
        else {
-               dev_dbg(&dev->dev, "reseting (FLR, D3, etc) the device\n");
+               dev_dbg(&dev->dev, "resetting (FLR, D3, etc) the device\n");
                __pci_reset_function_locked(dev);
                pci_restore_state(dev);
        }
index c72ead869507412ac9939c0748a482035baaf2aa..596617ecd3296e22eebb4bb08ec57cf4170a100e 100644 (file)
@@ -413,7 +413,7 @@ struct btrfs_root_backup {
        __le64 bytes_used;
        __le64 num_devices;
        /* future */
-       __le64 unsed_64[4];
+       __le64 unused_64[4];
 
        u8 tree_root_level;
        u8 chunk_root_level;
index 3d3e2c17d8d12234a4a5fdcf2fc1af0eb717b6dd..06b2635073f37dbd15969803f4387020344f26ec 100644 (file)
@@ -3888,7 +3888,7 @@ static int flush_space(struct btrfs_root *root,
  * @root - the root we're allocating for
  * @block_rsv - the block_rsv we're allocating for
  * @orig_bytes - the number of bytes we want
- * @flush - wether or not we can flush to make our reservation
+ * @flush - whether or not we can flush to make our reservation
  *
  * This will reserve orgi_bytes number of bytes from the space info associated
  * with the block_rsv.  If there is not enough space it will make an attempt to
index b8cbc8d5c7f7cb39ed770fb2b256427f25bb9c69..ce9f79216723fbfcfc563d17e5e8974cbd2e9b00 100644 (file)
@@ -234,12 +234,11 @@ static void try_merge_map(struct extent_map_tree *tree, struct extent_map *em)
 }
 
 /**
- * unpint_extent_cache - unpin an extent from the cache
+ * unpin_extent_cache - unpin an extent from the cache
  * @tree:      tree to unpin the extent in
  * @start:     logical offset in the file
  * @len:       length of the extent
  * @gen:       generation that this extent has been modified in
- * @prealloc:  if this is set we need to clear the prealloc flag
  *
  * Called after an extent has been written to disk properly.  Set the generation
  * to the generation that actually added the file item to the inode so we know
index dd27a0b46a37d1dfd878828672dfb0dbe99f5ac8..853fc7beedfaae7fd7ed03750e786693839b3f47 100644 (file)
@@ -76,7 +76,7 @@ struct btrfs_ordered_sum {
 
 #define BTRFS_ORDERED_IOERR 6 /* We had an io error when writing this out */
 
-#define BTRFS_ORDERED_UPDATED_ISIZE 7 /* indicates wether this ordered extent
+#define BTRFS_ORDERED_UPDATED_ISIZE 7 /* indicates whether this ordered extent
                                       * has done its due diligence in updating
                                       * the isize. */
 
index 0f5ebb72a5ea01693b339d66e3f928de9b783f78..e3c6ee3cc2ba3904cd623433a136f78fe2f3ada6 100644 (file)
@@ -4294,7 +4294,7 @@ int btrfs_map_bio(struct btrfs_root *root, int rw, struct bio *bio,
 
                        rcu_read_lock();
                        name = rcu_dereference(dev->name);
-                       pr_debug("btrfs_map_bio: rw %d, secor=%llu, dev=%lu "
+                       pr_debug("btrfs_map_bio: rw %d, sector=%llu, dev=%lu "
                                 "(%s id %llu), size=%u\n", rw,
                                 (u64)bio->bi_sector, (u_long)dev->bdev->bd_dev,
                                 name->str, dev->devid, bio->bi_size);
index 22ab7b5b8da7eda6bf38d19aff3415eade104c5c..2d5622f60e1121aafc4dc96bcea96cf491180d9e 100644 (file)
@@ -480,7 +480,7 @@ A partial list of the supported mount options follows:
                Unicode on the wire.
  nomapchars     Do not translate any of these seven characters (default).
  nocase         Request case insensitive path name matching (case
-               sensitive is the default if the server suports it).
+               sensitive is the default if the server supports it).
                (mount option "ignorecase" is identical to "nocase")
  posixpaths     If CIFS Unix extensions are supported, attempt to
                negotiate posix path name support which allows certain
index 3c20de1d59d0d44586199ade586864758e2ce204..df163da388c9ccfe82348c51be596c9fcfd8cc55 100644 (file)
@@ -2455,7 +2455,7 @@ TAS_BUFFER_FNS(Uninit, uninit)
 BUFFER_FNS(Da_Mapped, da_mapped)
 
 /*
- * Add new method to test wether block and inode bitmaps are properly
+ * Add new method to test whether block and inode bitmaps are properly
  * initialized. With uninit_bg reading the block from disk is not enough
  * to mark the bitmap uptodate. We need to also zero-out the bitmap
  */
index f775bfdd6e4a7f3e0700b8ea556261ad8c13e3ba..cccdc874bb55df99eb10f89f33a7bcb1f92ddc99 100644 (file)
@@ -22,7 +22,7 @@ static long do_sys_name_to_handle(struct path *path,
        struct file_handle *handle = NULL;
 
        /*
-        * We need t make sure wether the file system
+        * We need to make sure whether the file system
         * support decoding of the file handle
         */
        if (!path->dentry->d_sb->s_export_op ||
@@ -40,7 +40,7 @@ static long do_sys_name_to_handle(struct path *path,
        if (!handle)
                return -ENOMEM;
 
-       /* convert handle size to  multiple of sizeof(u32) */
+       /* convert handle size to multiple of sizeof(u32) */
        handle_dwords = f_handle.handle_bytes >> 2;
 
        /* we ask for a non connected handle */
index 4a55f35a6cedb81cb0f7ce81893d57fa10d0a4b8..78bde32ea9518d3fffe72d24864b6959bb369781 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * hugetlbpage-backed filesystem.  Based on ramfs.
  *
- * William Irwin, 2002
+ * Nadia Yvette Chambers, 2002
  *
  * Copyright (C) 2002 Linus Torvalds.
  */
index 7f5120bf0ec29cff214cc8ccb2a23bfb02ad3419..071d6905f0dd92c57dc2a8e6a5e62f81993ca5e8 100644 (file)
@@ -1259,7 +1259,7 @@ int journal_forget (handle_t *handle, struct buffer_head *bh)
                goto not_jbd;
        }
 
-       /* keep track of wether or not this transaction modified us */
+       /* keep track of whether or not this transaction modified us */
        was_modified = jh->b_modified;
 
        /*
index a74ba46595499690186dc2a46eff5160550032ae..d8da40e99d84b7f3de4471603dd51dc7e26b7f1b 100644 (file)
@@ -1261,7 +1261,7 @@ int jbd2_journal_forget (handle_t *handle, struct buffer_head *bh)
                goto not_jbd;
        }
 
-       /* keep track of wether or not this transaction modified us */
+       /* keep track of whether or not this transaction modified us */
        was_modified = jh->b_modified;
 
        /*
index adb90116d36b1b2b0f0328a58cae9cdf0dde1794..af49e2d6941a7c2f8120ee3ca99095e0bb2ea767 100644 (file)
@@ -33,7 +33,7 @@
  * are being written out - and waiting for GC to make progress, naturally.
  *
  * So we cannot just call iget() or some variant of it, but first have to check
- * wether the inode in question might be in I_FREEING state.  Therefore we
+ * whether the inode in question might be in I_FREEING state.  Therefore we
  * maintain our own per-sb list of "almost deleted" inodes and check against
  * that list first.  Normally this should be at most 1-2 entries long.
  *
index be20a7e171a0f18ebe24d32d0ebed2b4d71a6040..63d14a99483d5d39ec58bfd8419c53173721da99 100644 (file)
@@ -89,7 +89,7 @@ static int ncp_file_mmap_fault(struct vm_area_struct *area,
        /*
         * If I understand ncp_read_kernel() properly, the above always
         * fetches from the network, here the analogue of disk.
-        * -- wli
+        * -- nyc
         */
        count_vm_event(PGMAJFAULT);
        mem_cgroup_count_vm_event(area->vm_mm, PGMAJFAULT);
index 7dceff005a6745eb353187c93b6e11fa3b326cdd..e5f911bd80d2488689966cfd9cddf704fae07aa2 100644 (file)
@@ -4,7 +4,7 @@ config FANOTIFY
        select ANON_INODES
        default n
        ---help---
-          Say Y here to enable fanotify suport.  fanotify is a file access
+          Say Y here to enable fanotify support.  fanotify is a file access
           notification system which differs from inotify in that it sends
           an open file descriptor to the userspace listener along with
           the event.
index c887b1378f7ed5087eca0df3ca745e15d9a88cc6..48cb994e4922cf0d32fb3f61ad1eb05291231a7c 100644 (file)
@@ -18,7 +18,7 @@
 
 /*
  * Basic idea behind the notification queue: An fsnotify group (like inotify)
- * sends the userspace notification about events asyncronously some time after
+ * sends the userspace notification about events asynchronously some time after
  * the event happened.  When inotify gets an event it will need to add that
  * event to the group notify queue.  Since a single event might need to be on
  * multiple group's notification queues we can't add the event directly to each
index 1d47dcce11e1011e8a39a96b1c5fa10d0eb7bbca..d02da2c6fc1a615a1d2c3223a3c19c4686fea3bd 100644 (file)
@@ -98,7 +98,7 @@ int dlm_release_lockspace(dlm_lockspace_t *lockspace, int force);
 /*
  * dlm_lock
  *
- * Make an asyncronous request to acquire or convert a lock on a named
+ * Make an asynchronous request to acquire or convert a lock on a named
  * resource.
  *
  * lockspace: context for the request
index 24df9e70406ffb94fb98faf91c174e236155a639..61c97ae22e01881d7e1744401e52705c7986fb99 100644 (file)
@@ -1,7 +1,7 @@
 #ifndef _LINUX_HASH_H
 #define _LINUX_HASH_H
 /* Fast hashing routine for ints,  longs and pointers.
-   (C) 2002 William Lee Irwin III, IBM */
+   (C) 2002 Nadia Yvette Chambers, IBM */
 
 /*
  * Knuth recommends primes in approximately golden ratio to the maximum
index fcb5d44ea6358b8165a2a1b80ddca56fb3d80595..8ea3fe0b97598428723615c13a042145685adb99 100644 (file)
@@ -216,7 +216,7 @@ int ipmi_unregister_smi(ipmi_smi_t intf);
 
 /*
  * The lower layer reports received messages through this interface.
- * The data_size should be zero if this is an asyncronous message.  If
+ * The data_size should be zero if this is an asynchronous message.  If
  * the lower layer gets an error sending a message, it should format
  * an error response in the message response.
  */
index 7a71ffad037c7ebd07aa79d7e23c08b6b38554bb..cafc7f99e124ec0c5a39743f048527a9875a3b55 100644 (file)
@@ -52,8 +52,8 @@ We replicate IO (more or less synchronously) to local and remote disk.
 
 For crash recovery after replication node failure,
   we need to resync all regions that have been target of in-flight WRITE IO
-  (in use, or "hot", regions), as we don't know wether or not those WRITEs have
-  made it to stable storage.
+  (in use, or "hot", regions), as we don't know whether or not those WRITEs
+  have made it to stable storage.
 
   To avoid a "full resync", we need to persistently track these regions.
 
index ef9336c9d4648c00ade2eee1c423cd46bfc8b02b..02e0f6b156c3f2dc7c2cae5c663cbdbfd6341484 100644 (file)
@@ -369,7 +369,7 @@ typedef enum gro_result gro_result_t;
  *
  * If the rx_handler consider the skb should be ignored, it should return
  * RX_HANDLER_EXACT. The skb will only be delivered to protocol handlers that
- * are registred on exact device (ptype->dev == skb->dev).
+ * are registered on exact device (ptype->dev == skb->dev).
  *
  * If the rx_handler didn't changed skb->dev, but want the skb to be normally
  * delivered, it should return RX_HANDLER_PASS.
index de5b2f8176ce27d5c1dad489129585e3296d0d0a..c1b3ed3fb78715fbe868ab531d07e20b00fc05cd 100644 (file)
@@ -61,7 +61,7 @@
 #define STMMAC_CSR_I_16                0xE     /* clk_csr_i/16 */
 #define STMMAC_CSR_I_18                0xF     /* clk_csr_i/18 */
 
-/* AXI DMA Burst length suported */
+/* AXI DMA Burst length supported */
 #define DMA_AXI_BLEN_4         (1 << 1)
 #define DMA_AXI_BLEN_8         (1 << 2)
 #define DMA_AXI_BLEN_16                (1 << 3)
index 0ee42d9acdc0f605dc0264b071834cb53dcd95e9..2c02f3a8d2ba3f4ba079a51f537be25742b17162 100644 (file)
@@ -78,7 +78,7 @@ extern void vga_set_legacy_decoding(struct pci_dev *pdev,
  *     This function acquires VGA resources for the given
  *     card and mark those resources locked. If the resource requested
  *     are "normal" (and not legacy) resources, the arbiter will first check
- *     wether the card is doing legacy decoding for that type of resource. If
+ *     whether the card is doing legacy decoding for that type of resource. If
  *     yes, the lock is "converted" into a legacy resource lock.
  *     The arbiter will first look for all VGA cards that might conflict
  *     and disable their IOs and/or Memory access, including VGA forwarding
@@ -89,7 +89,7 @@ extern void vga_set_legacy_decoding(struct pci_dev *pdev,
  *     This function will block if some conflicting card is already locking
  *     one of the required resources (or any resource on a different bus
  *     segment, since P2P bridges don't differenciate VGA memory and IO
- *     afaik). You can indicate wether this blocking should be interruptible
+ *     afaik). You can indicate whether this blocking should be interruptible
  *     by a signal (for userland interface) or not.
  *     Must not be called at interrupt time or in atomic context.
  *     If the card already owns the resources, the function succeeds.
index b7f45d48b2de6b4a81dcad34dd13ecc6e68443db..87490ac4bd87c72909aa8171e12ec8381af54f8c 100644 (file)
@@ -105,7 +105,7 @@ struct watchdog_device {
 #define WATCHDOG_NOWAYOUT_INIT_STATUS  0
 #endif
 
-/* Use the following function to check wether or not the watchdog is active */
+/* Use the following function to check whether or not the watchdog is active */
 static inline bool watchdog_active(struct watchdog_device *wdd)
 {
        return test_bit(WDOG_ACTIVE, &wdd->status);
index fff11b7fe8a44c67e6641bcc39a48fb3278012da..591f78631f137f7a235e7dea3768ba6bbca47f61 100644 (file)
@@ -134,7 +134,7 @@ typedef struct {
 } CACHE_ENTRY;
 
 /*
- *  Information about each registred IrLAP layer
+ *  Information about each registered IrLAP layer
  */
 struct lap_cb {
        irda_queue_t queue; /* Must be first */
index 0a9a01a5b0d7bf9e2f88b3614165dbdcd1920a8c..93a6745bfdb2bb14933018a9bbc497e6b1c0cde7 100644 (file)
@@ -231,7 +231,7 @@ struct cg_proto;
   *    @sk_sndbuf: size of send buffer in bytes
   *    @sk_flags: %SO_LINGER (l_onoff), %SO_BROADCAST, %SO_KEEPALIVE,
   *               %SO_OOBINLINE settings, %SO_TIMESTAMPING settings
-  *    @sk_no_check: %SO_NO_CHECK setting, wether or not checkup packets
+  *    @sk_no_check: %SO_NO_CHECK setting, whether or not checkup packets
   *    @sk_route_caps: route capabilities (e.g. %NETIF_F_TSO)
   *    @sk_route_nocaps: forbidden route capabilities (e.g NETIF_F_GSO_MASK)
   *    @sk_gso_type: GSO type (e.g. %SKB_GSO_TCPV4)
index aebd4f5aaf41ffaf59e4bf2a12d18600705d08e9..fd996c1ed9f891988607812abb95dc8820ab3751 100644 (file)
@@ -1,8 +1,8 @@
 /*
  * Generic pidhash and scalable, time-bounded PID allocator
  *
- * (C) 2002-2003 William Irwin, IBM
- * (C) 2004 William Irwin, Oracle
+ * (C) 2002-2003 Nadia Yvette Chambers, IBM
+ * (C) 2004 Nadia Yvette Chambers, Oracle
  * (C) 2002-2004 Ingo Molnar, Red Hat
  *
  * pid-structures are backing objects for tasks sharing a given ID to chain
index 76b8e77773eecb3120b87faa0a0b23e2b4cb8fd3..1f391819c42fe6d6539f5ba5e66e6f365b877f6d 100644 (file)
@@ -8,9 +8,10 @@
  *  Scheduler profiling support, Arjan van de Ven and Ingo Molnar,
  *     Red Hat, July 2004
  *  Consolidation of architecture support code for profiling,
- *     William Irwin, Oracle, July 2004
+ *     Nadia Yvette Chambers, Oracle, July 2004
  *  Amortized hit count accounting via per-cpu open-addressed hashtables
- *     to resolve timer interrupt livelocks, William Irwin, Oracle, 2004
+ *     to resolve timer interrupt livelocks, Nadia Yvette Chambers,
+ *     Oracle, 2004
  */
 
 #include <linux/export.h>
@@ -256,7 +257,7 @@ EXPORT_SYMBOL_GPL(unregister_timer_hook);
  * pagetable hash functions, but uses a full hashtable full of finite
  * collision chains, not just pairs of them.
  *
- * -- wli
+ * -- nyc
  */
 static void __profile_flip_buffers(void *unused)
 {
index 7693aaf324c655d325b1739014c032aba76856b4..afd092de45b71c45a9b3be6b70ed8dc0db085a0a 100644 (file)
@@ -10,7 +10,7 @@
  * Based on code in the latency_tracer, that is:
  *
  *  Copyright (C) 2004-2006 Ingo Molnar
- *  Copyright (C) 2004 William Lee Irwin III
+ *  Copyright (C) 2004 Nadia Yvette Chambers
  */
 
 #include <linux/stop_machine.h>
index b69cc380322dbfe17983e582a9537d6e53e1ce7b..61e081b4ba1199c7c7da9f44c6b7f9fa9e87eeb2 100644 (file)
@@ -9,7 +9,7 @@
  *
  * Based on code from the latency_tracer, that is:
  *  Copyright (C) 2004-2006 Ingo Molnar
- *  Copyright (C) 2004 William Lee Irwin III
+ *  Copyright (C) 2004 Nadia Yvette Chambers
  */
 #include <linux/ring_buffer.h>
 #include <generated/utsrelease.h>
index bb227e380cb574f9eb629b5ac162fcab8b34b1b3..8e3ad8082ab7074fde4ea9da403961afd2eadc45 100644 (file)
@@ -7,7 +7,7 @@
  * Based on code from the latency_tracer, that is:
  *
  *  Copyright (C) 2004-2006 Ingo Molnar
- *  Copyright (C) 2004 William Lee Irwin III
+ *  Copyright (C) 2004 Nadia Yvette Chambers
  */
 #include <linux/ring_buffer.h>
 #include <linux/debugfs.h>
index 5ffce7b0f33c71d5fae15d8ead377aded9d0fd88..713a2cac48816461c0c0a5b11d5a854ea5c4b3d3 100644 (file)
@@ -7,7 +7,7 @@
  * From code in the latency_tracer, that is:
  *
  *  Copyright (C) 2004-2006 Ingo Molnar
- *  Copyright (C) 2004 William Lee Irwin III
+ *  Copyright (C) 2004 Nadia Yvette Chambers
  */
 #include <linux/kallsyms.h>
 #include <linux/debugfs.h>
index bc64fc1375542415bb258f635226b76e056f1909..9fe45fcefca084b804b37d8a4f782fdafa87f1bb 100644 (file)
@@ -7,7 +7,7 @@
  * Based on code from the latency_tracer, that is:
  *
  *  Copyright (C) 2004-2006 Ingo Molnar
- *  Copyright (C) 2004 William Lee Irwin III
+ *  Copyright (C) 2004 Nadia Yvette Chambers
  */
 #include <linux/module.h>
 #include <linux/fs.h>
index 7fdd9eaca2c3a40ba08955b0cb9be5dd04e88f04..6698e0c04ead068279a7ed6a106a794b4ee1a8e6 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Generic waiting primitives.
  *
- * (C) 2004 William Irwin, Oracle
+ * (C) 2004 Nadia Yvette Chambers, Oracle
  */
 #include <linux/init.h>
 #include <linux/export.h>
index 41faf0b8df1df9f2f5d9cb12eb01980526025ec4..e458782f3c52ac69f88d05d10233fd32b330a7fb 100644 (file)
@@ -1115,7 +1115,7 @@ config NOTIFIER_ERROR_INJECTION
        depends on DEBUG_KERNEL
        select DEBUG_FS
        help
-         This option provides the ability to inject artifical errors to
+         This option provides the ability to inject artificial errors to
          specified notifier chain callbacks. It is useful to test the error
          handling of notifier call chain failures.
 
@@ -1126,7 +1126,7 @@ config CPU_NOTIFIER_ERROR_INJECT
        depends on HOTPLUG_CPU && NOTIFIER_ERROR_INJECTION
        help
          This option provides a kernel module that can be used to test
-         the error handling of the cpu notifiers by injecting artifical
+         the error handling of the cpu notifiers by injecting artificial
          errors to CPU notifier chain callbacks.  It is controlled through
          debugfs interface under /sys/kernel/debug/notifier-error-inject/cpu
 
@@ -1150,7 +1150,7 @@ config PM_NOTIFIER_ERROR_INJECT
        depends on PM && NOTIFIER_ERROR_INJECTION
        default m if PM_DEBUG
        help
-         This option provides the ability to inject artifical errors to
+         This option provides the ability to inject artificial errors to
          PM notifier chain callbacks.  It is controlled through debugfs
          interface /sys/kernel/debug/notifier-error-inject/pm
 
@@ -1173,7 +1173,7 @@ config MEMORY_NOTIFIER_ERROR_INJECT
        tristate "Memory hotplug notifier error injection module"
        depends on MEMORY_HOTPLUG_SPARSE && NOTIFIER_ERROR_INJECTION
        help
-         This option provides the ability to inject artifical errors to
+         This option provides the ability to inject artificial errors to
          memory hotplug notifier chain callbacks.  It is controlled through
          debugfs interface under /sys/kernel/debug/notifier-error-inject/memory
 
@@ -1196,7 +1196,7 @@ config PSERIES_RECONFIG_NOTIFIER_ERROR_INJECT
        tristate "pSeries reconfig notifier error injection module"
        depends on PPC_PSERIES && NOTIFIER_ERROR_INJECTION
        help
-         This option provides the ability to inject artifical errors to
+         This option provides the ability to inject artificial errors to
          pSeries reconfig notifier chain callbacks.  It is controlled
          through debugfs interface under
          /sys/kernel/debug/notifier-error-inject/pSeries-reconfig/
index 06fdfa1aeba712283c1e1d706424c1279abaf0ca..06f7e4fe8d2de4046a3139106058b9c831c9b789 100644 (file)
@@ -353,7 +353,7 @@ again:
 EXPORT_SYMBOL(bitmap_find_next_zero_area);
 
 /*
- * Bitmap printing & parsing functions: first version by Bill Irwin,
+ * Bitmap printing & parsing functions: first version by Nadia Yvette Chambers,
  * second version by Paul Jackson, third by Joe Korty.
  */
 
index 1ef2cd4ae3c98229ffe9a244985c4c49da3fbb00..34f372ad89d0b1269e7fab6f3e900cb5c77d78bf 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * Generic hugetlb support.
- * (C) William Irwin, April 2004
+ * (C) Nadia Yvette Chambers, April 2004
  */
 #include <linux/list.h>
 #include <linux/init.h>
index de9cb14ae753ee2cfe7854201aa1bfb3d2e1f480..c3e66ae411fd079bbcf98bda257b2247125a85e6 100644 (file)
@@ -1230,10 +1230,10 @@ repeat:
                        goto repeat;
                }
        }
-       /* drain all zone's lru pagevec, this is asyncronous... */
+       /* drain all zone's lru pagevec, this is asynchronous... */
        lru_add_drain_all();
        yield();
-       /* drain pcp pages , this is synchrouns. */
+       /* drain pcp pages, this is synchronous. */
        drain_all_pages();
        /* check again */
        offlined_pages = check_pages_isolated(start_pfn, end_pfn);
@@ -1242,7 +1242,7 @@ repeat:
                goto failed_removal;
        }
        printk(KERN_INFO "Offlined Pages %ld\n", offlined_pages);
-       /* Ok, all of our target is islaoted.
+       /* Ok, all of our target is isolated.
           We cannot do rollback at this point. */
        offline_isolated_pages(start_pfn, end_pfn);
        /* reset pagetype flags and makes migrate type to be MOVABLE */
index 5a8d339d282a88cd0c5687596eca8023f93846ba..eee3efa58c9122d55620be79c86f986e0f24d3c6 100644 (file)
@@ -523,7 +523,7 @@ static inline int page_is_buddy(struct page *page, struct page *buddy,
  * If a block is freed, and its buddy is also free, then this
  * triggers coalescing into a block of larger size.
  *
- * -- wli
+ * -- nyc
  */
 
 static inline void __free_one_page(struct page *page,
@@ -782,7 +782,7 @@ void __init init_cma_reserved_pageblock(struct page *page)
  * large block of memory acted on by a series of small allocations.
  * This behavior is a critical factor in sglist merging's success.
  *
- * -- wli
+ * -- nyc
  */
 static inline void expand(struct zone *zone, struct page *page,
        int low, int high, struct free_area *area,
index dc3036cdcc6a60ac4e8bea6521279b2cff687bcb..c55e26b17d93de77dc069d7f30019f7391e0d93f 100644 (file)
--- a/mm/util.c
+++ b/mm/util.c
@@ -152,7 +152,7 @@ EXPORT_SYMBOL(__krealloc);
  *
  * The contents of the object pointed to are preserved up to the
  * lesser of the new and old sizes.  If @p is %NULL, krealloc()
- * behaves exactly like kmalloc().  If @size is 0 and @p is not a
+ * behaves exactly like kmalloc().  If @new_size is 0 and @p is not a
  * %NULL pointer, the object pointed to is freed.
  */
 void *krealloc(const void *p, size_t new_size, gfp_t flags)
index 3b6dd3180492109cd8203b6933e7d0af9a3c9c87..ae566902d2bf33be59d944c618b3a9f6a9e133ad 100644 (file)
@@ -397,7 +397,7 @@ static inline void can_rcvlist_sff_proc_show_one(struct seq_file *m,
        int i;
        int all_empty = 1;
 
-       /* check wether at least one list is non-empty */
+       /* check whether at least one list is non-empty */
        for (i = 0; i < 0x800; i++)
                if (!hlist_empty(&d->rx_sff[i])) {
                        all_empty = 0;
index baf28611b3345030d42ea73d40a14284648717bb..291f2ed7cc311649a72700d65098b6d70ba338b5 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Plugable TCP congestion control support and newReno
  * congestion control.
- * Based on ideas from I/O scheduler suport and Web100.
+ * Based on ideas from I/O scheduler support and Web100.
  *
  * Copyright (C) 2005 Stephen Hemminger <shemminger@osdl.org>
  */
index c6560cc7a9d6468b6b3239afc81baaecccc3957e..698dc7e6f309847373541748c3cc4a2f40b67f58 100644 (file)
@@ -634,7 +634,7 @@ static inline void drv_reset_tsf(struct ieee80211_local *local,
 
 static inline int drv_tx_last_beacon(struct ieee80211_local *local)
 {
-       int ret = 0; /* default unsuported op for less congestion */
+       int ret = 0; /* default unsupported op for less congestion */
 
        might_sleep();
 
index 703fb26aa48d288fa3de60a79f58b43b56c43f78..9e312695c81813b0f9e854df721cbf49bc029f79 100644 (file)
@@ -32,7 +32,7 @@ static struct nf_logger *__find_logger(int pf, const char *str_logger)
        return NULL;
 }
 
-/* return EEXIST if the same logger is registred, 0 on success. */
+/* return EEXIST if the same logger is registered, 0 on success. */
 int nf_log_register(u_int8_t pf, struct nf_logger *logger)
 {
        const struct nf_logger *llog;
index a5c95274127990b34de5af72f82e9135cf73aa85..9b9be5279f5dac83f53b1027f10144fe91d6bf98 100644 (file)
@@ -676,7 +676,7 @@ static ssize_t rfkill_soft_store(struct device *dev,
        rfkill_set_block(rfkill, state);
        mutex_unlock(&rfkill_global_mutex);
 
-       return err ?: count;
+       return count;
 }
 
 static u8 user_state_from_blocked(unsigned long state)
@@ -721,7 +721,7 @@ static ssize_t rfkill_state_store(struct device *dev,
        rfkill_set_block(rfkill, state == RFKILL_USER_STATE_SOFT_BLOCKED);
        mutex_unlock(&rfkill_global_mutex);
 
-       return err ?: count;
+       return count;
 }
 
 static ssize_t rfkill_claim_show(struct device *dev,
index 32ab55b18281e7e614b7226c5029c10356ca854c..17a001bac2cc3c81ab052c2b603b02091bd924e0 100644 (file)
@@ -163,7 +163,7 @@ static struct sctp_endpoint *sctp_endpoint_init(struct sctp_endpoint *ep,
 
        list_add(&null_key->key_list, &ep->endpoint_shared_keys);
 
-       /* Allocate and initialize transorms arrays for suported HMACs. */
+       /* Allocate and initialize transorms arrays for supported HMACs. */
        err = sctp_auth_init_hmacs(ep, gfp);
        if (err)
                goto nomem_hmacs;
index ebcd1eedb1151d050d51c5a5043e720f4797a33a..618ec7e216cae9bb17038c07ff5d87a75c8f6208 100644 (file)
@@ -4000,7 +4000,7 @@ static sctp_ierror_t sctp_sf_authenticate(struct net *net,
        chunk->subh.auth_hdr = auth_hdr;
        skb_pull(chunk->skb, sizeof(struct sctp_authhdr));
 
-       /* Make sure that we suport the HMAC algorithm from the auth
+       /* Make sure that we support the HMAC algorithm from the auth
         * chunk.
         */
        if (!sctp_auth_asoc_verify_hmac_id(asoc, auth_hdr->hmac_id))
index 46e7aff80d1a8d1b2ea054d1febc0e8ce0404c35..28b7615678154180c16d950252dea460c2e8e29e 100755 (executable)
@@ -137,6 +137,8 @@ use strict;
 # should document the "Context:" of the function, e.g. whether the functions
 # can be called form interrupts. Unlike other sections you can end it with an
 # empty line.
+# A non-void function should have a "Return:" section describing the return
+# value(s).
 # Example-sections should contain the string EXAMPLE so that they are marked
 # appropriately in DocBook.
 #
@@ -315,6 +317,7 @@ my $section_default = "Description";        # default section
 my $section_intro = "Introduction";
 my $section = $section_default;
 my $section_context = "Context";
+my $section_return = "Return";
 
 my $undescribed = "-- undescribed --";
 
@@ -2038,6 +2041,28 @@ sub check_sections($$$$$$) {
        }
 }
 
+##
+# Checks the section describing the return value of a function.
+sub check_return_section {
+        my $file = shift;
+        my $declaration_name = shift;
+        my $return_type = shift;
+
+        # Ignore an empty return type (It's a macro)
+        # Ignore functions with a "void" return type. (But don't ignore "void *")
+        if (($return_type eq "") || ($return_type =~ /void\s*\w*\s*$/)) {
+                return;
+        }
+
+        if (!defined($sections{$section_return}) ||
+            $sections{$section_return} eq "") {
+                print STDERR "Warning(${file}:$.): " .
+                        "No description found for return value of " .
+                        "'$declaration_name'\n";
+                ++$warnings;
+        }
+}
+
 ##
 # takes a function prototype and the name of the current file being
 # processed and spits out all the details stored in the global
@@ -2109,6 +2134,15 @@ sub dump_function($$) {
        my $prms = join " ", @parameterlist;
        check_sections($file, $declaration_name, "function", $sectcheck, $prms, "");
 
+        # This check emits a lot of warnings at the moment, because many
+        # functions don't have a 'Return' doc section. So until the number
+        # of warnings goes sufficiently down, the check is only performed in
+        # verbose mode.
+        # TODO: always perform the check.
+        if ($verbose) {
+                check_return_section($file, $declaration_name, $return_type);
+        }
+
     output_declaration($declaration_name,
                       'function',
                       {'function' => $declaration_name,
index a58f712605d83105b6d32e1b966436a454331a90..86468f385fc8ef1ac0422afb117114f8d81b6ba4 100644 (file)
@@ -358,8 +358,6 @@ key_ref_t search_my_process_keyrings(struct key_type *type,
 
                switch (PTR_ERR(key_ref)) {
                case -EAGAIN: /* no key */
-                       if (ret)
-                               break;
                case -ENOKEY: /* negative key */
                        ret = key_ref;
                        break;
index 60e8fc1b344041d27086d4dfde7786b8d8ac85ec..040c60e1da28f346aa049737802a43ce853940d3 100644 (file)
@@ -66,7 +66,7 @@ struct ops_list {
        /* operators */
        struct snd_seq_dev_ops ops;
 
-       /* registred devices */
+       /* registered devices */
        struct list_head dev_list;      /* list of devices */
        int num_devices;        /* number of associated devices */
        int num_init_devices;   /* number of initialized devices */
index e10f027bde03a660899e1a440538c2a661d150e9..662a45876a8b3d9b6e1008173216b32c705776bf 100644 (file)
@@ -123,7 +123,7 @@ snd_emu10k1_sample_new(struct snd_emux *rec, struct snd_sf_sample *sp,
        offset += size;
        data += size;
 
-#if 0 /* not suppported yet */
+#if 0 /* not supported yet */
        /* handle reverse (or bidirectional) loop */
        if (sp->v.mode_flags & (SNDRV_SFNT_SAMPLE_BIDIR_LOOP|SNDRV_SFNT_SAMPLE_REVERSE_LOOP)) {
                /* copy loop in reverse */
index 879db2d7796a6c4cf0ee7569b98e7dc2035b065b..a1f32b5ae0d1b4131a7ba7b9a8d2366bfd959e3d 100644 (file)
@@ -2291,7 +2291,7 @@ static void snd_es1968_chip_init(struct es1968 *chip)
        outb(0x88, iobase+0x1f);
 
        /* it appears some maestros (dell 7500) only work if these are set,
-          regardless of wether we use the assp or not. */
+          regardless of whether we use the assp or not. */
 
        outb(0, iobase + ASSP_CONTROL_B);
        outb(3, iobase + ASSP_CONTROL_A);       /* M: Reserved bits... */
index ab2bca164d6f84726bd303415731f8fdf93bec26..9e28cc12969b3632357ae4f198634da499864903 100644 (file)
@@ -616,7 +616,7 @@ static int snd_ice1712_delta_init(struct snd_ice1712 *ice)
                ice->num_total_dacs = 4;        /* two AK4324 codecs */
                break;
        case ICE1712_SUBDEVICE_VX442:
-       case ICE1712_SUBDEVICE_DELTA66E:        /* omni not suported yet */
+       case ICE1712_SUBDEVICE_DELTA66E:        /* omni not supported yet */
                ice->num_total_dacs = 4;
                ice->num_total_adcs = 4;
                break;
index 550b9cfb8e3ef248f8ea78aecd8e5df8d0ee7693..d59abe1682c58f9d394340d48c38e1860f906e89 100644 (file)
@@ -1171,7 +1171,7 @@ static int sis_chip_init(struct sis7019 *sis)
        outl(SIS_DMA_CSR_PCI_SETTINGS, io + SIS_DMA_CSR);
 
        /* Reset the synchronization groups for all of the channels
-        * to be asyncronous. If we start doing SPDIF or 5.1 sound, etc.
+        * to be asynchronous. If we start doing SPDIF or 5.1 sound, etc.
         * we'll need to change how we handle these. Until then, we just
         * assign sub-mixer 0 to all playback channels, and avoid any
         * attenuation on the audio.
index 0f58b4b6d7023d0e4c47734216e276132c2fbe80..007fcecdf5cd1fa9536a24d6cac9059071393c69 100644 (file)
@@ -675,7 +675,7 @@ int snd_usb_apply_boot_quirk(struct usb_device *dev,
  */
 int snd_usb_is_big_endian_format(struct snd_usb_audio *chip, struct audioformat *fp)
 {
-       /* it depends on altsetting wether the device is big-endian or not */
+       /* it depends on altsetting whether the device is big-endian or not */
        switch (chip->usb_id) {
        case USB_ID(0x0763, 0x2001): /* M-Audio Quattro: captured data only */
                if (fp->altsetting == 2 || fp->altsetting == 3 ||
index b38a1f9ad4606db6e8544ee5908789eaae0ac0f0..938e8904f64d100ab082a4f1fcca0e68f05592f7 100644 (file)
@@ -175,7 +175,7 @@ following filters are defined:
 
 +
 The option requires at least one branch type among any, any_call, any_ret, ind_call.
-The privilege levels may be ommitted, in which case, the privilege levels of the associated
+The privilege levels may be omitted, in which case, the privilege levels of the associated
 event are applied to the branch filter. Both kernel (k) and hypervisor (hv) privilege
 levels are subject to permissions.  When sampling on multiple events, branch stack sampling
 is enabled for all the sampling events. The sampled branch type is the same for all events.
index aca6edcbbc6fa09113389e87b3e76a55a871da98..af8c925e93ebd4536e41897c5fcfff10f3fffda8 100644 (file)
@@ -405,7 +405,6 @@ static char *cpio_replace_env(char *new_location)
        return new_location;
 }
 
-
 static int cpio_mkfile_line(const char *line)
 {
        char name[PATH_MAX + 1];