Merge branch 'master' into for-next
authorJiri Kosina <jkosina@suse.cz>
Wed, 4 Aug 2010 13:14:38 +0000 (15:14 +0200)
committerJiri Kosina <jkosina@suse.cz>
Wed, 4 Aug 2010 13:14:38 +0000 (15:14 +0200)
172 files changed:
Documentation/Changes
Documentation/PCI/pci.txt
Documentation/feature-removal-schedule.txt
Documentation/hwmon/hpfall.c
Documentation/power/tricks.txt
Documentation/rt-mutex-design.txt
Documentation/scsi/ChangeLog.lpfc
Documentation/sparse.txt
Documentation/sysctl/vm.txt
Documentation/zh_CN/sparse.txt
arch/arm/mach-imx/dma-v1.c
arch/arm/mach-msm/acpuclock-arm11.c
arch/arm/mach-omap2/dpll3xxx.c
arch/arm/mach-omap2/sleep34xx.S
arch/arm/mach-sa1100/collie.c
arch/arm/mach-u300/core.c
arch/arm/mach-u300/gpio.c
arch/arm/plat-s3c24xx/clock.c
arch/arm/plat-samsung/clock.c
arch/arm/plat-spear/padmux.c
arch/cris/arch-v32/mm/intmem.c
arch/h8300/kernel/timer/itu.c
arch/h8300/kernel/timer/timer16.c
arch/h8300/kernel/timer/timer8.c
arch/ia64/kvm/kvm-ia64.c
arch/ia64/sn/kernel/setup.c
arch/microblaze/Makefile
arch/powerpc/kernel/suspend.c
arch/powerpc/platforms/ps3/htab.c
arch/sh/kernel/clkdev.c
arch/sparc/boot/btfixupprep.c
arch/x86/kernel/acpi/sleep.c
arch/x86/kernel/apic/apic.c
arch/x86/kernel/apm_32.c
arch/x86/kernel/cpu/cpufreq/powernow-k8.c
arch/x86/kernel/head32.c
arch/x86/mm/init_64.c
arch/x86/power/cpu.c
arch/x86/power/hibernate_64.c
drivers/block/cciss.c
drivers/block/drbd/drbd_receiver.c
drivers/block/nbd.c
drivers/char/synclink_gt.c
drivers/crypto/amcc/crypto4xx_reg_def.h
drivers/dma/at_hdmac.c
drivers/dma/fsldma.c
drivers/gpu/drm/drm_edid.c
drivers/gpu/drm/i915/intel_sdvo.c
drivers/gpu/drm/i915/intel_tv.c
drivers/gpu/drm/savage/savage_bci.c
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c
drivers/ide/ide-gd.c
drivers/infiniband/hw/cxgb3/iwch_qp.c
drivers/infiniband/hw/cxgb4/qp.c
drivers/infiniband/hw/ehca/hcp_if.h
drivers/infiniband/hw/ipath/ipath_file_ops.c
drivers/input/misc/ad714x.c
drivers/isdn/hardware/mISDN/avmfritz.c
drivers/isdn/hardware/mISDN/hfcmulti.c
drivers/isdn/hardware/mISDN/hfcpci.c
drivers/isdn/hardware/mISDN/mISDNinfineon.c
drivers/isdn/hardware/mISDN/speedfax.c
drivers/isdn/hardware/mISDN/w6692.c
drivers/isdn/hisax/callc.c
drivers/isdn/hisax/tei.c
drivers/isdn/mISDN/tei.c
drivers/media/dvb/siano/smscoreapi.c
drivers/media/video/gspca/sunplus.c
drivers/media/video/usbvideo/vicam.c
drivers/media/video/v4l2-compat-ioctl32.c
drivers/media/video/zoran/zoran.h
drivers/media/video/zoran/zoran_device.c
drivers/media/video/zoran/zr36050.c
drivers/media/video/zoran/zr36060.c
drivers/message/fusion/mptbase.c
drivers/mtd/nand/denali.c
drivers/net/3c527.c
drivers/net/appletalk/ipddp.c
drivers/net/benet/be_hw.h
drivers/net/gianfar.c
drivers/net/hp100.c
drivers/net/ibm_newemac/core.c
drivers/net/ksz884x.c
drivers/net/ll_temac_main.c
drivers/net/sh_eth.c
drivers/net/tulip/dmfe.c
drivers/net/wimax/i2400m/control.c
drivers/net/wireless/hostap/hostap_ap.c
drivers/net/wireless/hostap/hostap_hw.c
drivers/parisc/ccio-dma.c
drivers/pcmcia/sa11xx_base.c
drivers/rapidio/rio.c
drivers/rtc/rtc-fm3130.c
drivers/rtc/rtc-rx8025.c
drivers/scsi/advansys.c
drivers/scsi/aic7xxx_old/aic7xxx.seq
drivers/scsi/aic94xx/aic94xx_seq.c
drivers/scsi/bfa/bfa_core.c
drivers/scsi/bfa/bfa_fcs.c
drivers/scsi/bfa/bfa_ioim.c
drivers/scsi/bfa/vport.c
drivers/scsi/fcoe/fcoe.c
drivers/scsi/libfc/fc_exch.c
drivers/scsi/libfc/fc_lport.c
drivers/scsi/libfc/fc_rport.c
drivers/scsi/mpt2sas/mpt2sas_base.h
drivers/scsi/mpt2sas/mpt2sas_scsih.c
drivers/scsi/pm8001/pm8001_hwi.c
drivers/scsi/qla2xxx/qla_iocb.c
drivers/scsi/qla2xxx/qla_nx.h
drivers/scsi/qla4xxx/ql4_init.c
drivers/scsi/scsi_transport_fc.c
drivers/serial/68360serial.c
drivers/serial/cpm_uart/cpm_uart_core.c
drivers/serial/nwpserial.c
drivers/serial/sn_console.c
drivers/staging/winbond/wbusb.c
drivers/usb/class/cdc-acm.c
drivers/usb/class/usblp.c
drivers/usb/host/fhci-sched.c
drivers/usb/serial/kl5kusb105.c
drivers/usb/wusbcore/wusbhc.c
drivers/uwb/wlp/wss-lc.c
drivers/video/backlight/locomolcd.c
drivers/video/carminefb.c
drivers/video/tgafb.c
fs/Kconfig
fs/befs/linuxvfs.c
fs/compat.c
fs/compat_ioctl.c
fs/ecryptfs/crypto.c
fs/ext4/extents.c
fs/ext4/mballoc.c
fs/ext4/super.c
fs/freevxfs/vxfs_super.c
fs/ncpfs/inode.c
fs/ocfs2/dlm/dlmdebug.c
fs/ocfs2/dlmfs/dlmfs.c
fs/ocfs2/dlmglue.c
fs/ocfs2/super.c
fs/reiserfs/inode.c
include/linux/fscache.h
include/linux/ide.h
include/linux/if_link.h
include/linux/jffs2.h
include/linux/kernel.h
include/linux/lru_cache.h
include/linux/netdevice.h
include/linux/reiserfs_fs.h
include/linux/types.h
kernel/cpuset.c
kernel/debug/debug_core.c
kernel/debug/gdbstub.c
kernel/power/hibernate.c
kernel/power/snapshot.c
kernel/power/swap.c
kernel/time/tick-broadcast.c
lib/Kconfig.debug
lib/devres.c
lib/random32.c
net/ipv6/netfilter/nf_conntrack_reasm.c
net/netfilter/ipvs/ip_vs_lblc.c
net/netfilter/ipvs/ip_vs_lblcr.c
net/sctp/associola.c
net/sctp/protocol.c
security/smack/smack_lsm.c
sound/drivers/Kconfig
sound/pci/trident/trident_main.c
sound/soc/fsl/mpc8610_hpcd.c
sound/soc/imx/imx-ssi.c
sound/soc/soc-core.c
sound/usb/pcm.c

index eca9f6e6fbe65ffe6deef3c4a8aa0e869c2f98e8..4fb88f15f2efc250c220dbc5385d07ad9b4b3c6b 100644 (file)
@@ -331,7 +331,7 @@ o  <ftp://ftp.kernel.org/pub/linux/kernel/people/rusty/modules/>
 
 Mkinitrd
 --------
-o  <ftp://rawhide.redhat.com/pub/rawhide/SRPMS/SRPMS/>
+o  <https://code.launchpad.net/initrd-tools/main>
 
 E2fsprogs
 ---------
@@ -343,11 +343,11 @@ o  <http://jfs.sourceforge.net/>
 
 Reiserfsprogs
 -------------
-o  <http://www.namesys.com/pub/reiserfsprogs/reiserfsprogs-3.6.3.tar.gz>
+o  <http://www.kernel.org/pub/linux/utils/fs/reiserfs/>
 
 Xfsprogs
 --------
-o  <ftp://oss.sgi.com/projects/xfs/download/>
+o  <ftp://oss.sgi.com/projects/xfs/>
 
 Pcmciautils
 -----------
@@ -387,18 +387,18 @@ o <http://sourceforge.net/projects/fuse>
 
 mcelog
 ------
-o <ftp://ftp.kernel.org/pub/linux/utils/cpu/mce/mcelog/>
+o <ftp://ftp.kernel.org/pub/linux/utils/cpu/mce/>
 
 Networking
 **********
 
 PPP
 ---
-o  <ftp://ftp.samba.org/pub/ppp/ppp-2.4.0.tar.gz>
+o  <ftp://ftp.samba.org/pub/ppp/>
 
 Isdn4k-utils
 ------------
-o  <ftp://ftp.isdn4linux.de/pub/isdn4linux/utils/isdn4k-utils.v3.1pre1.tar.gz>
+o  <ftp://ftp.isdn4linux.de/pub/isdn4linux/utils/>
 
 NFS-utils
 ---------
index 7f6de6ea5b475b491ba3bb461d8b8b2f3e939cce..6148d4080f888a9967492717b2837bbbb0b56970 100644 (file)
@@ -581,7 +581,7 @@ to be handled by platform and generic code, not individual drivers.
 8. Vendor and device identifications
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
-One is not not required to add new device ids to include/linux/pci_ids.h.
+One is not required to add new device ids to include/linux/pci_ids.h.
 Please add PCI_VENDOR_ID_xxx for vendors and a hex constant for device ids.
 
 PCI_VENDOR_ID_xxx constants are re-used. The device ids are arbitrary
index 1571c0c83dba0b0876ea52e4ff85ff69a56dab87..40a9c323931905a99447f90084584eb7eb420128 100644 (file)
@@ -93,7 +93,7 @@ Why:  Broken design for runtime control over driver power states, confusing
        inputs.  This framework was never widely used, and most attempts to
        use it were broken.  Drivers should instead be exposing domain-specific
        interfaces either to kernel or to userspace.
-Who:   Pavel Machek <pavel@suse.cz>
+Who:   Pavel Machek <pavel@ucw.cz>
 
 ---------------------------
 
index 681ec22b9d0e2b2574821617160fed57f88aa537..a4a8fc5d05d4e3261910b805bf668c6bfe523d15 100644 (file)
@@ -1,7 +1,7 @@
 /* Disk protection for HP machines.
  *
  * Copyright 2008 Eric Piel
- * Copyright 2009 Pavel Machek <pavel@suse.cz>
+ * Copyright 2009 Pavel Machek <pavel@ucw.cz>
  *
  * GPLv2.
  */
index 3b26bb502a4a608d54f5fd7940d376e231f2fb4e..a1b8f7249f4ce7dfb7652f4263d22056590723c0 100644 (file)
@@ -1,6 +1,6 @@
        swsusp/S3 tricks
        ~~~~~~~~~~~~~~~~
-Pavel Machek <pavel@suse.cz>
+Pavel Machek <pavel@ucw.cz>
 
 If you want to trick swsusp/S3 into working, you might want to try:
 
index 8df0b782c4d7f7ed8c3c617869db844b5f8321d8..33ed8007a8458893572046e3d5acf2248ca39e8e 100644 (file)
@@ -364,7 +364,7 @@ process this is rather easy to know what needs to be adjusted.
 
 The functions implementing the task adjustments are rt_mutex_adjust_prio,
 __rt_mutex_adjust_prio (same as the former, but expects the task pi_lock
-to already be taken), rt_mutex_get_prio, and rt_mutex_setprio.
+to already be taken), rt_mutex_getprio, and rt_mutex_setprio.
 
 rt_mutex_getprio and rt_mutex_setprio are only used in __rt_mutex_adjust_prio.
 
index e759e92e286d879033e17420210935e7eed16892..337c924cc81f41091350097e5d3e43c440c3e466 100644 (file)
@@ -807,7 +807,7 @@ Changes from 20040908 to 20040920
          lpfc_disc_done/lpfc_do_dpc cleanup - lpfc_disc_done can return
          void - move lpfc_do_dpc and lpfc_disc_done to lpfc_hbadisc.c -
          remove checking of list emptiness before calling lpfc_disc_done,
-         it handles the emtpy list case just fine and the additional
+         it handles the empty list case just fine and the additional
          instructions cost less then the bustlocked spinlock operations.
        * Integrated patch from Christoph Hellwig: This adds a new 64bit
          counter instead, brd_no isn't reused anymore.  Also some tiny
index 9b659c79a54704149dae0bbd149b74a4f524a16c..4909d41163564c0fcc7fefb4e6a4c6e25183bf3b 100644 (file)
@@ -1,5 +1,5 @@
 Copyright 2004 Linus Torvalds
-Copyright 2004 Pavel Machek <pavel@suse.cz>
+Copyright 2004 Pavel Machek <pavel@ucw.cz>
 Copyright 2006 Bob Copeland <me@bobcopeland.com>
 
 Using sparse for typechecking
index 5fdbb612aeb840af5c5eec80103c660be3da6c06..82b2da18c45d8e43c71f3e381cde3b5e99f18296 100644 (file)
@@ -196,7 +196,7 @@ controlled by this knob are discussed in Documentation/laptops/laptop-mode.txt.
 
 legacy_va_layout
 
-If non-zero, this sysctl disables the new 32-bit mmap mmap layout - the kernel
+If non-zero, this sysctl disables the new 32-bit mmap layout - the kernel
 will use the legacy (2.4) layout for all processes.
 
 ==============================================================
index 75992a603ae3664f5bfa3493c8e5de9072eadb7e..cc144e58151537cbc4e0209732117879a159f44c 100644 (file)
@@ -22,7 +22,7 @@ Documentation/sparse.txt 的中文翻译
 ---------------------------------------------------------------------
 
 Copyright 2004 Linus Torvalds
-Copyright 2004 Pavel Machek <pavel@suse.cz>
+Copyright 2004 Pavel Machek <pavel@ucw.cz>
 Copyright 2006 Bob Copeland <me@bobcopeland.com>
 
 使用 sparse 工具做类型检查
index fd1d9197d06ef66f9b5e5a3d95d3a825510f47a5..3e8c47c63bac6bb3556c5b74e90c9def1b66e4c5 100644 (file)
@@ -310,7 +310,7 @@ imx_dma_setup_sg(int channel,
        imxdma->resbytes = dma_length;
 
        if (!sg || !sgcount) {
-               printk(KERN_ERR "imxdma%d: imx_dma_setup_sg epty sg list\n",
+               printk(KERN_ERR "imxdma%d: imx_dma_setup_sg empty sg list\n",
                       channel);
                return -EINVAL;
        }
@@ -760,7 +760,6 @@ EXPORT_SYMBOL(imx_dma_free);
  * @name: the driver/caller own non-%NULL identification
  *
  * This function tries to find a free channel in the specified priority group
- * This function tries to find a free channel in the specified priority group
  * if the priority cannot be achieved it tries to look for free channel
  * in the higher and then even lower priority groups.
  *
index af5e85b91d02f40fbbb8d1aefdb81989da157e84..f060a3959a75fe08bfc490e48b95ee22dc8421a0 100644 (file)
@@ -98,7 +98,7 @@ struct clkctl_acpu_speed {
 
 /*
  * ACPU speed table. Complete table is shown but certain speeds are commented
- * out to optimized speed switching. Initalize loops_per_jiffy to 0.
+ * out to optimized speed switching. Initialize loops_per_jiffy to 0.
  *
  * Table stepping up/down is optimized for 256mhz jumps while staying on the
  * same PLL.
@@ -494,7 +494,7 @@ uint32_t acpuclk_get_switch_time(void)
  * Clock driver initialization
  *---------------------------------------------------------------------------*/
 
-/* Initalize the lpj field in the acpu_freq_tbl. */
+/* Initialize the lpj field in the acpu_freq_tbl. */
 static void __init lpj_init(void)
 {
        int i;
index b32ccd954a1bf43766440db8e19b8ebb92343c7c..ed8d330522f18043a0b8ce6be06023a92988e988 100644 (file)
@@ -463,7 +463,7 @@ int omap3_noncore_dpll_set_rate(struct clk *clk, unsigned long rate)
        }
        if (!ret) {
                /*
-                * Switch the parent clock in the heirarchy, and make sure
+                * Switch the parent clock in the hierarchy, and make sure
                 * that the new parent's usecount is correct.  Note: we
                 * enable the new parent before disabling the old to avoid
                 * any unnecessary hardware disable->enable transitions.
index d522cd70bf53485d0a3af2453845777e3a89edd7..ba53191ae4c55bfdaf4515f4edd0a9ca67bce4b9 100644 (file)
@@ -60,7 +60,7 @@
 #define SDRC_DLLA_CTRL_V       OMAP34XX_SDRC_REGADDR(SDRC_DLLA_CTRL)
 
         .text
-/* Function to aquire the semaphore in scratchpad */
+/* Function to acquire the semaphore in scratchpad */
 ENTRY(lock_scratchpad_sem)
        stmfd   sp!, {lr}       @ save registers on stack
 wait_sem:
index 5d5f330c5d9407321dd7340f92dc108e46c3a3fa..16e682d5dbb7986fd1f0f038a65f87b8c2907910 100644 (file)
@@ -11,7 +11,7 @@
  * published by the Free Software Foundation.
  *
  * ChangeLog:
- *  2006 Pavel Machek <pavel@suse.cz>
+ *  2006 Pavel Machek <pavel@ucw.cz>
  *  03-06-2004 John Lenz <lenz@cs.wisc.edu>
  *  06-04-2002 Chris Larson <kergoth@digitalnemesis.net>
  *  04-16-2001 Lineo Japan,Inc. ...
index 5f34eb674d68ec4ebbc3a763d01b97e10285b844..653b3e0ab7ba9a76724eaed028f881a5a378c5fe 100644 (file)
@@ -1561,13 +1561,6 @@ static void __init u300_init_check_chip(void)
        printk(KERN_INFO "Initializing U300 system on %s baseband chip " \
               "(chip ID 0x%04x)\n", chipname, val);
 
-#ifdef CONFIG_MACH_U300_BS26
-       if ((val & 0xFF00U) != 0xc800) {
-               printk(KERN_ERR "Platform configured for BS25/BS26 " \
-                      "with DB3150 but %s detected, expect problems!",
-                      chipname);
-       }
-#endif
 #ifdef CONFIG_MACH_U300_BS330
        if ((val & 0xFF00U) != 0xd800) {
                printk(KERN_ERR "Platform configured for BS330 " \
index 5f61fd45a0c8a1dee47baa305ca3aa49d07fac01..d92790140fe53852bd4e571ed29fe95f490e8e77 100644 (file)
@@ -523,7 +523,7 @@ static void gpio_set_initial_values(void)
 
        /*
         * Put all pins that are set to either 'GPIO_OUT' or 'GPIO_NOT_USED'
-        * to output and 'GPIO_IN' to input for each port. And initalize
+        * to output and 'GPIO_IN' to input for each port. And initialize
         * default value on outputs.
         */
        for (i = 0; i < U300_GPIO_NUM_PORTS; i++) {
index 8474d05274bda707350d9e5240d5411c9d971484..931d26d1a54bdadca173d6dd197d7767c731564a 100644 (file)
@@ -43,7 +43,7 @@
 #include <plat/cpu.h>
 #include <plat/pll.h>
 
-/* initalise all the clocks */
+/* initialise all the clocks */
 
 void __init_or_cpufreq s3c24xx_setup_clocks(unsigned long fclk,
                                           unsigned long hclk,
index 8bf79f3efdfbe5e90b29edc57e1de42e5c91db4e..90a20512d68d5a40d9fa789b15c24620a0c8f9b3 100644 (file)
@@ -391,7 +391,7 @@ void __init s3c_disable_clocks(struct clk *clkp, int nr_clks)
                (clkp->enable)(clkp, 0);
 }
 
-/* initalise all the clocks */
+/* initialise all the clocks */
 
 int __init s3c24xx_register_baseclocks(unsigned long xtal)
 {
index d2aab3adcdebd997a08f329a34f02b70db92d10e..555eec6dc1cbfd14a4e750205217132d63cbb9f5 100644 (file)
@@ -66,7 +66,7 @@ static int pmx_mode_set(struct pmx_mode *mode)
  * If peripheral is not supported by current mode then request is rejected.
  * Conflicts between peripherals are not handled and peripherals will be
  * enabled in the order they are present in pmx_dev array.
- * In case of conflicts last peripheral enalbed will be present.
+ * In case of conflicts last peripheral enabled will be present.
  * Returns -ve on Err otherwise 0
  */
 static int pmx_devs_enable(struct pmx_dev **devs, u8 count)
index 9e8b69cdf19ef322c1dbe12ce6a6d1201aa193a8..1b17d92cef8ebb98e57b34a63be0f6f8fb6d9508 100644 (file)
@@ -33,8 +33,8 @@ static void crisv32_intmem_init(void)
 {
        static int initiated = 0;
        if (!initiated) {
-               struct intmem_allocation* alloc =
-                 (struct intmem_allocation*)kmalloc(sizeof *alloc, GFP_KERNEL);
+               struct intmem_allocation* alloc;
+               alloc = kmalloc(sizeof *alloc, GFP_KERNEL);
                INIT_LIST_HEAD(&intmem_allocations);
                intmem_virtual = ioremap(MEM_INTMEM_START + RESERVED_SIZE,
                                         MEM_INTMEM_SIZE - RESERVED_SIZE);
@@ -62,9 +62,8 @@ void* crisv32_intmem_alloc(unsigned size, unsigned align)
                if (allocation->status == STATUS_FREE &&
                    allocation->size >= size + alignment) {
                        if (allocation->size > size + alignment) {
-                               struct intmem_allocation* alloc =
-                                       (struct intmem_allocation*)
-                                       kmalloc(sizeof *alloc, GFP_ATOMIC);
+                               struct intmem_allocation* alloc;
+                               alloc = kmalloc(sizeof *alloc, GFP_ATOMIC);
                                alloc->status = STATUS_FREE;
                                alloc->size = allocation->size - size -
                                        alignment;
@@ -74,9 +73,7 @@ void* crisv32_intmem_alloc(unsigned size, unsigned align)
 
                                if (alignment) {
                                        struct intmem_allocation *tmp;
-                                       tmp = (struct intmem_allocation *)
-                                               kmalloc(sizeof *tmp,
-                                                       GFP_ATOMIC);
+                                       tmp = kmalloc(sizeof *tmp, GFP_ATOMIC);
                                        tmp->offset = allocation->offset;
                                        tmp->size = alignment;
                                        tmp->status = STATUS_FREE;
index 4883ba7103a84d8b391a290fc64198949f2c3ca9..a2ae5e9521378d6adbee4e01d39e7843819c305a 100644 (file)
@@ -73,7 +73,7 @@ void __init h8300_timer_setup(void)
 
        setup_irq(ITUIRQ, &itu_irq);
 
-       /* initalize timer */
+       /* initialize timer */
        ctrl_outb(0, TSTR);
        ctrl_outb(CCLR0 | div, ITUBASE + TCR);
        ctrl_outb(0x01, ITUBASE + TIER);
index 042dbb53f3fb372707ab7a533a884e7ccb6b8dd3..ae0d3816113944c9af2be73c8957aa4e52f220b1 100644 (file)
@@ -68,7 +68,7 @@ void __init h8300_timer_setup(void)
 
        setup_irq(_16IRQ, &timer16_irq);
 
-       /* initalize timer */
+       /* initialize timer */
        ctrl_outb(0, TSTR);
        ctrl_outb(CCLR0 | div, _16BASE + TCR);
        ctrl_outw(cnt, _16BASE + GRA);
index 38be0cabef0da0c4433d9d52924eef8f199e5b0b..3946c0fa8374d40113f3c2be685994c2378b69aa 100644 (file)
@@ -94,7 +94,7 @@ void __init h8300_timer_setup(void)
        ctrl_bclr(0, MSTPCRL)
 #endif
 
-       /* initalize timer */
+       /* initialize timer */
        ctrl_outw(cnt, _8BASE + TCORA);
        ctrl_outw(0x0000, _8BASE + _8TCSR);
        ctrl_outw((CMIEA|CCLR_CMA|CKS2) << 8 | div,
index 21b701374f72335905ee9bfde866975e60800229..9b109f25e49c36e3e6cea4ca791cd824b7c80226 100644 (file)
@@ -1237,7 +1237,7 @@ int kvm_arch_vcpu_init(struct kvm_vcpu *vcpu)
        p_ctx->cr[2] = (unsigned long)kvm_vmm_info->vmm_ivt;
        p_ctx->cr[8] = 0x3c;
 
-       /*Initilize region register*/
+       /*Initialize region register*/
        p_ctx->rr[0] = 0x30;
        p_ctx->rr[1] = 0x30;
        p_ctx->rr[2] = 0x30;
@@ -1246,7 +1246,7 @@ int kvm_arch_vcpu_init(struct kvm_vcpu *vcpu)
        p_ctx->rr[5] = 0x30;
        p_ctx->rr[7] = 0x30;
 
-       /*Initilize branch register 0*/
+       /*Initialize branch register 0*/
        p_ctx->br[0] = *(unsigned long *)kvm_vmm_info->vmm_entry;
 
        vcpu->arch.vmm_rr = kvm->arch.vmm_init_rr;
@@ -1707,7 +1707,7 @@ static int kvm_relocate_vmm(struct kvm_vmm_info *vmm_info,
        BUG_ON(!module);
 
        if (!kvm_vmm_base) {
-               printk("kvm: kvm area hasn't been initilized yet!!\n");
+               printk("kvm: kvm area hasn't been initialized yet!!\n");
                return -EFAULT;
        }
 
index d00dfc180021cb85a84a8565f48595545d9a6615..dbc4cbecb5edcd5d9f9c60eccfaf6c25165a47ca 100644 (file)
@@ -507,7 +507,7 @@ static void __init sn_init_pdas(char **cmdline_p)
        cnodeid_t cnode;
 
        /*
-        * Allocate & initalize the nodepda for each node.
+        * Allocate & initialize the nodepda for each node.
         */
        for_each_online_node(cnode) {
                nodepdaindr[cnode] =
index 72f6e85837467679354d37ec148db56eb4868363..592c7079de889a435d96850f357fff666328fe5e 100644 (file)
@@ -25,7 +25,7 @@ ifeq (,$(findstring spartan2,$(CONFIG_XILINX_MICROBLAZE0_FAMILY)))
   ifeq ($(CPU_MAJOR),3)
     CPUFLAGS-1 += -mno-xl-soft-mul
   else
-    # USE_HW_MUL can be 0, 1, or 2, defining a heirarchy of HW Mul support.
+    # USE_HW_MUL can be 0, 1, or 2, defining a hierarchy of HW Mul support.
     CPUFLAGS-$(subst 1,,$(CONFIG_XILINX_MICROBLAZE0_USE_HW_MUL)) += -mxl-multiply-high
     CPUFLAGS-$(CONFIG_XILINX_MICROBLAZE0_USE_HW_MUL) += -mno-xl-soft-mul
   endif
index 6fc6328dc626c0809d1fe3e6f85814e26f4dce8c..0167d53da30cbbbb1e61c8cdb8768db35e4b3e7a 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Distribute under GPLv2
  *
- * Copyright (c) 2002 Pavel Machek <pavel@suse.cz>
+ * Copyright (c) 2002 Pavel Machek <pavel@ucw.cz>
  * Copyright (c) 2001 Patrick Mochel <mochel@osdl.org>
  */
 
index 2c0ed87f20244c88e4feea8c79aca1a29c4115a0..3124cf791ebb5504d842c494c345b7754ddbb851 100644 (file)
@@ -136,7 +136,7 @@ static long ps3_hpte_updatepp(unsigned long slot, unsigned long newpp,
         * As lv1_read_htab_entries() does not give us the RPN, we can
         * not synthesize the new hpte_r value here, and therefore can
         * not update the hpte with lv1_insert_htab_entry(), so we
-        * insted invalidate it and ask the caller to update it via
+        * instead invalidate it and ask the caller to update it via
         * ps3_hpte_insert() by returning a -1 value.
         */
        if (!HPTE_V_COMPARE(hpte_v, want_v) || !(hpte_v & HPTE_V_VALID)) {
index defdd6e309084e406ad70d655004d6742b7e9b1b..befc255830a4c1b30874ed44034d81680e13fbfd 100644 (file)
@@ -36,7 +36,7 @@ static DEFINE_MUTEX(clocks_mutex);
  *  If an entry has a device ID, it must match
  *  If an entry has a connection ID, it must match
  * Then we take the most specific entry - with the following
- * order of precidence: dev+con > dev only > con only.
+ * order of precedence: dev+con > dev only > con only.
  */
 static struct clk *clk_find(const char *dev_id, const char *con_id)
 {
index e7f2940bd270f5ab481e513880019c3b34a7bb2a..da031159e2b7e6bb9a318dfb26c98c20955701e2 100644 (file)
@@ -216,7 +216,7 @@ main1:
                switch (buffer[nbase+3]) {
                case 'f':
                        if (initval) {
-                               fprintf(stderr, "Cannot use pre-initalized fixups for calls\n%s\n", buffer);
+                               fprintf(stderr, "Cannot use pre-initialized fixups for calls\n%s\n", buffer);
                                exit(1);
                        }
                        if (!strcmp (sect, "__ksymtab")) {
@@ -273,7 +273,7 @@ main1:
                        break;
                case 'i':
                        if (initval) {
-                               fprintf(stderr, "Cannot use pre-initalized fixups for INT\n%s\n", buffer);
+                               fprintf(stderr, "Cannot use pre-initialized fixups for INT\n%s\n", buffer);
                                exit(1);
                        }
                        if (strncmp (buffer + mode+9, "HI22      ", 10) && strncmp (buffer + mode+9, "LO10      ", 10)) {
index fcc3c61fdecc0a8e73859868f5f863c9fdb315e3..33cec152070df4f9c5dc30d47a6274524d097225 100644 (file)
@@ -2,7 +2,7 @@
  * sleep.c - x86-specific ACPI sleep support.
  *
  *  Copyright (C) 2001-2003 Patrick Mochel
- *  Copyright (C) 2001-2003 Pavel Machek <pavel@suse.cz>
+ *  Copyright (C) 2001-2003 Pavel Machek <pavel@ucw.cz>
  */
 
 #include <linux/acpi.h>
index a96489ee6cabf04a53664300f87141c4bbffc293..980508c79082fadaacbc0339c0fe196d6a6dd5ce 100644 (file)
@@ -460,7 +460,7 @@ static void lapic_timer_broadcast(const struct cpumask *mask)
 }
 
 /*
- * Setup the local APIC timer for this CPU. Copy the initilized values
+ * Setup the local APIC timer for this CPU. Copy the initialized values
  * of the boot CPU and register the clock event in the framework.
  */
 static void __cpuinit setup_APIC_timer(void)
index c4f9182ca3ac0a9538659243f2bc03547f0ae198..4c9c67bf09b70e093e784c579b4e95a88e3acac8 100644 (file)
  *         is now the way life works).
  *         Fix thinko in suspend() (wrong return).
  *         Notify drivers on critical suspend.
- *         Make kapmd absorb more idle time (Pavel Machek <pavel@suse.cz>
+ *         Make kapmd absorb more idle time (Pavel Machek <pavel@ucw.cz>
  *         modified by sfr).
  *         Disable interrupts while we are suspended (Andy Henroid
  *         <andy_henroid@yahoo.com> fixed by sfr).
index 3e90cce3dc8bfe50fa245e8febe2aaf2625df25e..1376f4144b3f4dbf0460556f7ed7a035b2b43a9c 100644 (file)
@@ -9,7 +9,7 @@
  *  Based on the powernow-k7.c module written by Dave Jones.
  *  (C) 2003 Dave Jones on behalf of SuSE Labs
  *  (C) 2004 Dominik Brodowski <linux@brodo.de>
- *  (C) 2004 Pavel Machek <pavel@suse.cz>
+ *  (C) 2004 Pavel Machek <pavel@ucw.cz>
  *  Licensed under the terms of the GNU GPL License version 2.
  *  Based upon datasheets & sample CPUs kindly provided by AMD.
  *
index b2e2460373920128697e5bf7e93e3ca708de64ca..784360c0625c04edbcee49e13f5fe471add070ec 100644 (file)
@@ -20,7 +20,7 @@
 
 static void __init i386_default_early_setup(void)
 {
-       /* Initilize 32bit specific setup functions */
+       /* Initialize 32bit specific setup functions */
        x86_init.resources.probe_roms = probe_roms;
        x86_init.resources.reserve_resources = i386_reserve_resources;
        x86_init.mpparse.setup_ioapic_ids = setup_ioapic_ids_from_mpc;
index ee41bba315d1897a5d30602a830d944f94f42fc7..9a6674689a20f8e491f0a0f845079de9febaac5f 100644 (file)
@@ -2,7 +2,7 @@
  *  linux/arch/x86_64/mm/init.c
  *
  *  Copyright (C) 1995  Linus Torvalds
- *  Copyright (C) 2000  Pavel Machek <pavel@suse.cz>
+ *  Copyright (C) 2000  Pavel Machek <pavel@ucw.cz>
  *  Copyright (C) 2002,2003 Andi Kleen <ak@suse.de>
  */
 
index 1290ba54b3506ba5325cecc01ac52853b36d0f26..e7e8c5f549563a6b65a4b139d8202ee878c80c74 100644 (file)
@@ -4,7 +4,7 @@
  * Distribute under GPLv2
  *
  * Copyright (c) 2007 Rafael J. Wysocki <rjw@sisk.pl>
- * Copyright (c) 2002 Pavel Machek <pavel@suse.cz>
+ * Copyright (c) 2002 Pavel Machek <pavel@ucw.cz>
  * Copyright (c) 2001 Patrick Mochel <mochel@osdl.org>
  */
 
index d24f983ba1e5f670cc4cb9dbaf0bf056416e8278..460f314d13e54fff4be0c3cd3d9a126a2973d0c7 100644 (file)
@@ -4,7 +4,7 @@
  * Distribute under GPLv2
  *
  * Copyright (c) 2007 Rafael J. Wysocki <rjw@sisk.pl>
- * Copyright (c) 2002 Pavel Machek <pavel@suse.cz>
+ * Copyright (c) 2002 Pavel Machek <pavel@ucw.cz>
  * Copyright (c) 2001 Patrick Mochel <mochel@osdl.org>
  */
 
index 51ceaee98f9feb8c7275a9877cb54866ffe2375a..e1e7143ca1e3e66d8766e04bbba85965b8f157f8 100644 (file)
@@ -335,7 +335,7 @@ static void cciss_map_sg_chain_block(ctlr_info_t *h, CommandList_struct *c,
 static const char *raid_label[] = { "0", "4", "1(1+0)", "5", "5+1", "ADG",
        "UNKNOWN"
 };
-#define RAID_UNKNOWN (sizeof(raid_label) / sizeof(raid_label[0])-1)
+#define RAID_UNKNOWN (ARRAY_SIZE(raid_label)-1)
 
 #ifdef CONFIG_PROC_FS
 
index dff48701b84d8784f0f85a9202abbaaf16c522fc..ec1711f7c5c56db8d2d089e849728a29f5f62980 100644 (file)
@@ -1087,7 +1087,7 @@ static enum finish_epoch drbd_may_finish_epoch(struct drbd_conf *mdev,
                        } else {
                                epoch->flags = 0;
                                atomic_set(&epoch->epoch_size, 0);
-                               /* atomic_set(&epoch->active, 0); is alrady zero */
+                               /* atomic_set(&epoch->active, 0); is already zero */
                                if (rv == FE_STILL_LIVE)
                                        rv = FE_RECYCLED;
                        }
index 218d091f3c52180106633075f8750db044a11434..16c3c8613cd317ece09ea6619745401e0ea0c699 100644 (file)
@@ -4,7 +4,7 @@
  * Note that you can not swap over this thing, yet. Seems to work but
  * deadlocks sometimes - you can not swap over TCP in general.
  * 
- * Copyright 1997-2000, 2008 Pavel Machek <pavel@suse.cz>
+ * Copyright 1997-2000, 2008 Pavel Machek <pavel@ucw.cz>
  * Parts copyright 2001 Steven Whitehouse <steve@chygwyn.com>
  *
  * This file is released under GPLv2 or later.
index 4561ce2fba6d21cb459619114e416816d90ddc6c..334cf5c8c8b6e09f56b67b70ec54921ac8f325fd 100644 (file)
@@ -4845,7 +4845,7 @@ static int register_test(struct slgt_info *info)
 {
        static unsigned short patterns[] =
                {0x0000, 0xffff, 0xaaaa, 0x5555, 0x6969, 0x9696};
-       static unsigned int count = sizeof(patterns)/sizeof(patterns[0]);
+       static unsigned int count = ARRAY_SIZE(patterns);
        unsigned int i;
        int rc = 0;
 
index 7d4edb0026191f1306b343d391598cea7e61e400..5f5fbc0716ff1b28e43986faa6f18e918cb43ddc 100644 (file)
 #define CRYPTO4XX_PRNG_LFSR_H                  0x00070034
 
 /**
- * Initilize CRYPTO ENGINE registers, and memory bases.
+ * Initialize CRYPTO ENGINE registers, and memory bases.
  */
 #define PPC4XX_PDR_POLL                                0x3ff
 #define PPC4XX_OUTPUT_THRESHOLD                        2
index bd5250e8c00c2b6e3aaf285c3e23dd9f158978c3..e88076022a7a8266ad12ea9e0cdf6d0279560972 100644 (file)
@@ -69,7 +69,7 @@ static struct at_desc *atc_first_queued(struct at_dma_chan *atchan)
 }
 
 /**
- * atc_alloc_descriptor - allocate and return an initilized descriptor
+ * atc_alloc_descriptor - allocate and return an initialized descriptor
  * @chan: the channel to allocate descriptors for
  * @gfp_flags: GFP allocation flags
  *
index 8088b14ba5f7fd8077e5b9794754d2a9afa41477..f0fd6db6063cd0b2d81264d469fdb4afe6c6f15b 100644 (file)
@@ -10,7 +10,7 @@
  * Description:
  *   DMA engine driver for Freescale MPC8540 DMA controller, which is
  *   also fit for MPC8560, MPC8555, MPC8548, MPC8641, and etc.
- *   The support for MPC8349 DMA contorller is also added.
+ *   The support for MPC8349 DMA controller is also added.
  *
  * This driver instructs the DMA controller to issue the PCI Read Multiple
  * command for PCI read operations, instead of using the default PCI Read Line
index f87bf104df7a4cc79b2991759c88e00246cf64d4..9585e531ac6bdc51c9cf2cfbd2e4a41bb7dadff6 100644 (file)
@@ -929,13 +929,11 @@ drm_mode_do_interlace_quirk(struct drm_display_mode *mode,
                { 1440,  576 },
                { 2880,  576 },
        };
-       static const int n_sizes =
-               sizeof(cea_interlaced)/sizeof(cea_interlaced[0]);
 
        if (!(pt->misc & DRM_EDID_PT_INTERLACED))
                return;
 
-       for (i = 0; i < n_sizes; i++) {
+       for (i = 0; i < ARRAY_SIZE(cea_interlaced); i++) {
                if ((mode->hdisplay == cea_interlaced[i].w) &&
                    (mode->vdisplay == cea_interlaced[i].h / 2)) {
                        mode->vdisplay *= 2;
@@ -1375,7 +1373,6 @@ static const struct {
        { 1920, 1440, 60, 0 },
        { 1920, 1440, 75, 0 },
 };
-static const int num_est3_modes = sizeof(est3_modes) / sizeof(est3_modes[0]);
 
 static int
 drm_est3_modes(struct drm_connector *connector, struct detailed_timing *timing)
@@ -1387,7 +1384,7 @@ drm_est3_modes(struct drm_connector *connector, struct detailed_timing *timing)
        for (i = 0; i < 6; i++) {
                for (j = 7; j > 0; j--) {
                        m = (i * 8) + (7 - j);
-                       if (m >= num_est3_modes)
+                       if (m >= ARRAY_SIZE(est3_modes))
                                break;
                        if (est[i] & (1 << j)) {
                                mode = drm_mode_find_dmt(connector->dev,
index 76993ac16cc1b1b84ca4c4ff102458ae47f76c80..03c231be22736082d89a4b69aeb593f5e6b3b127 100644 (file)
@@ -392,13 +392,13 @@ static void intel_sdvo_debug_write(struct intel_encoder *intel_encoder, u8 cmd,
                DRM_LOG_KMS("%02X ", ((u8 *)args)[i]);
        for (; i < 8; i++)
                DRM_LOG_KMS("   ");
-       for (i = 0; i < sizeof(sdvo_cmd_names) / sizeof(sdvo_cmd_names[0]); i++) {
+       for (i = 0; i < ARRAY_SIZE(sdvo_cmd_names); i++) {
                if (cmd == sdvo_cmd_names[i].cmd) {
                        DRM_LOG_KMS("(%s)", sdvo_cmd_names[i].name);
                        break;
                }
        }
-       if (i == sizeof(sdvo_cmd_names)/ sizeof(sdvo_cmd_names[0]))
+       if (i == ARRAY_SIZE(sdvo_cmd_names))
                DRM_LOG_KMS("(%02X)", cmd);
        DRM_LOG_KMS("\n");
 }
index 6d553c29d10666656a2a78c7f289e14565948139..d2d4e4045ca9b74788257385b4d8178aac41a1ac 100644 (file)
@@ -1424,7 +1424,7 @@ intel_tv_get_modes(struct drm_connector *connector)
        int j, count = 0;
        u64 tmp;
 
-       for (j = 0; j < sizeof(input_res_table) / sizeof(input_res_table[0]);
+       for (j = 0; j < ARRAY_SIZE(input_res_table);
             j++) {
                struct input_res *input = &input_res_table[j];
                unsigned int hactive_s = input->w;
index 2d0c9ca484c519bd9797b2a1f7917abca015a33d..fa05cda8c98ff732103ef35d8f4c8513d238af42 100644 (file)
@@ -552,7 +552,7 @@ int savage_driver_load(struct drm_device *dev, unsigned long chipset)
 
 
 /*
- * Initalize mappings. On Savage4 and SavageIX the alignment
+ * Initialize mappings. On Savage4 and SavageIX the alignment
  * and size of the aperture is not suitable for automatic MTRR setup
  * in drm_addmap. Therefore we add them manually before the maps are
  * initialized, and tear them down on last close.
index 8612378b131edba7589099226d51e594863e5c42..5f2d5df01e5c370acbc1be99772701626419daf5 100644 (file)
@@ -1017,7 +1017,7 @@ int vmw_gmr_id_alloc(struct vmw_private *dev_priv, uint32_t *p_id)
 }
 
 /*
- * Stream managment
+ * Stream management
  */
 
 static void vmw_stream_destroy(struct vmw_resource *res)
index c102d23d9b3821361c69f33071fd8ac728036d4b..79399534782c6c826b6e669ada8c5d7a97c93182 100644 (file)
@@ -92,7 +92,7 @@ static void ide_disk_release(struct device *dev)
 
 /*
  * On HPA drives the capacity needs to be
- * reinitilized on resume otherwise the disk
+ * reinitialized on resume otherwise the disk
  * can not be used and a hard reset is required
  */
 static void ide_gd_resume(ide_drive_t *drive)
index ae47bfd22bd525eb4d4ff2b317790a3b408cc635..9bbb65bba67eecea4ad3c0de2a9e258900e75bb9 100644 (file)
@@ -816,7 +816,7 @@ static void __flush_qp(struct iwch_qp *qhp, unsigned long *flag)
        atomic_inc(&qhp->refcnt);
        spin_unlock_irqrestore(&qhp->lock, *flag);
 
-       /* locking heirarchy: cq lock first, then qp lock. */
+       /* locking hierarchy: cq lock first, then qp lock. */
        spin_lock_irqsave(&rchp->lock, *flag);
        spin_lock(&qhp->lock);
        cxio_flush_hw_cq(&rchp->cq);
@@ -827,7 +827,7 @@ static void __flush_qp(struct iwch_qp *qhp, unsigned long *flag)
        if (flushed)
                (*rchp->ibcq.comp_handler)(&rchp->ibcq, rchp->ibcq.cq_context);
 
-       /* locking heirarchy: cq lock first, then qp lock. */
+       /* locking hierarchy: cq lock first, then qp lock. */
        spin_lock_irqsave(&schp->lock, *flag);
        spin_lock(&qhp->lock);
        cxio_flush_hw_cq(&schp->cq);
index 7065cb3105538f62cca0edcf8a2f951cddba210a..86b93f2ecca3ffbfeffb85b49f42ff47f87ec24f 100644 (file)
@@ -905,7 +905,7 @@ static void __flush_qp(struct c4iw_qp *qhp, struct c4iw_cq *rchp,
        atomic_inc(&qhp->refcnt);
        spin_unlock_irqrestore(&qhp->lock, *flag);
 
-       /* locking heirarchy: cq lock first, then qp lock. */
+       /* locking hierarchy: cq lock first, then qp lock. */
        spin_lock_irqsave(&rchp->lock, *flag);
        spin_lock(&qhp->lock);
        c4iw_flush_hw_cq(&rchp->cq);
@@ -916,7 +916,7 @@ static void __flush_qp(struct c4iw_qp *qhp, struct c4iw_cq *rchp,
        if (flushed)
                (*rchp->ibcq.comp_handler)(&rchp->ibcq, rchp->ibcq.cq_context);
 
-       /* locking heirarchy: cq lock first, then qp lock. */
+       /* locking hierarchy: cq lock first, then qp lock. */
        spin_lock_irqsave(&schp->lock, *flag);
        spin_lock(&qhp->lock);
        c4iw_flush_hw_cq(&schp->cq);
index 39c1c3618ec7ac8b9c5861919c7f423863b10eeb..a46e514c367b6faa86fc507a4047e94c49eb058d 100644 (file)
@@ -49,7 +49,7 @@
 #include "hipz_hw.h"
 
 /*
- * hipz_h_alloc_resource_eq allocates EQ resources in HW and FW, initalize
+ * hipz_h_alloc_resource_eq allocates EQ resources in HW and FW, initialize
  * resources, create the empty EQPT (ring).
  */
 u64 hipz_h_alloc_resource_eq(const struct ipz_adapter_handle adapter_handle,
index 9c5c66d16a2316fc58db3d3aa3e82b85d941b36a..65eb8929db22c69da11950ef0ee5e80913a9cc52 100644 (file)
@@ -2055,7 +2055,7 @@ static int ipath_close(struct inode *in, struct file *fp)
 
        mutex_lock(&ipath_mutex);
 
-       fd = (struct ipath_filedata *) fp->private_data;
+       fd = fp->private_data;
        fp->private_data = NULL;
        pd = fd->pd;
        if (!pd) {
index 0fe27baf5e723038110cafaa56e69646bcc27526..c431d09e401ac2f91d0627990c781cc2f183a69f 100644 (file)
@@ -1118,7 +1118,7 @@ struct ad714x_chip *ad714x_probe(struct device *dev, u16 bus_type, int irq,
        if (error)
                goto err_free_mem;
 
-       /* initilize and request sw/hw resources */
+       /* initialize and request sw/hw resources */
 
        ad714x_hw_init(ad714x);
        mutex_init(&ad714x->mutex);
index d4215369bb59dde8f5ab629db3ceb259d0c0480e..472a2af79446f61306060d236392b6a639c7cc26 100644 (file)
@@ -1116,7 +1116,7 @@ fritz_remove_pci(struct pci_dev *pdev)
                release_card(card);
        else
                if (debug)
-                       pr_info("%s: drvdata allready removed\n", __func__);
+                       pr_info("%s: drvdata already removed\n", __func__);
 }
 
 static struct pci_device_id fcpci_ids[] __devinitdata = {
index 095ed76ebe8056e3d7d816accfc1e32aea1fdf84..d3171954fa45f9f69c0636a8c37c9aa13dd04423 100644 (file)
@@ -4268,7 +4268,7 @@ init_card(struct hfc_multi *hc)
                goto error;
        /*
         * Finally enable IRQ output
-        * this is only allowed, if an IRQ routine is allready
+        * this is only allowed, if an IRQ routine is already
         * established for this HFC, so don't do that earlier
         */
        spin_lock_irqsave(&hc->lock, flags);
@@ -5212,7 +5212,7 @@ static void __devexit hfc_remove_pci(struct pci_dev *pdev)
                spin_unlock_irqrestore(&HFClock, flags);
        }  else {
                if (debug)
-                       printk(KERN_DEBUG "%s: drvdata allready removed\n",
+                       printk(KERN_DEBUG "%s: drvdata already removed\n",
                            __func__);
        }
 }
index 5940a2c12074a285bce286fb6659eb73944dd96f..65ded0576013ed9d858da7c8803fce289fbc7628 100644 (file)
@@ -1773,7 +1773,7 @@ init_card(struct hfc_pci *hc)
                inithfcpci(hc);
                /*
                 * Finally enable IRQ output
-                * this is only allowed, if an IRQ routine is allready
+                * this is only allowed, if an IRQ routine is already
                 * established for this HFC, so don't do that earlier
                 */
                enable_hwirq(hc);
index f5b3d2b26a0811455bccd1824face31364eaa372..4975976e93ac24e40af098c2ec09b4ea5e9be9d9 100644 (file)
@@ -1150,7 +1150,7 @@ inf_remove(struct pci_dev *pdev)
        if (card)
                release_card(card);
        else
-               pr_debug("%s: drvdata allready removed\n", __func__);
+               pr_debug("%s: drvdata already removed\n", __func__);
 }
 
 static struct pci_driver infineon_driver = {
index d097a4e40e2ba66442ad87d4f44824927f8a0ab2..9e07246bb9e7d9f9b600f70df4e895b3254d07eb 100644 (file)
@@ -484,7 +484,7 @@ sfax_remove_pci(struct pci_dev *pdev)
        if (card)
                release_card(card);
        else
-               pr_debug("%s: drvdata allready removed\n", __func__);
+               pr_debug("%s: drvdata already removed\n", __func__);
 }
 
 static struct pci_device_id sfaxpci_ids[] __devinitdata = {
index 31f9d71fb22f7f094fc5d373b0b4e3e9a33a51c4..9e84870b971c5e0510808608ad050dca4a592739 100644 (file)
@@ -1402,7 +1402,7 @@ w6692_remove_pci(struct pci_dev *pdev)
                release_card(card);
        else
                if (debug)
-                       pr_notice("%s: drvdata allready removed\n", __func__);
+                       pr_notice("%s: drvdata already removed\n", __func__);
 }
 
 static struct pci_device_id w6692_ids[] = {
index f58ded8f403f2f8d740cffb908a939394f720bd1..f150330b5a23e24adb74af94535c83bbbeea7c36 100644 (file)
@@ -1172,7 +1172,7 @@ CallcFreeChan(struct IsdnCardState *csta)
                        kfree(csta->channel[i].b_st);
                        csta->channel[i].b_st = NULL;
                } else
-                       printk(KERN_WARNING "CallcFreeChan b_st ch%d allready freed\n", i);
+                       printk(KERN_WARNING "CallcFreeChan b_st ch%d already freed\n", i);
                if (i || test_bit(FLG_TWO_DCHAN, &csta->HW_Flags)) {
                        release_d_st(csta->channel + i);
                } else
index f4cb178b0666ab3d6f9b594bb367d040bb507a3b..842f9c9e875dbb1c647e7737c470ed99e5077935 100644 (file)
@@ -130,7 +130,7 @@ tei_id_request(struct FsmInst *fi, int event, void *arg)
 
        if (st->l2.tei != -1) {
                st->ma.tei_m.printdebug(&st->ma.tei_m,
-                       "assign request for allready asigned tei %d",
+                       "assign request for already asigned tei %d",
                        st->l2.tei);
                return;
        }
index 34e898fe2f4f32539d6a53144fad72e18a2b3f67..1b85d9d274965e583a5c972eb7c1a597af879dab 100644 (file)
@@ -457,7 +457,7 @@ tei_id_request(struct FsmInst *fi, int event, void *arg)
 
        if (tm->l2->tei != GROUP_TEI) {
                tm->tei_m.printdebug(&tm->tei_m,
-                       "assign request for allready assigned tei %d",
+                       "assign request for already assigned tei %d",
                        tm->l2->tei);
                return;
        }
index 0c87a3c3899ada10eceee75b0cd2ec07be1030fc..a19f649666d5c50a617aaa2200304e7f2ecf66c8 100644 (file)
@@ -1297,7 +1297,7 @@ int smsclient_sendrequest(struct smscore_client_t *client,
 EXPORT_SYMBOL_GPL(smsclient_sendrequest);
 
 
-/* old GPIO managments implementation */
+/* old GPIO managements implementation */
 int smscore_configure_gpio(struct smscore_device_t *coredev, u32 pin,
                           struct smscore_config_gpio *pinconfig)
 {
index 0c786e00ebcf39e758bb60f29f73f82f826fadc4..d0a133abe767388e6695f2271831a50b9e547d46 100644 (file)
@@ -805,7 +805,7 @@ static int sd_init(struct gspca_dev *gspca_dev)
                        /* Set AE AWB Banding Type 3-> 50Hz 2-> 60Hz */
                        spca504A_acknowledged_command(gspca_dev, 0x24,
                                                        8, 3, 0x9e, 1);
-                       /* Twice sequencial need status 0xff->0x9e->0x9d */
+                       /* Twice sequential need status 0xff->0x9e->0x9d */
                        spca504A_acknowledged_command(gspca_dev, 0x24,
                                                        8, 3, 0x9e, 0);
 
@@ -880,7 +880,7 @@ static int sd_start(struct gspca_dev *gspca_dev)
                        /* Set AE AWB Banding Type 3-> 50Hz 2-> 60Hz */
                        spca504A_acknowledged_command(gspca_dev, 0x24,
                                                        8, 3, 0x9e, 1);
-                       /* Twice sequencial need status 0xff->0x9e->0x9d */
+                       /* Twice sequential need status 0xff->0x9e->0x9d */
                        spca504A_acknowledged_command(gspca_dev, 0x24,
                                                        8, 3, 0x9e, 0);
                        spca504A_acknowledged_command(gspca_dev, 0x24,
index 6030410c66770fd906a8864b7994b4d97fee7805..5d6fd01f918a4d5869edcf59eca93154794d38e3 100644 (file)
@@ -2,7 +2,7 @@
  * USB ViCam WebCam driver
  * Copyright (c) 2002 Joe Burks (jburks@wavicle.org),
  *                    Christopher L Cheney (ccheney@cheney.cx),
- *                    Pavel Machek (pavel@suse.cz),
+ *                    Pavel Machek (pavel@ucw.cz),
  *                    John Tyner (jtyner@cs.ucr.edu),
  *                    Monroe Williams (monroe@pobox.com)
  *
index 9004a5fe764300e3fd5d32a091b395cbd014c987..d2f20c2acae2e99b7dd52c623f2158e6abcabc55 100644 (file)
@@ -5,7 +5,7 @@
  * Copyright (C) 1997-2000  Jakub Jelinek  (jakub@redhat.com)
  * Copyright (C) 1998  Eddie C. Dost  (ecd@skynet.be)
  * Copyright (C) 2001,2002  Andi Kleen, SuSE Labs
- * Copyright (C) 2003       Pavel Machek (pavel@suse.cz)
+ * Copyright (C) 2003       Pavel Machek (pavel@ucw.cz)
  * Copyright (C) 2005       Philippe De Muyter (phdm@macqel.be)
  * Copyright (C) 2008       Hans Verkuil <hverkuil@xs4all.nl>
  *
index 8997add1248e9965debac49856ff76fddb28330e..307e847fe1cd87e02762173a8443f0ff6ea3acec 100644 (file)
@@ -391,7 +391,7 @@ struct zoran {
 
        struct mutex resource_lock;     /* prevent evil stuff */
 
-       u8 initialized;         /* flag if zoran has been correctly initalized */
+       u8 initialized;         /* flag if zoran has been correctly initialized */
        int user;               /* number of current users */
        struct card_info card;
        struct tvnorm *timing;
index e6ad4b205611d41844c05e690cb0ebfd0abb4ad7..6f846abee3e40c0ea5da5b149bf24b77f8f64b4c 100644 (file)
@@ -484,7 +484,7 @@ zr36057_overlay (struct zoran *zr,
                                zr->overlay_settings.format);
 
                /* Start and length of each line MUST be 4-byte aligned.
-                * This should be allready checked before the call to this routine.
+                * This should be already checked before the call to this routine.
                 * All error messages are internal driver checking only! */
 
                /* video display top and bottom registers */
index 639dd87c663f01a6af22d62bb9a3d8ef960fc68e..e1985609af4bc416a7ba7d6e42f7dd872461ad9e 100644 (file)
@@ -236,7 +236,7 @@ zr36050_pushit (struct zr36050 *ptr,
 
    Could be variable, but until it's not needed it they are just fixed to save
    memory. Otherwise expand zr36050 structure with arrays, push the values to
-   it and initalize from there, as e.g. the linux zr36057/60 driver does it.
+   it and initialize from there, as e.g. the linux zr36057/60 driver does it.
    ========================================================================= */
 
 static const char zr36050_dqt[0x86] = {
index 008746ff7746a45f55856321bb2a24e2cdc375cc..5e4f57cbf31478d35f361a55ca2adc8f2f77f3b3 100644 (file)
@@ -227,7 +227,7 @@ zr36060_pushit (struct zr36060 *ptr,
 
    Could be variable, but until it's not needed it they are just fixed to save
    memory. Otherwise expand zr36060 structure with arrays, push the values to
-   it and initalize from there, as e.g. the linux zr36057/60 driver does it.
+   it and initialize from there, as e.g. the linux zr36057/60 driver does it.
    ========================================================================= */
 
 static const char zr36060_dqt[0x86] = {
index a6a57011ba6cfcba8f7497b6d270084d84a69295..14d162fb8a2a99dad2877fcf70157d722793fef2 100644 (file)
@@ -1794,7 +1794,7 @@ mpt_attach(struct pci_dev *pdev, const struct pci_device_id *id)
        ioc->sh = NULL;
        ioc->cached_fw = NULL;
 
-       /* Initilize SCSI Config Data structure
+       /* Initialize SCSI Config Data structure
         */
        memset(&ioc->spi_data, 0, sizeof(SpiCfgData));
 
@@ -2471,7 +2471,7 @@ mpt_do_ioc_recovery(MPT_ADAPTER *ioc, u32 reason, int sleepFlag)
        if ((ret == 0) && (reason == MPT_HOSTEVENT_IOC_BRINGUP)) {
 
                /*
-                * Initalize link list for inactive raid volumes.
+                * Initialize link list for inactive raid volumes.
                 */
                mutex_init(&ioc->raid_data.inactive_list_mutex);
                INIT_LIST_HEAD(&ioc->raid_data.inactive_list);
index ca03428b59ccabbaca0c517a59624f91b9c676cf..3dfda9cc677d1f7de97edc2983d4d48283b293c2 100644 (file)
@@ -1836,7 +1836,7 @@ static struct nand_bbt_descr bbt_mirror_descr = {
        .pattern = mirror_pattern,
 };
 
-/* initalize driver data structures */
+/* initialize driver data structures */
 void denali_drv_init(struct denali_nand_info *denali)
 {
        denali->idx = 0;
index 38395dfa49639915715f3a43770e855b49dcb60a..70705d1306b93e161260852d39f6adf6fe308226 100644 (file)
@@ -729,14 +729,14 @@ static void mc32_halt_transceiver(struct net_device *dev)
  *     mc32_load_rx_ring       -       load the ring of receive buffers
  *     @dev: 3c527 to build the ring for
  *
- *     This initalises the on-card and driver datastructures to
+ *     This initialises the on-card and driver datastructures to
  *     the point where mc32_start_transceiver() can be called.
  *
  *     The card sets up the receive ring for us. We are required to use the
  *     ring it provides, although the size of the ring is configurable.
  *
  *     We allocate an sk_buff for each ring entry in turn and
- *     initalise its house-keeping info. At the same time, we read
+ *     initialise its house-keeping info. At the same time, we read
  *     each 'next' pointer in our rx_ring array. This reduces slow
  *     shared-memory reads and makes it easy to access predecessor
  *     descriptors.
index 79636ee35829f60fff841a677db4065bd5231064..0362c8d31a08b629dbfc24d7f81235d94f7279f6 100644 (file)
@@ -80,7 +80,7 @@ static struct net_device * __init ipddp_init(void)
        if (version_printed++ == 0)
                 printk(version);
 
-       /* Initalize the device structure. */
+       /* Initialize the device structure. */
        dev->netdev_ops = &ipddp_netdev_ops;
 
         dev->type = ARPHRD_IPDDP;              /* IP over DDP tunnel */
index 063026de49571ae638dad9f604175bfd51ddfebf..3f1b7c3965bb3bfb17cb45a6a22650561c3ed3a4 100644 (file)
@@ -52,7 +52,7 @@
  */
 #define MEMBAR_CTRL_INT_CTRL_HOSTINTR_MASK     (1 << 29) /* bit 29 */
 
-/********* Power managment (WOL) **********/
+/********* Power management (WOL) **********/
 #define PCICFG_PM_CONTROL_OFFSET               0x44
 #define PCICFG_PM_CONTROL_MASK                 0x108   /* bits 3 & 8 */
 
index 28b53d1cd4f168701fa4ce41a7c5e0edbaa6f783..efd4c70753dbe1b616b6436be72a87d4ef667cd5 100644 (file)
@@ -916,7 +916,7 @@ static void gfar_init_filer_table(struct gfar_private *priv)
        rqfar = cluster_entry_per_class(priv, rqfar, RQFPR_IPV4 | RQFPR_UDP);
        rqfar = cluster_entry_per_class(priv, rqfar, RQFPR_IPV4 | RQFPR_TCP);
 
-       /* cur_filer_idx indicated the fisrt non-masked rule */
+       /* cur_filer_idx indicated the first non-masked rule */
        priv->cur_filer_idx = rqfar;
 
        /* Rest are masked rules */
index 68e5ac8832ad0b8a1678fb50e38d996fbd684524..dfc787fa8b1756a0eb9babb2afc0980aa8aa3046 100644 (file)
@@ -1071,7 +1071,7 @@ static void hp100_mmuinit(struct net_device *dev)
        if (lp->mode == 1)
                hp100_init_pdls(dev);
 
-       /* Go to performance page and initalize isr and imr registers */
+       /* Go to performance page and initialize isr and imr registers */
        hp100_page(PERFORMANCE);
        hp100_outw(0xfefe, IRQ_MASK);   /* mask off all ints */
        hp100_outw(0xffff, IRQ_STATUS); /* ack IRQ */
index b150c102ca5ace67ce0fb988266ba88b13023cbe..0f1d4e96cf893884b3e6f0a09fe5c9a41ca75d6d 100644 (file)
@@ -1045,7 +1045,7 @@ static int emac_change_mtu(struct net_device *ndev, int new_mtu)
        DBG(dev, "change_mtu(%d)" NL, new_mtu);
 
        if (netif_running(ndev)) {
-               /* Check if we really need to reinitalize RX ring */
+               /* Check if we really need to reinitialize RX ring */
                if (emac_rx_skb_size(ndev->mtu) != emac_rx_skb_size(new_mtu))
                        ret = emac_resize_rx_ring(dev, new_mtu);
        }
index 7805bbf1d53a6ceeaf02f8c68f4e3740e2c4939d..aa50ee1b02473e282c8834714d77f1ef136ddd09 100644 (file)
@@ -6812,7 +6812,7 @@ static int stp;
 static int fast_aging;
 
 /**
- * netdev_init - initalize network device.
+ * netdev_init - initialize network device.
  * @dev:       Network device.
  *
  * This function initializes the network device.
index 6474c4973d3ad977542ba53529ed9f0165cd21d6..dc6bf042579dde0ccd32e2ccdb8ef67995975a03 100644 (file)
@@ -449,7 +449,7 @@ static u32 temac_setoptions(struct net_device *ndev, u32 options)
        return (0);
 }
 
-/* Initilize temac */
+/* Initialize temac */
 static void temac_device_reset(struct net_device *ndev)
 {
        struct temac_local *lp = netdev_priv(ndev);
index 501a55ffce570d5e9920efb6933346705473e872..70a9bc5be1a17fadb1b4ff1c210a6246365b93f4 100644 (file)
@@ -1325,7 +1325,7 @@ static int sh_mdio_init(struct net_device *ndev, int id)
        bitbang->mdc_msk = 0x01;
        bitbang->ctrl.ops = &bb_ops;
 
-       /* MII contorller setting */
+       /* MII controller setting */
        mdp->mii_bus = alloc_mdio_bitbang(&bitbang->ctrl);
        if (!mdp->mii_bus) {
                ret = -ENOMEM;
index 29e6c63d39fd3de1e10f8af2412c5532f898bc93..0bc4f3030a806e53c7bb9a1528ec1933e62a0e8d 100644 (file)
@@ -589,7 +589,7 @@ static int dmfe_open(struct DEVICE *dev)
                db->dm910x_chk_mode = 1;        /* Enter the check mode */
        }
 
-       /* Initilize DM910X board */
+       /* Initialize DM910X board */
        dmfe_init_dm910x(dev);
 
        /* Active System Interface */
@@ -606,9 +606,9 @@ static int dmfe_open(struct DEVICE *dev)
 }
 
 
-/*     Initilize DM910X board
+/*     Initialize DM910X board
  *     Reset DM910X board
- *     Initilize TX/Rx descriptor chain structure
+ *     Initialize TX/Rx descriptor chain structure
  *     Send the set-up frame
  *     Enable Tx/Rx machine
  */
@@ -649,7 +649,7 @@ static void dmfe_init_dm910x(struct DEVICE *dev)
        if ( !(db->media_mode & DMFE_AUTO) )
                db->op_mode = db->media_mode;   /* Force Mode */
 
-       /* Initiliaze Transmit/Receive decriptor and CR3/4 */
+       /* Initialize Transmit/Receive decriptor and CR3/4 */
        dmfe_descriptor_init(db, ioaddr);
 
        /* Init CR6 to program DM910x operation */
@@ -1288,7 +1288,7 @@ static void dmfe_timer(unsigned long data)
  *     Stop DM910X board
  *     Free Tx/Rx allocated memory
  *     Reset DM910X board
- *     Re-initilize DM910X board
+ *     Re-initialize DM910X board
  */
 
 static void dmfe_dynamic_reset(struct DEVICE *dev)
@@ -1316,7 +1316,7 @@ static void dmfe_dynamic_reset(struct DEVICE *dev)
        netif_carrier_off(dev);
        db->wait_reset = 0;
 
-       /* Re-initilize DM910X board */
+       /* Re-initialize DM910X board */
        dmfe_init_dm910x(dev);
 
        /* Restart upper layer interface */
@@ -1447,7 +1447,7 @@ static void update_cr6(u32 cr6_data, unsigned long ioaddr)
 
 /*
  *     Send a setup frame for DM9132
- *     This setup frame initilize DM910X address filter mode
+ *     This setup frame initialize DM910X address filter mode
 */
 
 static void dm9132_id_table(struct DEVICE *dev)
@@ -1489,7 +1489,7 @@ static void dm9132_id_table(struct DEVICE *dev)
 
 /*
  *     Send a setup frame for DM9102/DM9102A
- *     This setup frame initilize DM910X address filter mode
+ *     This setup frame initialize DM910X address filter mode
  */
 
 static void send_filter_frame(struct DEVICE *dev)
@@ -2142,7 +2142,7 @@ static int dmfe_resume(struct pci_dev *pci_dev)
        pci_set_power_state(pci_dev, PCI_D0);
        pci_restore_state(pci_dev);
 
-       /* Re-initilize DM910X board */
+       /* Re-initialize DM910X board */
        dmfe_init_dm910x(dev);
 
        /* Disable WOL */
@@ -2196,7 +2196,7 @@ MODULE_PARM_DESC(SF_mode, "Davicom DM9xxx special function "
 
 /*     Description:
  *     when user used insmod to add module, system invoked init_module()
- *     to initilize and register.
+ *     to initialize and register.
  */
 
 static int __init dmfe_init_module(void)
index d86e8f31e7fcfc8b0b3bc1e1a46cc6f35cb8bfdb..7f48e040c3be19de1173ebb1d0946f2312c51967 100644 (file)
@@ -50,7 +50,7 @@
  *
  * ROADMAP
  *
- * i2400m_dev_initalize()       Called by i2400m_dev_start()
+ * i2400m_dev_initialize()       Called by i2400m_dev_start()
  *   i2400m_set_init_config()
  *   i2400m_cmd_get_state()
  * i2400m_dev_shutdown()        Called by i2400m_dev_stop()
index 231dbd77f5f5b31669116799ceeab36467b79963..cb3c25f0c190a4b168eb65f9ee0d8ec52d4e692e 100644 (file)
@@ -1225,7 +1225,7 @@ static void ap_crypt_init(struct ap_data *ap)
 
 
 /* Generate challenge data for shared key authentication. IEEE 802.11 specifies
- * that WEP algorithm is used for generating challange. This should be unique,
+ * that WEP algorithm is used for generating challenge. This should be unique,
  * but otherwise there is not really need for randomness etc. Initialize WEP
  * with pseudo random key and then use increasing IV to get unique challenge
  * streams.
index 2f999fc94f60ca9b36bb11d70fd29096c85eaf7e..e9d9d622a9b0a230a6ea0ce365b54e106230571d 100644 (file)
@@ -1896,7 +1896,7 @@ fail:
 /* Some SMP systems have reported number of odd errors with hostap_pci. fid
  * register has changed values between consecutive reads for an unknown reason.
  * This should really not happen, so more debugging is needed. This test
- * version is a big slower, but it will detect most of such register changes
+ * version is a bit slower, but it will detect most of such register changes
  * and will try to get the correct fid eventually. */
 #define EXTRA_FID_READ_TESTS
 
index f511e70d454c64fc19de5e0c41835684d8e8f58a..75a80e46b391103673da0f5b62f48d1cf384ee72 100644 (file)
@@ -1241,10 +1241,10 @@ static struct parisc_driver ccio_driver = {
 };
 
 /**
- * ccio_ioc_init - Initalize the I/O Controller
+ * ccio_ioc_init - Initialize the I/O Controller
  * @ioc: The I/O Controller.
  *
- * Initalize the I/O Controller which includes setting up the
+ * Initialize the I/O Controller which includes setting up the
  * I/O Page Directory, the resource map, and initalizing the
  * U2/Uturn chip into virtual mode.
  */
index fa28d8911b00ade20122e4c2ebe9042835eaea60..0c62fe31a40e20ead5c0709757f177c738376574 100644 (file)
@@ -231,7 +231,7 @@ int sa11xx_drv_pcmcia_probe(struct device *dev, struct pcmcia_low_level *ops,
 
        sinfo->nskt = nr;
 
-       /* Initiliaze processor specific parameters */
+       /* Initialize processor specific parameters */
        for (i = 0; i < nr; i++) {
                skt = &sinfo->skt[i];
 
index 08fa453af9746a55302108bc3c0b2988cf66bded..74e9d22d95fb73410f94be6853bdafc81ee2ab1f 100644 (file)
@@ -808,7 +808,7 @@ int rio_std_route_add_entry(struct rio_mport *mport, u16 destid, u8 hopcount,
 
 /**
  * rio_std_route_get_entry - Read switch route table entry (port number)
- *   assosiated with specified destID using standard registers defined in RIO
+ *   associated with specified destID using standard registers defined in RIO
  *   specification rev.1.3
  * @mport: Master port to issue transaction
  * @destid: Destination ID of the device
index ff6fce61ea41afff5e0d9d6bd8bd480c6f8d37d4..e4de8f37ae4a59d2ae6cd03eb39c5cb609141392 100644 (file)
@@ -104,7 +104,7 @@ static int fm3130_get_time(struct device *dev, struct rtc_time *t)
        if (!fm3130->data_valid) {
                /* We have invalid data in RTC, probably due
                to battery faults or other problems. Return EIO
-               for now, it will allow us to set data later insted
+               for now, it will allow us to set data later instead
                of error during probing which disables device */
                return -EIO;
        }
index 789f62f9b47d4b288ba8dffe30adeaf123c1fc84..1146e3522d3cdc82b512fc751e4ac6adf03c0440 100644 (file)
@@ -461,7 +461,7 @@ static struct rtc_class_ops rx8025_rtc_ops = {
  * Clock precision adjustment support
  *
  * According to the RX8025 SA/NB application manual the frequency and
- * temperature charateristics can be approximated using the following
+ * temperature characteristics can be approximated using the following
  * equation:
  *
  *   df = a * (ut - t)**2
index 7f87979da22d31b9702b2f8fc06fd489df7fe19e..0ec3da6f3e12133823588e280fea24cc364cbe03 100644 (file)
@@ -9717,7 +9717,7 @@ static ushort __devinit AscInitAscDvcVar(ASC_DVC_VAR *asc_dvc)
        asc_dvc->bug_fix_cntl = 0;
        asc_dvc->pci_fix_asyn_xfer = 0;
        asc_dvc->pci_fix_asyn_xfer_always = 0;
-       /* asc_dvc->init_state initalized in AscInitGetConfig(). */
+       /* asc_dvc->init_state initialized in AscInitGetConfig(). */
        asc_dvc->sdtr_done = 0;
        asc_dvc->cur_total_qng = 0;
        asc_dvc->is_in_int = 0;
index f6fc4b75b5a5f5308562054fd71063a28a4b1f78..5997e7c3a191e8c52abe59d1145402eb5c7c7a9e 100644 (file)
@@ -615,7 +615,7 @@ ultra2_dmafifoflush:
                         * went empty and the next bit of data is copied from
                         * the SCSI fifo into the PCI fifo.  It should only
                         * come on when both FIFOs (meaning the entire FIFO
-                        * chain) are emtpy.  Since it can take up to 4 cycles
+                        * chain) are empty.  Since it can take up to 4 cycles
                         * for new data to be copied from the SCSI fifo into
                         * the PCI fifo, testing for FIFOEMP status for 4
                         * extra times gives the needed time for any
index d01dcc62b39a413f9e793dc6183c3614cb0bce91..74374618010c3158c6b46937a076b18f849346bf 100644 (file)
@@ -588,7 +588,7 @@ static void asd_init_cseq_mdp(struct asd_ha_struct *asd_ha)
  * asd_init_cseq_scratch -- setup and init CSEQ
  * @asd_ha: pointer to host adapter structure
  *
- * Setup and initialize Central sequencers. Initialiaze the mode
+ * Setup and initialize Central sequencers. Initialize the mode
  * independent and dependent scratch page to the default settings.
  */
 static void asd_init_cseq_scratch(struct asd_ha_struct *asd_ha)
@@ -782,7 +782,7 @@ static void asd_init_lseq_mdp(struct asd_ha_struct *asd_ha,  int lseq)
        asd_write_reg_word(asd_ha, LmSEQ_OOB_INT_ENABLES(lseq), 0);
        /*
         * Set the desired interval between transmissions of the NOTIFY
-        * (ENABLE SPINUP) primitive.  Must be initilized to val - 1.
+        * (ENABLE SPINUP) primitive.  Must be initialized to val - 1.
         */
        asd_write_reg_word(asd_ha, LmSEQ_NOTIFY_TIMER_TIMEOUT(lseq),
                           ASD_NOTIFY_TIMEOUT - 1);
index 3a7b3f88932f81a99ba7bd3d9b19322d918ae66b..d84550636add7d85752ff455b8b2a9bfa75c7099 100644 (file)
@@ -335,7 +335,7 @@ bfa_get_pciids(struct bfa_pciid_s **pciids, int *npciids)
                {BFA_PCI_VENDOR_ID_BROCADE, BFA_PCI_DEVICE_ID_CT},
        };
 
-       *npciids = sizeof(__pciids) / sizeof(__pciids[0]);
+       *npciids = ARRAY_SIZE(__pciids);
        *pciids = __pciids;
 }
 
index 3516172c597c9f43633df2459bdfdd472589c72a..153cb2a3ffe32afb2b8f10eae95fed70e63ccf7c 100644 (file)
@@ -86,7 +86,7 @@ bfa_fcs_attach(struct bfa_fcs_s *fcs, struct bfa_s *bfa, struct bfad_s *bfad,
        bfa_attach_fcs(bfa);
        fcbuild_init();
 
-       for (i = 0; i < sizeof(fcs_modules) / sizeof(fcs_modules[0]); i++) {
+       for (i = 0; i < ARRAY_SIZE(fcs_modules); i++) {
                mod = &fcs_modules[i];
                if (mod->attach)
                        mod->attach(fcs);
@@ -102,7 +102,7 @@ bfa_fcs_init(struct bfa_fcs_s *fcs)
        int             i;
        struct bfa_fcs_mod_s  *mod;
 
-       for (i = 0; i < sizeof(fcs_modules) / sizeof(fcs_modules[0]); i++) {
+       for (i = 0; i < ARRAY_SIZE(fcs_modules); i++) {
                mod = &fcs_modules[i];
                if (mod->modinit)
                        mod->modinit(fcs);
@@ -163,13 +163,11 @@ void
 bfa_fcs_exit(struct bfa_fcs_s *fcs)
 {
        struct bfa_fcs_mod_s  *mod;
-       int             nmods, i;
+       int i;
 
        bfa_wc_init(&fcs->wc, bfa_fcs_exit_comp, fcs);
 
-       nmods = sizeof(fcs_modules) / sizeof(fcs_modules[0]);
-
-       for (i = 0; i < nmods; i++) {
+       for (i = 0; i < ARRAY_SIZE(fcs_modules); i++) {
 
                mod = &fcs_modules[i];
                if (mod->modexit) {
index 687f3d6e252b54eaab50a7bef41a6430a6b7351f..3d2eac104308a7f0bb180615668d0d30cae3d93f 100644 (file)
@@ -488,7 +488,7 @@ bfa_ioim_sm_cleanup_qfull(struct bfa_ioim_s *ioim, enum bfa_ioim_event event)
 
        case BFA_IOIM_SM_ABORT:
                /**
-                * IO is alraedy being cleaned up implicitly
+                * IO is already being cleaned up implicitly
                 */
                ioim->io_cbfn = __bfa_cb_ioim_abort;
                break;
index 27cd619a227a7a191acda944c8917fa7f000d257..e2720c8a6661c2782d9dbc44c61c912ba2d76347 100644 (file)
@@ -789,7 +789,7 @@ bfa_cb_lps_fdisc_comp(void *bfad, void *uarg, bfa_status_t status)
        switch (status) {
        case BFA_STATUS_OK:
                /*
-                * Initialiaze the V-Port fields
+                * Initialize the V-Port fields
                 */
                __vport_fcid(vport) = bfa_lps_get_pid(vport->lps);
                vport->vport_stats.fdisc_accepts++;
index 44a07593de56020b444ab64c84074b512d07aef9..fe568effe967fc2b6077cf6ed9c1a3b40dceb3d9 100644 (file)
@@ -2452,7 +2452,7 @@ module_exit(fcoe_exit);
  * @fp: response frame, or error encoded in a pointer (timeout)
  * @arg: pointer the the fcoe_ctlr structure
  *
- * This handles MAC address managment for FCoE, then passes control on to
+ * This handles MAC address management for FCoE, then passes control on to
  * the libfc FLOGI response handler.
  */
 static void fcoe_flogi_resp(struct fc_seq *seq, struct fc_frame *fp, void *arg)
@@ -2484,7 +2484,7 @@ done:
  * @fp: response frame, or error encoded in a pointer (timeout)
  * @arg: pointer the the fcoe_ctlr structure
  *
- * This handles MAC address managment for FCoE, then passes control on to
+ * This handles MAC address management for FCoE, then passes control on to
  * the libfc LOGO response handler.
  */
 static void fcoe_logo_resp(struct fc_seq *seq, struct fc_frame *fp, void *arg)
index 104e0fba7c43bb71dff75eb8650c16f5668679c3..ca52bfa4a1ec3f805d5aef50c7d8689754915c17 100644 (file)
@@ -219,8 +219,6 @@ static void fc_exch_els_rrq(struct fc_seq *, struct fc_frame *);
  */
 static char *fc_exch_rctl_names[] = FC_RCTL_NAMES_INIT;
 
-#define FC_TABLE_SIZE(x)   (sizeof(x) / sizeof(x[0]))
-
 /**
  * fc_exch_name_lookup() - Lookup name by opcode
  * @op:               Opcode to be looked up
@@ -249,7 +247,7 @@ static inline const char *fc_exch_name_lookup(unsigned int op, char **table,
 static const char *fc_exch_rctl_name(unsigned int op)
 {
        return fc_exch_name_lookup(op, fc_exch_rctl_names,
-                                  FC_TABLE_SIZE(fc_exch_rctl_names));
+                                  ARRAY_SIZE(fc_exch_rctl_names));
 }
 
 /**
index 79c9e3ccd34153dd8424c730b842f0fecc8237b0..ef32b065a47f66c022e8a8585cc2658bad4e7d23 100644 (file)
  * invalid SID. We also need to ensure that states don't change unexpectedly
  * while processing another state.
  *
- * HEIRARCHY
+ * HIERARCHY
  *
- * The following heirarchy defines the locking rules. A greater lock
+ * The following hierarchy defines the locking rules. A greater lock
  * may be held before acquiring a lesser lock, but a lesser lock should never
- * be held while attempting to acquire a greater lock. Here is the heirarchy-
+ * be held while attempting to acquire a greater lock. Here is the hierarchy-
  *
  * lport > disc, lport > rport, disc > rport
  *
index 39e440f0f54a72d844085ead144076e3e28bccab..2aa599340106e62bc090a2c2aaf7457d7634f284 100644 (file)
@@ -34,7 +34,7 @@
  * The rport should never hold the rport mutex and then attempt to acquire
  * either the lport or disc mutexes. The rport's mutex is considered lesser
  * than both the lport's mutex and the disc mutex. Refer to fc_lport.c for
- * more comments on the heirarchy.
+ * more comments on the hierarchy.
  *
  * The locking strategy is similar to the lport's strategy. The lock protects
  * the rport's states and is held and released by the entry points to the rport
index b4afe431ac1e48869eaafd40c151aea0e3f3e364..41c29a86e83494dfe922e1982e69bddc95e4e5b7 100644 (file)
@@ -474,7 +474,7 @@ typedef void (*MPT_ADD_SGE)(void *paddr, u32 flags_length, dma_addr_t dma_addr);
  * @shost_recovery: host reset in progress
  * @ioc_reset_in_progress_lock:
  * @ioc_link_reset_in_progress: phy/hard reset in progress
- * @ignore_loginfos: ignore loginfos during task managment
+ * @ignore_loginfos: ignore loginfos during task management
  * @remove_host: flag for when driver unloads, to avoid sending dev resets
  * @wait_for_port_enable_to_complete:
  * @msix_enable: flag indicating msix is enabled
index c5ff26a2a51d91b5da1cc50b892af8467f2d3b5d..06d645a36f1be9089874b35f586108dff913c74f 100644 (file)
@@ -2979,7 +2979,7 @@ _scsih_qcmd(struct scsi_cmnd *scmd, void (*done)(struct scsi_cmnd *))
        /* host recovery or link resets sent via IOCTLs */
        if (ioc->shost_recovery || ioc->ioc_link_reset_in_progress)
                return SCSI_MLQUEUE_HOST_BUSY;
-       /* device busy with task managment */
+       /* device busy with task management */
        else if (sas_device_priv_data->block || sas_target_priv_data->tm_busy)
                return SCSI_MLQUEUE_DEVICE_BUSY;
        /* device has been deleted */
@@ -6845,7 +6845,7 @@ _scsih_init(void)
         /* queuecommand callback hander */
        scsi_io_cb_idx = mpt2sas_base_register_callback_handler(_scsih_io_done);
 
-       /* task managment callback handler */
+       /* task management callback handler */
        tm_cb_idx = mpt2sas_base_register_callback_handler(_scsih_tm_done);
 
        /* base internal commands callback handler */
index 5ff8261c5d6708f00308c016819a4b09624fa048..e81efac25fa42dbce5ca91c398ac8e10ed71a560 100644 (file)
@@ -1082,7 +1082,7 @@ static void pm8001_hw_chip_rst(struct pm8001_hba_info *pm8001_ha)
 }
 
 /**
- * pm8001_chip_iounmap - which maped when initilized.
+ * pm8001_chip_iounmap - which maped when initialized.
  * @pm8001_ha: our hba card information
  */
 static void pm8001_chip_iounmap(struct pm8001_hba_info *pm8001_ha)
@@ -4152,7 +4152,7 @@ static int pm8001_chip_abort_task(struct pm8001_hba_info *pm8001_ha,
 }
 
 /**
- * pm8001_chip_ssp_tm_req - built the task managment command.
+ * pm8001_chip_ssp_tm_req - built the task management command.
  * @pm8001_ha: our hba card information.
  * @ccb: the ccb information.
  * @tmf: task management function.
index 8ef9453654128dddf07e828571f216f29b234843..782b30d0eea1741f746f4cdcadbdf373d7d77d4e 100644 (file)
@@ -1129,7 +1129,7 @@ qla24xx_build_scsi_crc_2_iocbs(srb_t *sp, struct cmd_type_crc_2 *cmd_pkt,
        cmd_pkt->fcp_cmnd_dseg_address[1] = cpu_to_le32(
            MSD(crc_ctx_dma + CRC_CONTEXT_FCPCMND_OFF));
        fcp_cmnd->task_attribute = 0;
-       fcp_cmnd->task_managment = 0;
+       fcp_cmnd->task_management = 0;
 
        cmd_pkt->fcp_rsp_dseg_len = 0; /* Let response come in status iocb */
 
index f8f99a5ea5328ca5491282593cc476aae97f68fa..1b44d013f151b5964f913e87ca9a13d4b1de0462 100644 (file)
@@ -832,7 +832,7 @@ struct fcp_cmnd {
        struct scsi_lun lun;
        uint8_t crn;
        uint8_t task_attribute;
-       uint8_t task_managment;
+       uint8_t task_management;
        uint8_t additional_cdb_len;
        uint8_t cdb[260]; /* 256 for CDB len and 4 for FCP_DL */
 };
index 5510df8a7fa6b26c61c38ce690f8e48bcb6ba488..cd3043265a6df27089f85cfd774a82f674d110bc 100644 (file)
@@ -183,7 +183,7 @@ static int qla4xxx_validate_mac_address(struct scsi_qla_host *ha)
  **/
 static int qla4xxx_init_local_data(struct scsi_qla_host *ha)
 {
-       /* Initilize aen queue */
+       /* Initialize aen queue */
        ha->aen_q_count = MAX_AEN_ENTRIES;
 
        return qla4xxx_get_firmware_status(ha);
index 06813789145ce09f65e67f3deee8a8bbc0eeb0c4..edb6b362a8fa7cbb1d73c1d8f94db224ec7b1036 100644 (file)
@@ -965,7 +965,7 @@ static FC_DEVICE_ATTR(rport, fast_io_fail_tmo, S_IRUGO | S_IWUSR,
 
 /*
  * Note: in the target show function we recognize when the remote
- *  port is in the heirarchy and do not allow the driver to get
+ *  port is in the hierarchy and do not allow the driver to get
  *  involved in sysfs functions. The driver only gets involved if
  *  it's the "old" style that doesn't use rports.
  */
index 24661cd5e4fbc6048fea6e96ebd945aa0155f90e..768612f8e41e24e304f6a32093ce377b76448695 100644 (file)
@@ -2649,7 +2649,7 @@ static int __init rs_360_init(void)
                                sup->tfcr = SMC_EB;
 
                                /* Set this to 1 for now, so we get single
-                                * character interrupts.  Using idle charater
+                                * character interrupts.  Using idle character
                                 * time requires some additional tuning.
                                 */
                                sup->mrblr = 1;
@@ -2728,7 +2728,7 @@ static int __init rs_360_init(void)
                                up->tfcr = SMC_EB;
 
                                /* Set this to 1 for now, so we get single
-                                * character interrupts.  Using idle charater
+                                * character interrupts.  Using idle character
                                 * time requires some additional tuning.
                                 */
                                up->mrblr = 1;
@@ -2886,7 +2886,7 @@ int serial_console_setup( struct console *co, char *options)
                sup->tfcr = SMC_EB;
 
                /* Set this to 1 for now, so we get single
-                * character interrupts.  Using idle charater
+                * character interrupts.  Using idle character
                 * time requires some additional tuning.
                 */
                sup->mrblr = 1;
index cd6cf575902e4aab43a2dc232c7358db93ff8a82..6016179db533dc1b23100d2491a24adaff9bca05 100644 (file)
@@ -852,7 +852,7 @@ static void cpm_uart_init_smc(struct uart_cpm_port *pinfo)
         */
        cpm_set_smc_fcr(up);
 
-       /* Using idle charater time requires some additional tuning.  */
+       /* Using idle character time requires some additional tuning.  */
        out_be16(&up->smc_mrblr, pinfo->rx_fifosize);
        out_be16(&up->smc_maxidl, pinfo->rx_fifosize);
        out_be16(&up->smc_brklen, 0);
index 3c02fa96f2825e119526752e9d8e127082cabdac..e65b0d9202a53c43b4f47abbd2fce230c9f9a7f5 100644 (file)
@@ -81,7 +81,7 @@ nwpserial_console_write(struct console *co, const char *s, unsigned int count)
 
        uart_console_write(&up->port, s, count, nwpserial_console_putchar);
 
-       /* wait for transmitter to become emtpy */
+       /* wait for transmitter to become empty */
        while ((dcr_read(up->dcr_host, UART_LSR) & UART_LSR_THRE) == 0)
                cpu_relax();
 
index 9794e0cd3dcc882a04950f75c73596699d501ec6..7e5e5efea4e27659ef564f28652e07377fcf19db 100644 (file)
@@ -470,7 +470,7 @@ sn_receive_chars(struct sn_cons_port *port, unsigned long flags)
        }
 
        if (port->sc_port.state) {
-               /* The serial_core stuffs are initilized, use them */
+               /* The serial_core stuffs are initialized, use them */
                tty = port->sc_port.state->port.tty;
        }
        else {
@@ -551,11 +551,11 @@ static void sn_transmit_chars(struct sn_cons_port *port, int raw)
        BUG_ON(!port->sc_is_asynch);
 
        if (port->sc_port.state) {
-               /* We're initilized, using serial core infrastructure */
+               /* We're initialized, using serial core infrastructure */
                xmit = &port->sc_port.state->xmit;
        } else {
                /* Probably sn_sal_switch_to_asynch has been run but serial core isn't
-                * initilized yet.  Just return.  Writes are going through
+                * initialized yet.  Just return.  Writes are going through
                 * sn_sal_console_write (due to register_console) at this time.
                 */
                return;
index 681419d6856eaeb73fda4ebf65505ebc0d2d3327..251caa052eee3439852b811f57d34e4e39a3066b 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2008 Pavel Machek <pavel@suse.cz>
+ * Copyright 2008 Pavel Machek <pavel@ucw.cz>
  *
  * Distribute under GPLv2.
  *
index 162c95a088ed5efc2a747a1d739a44e30656de01..89d260d6b03194bf95f39f62fe305a6f0268e0f0 100644 (file)
@@ -2,7 +2,7 @@
  * cdc-acm.c
  *
  * Copyright (c) 1999 Armin Fuerst     <fuerst@in.tum.de>
- * Copyright (c) 1999 Pavel Machek     <pavel@suse.cz>
+ * Copyright (c) 1999 Pavel Machek     <pavel@ucw.cz>
  * Copyright (c) 1999 Johannes Erdfelt <johannes@erdfelt.com>
  * Copyright (c) 2000 Vojtech Pavlik   <vojtech@suse.cz>
  * Copyright (c) 2004 Oliver Neukum    <oliver@neukum.name>
index 2250095db0a0086c5054abe7e18a3721c8c43736..84f9e52327f229a2fc51263e8420fb9b7c2a45f7 100644 (file)
@@ -2,7 +2,7 @@
  * usblp.c
  *
  * Copyright (c) 1999 Michael Gee      <michael@linuxspecific.com>
- * Copyright (c) 1999 Pavel Machek     <pavel@suse.cz>
+ * Copyright (c) 1999 Pavel Machek     <pavel@ucw.cz>
  * Copyright (c) 2000 Randy Dunlap     <rdunlap@xenotime.net>
  * Copyright (c) 2000 Vojtech Pavlik   <vojtech@suse.cz>
  # Copyright (c) 2001 Pete Zaitcev     <zaitcev@redhat.com>
index 4f2cbdcc02732cb01332e5e1ebe046326797ae42..a42ef380e917ddd4c347418880467180e3929b2e 100644 (file)
@@ -125,7 +125,7 @@ void fhci_transaction_confirm(struct fhci_usb *usb, struct packet *pkt)
 /*
  * Flush all transmitted packets from BDs
  * This routine is called when disabling the USB port to flush all
- * transmissions that are allready scheduled in the BDs
+ * transmissions that are already scheduled in the BDs
  */
 void fhci_flush_all_transmissions(struct fhci_usb *usb)
 {
index cdbe8bf7f674962eccaba56587772dea2a86d621..e8a65ce45a2f7de1c4d0bd760403049dca44267b 100644 (file)
@@ -261,7 +261,7 @@ static int klsi_105_startup(struct usb_serial *serial)
 
                spin_lock_init(&priv->lock);
 
-               /* priv->termios is left uninitalized until port opening */
+               /* priv->termios is left uninitialized until port opening */
                init_waitqueue_head(&serial->port[i]->write_wait);
        }
 
index eab86e4bc770ca1dc81fb8a11f7bec1727ddcf82..2054d4ee97740eae97348c9387ff105cc4b84ff4 100644 (file)
@@ -26,7 +26,7 @@
  * the one that requires (phase B, wusbhc_b_{create,destroy}).
  *
  * This is so because usb_add_hcd() will start the HC, and thus, all
- * the HC specific stuff has to be already initialiazed (like sysfs
+ * the HC specific stuff has to be already initialized (like sysfs
  * thingies).
  */
 #include <linux/device.h>
index 90accdd54c07e14877e5018d2491b15b77cfd9e5..a005d2a03b5d173c6f48febb5aa03d318d0b9c8f 100644 (file)
@@ -180,7 +180,7 @@ error_kobject_register:
  * If memory was allocated for the kobject's name then it will
  * be freed by the kobject system during this time.
  *
- * The EDA cache is removed and reinitilized when the WSS is removed. We
+ * The EDA cache is removed and reinitialized when the WSS is removed. We
  * thus loose knowledge of members of this WSS at that time and need not do
  * it here.
  */
index 7571bc26071e7039f5b9c064604e5077cdf4bf79..d2f59015d517093b01a1901466b871a82c17a4b2 100644 (file)
@@ -2,7 +2,7 @@
  * Backlight control code for Sharp Zaurus SL-5500
  *
  * Copyright 2005 John Lenz <lenz@cs.wisc.edu>
- * Maintainer: Pavel Machek <pavel@suse.cz> (unless John wants to :-)
+ * Maintainer: Pavel Machek <pavel@ucw.cz> (unless John wants to :-)
  * GPL v2
  *
  * This driver assumes single CPU. That's okay, because collie is
@@ -246,6 +246,6 @@ static void __exit locomolcd_exit(void)
 module_init(locomolcd_init);
 module_exit(locomolcd_exit);
 
-MODULE_AUTHOR("John Lenz <lenz@cs.wisc.edu>, Pavel Machek <pavel@suse.cz>");
+MODULE_AUTHOR("John Lenz <lenz@cs.wisc.edu>, Pavel Machek <pavel@ucw.cz>");
 MODULE_DESCRIPTION("Collie LCD driver");
 MODULE_LICENSE("GPL");
index d8345fcc4fe33f95edb460e410cf09b8f4e87bf5..6b19136aa18185570bd26eff15acfbfb8a5538f4 100644 (file)
@@ -432,7 +432,7 @@ static int init_hardware(struct carmine_hw *hw)
        u32 loops;
        u32 ret;
 
-       /* Initalize Carmine */
+       /* Initialize Carmine */
        /* Sets internal clock */
        c_set_hw_reg(hw, CARMINE_CTL_REG + CARMINE_CTL_REG_CLOCK_ENABLE,
                        CARMINE_DFLT_IP_CLOCK_ENABLE);
index 1b3b1c718e80d4cd775b359464a73321ac70a3b6..aba7686b1a32fe76c7259fa48e3d3cad5c6369b9 100644 (file)
@@ -305,7 +305,7 @@ tgafb_set_par(struct fb_info *info)
        TGA_WRITE_REG(par, htimings, TGA_HORIZ_REG);
        TGA_WRITE_REG(par, vtimings, TGA_VERT_REG);
 
-       /* Initalise RAMDAC. */
+       /* Initialise RAMDAC. */
        if (tga_type == TGA_TYPE_8PLANE && tga_bus_pci) {
 
                /* Init BT485 RAMDAC registers.  */
index 5f85b5947613f4a4cfaaf42149d6658d69627799..3d185308ec883bd0c06be0d151385c65e15b3353 100644 (file)
@@ -64,7 +64,7 @@ source "fs/autofs4/Kconfig"
 source "fs/fuse/Kconfig"
 
 config CUSE
-       tristate "Character device in Userpace support"
+       tristate "Character device in Userspace support"
        depends on FUSE_FS
        help
          This FUSE extension allows character devices to be
index 34ddda888e631e8ad338b1271a25efe10e93477d..dc39d282488514418a7bedeeaf01fc1560ffb0cb 100644 (file)
@@ -436,7 +436,7 @@ befs_init_inodecache(void)
                                              init_once);
        if (befs_inode_cachep == NULL) {
                printk(KERN_ERR "befs_init_inodecache: "
-                      "Couldn't initalize inode slabcache\n");
+                      "Couldn't initialize inode slabcache\n");
                return -ENOMEM;
        }
 
index 6490d2134ff3e73656b29b6ad5473e339870ae8d..c6fda9aeb86471cd8e9a7edafea144fe48991b35 100644 (file)
@@ -8,7 +8,7 @@
  *  Copyright (C) 1997-2000  Jakub Jelinek  (jakub@redhat.com)
  *  Copyright (C) 1998       Eddie C. Dost  (ecd@skynet.be)
  *  Copyright (C) 2001,2002  Andi Kleen, SuSE Labs 
- *  Copyright (C) 2003       Pavel Machek (pavel@suse.cz)
+ *  Copyright (C) 2003       Pavel Machek (pavel@ucw.cz)
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License version 2 as
index 641640dc7ae54e7d55a86d4d149ac1ec54d3f92e..5ead3763bba5d19c56ae61903b128d2c1d716bfa 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright (C) 1997-2000  Jakub Jelinek  (jakub@redhat.com)
  * Copyright (C) 1998  Eddie C. Dost  (ecd@skynet.be)
  * Copyright (C) 2001,2002  Andi Kleen, SuSE Labs 
- * Copyright (C) 2003       Pavel Machek (pavel@suse.cz)
+ * Copyright (C) 2003       Pavel Machek (pavel@ucw.cz)
  *
  * These routines maintain argument size conversion between 32bit and 64bit
  * ioctls.
index 1cc087635a5ea4fc1502834152113c582b0cf9fb..a2e3b562e65d996f62d1ef15eaa9c6e5a7a2293f 100644 (file)
@@ -762,7 +762,7 @@ ecryptfs_decrypt_page_offset(struct ecryptfs_crypt_stat *crypt_stat,
 
 /**
  * ecryptfs_init_crypt_ctx
- * @crypt_stat: Uninitilized crypt stats structure
+ * @crypt_stat: Uninitialized crypt stats structure
  *
  * Initialize the crypto context.
  *
index 377309c1af65fe91be76bef857fe39288551ae9d..bf029c7d5518d1352d276fe4d26206be3d3007be 100644 (file)
@@ -2937,7 +2937,7 @@ fix_extent_len:
  * One of more index blocks maybe needed if the extent tree grow after
  * the unintialized extent split. To prevent ENOSPC occur at the IO
  * complete, we need to split the uninitialized extent before DIO submit
- * the IO. The uninitilized extent called at this time will be split
+ * the IO. The uninitialized extent called at this time will be split
  * into three uninitialized extent(at most). After IO complete, the part
  * being filled will be convert to initialized by the end_io callback function
  * via ext4_convert_unwritten_extents().
index 12b3bc026a683cd7b321fbae0e32839e8764e571..0e83dfd351d516d30aa37a9fc44f3ade471ec670 100644 (file)
@@ -2704,7 +2704,7 @@ void exit_ext4_mballoc(void)
 
 
 /*
- * Check quota and mark choosed space (ac->ac_b_ex) non-free in bitmaps
+ * Check quota and mark chosen space (ac->ac_b_ex) non-free in bitmaps
  * Returns 0 if success or error code
  */
 static noinline_for_stack int
index 4e8983a9811b2205773809fad4306f4a79eef8c5..e72d3235b2fdbd8836896e4cd60dc81d155da2ff 100644 (file)
@@ -3010,7 +3010,7 @@ no_journal:
        ext4_ext_init(sb);
        err = ext4_mb_init(sb, needs_recovery);
        if (err) {
-               ext4_msg(sb, KERN_ERR, "failed to initalize mballoc (%d)",
+               ext4_msg(sb, KERN_ERR, "failed to initialize mballoc (%d)",
                         err);
                goto failed_mount4;
        }
index 1e8af939b3e4ad58d41726db3851269193a2e0c9..5132c99b1ca2385f844a297b8268b0f91904a01d 100644 (file)
@@ -135,7 +135,7 @@ static int vxfs_remount(struct super_block *sb, int *flags, char *data)
 }
 
 /**
- * vxfs_read_super - read superblock into memory and initalize filesystem
+ * vxfs_read_super - read superblock into memory and initialize filesystem
  * @sbp:               VFS superblock (to fill)
  * @dp:                        fs private mount data
  * @silent:            do not complain loudly when sth is wrong
index fa3385154023484659003aeb98b6f421c5eb3b4a..1e634deff941c462177f7b0e5e7535b34774fde2 100644 (file)
@@ -728,8 +728,8 @@ out_fput:
 out_bdi:
        /* 23/12/1998 Marcin Dalecki <dalecki@cs.net.pl>:
         * 
-        * The previously used put_filp(ncp_filp); was bogous, since
-        * it doesn't proper unlocking.
+        * The previously used put_filp(ncp_filp); was bogus, since
+        * it doesn't perform proper unlocking.
         */
        fput(ncp_filp);
 out:
index 0cd24cf543962dc5251622c531fb3ad9ad2d0324..5efdd37dfe484f2f6207ac2c7c6927fda0cc1ea0 100644 (file)
@@ -419,7 +419,7 @@ static loff_t debug_buffer_llseek(struct file *file, loff_t off, int whence)
 
 static int debug_buffer_release(struct inode *inode, struct file *file)
 {
-       struct debug_buffer *db = (struct debug_buffer *)file->private_data;
+       struct debug_buffer *db = file->private_data;
 
        if (db)
                kfree(db->buf);
@@ -715,7 +715,7 @@ static int debug_lockres_open(struct inode *inode, struct file *file)
                goto bail;
        }
 
-       seq = (struct seq_file *) file->private_data;
+       seq = file->private_data;
        seq->private = dl;
 
        dlm_grab(dlm);
@@ -731,7 +731,7 @@ bail:
 
 static int debug_lockres_release(struct inode *inode, struct file *file)
 {
-       struct seq_file *seq = (struct seq_file *)file->private_data;
+       struct seq_file *seq = file->private_data;
        struct debug_lockres *dl = (struct debug_lockres *)seq->private;
 
        if (dl->dl_res)
index b83d6107a1f5e0eb9e63c4dae29746c3b3888fce..bef34d0528d5527701399118d10878e7f1bbe4c2 100644 (file)
@@ -182,8 +182,7 @@ static int dlmfs_file_release(struct inode *inode,
 {
        int level, status;
        struct dlmfs_inode_private *ip = DLMFS_I(inode);
-       struct dlmfs_filp_private *fp =
-               (struct dlmfs_filp_private *) file->private_data;
+       struct dlmfs_filp_private *fp = file->private_data;
 
        if (S_ISDIR(inode->i_mode))
                BUG();
index 39eb16ac5f98ea123ac374085b372035148d9d54..5e02a893f46ea5e1e4fa5a5c0313b5d7356e1526 100644 (file)
@@ -2966,7 +2966,7 @@ static const struct seq_operations ocfs2_dlm_seq_ops = {
 
 static int ocfs2_dlm_debug_release(struct inode *inode, struct file *file)
 {
-       struct seq_file *seq = (struct seq_file *) file->private_data;
+       struct seq_file *seq = file->private_data;
        struct ocfs2_dlm_seq_priv *priv = seq->private;
        struct ocfs2_lock_res *res = &priv->p_iter_res;
 
@@ -3000,7 +3000,7 @@ static int ocfs2_dlm_debug_open(struct inode *inode, struct file *file)
                goto out;
        }
 
-       seq = (struct seq_file *) file->private_data;
+       seq = file->private_data;
        seq->private = priv;
 
        ocfs2_add_lockres_tracking(&priv->p_iter_res,
index 0eaa929a4dbf2cec50d059affc8c664bf9a1f1d2..03a799fdd7402abb631ddd6575d250a5bd7a3a2d 100644 (file)
@@ -2472,7 +2472,7 @@ static void ocfs2_delete_osb(struct ocfs2_super *osb)
        kfree(osb->slot_recovery_generations);
        /* FIXME
         * This belongs in journal shutdown, but because we have to
-        * allocate osb->journal at the start of ocfs2_initalize_osb(),
+        * allocate osb->journal at the start of ocfs2_initialize_osb(),
         * we free it here.
         */
        kfree(osb->journal);
index 0f22fdaf54ac037ecc21dea052d135d340a5d510..29db72203bde5279322c9b6f549812a04ef9d2f9 100644 (file)
@@ -1221,7 +1221,7 @@ static void init_inode(struct inode *inode, struct treepath *path)
                inode_set_bytes(inode,
                                to_real_used_space(inode, inode->i_blocks,
                                                   SD_V2_SIZE));
-               /* read persistent inode attributes from sd and initalise
+               /* read persistent inode attributes from sd and initialise
                   generic inode flags from them */
                REISERFS_I(inode)->i_attrs = sd_v2_attrs(sd);
                sd_attrs_to_i_attrs(sd_v2_attrs(sd), inode);
index 595ce49288b7807f0f42c40a6c2dcde9ed354d36..ec0dad5ab90f13f527db648e2fef41d6481d97e2 100644 (file)
@@ -85,7 +85,7 @@ struct fscache_cookie_def {
 
        /* get an index key
         * - should store the key data in the buffer
-        * - should return the amount of amount stored
+        * - should return the amount of data stored
         * - not permitted to return an error
         * - the netfs data from the cookie being used as the source is
         *   presented
@@ -454,6 +454,7 @@ int fscache_read_or_alloc_page(struct fscache_cookie *cookie,
  * @cookie: The cookie representing the cache object
  * @mapping: The netfs inode mapping to which the pages will be attached
  * @pages: A list of potential netfs pages to be filled
+ * @nr_pages: Number of pages to be read and/or allocated
  * @end_io_func: The callback to invoke when and if each page is filled
  * @context: An arbitrary piece of data to pass on to end_io_func()
  * @gfp: The conditions under which memory allocation should be made
index 7b02aa5ce9b4d30c803840376182797e15f9c3dc..072fe8c93e6f08e03b6593438881665ca6f841f0 100644 (file)
@@ -458,7 +458,7 @@ enum {
        IDE_DFLAG_DOORLOCKING           = (1 << 15),
        /* disallow DMA */
        IDE_DFLAG_NODMA                 = (1 << 16),
-       /* powermanagment told us not to do anything, so sleep nicely */
+       /* powermanagement told us not to do anything, so sleep nicely */
        IDE_DFLAG_BLOCKED               = (1 << 17),
        /* sleeping & sleep field valid */
        IDE_DFLAG_SLEEPING              = (1 << 18),
index 85c812db5a3f09e75f6bebc646c86300d6621594..9d8f0807daedf79d9fde26ce7bf6404b6bffb902 100644 (file)
@@ -233,7 +233,7 @@ enum macvlan_mode {
        MACVLAN_MODE_BRIDGE  = 4, /* talk to bridge ports directly */
 };
 
-/* SR-IOV virtual function managment section */
+/* SR-IOV virtual function management section */
 
 enum {
        IFLA_VF_INFO_UNSPEC,
index 0874ab59ffefbc16858fdc4da4564147a2033bfd..edb9231f18988b7bf2502e2023237f5a702cd9b1 100644 (file)
@@ -185,7 +185,7 @@ struct jffs2_raw_xref
        jint32_t hdr_crc;
        jint32_t ino;           /* inode number */
        jint32_t xid;           /* XATTR identifier number */
-       jint32_t xseqno;        /* xref sequencial number */
+       jint32_t xseqno;        /* xref sequential number */
        jint32_t node_crc;
 } __attribute__((packed));
 
index 8317ec4b9f3b4bbe615109073e7bd8ad9b946c1b..bd8501a8ca1c92e1ca85d0b3a98b7f0d1e5afe42 100644 (file)
@@ -728,12 +728,6 @@ extern int do_sysinfo(struct sysinfo *info);
 
 #endif /* __KERNEL__ */
 
-#ifndef __EXPORTED_HEADERS__
-#ifndef __KERNEL__
-#warning Attempt to use kernel headers from user space, see http://kernelnewbies.org/KernelHeaders
-#endif /* __KERNEL__ */
-#endif /* __EXPORTED_HEADERS__ */
-
 #define SI_LOAD_SHIFT  16
 struct sysinfo {
        long uptime;                    /* Seconds since boot */
index de48d167568be60bdfa255d991efc68115169367..78fbf24f357a1efbe56ee567d0d58696cfabc88e 100644 (file)
@@ -262,7 +262,7 @@ extern void lc_seq_dump_details(struct seq_file *seq, struct lru_cache *lc, char
  * @lc: the lru cache to operate on
  *
  * Note that the reference counts and order on the active and lru lists may
- * still change.  Returns true if we aquired the lock.
+ * still change.  Returns true if we acquired the lock.
  */
 static inline int lc_try_lock(struct lru_cache *lc)
 {
index b21e4054c12cb250f621b3baa9e1774d354bebcb..50d09aa6d21cab8509261d4667ffd44e44ef3be8 100644 (file)
@@ -775,7 +775,7 @@ struct net_device {
        /*
         * This is the first field of the "visible" part of this structure
         * (i.e. as seen by users in the "Space.c" file).  It is the name
-        * the interface.
+        * of the interface.
         */
        char                    name[IFNAMSIZ];
 
index 3b603f4741861f177bda12ede2669ad40b26e51b..ba394163dea1b89f31cfa3a5555a52ffeafda051 100644 (file)
@@ -360,7 +360,7 @@ int is_reiserfs_jr(struct reiserfs_super_block *rs);
 /* the spot for the super in versions 3.5 - 3.5.10 (inclusive) */
 #define REISERFS_OLD_DISK_OFFSET_IN_BYTES (8 * 1024)
 
-// reiserfs internal error code (used by search_by_key adn fix_nodes))
+/* reiserfs internal error code (used by search_by_key and fix_nodes)) */
 #define CARRY_ON      0
 #define REPEAT_SEARCH -1
 #define IO_ERROR      -2
index 23d237a075e21ce2635f8ce2b5a15dfd2fcde9a7..331d8baabcf29e285dc060d91d6363614008a20f 100644 (file)
@@ -8,7 +8,10 @@
 
 #define DECLARE_BITMAP(name,bits) \
        unsigned long name[BITS_TO_LONGS(bits)]
-
+#else
+#ifndef __EXPORTED_HEADERS__
+#warning "Attempt to use kernel headers from user space, see http://kernelnewbies.org/KernelHeaders"
+#endif /* __EXPORTED_HEADERS__ */
 #endif
 
 #include <linux/posix_types.h>
index 02b9611eadde3ebe638b9c24ffbbb5ec8ada5c06..7cb37d86a005e9eaaa85288907708689bb270f46 100644 (file)
@@ -105,7 +105,7 @@ struct cpuset {
        /* for custom sched domain */
        int relax_domain_level;
 
-       /* used for walking a cpuset heirarchy */
+       /* used for walking a cpuset hierarchy */
        struct list_head stack_list;
 };
 
index 8bc5eeffec8a953f844d853cc9abe30bbb4d77c4..51d14fe876485447b5cb7738d7fa780f24c9d7d2 100644 (file)
@@ -6,7 +6,7 @@
  * Copyright (C) 2000-2001 VERITAS Software Corporation.
  * Copyright (C) 2002-2004 Timesys Corporation
  * Copyright (C) 2003-2004 Amit S. Kale <amitkale@linsyssoft.com>
- * Copyright (C) 2004 Pavel Machek <pavel@suse.cz>
+ * Copyright (C) 2004 Pavel Machek <pavel@ucw.cz>
  * Copyright (C) 2004-2006 Tom Rini <trini@kernel.crashing.org>
  * Copyright (C) 2004-2006 LinSysSoft Technologies Pvt. Ltd.
  * Copyright (C) 2005-2009 Wind River Systems, Inc.
index e8fd6868682d1c3f9d5736aa7a9f9148be49e75e..6e81fd59566b75f896ef39715921a8a961857f24 100644 (file)
@@ -6,7 +6,7 @@
  * Copyright (C) 2000-2001 VERITAS Software Corporation.
  * Copyright (C) 2002-2004 Timesys Corporation
  * Copyright (C) 2003-2004 Amit S. Kale <amitkale@linsyssoft.com>
- * Copyright (C) 2004 Pavel Machek <pavel@suse.cz>
+ * Copyright (C) 2004 Pavel Machek <pavel@ucw.cz>
  * Copyright (C) 2004-2006 Tom Rini <trini@kernel.crashing.org>
  * Copyright (C) 2004-2006 LinSysSoft Technologies Pvt. Ltd.
  * Copyright (C) 2005-2009 Wind River Systems, Inc.
index aa9e916da4d53051eed6e7d12e9ddd37baaab3cd..6b202e7f8b5337b3fa24109c5f05a76c1a93d5a9 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Copyright (c) 2003 Patrick Mochel
  * Copyright (c) 2003 Open Source Development Lab
- * Copyright (c) 2004 Pavel Machek <pavel@suse.cz>
+ * Copyright (c) 2004 Pavel Machek <pavel@ucw.cz>
  * Copyright (c) 2009 Rafael J. Wysocki, Novell Inc.
  *
  * This file is released under the GPLv2.
index 25ce010e9f8b1f1c348763585882e2a490d5decd..f6cd6faf84fdb516323e4257f53a61778c7fd60b 100644 (file)
@@ -3,7 +3,7 @@
  *
  * This file provides system snapshot/restore functionality for swsusp.
  *
- * Copyright (C) 1998-2005 Pavel Machek <pavel@suse.cz>
+ * Copyright (C) 1998-2005 Pavel Machek <pavel@ucw.cz>
  * Copyright (C) 2006 Rafael J. Wysocki <rjw@sisk.pl>
  *
  * This file is released under the GPLv2.
index b0bb217783914e285b79a53052bd45da12f65978..48a0aa9da162a48e78b255fa4a8092e0d1f7b826 100644 (file)
@@ -4,7 +4,7 @@
  * This file provides functions for reading the suspend image from
  * and writing it to a swap partition.
  *
- * Copyright (C) 1998,2001-2005 Pavel Machek <pavel@suse.cz>
+ * Copyright (C) 1998,2001-2005 Pavel Machek <pavel@ucw.cz>
  * Copyright (C) 2006 Rafael J. Wysocki <rjw@sisk.pl>
  *
  * This file is released under the GPLv2.
index b3bafd5fc66d947aaa77982b0213b9321a8c0329..48b2761b5668119bc932b6278289bf8a481be050 100644 (file)
@@ -188,7 +188,7 @@ static void tick_handle_periodic_broadcast(struct clock_event_device *dev)
        /*
         * Setup the next period for devices, which do not have
         * periodic mode. We read dev->next_event first and add to it
-        * when the event alrady expired. clockevents_program_event()
+        * when the event already expired. clockevents_program_event()
         * sets dev->next_event only when the event is really
         * programmed to the device.
         */
index e722e9d62221d40560176b5f8d2cabdcf74a5e2d..dfdc0347b05d7064450bddb985d0329b0c66c441 100644 (file)
@@ -937,7 +937,7 @@ config FAIL_MAKE_REQUEST
          Provide fault-injection capability for disk IO.
 
 config FAIL_IO_TIMEOUT
-       bool "Faul-injection capability for faking disk interrupts"
+       bool "Fault-injection capability for faking disk interrupts"
        depends on FAULT_INJECTION && BLOCK
        help
          Provide fault-injection capability on end IO handling. This
index 49368608f988872da20525722d1406ef3a94a520..6efddf53b90c7d53048241bdac70273041df07c1 100644 (file)
@@ -328,7 +328,7 @@ EXPORT_SYMBOL(pcim_iomap_regions_request_all);
  * @pdev: PCI device to map IO resources for
  * @mask: Mask of BARs to unmap and release
  *
- * Unamp and release regions specified by @mask.
+ * Unmap and release regions specified by @mask.
  */
 void pcim_iounmap_regions(struct pci_dev *pdev, u16 mask)
 {
index 870dc3fc0f0f6c33a5fef027459387964ad58bbc..fc3545a32771569dda97e8169d79151af8add933 100644 (file)
@@ -127,7 +127,7 @@ core_initcall(random32_init);
 
 /*
  *     Generate better values after random number generator
- *     is fully initalized.
+ *     is fully initialized.
  */
 static int __init random32_reseed(void)
 {
index 6fb890187de09b01f8dc6453b7862a70de2edb8f..4dc8805154eef1b396e6ae06c5f397563b6edbfe 100644 (file)
@@ -201,7 +201,7 @@ static int nf_ct_frag6_queue(struct nf_ct_frag6_queue *fq, struct sk_buff *skb,
        int offset, end;
 
        if (fq->q.last_in & INET_FRAG_COMPLETE) {
-               pr_debug("Allready completed\n");
+               pr_debug("Already completed\n");
                goto err;
        }
 
index 94a45213faa6853a87b75d6143bdb99a3c5521f4..9323f8944199a6dcd6c99e0d126d21d697167bee 100644 (file)
@@ -11,7 +11,7 @@
  * Changes:
  *     Martin Hamilton         :    fixed the terrible locking bugs
  *                                   *lock(tbl->lock) ==> *lock(&tbl->lock)
- *     Wensong Zhang           :    fixed the uninitilized tbl->lock bug
+ *     Wensong Zhang           :    fixed the uninitialized tbl->lock bug
  *     Wensong Zhang           :    added doing full expiration check to
  *                                   collect stale entries of 24+ hours when
  *                                   no partial expire check in a half hour
index 535dc2b419d81f33f18fd7eea98d80bae07ba9cb..dbeed8ea421aa7c1335d414622559f262f6fa728 100644 (file)
@@ -386,7 +386,7 @@ ip_vs_lblcr_new(struct ip_vs_lblcr_table *tbl, const union nf_inet_addr *daddr,
                ip_vs_addr_copy(dest->af, &en->addr, daddr);
                en->lastuse = jiffies;
 
-               /* initilize its dest set */
+               /* initialize its dest set */
                atomic_set(&(en->set.size), 0);
                INIT_LIST_HEAD(&en->set.list);
                rwlock_init(&en->set.lock);
index e41feff19e43690b3ea84f6498d9319dfee02c52..0b85e5256434858783e4cbb586faab2841ecbdd4 100644 (file)
@@ -172,7 +172,7 @@ static struct sctp_association *sctp_association_init(struct sctp_association *a
        asoc->timeouts[SCTP_EVENT_TIMEOUT_AUTOCLOSE] =
                (unsigned long)sp->autoclose * HZ;
 
-       /* Initilizes the timers */
+       /* Initializes the timers */
        for (i = SCTP_EVENT_TIMEOUT_NONE; i < SCTP_NUM_TIMEOUT_TYPES; ++i)
                setup_timer(&asoc->timers[i], sctp_timer_events[i],
                                (unsigned long)asoc);
index 182749867c72a4c2b629d8675e1ad2de6340a536..0f41b05bd4d600e7bb62d6de4fdac662fd99138b 100644 (file)
@@ -1162,7 +1162,7 @@ SCTP_STATIC __init int sctp_init(void)
        /* Set the pressure threshold to be a fraction of global memory that
         * is up to 1/2 at 256 MB, decreasing toward zero with the amount of
         * memory, with a floor of 128 pages.
-        * Note this initalizes the data in sctpv6_prot too
+        * Note this initializes the data in sctpv6_prot too
         * Unabashedly stolen from tcp_init
         */
        nr_pages = totalram_pages - totalhigh_pages;
index 0f2fc480fc612f08e9701d319018efad76ded438..276bdc7325e5474f6d844c1a6a1388dc84f3c1ca 100644 (file)
@@ -3227,7 +3227,7 @@ static __init int smack_init(void)
        cred = (struct cred *) current->cred;
        cred->security = &smack_known_floor.smk_known;
 
-       /* initilize the smack_know_list */
+       /* initialize the smack_know_list */
        init_smack_know_list();
        /*
         * Initialize locks
index 84714a65e5c81a0a777577cc78ce115f4f3a99c2..c290cee4cee8e23f11a1e47ab00f4dd49aaba22d 100644 (file)
@@ -155,7 +155,7 @@ config SND_ML403_AC97CR
        select SND_AC97_CODEC
        help
          Say Y here to include support for the
-         opb_ac97_controller_ref_v1_00_a ip core found in Xilinx' ML403
+         opb_ac97_controller_ref_v1_00_a ip core found in Xilinx's ML403
          reference design.
 
          To compile this driver as a module, choose M here: the module
index 6d943f6f6b7042aabda0095f284adfb9033bdbf7..2870a4fdc130491671e6454996debcd84c5a38cb 100644 (file)
@@ -1055,7 +1055,7 @@ static int snd_trident_capture_prepare(struct snd_pcm_substream *substream)
 
        spin_lock_irq(&trident->reg_lock);
 
-       // Initilize the channel and set channel Mode
+       // Initialize the channel and set channel Mode
        outb(0, TRID_REG(trident, LEGACY_DMAR15));
 
        // Set DMA channel operation mode register
index 6a2764ee8203980b25b07227f3aba9978c72e286..3a501062c2440d2830f76f297bc4e214b2417c75 100644 (file)
@@ -46,7 +46,7 @@ struct mpc8610_hpcd_data {
 };
 
 /**
- * mpc8610_hpcd_machine_probe: initalize the board
+ * mpc8610_hpcd_machine_probe: initialize the board
  *
  * This function is called when platform_device_add() is called.  It is used
  * to initialize the board-specific hardware.
index 80b4fee2442b8ac0d4b1eb7306f6304062c09e4d..4fd13d0791b874a8cb06bb29a6ecc8df5c866b0b 100644 (file)
@@ -23,7 +23,7 @@
  * between pcm data and GPIO status data changes. Our FIQ handler is not
  * able to handle this, hence this driver only works with 48000Hz sampling
  * rate.
- * Reading and writing AC97 registers is another challange. The core
+ * Reading and writing AC97 registers is another challenge. The core
  * provides us status bits when the read register is updated with *another*
  * value. When we read the same register two times (and the register still
  * contains the same value) these status bits are not set. We work
index 998569d6033066fe9d5e498eece2e9992089a75f..e048e0910099f07723359a85e29dac1d3a6169c2 100644 (file)
@@ -1307,7 +1307,7 @@ cpu_dai_err:
 }
 
 /*
- * Attempt to initialise any uninitalised cards.  Must be called with
+ * Attempt to initialise any uninitialised cards.  Must be called with
  * client_mutex.
  */
 static void snd_soc_instantiate_cards(void)
index 456829882f4061aca8e97f9d53d07f29d309bd1e..3634cedf93061629619125690fb19dc7d0beae64 100644 (file)
@@ -636,7 +636,7 @@ static int hw_rule_period_time(struct snd_pcm_hw_params *params,
                min_datainterval = min(min_datainterval, fp->datainterval);
        }
        if (min_datainterval == 0xff) {
-               hwc_debug("  --> get emtpy\n");
+               hwc_debug("  --> get empty\n");
                it->empty = 1;
                return -EINVAL;
        }