]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
authorLinus Torvalds <torvalds@linux-foundation.org>
Tue, 30 Apr 2013 16:36:50 +0000 (09:36 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 30 Apr 2013 16:36:50 +0000 (09:36 -0700)
Pull trivial tree updates from Jiri Kosina:
 "Usual stuff, mostly comment fixes, typo fixes, printk fixes and small
  code cleanups"

* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (45 commits)
  mm: Convert print_symbol to %pSR
  gfs2: Convert print_symbol to %pSR
  m32r: Convert print_symbol to %pSR
  iostats.txt: add easy-to-find description for field 6
  x86 cmpxchg.h: fix wrong comment
  treewide: Fix typo in printk and comments
  doc: devicetree: Fix various typos
  docbook: fix 8250 naming in device-drivers
  pata_pdc2027x: Fix compiler warning
  treewide: Fix typo in printks
  mei: Fix comments in drivers/misc/mei
  treewide: Fix typos in kernel messages
  pm44xx: Fix comment for "CONFIG_CPU_IDLE"
  doc: Fix typo "CONFIG_CGROUP_CGROUP_MEMCG_SWAP"
  mmzone: correct "pags" to "pages" in comment.
  kernel-parameters: remove outdated 'noresidual' parameter
  Remove spurious _H suffixes from ifdef comments
  sound: Remove stray pluses from Kconfig file
  radio-shark: Fix printk "CONFIG_LED_CLASS"
  doc: put proper reference to CONFIG_MODULE_SIG_ENFORCE
  ...

100 files changed:
Documentation/DocBook/media/dvb/dvbproperty.xml
Documentation/cgroups/memory.txt
Documentation/devicetree/bindings/i2c/i2c-s3c2410.txt
Documentation/devicetree/bindings/leds/tca6507.txt
Documentation/devicetree/bindings/metag/meta-intc.txt
Documentation/devicetree/bindings/pinctrl/atmel,at91-pinctrl.txt
Documentation/devicetree/bindings/pinctrl/brcm,bcm2835-gpio.txt
Documentation/devicetree/bindings/power_supply/qnap-poweroff.txt
Documentation/devicetree/bindings/regulator/max8997-regulator.txt
Documentation/devicetree/bindings/usb/samsung-usbphy.txt
Documentation/iostats.txt
Documentation/kernel-parameters.txt
Documentation/trace/tracepoints.txt
Documentation/virtual/virtio-spec.txt
arch/arc/kernel/disasm.c
arch/arc/plat-arcfpga/Kconfig
arch/arm/kernel/topology.c
arch/arm/kvm/arm.c
arch/arm/mach-mvebu/irq-armada-370-xp.c
arch/arm/mach-omap2/pm44xx.c
arch/blackfin/include/asm/bfin_sport3.h
arch/m32r/kernel/traps.c
arch/powerpc/kernel/nvram_64.c
arch/powerpc/kvm/book3s_pr.c
arch/s390/kernel/irq.c
arch/s390/kvm/trace.h
arch/x86/include/asm/cmpxchg.h
drivers/ata/pata_pdc2027x.c
drivers/ata/sata_fsl.c
drivers/clk/mvebu/clk-core.c
drivers/crypto/caam/ctrl.c
drivers/gpu/drm/i915/intel_dp.c
drivers/gpu/drm/i915/intel_sdvo.c
drivers/gpu/drm/radeon/radeon_irq_kms.c
drivers/i2c/busses/i2c-puv3.c
drivers/irqchip/irq-versatile-fpga.c
drivers/isdn/i4l/isdn_tty.c
drivers/media/pci/saa7164/saa7164-core.c
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c
drivers/media/radio/radio-shark.c
drivers/media/radio/radio-shark2.c
drivers/media/usb/dvb-usb/opera1.c
drivers/misc/mei/amthif.c
drivers/misc/mei/client.c
drivers/misc/mei/hbm.c
drivers/misc/mei/hw-me.c
drivers/misc/mei/interrupt.c
drivers/misc/mei/pci-me.c
drivers/misc/mei/wd.c
drivers/net/ethernet/atheros/atl1c/atl1c_hw.c
drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c
drivers/net/ethernet/sfc/Kconfig
drivers/net/ethernet/ti/cpts.c
drivers/power/pm2301_charger.c
drivers/remoteproc/remoteproc_core.c
drivers/rtc/Kconfig
drivers/rtc/rtc-max8997.c
drivers/scsi/be2iscsi/be_iscsi.c
drivers/scsi/be2iscsi/be_mgmt.c
drivers/scsi/bnx2i/bnx2i.h
drivers/scsi/csiostor/csio_mb.c
drivers/scsi/lpfc/lpfc_bsg.c
drivers/scsi/mpt3sas/mpt3sas_config.c
drivers/scsi/osd/osd_initiator.c
drivers/scsi/qla4xxx/ql4_nx.c
drivers/usb/misc/iowarrior.c
drivers/usb/misc/uss720.c
drivers/video/amifb.c
drivers/video/auo_k190x.c
drivers/video/exynos/exynos_dp_core.c
drivers/video/goldfishfb.c
drivers/video/s1d13xxxfb.c
drivers/video/ssd1307fb.c
fs/befs/btree.c
fs/f2fs/f2fs.h
fs/f2fs/gc.c
fs/f2fs/super.c
fs/gfs2/glock.c
fs/gfs2/trans.c
fs/nfs/objlayout/objio_osd.c
fs/nfs/objlayout/objlayout.h
fs/ufs/util.c
include/linux/evm.h
include/linux/iio/gyro/itg3200.h
include/linux/ima.h
include/linux/integrity.h
include/linux/mmzone.h
include/net/sctp/sctp.h
include/sound/pcm.h
include/trace/events/timer.h
mm/hugetlb.c
mm/memory.c
mm/slab.c
net/sctp/protocol.c
sound/pci/mixart/mixart.c
sound/soc/codecs/wm8974.c
sound/soc/ux500/Kconfig
tools/perf/tests/attr.c
tools/perf/tests/parse-events.c
tools/power/cpupower/debug/i386/intel_gsic.c

index 4a5eaeed0b9e5d0f5ccb4cfc96bae0ed3edb6605..31dc4dfd1d6aaa96655d3d45e0228e3b52d80d38 100644 (file)
@@ -1,6 +1,6 @@
 <section id="FE_GET_SET_PROPERTY">
 <title><constant>FE_GET_PROPERTY/FE_SET_PROPERTY</constant></title>
-<para>This section describes the DVB version 5 extention of the DVB-API, also
+<para>This section describes the DVB version 5 extension of the DVB-API, also
 called "S2API", as this API were added to provide support for DVB-S2. It was
 designed to be able to replace the old frontend API. Yet, the DISEQC and
 the capability ioctls weren't implemented yet via the new way.</para>
@@ -952,7 +952,7 @@ enum fe_interleaving {
                <para>Measures the amount of bits received before the inner code block, during the same period as
                <link linkend="DTV-STAT-PRE-ERROR-BIT-COUNT"><constant>DTV_STAT_PRE_ERROR_BIT_COUNT</constant></link> measurement was taken.</para>
                <para>It should be noticed that this measurement can be smaller than the total amount of bits on the transport stream,
-                     as the frontend may need to manually restart the measurement, loosing some data between each measurement interval.</para>
+                     as the frontend may need to manually restart the measurement, losing some data between each measurement interval.</para>
                <para>This measurement is monotonically increased, as the frontend gets more bit count measurements.
                      The frontend may reset it when a channel/transponder is tuned.</para>
                <para>Possible scales for this metric are:</para>
@@ -981,7 +981,7 @@ enum fe_interleaving {
                <para>Measures the amount of bits received after the inner coding, during the same period as
                <link linkend="DTV-STAT-POST-ERROR-BIT-COUNT"><constant>DTV_STAT_POST_ERROR_BIT_COUNT</constant></link> measurement was taken.</para>
                <para>It should be noticed that this measurement can be smaller than the total amount of bits on the transport stream,
-                     as the frontend may need to manually restart the measurement, loosing some data between each measurement interval.</para>
+                     as the frontend may need to manually restart the measurement, losing some data between each measurement interval.</para>
                <para>This measurement is monotonically increased, as the frontend gets more bit count measurements.
                      The frontend may reset it when a channel/transponder is tuned.</para>
                <para>Possible scales for this metric are:</para>
index f336ede58e62065e9c508f11ff3431d9eb6dc39a..09027a9fece5e4b58edd8d45046d39ec46ddf84c 100644 (file)
@@ -196,7 +196,7 @@ the cgroup that brought it in -- this will happen on memory pressure).
 But see section 8.2: when moving a task to another cgroup, its pages may
 be recharged to the new cgroup, if move_charge_at_immigrate has been chosen.
 
-Exception: If CONFIG_CGROUP_CGROUP_MEMCG_SWAP is not used.
+Exception: If CONFIG_MEMCG_SWAP is not used.
 When you do swapoff and make swapped-out pages of shmem(tmpfs) to
 be backed into memory in force, charges for pages are accounted against the
 caller of swapoff rather than the users of shmem.
index f98d4c5b5cca454026fabebe380fcce3bc698b6e..296eb4536129faab7144891aaa7840863b76b130 100644 (file)
@@ -26,7 +26,7 @@ Required for all cases except "samsung,s3c2440-hdmiphy-i2c":
     - pinctrl-names: Should contain only one value - "default".
 
 Optional properties:
-  - samsung,i2c-slave-addr: Slave address in multi-master enviroment. If not
+  - samsung,i2c-slave-addr: Slave address in multi-master environment. If not
     specified, default value is 0.
   - samsung,i2c-max-bus-freq: Desired frequency in Hz of the bus. If not
     specified, the default value in Hz is 100000.
index 2b6693b972fbbf2cb7279eb0d41a0c4aef2f8bf8..80ff3dfb1f325e89993184324e8ed053fd15e867 100644 (file)
@@ -1,4 +1,4 @@
-LEDs conected to tca6507
+LEDs connected to tca6507
 
 Required properties:
 - compatible : should be : "ti,tca6507".
index 8c47dcbfabc69bd49789395ad5982d297f27f6b0..80994adab3928905de7c44bbc725a1f6f345ca74 100644 (file)
@@ -12,7 +12,7 @@ Required properties:
       handle 32 interrupt sources).
 
     - interrupt-controller: The presence of this property identifies the node
-      as an interupt controller. No property value shall be defined.
+      as an interrupt controller. No property value shall be defined.
 
     - #interrupt-cells: Specifies the number of cells needed to encode an
       interrupt source. The type shall be a <u32> and the value shall be 2.
index bc50899e0c81f8afcd7888f5200bcb7ef5dc32d2..648d60eb9fd8f505be140b6d58a6cb771ed04220 100644 (file)
@@ -1,6 +1,6 @@
 * Atmel AT91 Pinmux Controller
 
-The AT91 Pinmux Controler, enables the IC
+The AT91 Pinmux Controller, enables the IC
 to share one PAD to several functional blocks. The sharing is done by
 multiplexing the PAD input/output signals. For each PAD there are up to
 8 muxing options (called periph modes). Since different modules require
index 8edc20e1b09e3e1f2a8b2610d7fede5419d0b7a5..2569866c692f4a8c90b2641953deb41ef370d3db 100644 (file)
@@ -5,7 +5,7 @@ controller, and pinmux/control device.
 
 Required properties:
 - compatible: "brcm,bcm2835-gpio"
-- reg: Should contain the physical address of the GPIO module's registes.
+- reg: Should contain the physical address of the GPIO module's registers.
 - gpio-controller: Marks the device node as a GPIO controller.
 - #gpio-cells : Should be two. The first cell is the pin number and the
   second cell is used to specify optional parameters:
index 9a599d27bd75a9e8ab74242329e7885eec7fd0ee..0347d8350d94712fc26a42e153ea2f06c3363438 100644 (file)
@@ -2,7 +2,7 @@
 
 QNAP NAS devices have a microcontroller controlling the main power
 supply. This microcontroller is connected to UART1 of the Kirkwood and
-Orion5x SoCs. Sending the charactor 'A', at 19200 baud, tells the
+Orion5x SoCs. Sending the character 'A', at 19200 baud, tells the
 microcontroller to turn the power off. This driver adds a handler to
 pm_power_off which is called to turn the power off.
 
index 9fd69a18b0ba7384ed2f4805270c1a83487152cb..9e5e51d788682f8ec96dfd868a14250af9839041 100644 (file)
@@ -28,7 +28,7 @@ Required properties:
     safe operating voltage).
 
     If either of the 'max8997,pmic-buck[1/2/5]-uses-gpio-dvs' optional
-    property is specified, then all the eigth voltage values for the
+    property is specified, then all the eight voltage values for the
     'max8997,pmic-buck[1/2/5]-dvs-voltage' should be specified.
 
 Optional properties:
index f575302e5173032143347644c0c29b9591936cc9..33fd3543f3f84e55cd9b5d380caea5805cccfb43 100644 (file)
@@ -6,7 +6,7 @@ The Samsung's usb 2.0 phy transceiver is used for controlling
 usb 2.0 phy for s3c-hsotg as well as ehci-s5p and ohci-exynos
 usb controllers across Samsung SOCs.
 TODO: Adding the PHY binding with controller(s) according to the under
-developement generic PHY driver.
+development generic PHY driver.
 
 Required properties:
 
index c76c21d87e8582a2bd624ac126ba45290e851d70..65f694f2d1c9461c39f2ee71de4f24c7ddc62b02 100644 (file)
@@ -71,6 +71,8 @@ Field  4 -- # of milliseconds spent reading
     measured from __make_request() to end_that_request_last()).
 Field  5 -- # of writes completed
     This is the total number of writes completed successfully.
+Field  6 -- # of writes merged
+    See the description of field 2.
 Field  7 -- # of sectors written
     This is the total number of sectors written successfully.
 Field  8 -- # of milliseconds spent writing
index b801a332fb6f26a6a92da99328bbc84d27e36732..8c01a0218a1e0e9e08470215e495d7ae0c0be7c0 100644 (file)
@@ -1675,7 +1675,7 @@ bytes respectively. Such letter suffixes can also be entirely omitted.
        module.sig_enforce
                        [KNL] When CONFIG_MODULE_SIG is set, this means that
                        modules without (valid) signatures will fail to load.
-                       Note that if CONFIG_MODULE_SIG_ENFORCE is set, that
+                       Note that if CONFIG_MODULE_SIG_FORCE is set, that
                        is always true, so this option does nothing.
 
        mousedev.tap_time=
@@ -2024,8 +2024,6 @@ bytes respectively. Such letter suffixes can also be entirely omitted.
        noreplace-smp   [X86-32,SMP] Don't replace SMP instructions
                        with UP alternatives
 
-       noresidual      [PPC] Don't use residual data on PReP machines.
-
        nordrand        [X86] Disable the direct use of the RDRAND
                        instruction even if it is supported by the
                        processor.  RDRAND is still available to user
index c0e1ceed75a441b692bf447b3fcdc49d8abdd1cc..da49437d5aeb774f5d865959fc4d87dcbdc79ac1 100644 (file)
@@ -81,7 +81,6 @@ tracepoint_synchronize_unregister() must be called before the end of
 the module exit function to make sure there is no caller left using
 the probe. This, and the fact that preemption is disabled around the
 probe call, make sure that probe removal and module unload are safe.
-See the "Probe example" section below for a sample probe module.
 
 The tracepoint mechanism supports inserting multiple instances of the
 same tracepoint, but a single definition must be made of a given
@@ -100,17 +99,3 @@ core kernel image or in modules.
 If the tracepoint has to be used in kernel modules, an
 EXPORT_TRACEPOINT_SYMBOL_GPL() or EXPORT_TRACEPOINT_SYMBOL() can be
 used to export the defined tracepoints.
-
-* Probe / tracepoint example
-
-See the example provided in samples/tracepoints
-
-Compile them with your kernel.  They are built during 'make' (not
-'make modules') when CONFIG_SAMPLE_TRACEPOINTS=m.
-
-Run, as root :
-modprobe tracepoint-sample (insmod order is not important)
-modprobe tracepoint-probe-sample
-cat /proc/tracepoint-sample (returns an expected error)
-rmmod tracepoint-sample tracepoint-probe-sample
-dmesg
index 0d6ec85481cb5f70693bc6bb8a3197cb85f8028a..eb094039b50dd25c19ff3859dbb3750641957f91 100644 (file)
@@ -1389,7 +1389,7 @@ segmentation, if both guests are amenable.
 
 Packets are transmitted by placing them in the transmitq, and
 buffers for incoming packets are placed in the receiveq. In each
-case, the packet itself is preceeded by a header:
+case, the packet itself is preceded by a header:
 
 struct virtio_net_hdr {
 
@@ -1631,7 +1631,7 @@ struct virtio_net_ctrl_mac {
 
 The device can filter incoming packets by any number of
 destination MAC addresses.[footnote:
-Since there are no guarentees, it can use a hash filter
+Since there are no guarantees, it can use a hash filter
 orsilently switch to allmulti or promiscuous mode if it is given
 too many addresses.
 ] This table is set using the class VIRTIO_NET_CTRL_MAC and the
@@ -1822,7 +1822,7 @@ the FLUSH and FLUSH_OUT types are equivalent, the device does not
 distinguish between them
 ]). If the device has VIRTIO_BLK_F_BARRIER feature the high bit
 (VIRTIO_BLK_T_BARRIER) indicates that this request acts as a
-barrier and that all preceeding requests must be complete before
+barrier and that all preceding requests must be complete before
 this one, and all following requests must not be started until
 this is complete. Note that a barrier does not flush caches in
 the underlying backend device in host, and thus does not serve as
index 2f390289a792b333573ccc021b1f1835255c96a0..d14764ae2c6068f7f8c6b2459233e9751901570f 100644 (file)
@@ -535,4 +535,4 @@ int __kprobes disasm_next_pc(unsigned long pc, struct pt_regs *regs,
        return instr.is_branch;
 }
 
-#endif /* CONFIG_KGDB || CONFIG_MISALIGN_ACCESS || CONFIG_KPROBES */
+#endif /* CONFIG_KGDB || CONFIG_ARC_MISALIGN_ACCESS || CONFIG_KPROBES */
index b41e786cdbc06e8a42353bc34097e560862b8ad7..295cefeb25d3a85dec7728397a6d4bc6ec9d6f12 100644 (file)
@@ -53,7 +53,7 @@ menuconfig ARC_HAS_BVCI_LAT_UNIT
        bool "BVCI Bus Latency Unit"
        depends on ARC_BOARD_ML509 || ARC_BOARD_ANGEL4
        help
-         IP to add artifical latency to BVCI Bus Based FPGA builds.
+         IP to add artificial latency to BVCI Bus Based FPGA builds.
          The default latency (even worst case) for FPGA is non-realistic
          (~10 SDRAM, ~5 SSRAM).
 
index 79282ebcd9394f154d63d8edc7576aac2f66e7f7..f10316b4ecdc7558b05644d3758532a26fa6de58 100644 (file)
@@ -100,7 +100,7 @@ static void __init parse_dt_topology(void)
        int alloc_size, cpu = 0;
 
        alloc_size = nr_cpu_ids * sizeof(struct cpu_capacity);
-       cpu_capacity = (struct cpu_capacity *)kzalloc(alloc_size, GFP_NOWAIT);
+       cpu_capacity = kzalloc(alloc_size, GFP_NOWAIT);
 
        while ((cn = of_find_node_by_type(cn, "cpu"))) {
                const u32 *rate, *reg;
index c1fe498983ac84c21334d87b1cd9cd6c8c3abc3f..842098d78f5823bdcfed6c301328b3f5e082c7d6 100644 (file)
@@ -614,7 +614,7 @@ static int handle_exit(struct kvm_vcpu *vcpu, struct kvm_run *run,
 
                if (hsr_ec >= ARRAY_SIZE(arm_exit_handlers)
                    || !arm_exit_handlers[hsr_ec]) {
-                       kvm_err("Unkown exception class: %#08lx, "
+                       kvm_err("Unknown exception class: %#08lx, "
                                "hsr: %#08x\n", hsr_ec,
                                (unsigned int)vcpu->arch.hsr);
                        BUG();
index d5970f5a1e8d5ea8010c8f243853ec3a28d6bb30..830139a3e2ba453738845a2e8b3c8b5e6132d785 100644 (file)
@@ -57,7 +57,7 @@ static struct irq_domain *armada_370_xp_mpic_domain;
 /*
  * In SMP mode:
  * For shared global interrupts, mask/unmask global enable bit
- * For CPU interrtups, mask/unmask the calling CPU's bit
+ * For CPU interrupts, mask/unmask the calling CPU's bit
  */
 static void armada_370_xp_irq_mask(struct irq_data *d)
 {
index ea62e75ef21d39678632c13808c3d8847cd0b422..152a10cf4f1db58eb5768834963b5cc3b4426b0b 100644 (file)
@@ -126,8 +126,8 @@ static int __init pwrdms_setup(struct powerdomain *pwrdm, void *unused)
  * omap_default_idle - OMAP4 default ilde routine.'
  *
  * Implements OMAP4 memory, IO ordering requirements which can't be addressed
- * with default cpu_do_idle() hook. Used by all CPUs with !CONFIG_CPUIDLE and
- * by secondary CPU with CONFIG_CPUIDLE.
+ * with default cpu_do_idle() hook. Used by all CPUs with !CONFIG_CPU_IDLE and
+ * by secondary CPU with CONFIG_CPU_IDLE.
  */
 static void omap_default_idle(void)
 {
index 03c00220d69bbf4e2f34960bed5e64f8f894366b..d82f5fa0ad9f4f22f48060f23a7f9cb3855644f9 100644 (file)
@@ -41,7 +41,7 @@
 #define SPORT_CTL_LAFS                0x00020000    /* Late Transmit frame select */
 #define SPORT_CTL_RJUST               0x00040000    /* Right Justified mode select */
 #define SPORT_CTL_FSED                0x00080000    /* External frame sync edge select */
-#define SPORT_CTL_TFIEN               0x00100000    /* Transmit finish interrrupt enable select */
+#define SPORT_CTL_TFIEN               0x00100000    /* Transmit finish interrupt enable select */
 #define SPORT_CTL_GCLKEN              0x00200000    /* Gated clock mode select */
 #define SPORT_CTL_SPENSEC             0x01000000    /* Enable secondary channel */
 #define SPORT_CTL_SPTRAN              0x02000000    /* Data direction control */
index 3bcb207e5b6d2611127ca3d85526735882db952a..9fe3467a51339a8565bed472d8444fc519dcc3de 100644 (file)
@@ -132,10 +132,8 @@ static void show_trace(struct task_struct *task, unsigned long *stack)
        printk("Call Trace: ");
        while (!kstack_end(stack)) {
                addr = *stack++;
-               if (__kernel_text_address(addr)) {
-                       printk("[<%08lx>] ", addr);
-                       print_symbol("%s\n", addr);
-               }
+               if (__kernel_text_address(addr))
+                       printk("[<%08lx>] %pSR\n", addr, (void *)addr);
        }
        printk("\n");
 }
index bec1e930ed736e233f5022e4255a9d50f6462356..48fbc2b97e952114c45162515ed211a9d40be40a 100644 (file)
@@ -511,8 +511,7 @@ int __init nvram_scan_partitions(void)
                               "detected: 0-length partition\n");
                        goto out;
                }
-               tmp_part = (struct nvram_partition *)
-                       kmalloc(sizeof(struct nvram_partition), GFP_KERNEL);
+               tmp_part = kmalloc(sizeof(struct nvram_partition), GFP_KERNEL);
                err = -ENOMEM;
                if (!tmp_part) {
                        printk(KERN_ERR "nvram_scan_partitions: kmalloc failed\n");
index 5e93438afb068c89b27062cec2bb772d4e77ce4c..dbdc15aa8127f2c13e29359236e7b0869ad899fc 100644 (file)
@@ -1039,7 +1039,7 @@ struct kvm_vcpu *kvmppc_core_vcpu_create(struct kvm *kvm, unsigned int id)
        if (!vcpu_book3s)
                goto out;
 
-       vcpu_book3s->shadow_vcpu = (struct kvmppc_book3s_shadow_vcpu *)
+       vcpu_book3s->shadow_vcpu =
                kzalloc(sizeof(*vcpu_book3s->shadow_vcpu), GFP_KERNEL);
        if (!vcpu_book3s->shadow_vcpu)
                goto free_vcpu;
index 1630f439cd2a567d27d0ddb5828917808fec5f15..4f5ef62934a4d5b59565ae0b71a4f948e576f16c 100644 (file)
@@ -33,7 +33,7 @@ struct irq_class {
 };
 
 /*
- * The list of "main" irq classes on s390. This is the list of interrrupts
+ * The list of "main" irq classes on s390. This is the list of interrupts
  * that appear both in /proc/stat ("intr" line) and /proc/interrupts.
  * Historically only external and I/O interrupts have been part of /proc/stat.
  * We can't add the split external and I/O sub classes since the first field
index 53252d2d472007358c4dc9fd788665a8b260e2f3..c2f582bb1cb262e421072a9b1500c961f4e7426a 100644 (file)
@@ -67,7 +67,7 @@ TRACE_EVENT(kvm_s390_sie_fault,
 #define sie_intercept_code                             \
        {0x04, "Instruction"},                          \
        {0x08, "Program interruption"},                 \
-       {0x0C, "Instruction and program interuption"},  \
+       {0x0C, "Instruction and program interruption"}, \
        {0x10, "External request"},                     \
        {0x14, "External interruption"},                \
        {0x18, "I/O request"},                          \
index 8d871eaddb6677d7fccad7972593b7f36b81617c..d47786acb0169d0c2e87e830384ecac579cbc18c 100644 (file)
@@ -35,7 +35,7 @@ extern void __add_wrong_size(void)
 
 /* 
  * An exchange-type operation, which takes a value and a pointer, and
- * returns the old value.
+ * returns the old value.
  */
 #define __xchg_op(ptr, arg, op, lock)                                  \
        ({                                                              \
index 3f94a886bb35cb90d833021d41237ccd08002e94..c76e65927b0eaefa369af9f1ae8abe87b7b8266c 100644 (file)
@@ -63,7 +63,9 @@ enum {
 };
 
 static int pdc2027x_init_one(struct pci_dev *pdev, const struct pci_device_id *ent);
+#ifdef CONFIG_PM
 static int pdc2027x_reinit_one(struct pci_dev *pdev);
+#endif
 static int pdc2027x_prereset(struct ata_link *link, unsigned long deadline);
 static void pdc2027x_set_piomode(struct ata_port *ap, struct ata_device *adev);
 static void pdc2027x_set_dmamode(struct ata_port *ap, struct ata_device *adev);
index 608f82fed632be1738c019f6fcfac6117b657a8d..dfc6fd0ac119668ff3fb351fcc4d4ac19a841519 100644 (file)
@@ -311,7 +311,7 @@ static void fsl_sata_set_irq_coalescing(struct ata_host *host,
        intr_coalescing_ticks = ticks;
        spin_unlock(&host->lock);
 
-       DPRINTK("intrrupt coalescing, count = 0x%x, ticks = %x\n",
+       DPRINTK("interrupt coalescing, count = 0x%x, ticks = %x\n",
                        intr_coalescing_count, intr_coalescing_ticks);
        DPRINTK("ICC register status: (hcr base: 0x%x) = 0x%x\n",
                        hcr_base, ioread32(hcr_base + ICC));
index 2628610c1929b8dbcd12a04f5ccd0ea3b26214f3..0a53edbae8b8ceed17346ac3df2bd38b0060acfa 100644 (file)
@@ -157,7 +157,7 @@ static u32 __init armada_370_get_cpu_freq(void __iomem *sar)
        cpu_freq_select = ((readl(sar) >> SARL_A370_PCLK_FREQ_OPT) &
                           SARL_A370_PCLK_FREQ_OPT_MASK);
        if (cpu_freq_select >= ARRAY_SIZE(armada_370_cpu_frequencies)) {
-               pr_err("CPU freq select unsuported %d\n", cpu_freq_select);
+               pr_err("CPU freq select unsupported %d\n", cpu_freq_select);
                cpu_freq = 0;
        } else
                cpu_freq = armada_370_cpu_frequencies[cpu_freq_select];
@@ -279,7 +279,7 @@ static u32 __init armada_xp_get_cpu_freq(void __iomem *sar)
                             SARH_AXP_PCLK_FREQ_OPT_MASK)
                            << SARH_AXP_PCLK_FREQ_OPT_SHIFT);
        if (cpu_freq_select >= ARRAY_SIZE(armada_xp_cpu_frequencies)) {
-               pr_err("CPU freq select unsuported: %d\n", cpu_freq_select);
+               pr_err("CPU freq select unsupported: %d\n", cpu_freq_select);
                cpu_freq = 0;
        } else
                cpu_freq = armada_xp_cpu_frequencies[cpu_freq_select];
index 1c56f63524f27b2139860518f3ee672fdeef07cb..8acf00490fd5c3ff97f5dbd5b8a750c8ae548a62 100644 (file)
@@ -66,7 +66,7 @@ static void build_instantiation_desc(u32 *desc)
 
        /*
         * load 1 to clear written reg:
-        * resets the done interrrupt and returns the RNG to idle.
+        * resets the done interrupt and returns the RNG to idle.
         */
        append_load_imm_u32(desc, 1, LDST_SRCDST_WORD_CLRW);
 
index 8fc93f90a7cdf9262d52186697b09ca84879b137..c3f5bd8a50775c7c808cf487412b99cb47413608 100644 (file)
@@ -2028,7 +2028,7 @@ intel_dp_complete_link_train(struct intel_dp *intel_dp)
        }
 
        if (channel_eq)
-               DRM_DEBUG_KMS("Channel EQ done. DP Training successfull\n");
+               DRM_DEBUG_KMS("Channel EQ done. DP Training successful\n");
 
        intel_dp_set_link_train(intel_dp, DP, DP_TRAINING_PATTERN_DISABLE);
 }
index d07a8cdf998ec4b1eadda9aa9906a8053f25b1ee..78413ec623c93379d9f2f1f119aebbbcb1c6102c 100644 (file)
@@ -451,7 +451,7 @@ static bool intel_sdvo_write_cmd(struct intel_sdvo *intel_sdvo, u8 cmd,
        int i, ret = true;
 
         /* Would be simpler to allocate both in one go ? */        
-       buf = (u8 *)kzalloc(args_len * 2 + 2, GFP_KERNEL);
+       buf = kzalloc(args_len * 2 + 2, GFP_KERNEL);
        if (!buf)
                return false;
 
index 48f80cd42d8f35a8a4e8757c6268172288c4573a..5a99d433fc35d52f57aa11649b1847ce7c7e7321 100644 (file)
@@ -270,7 +270,7 @@ int radeon_irq_kms_init(struct radeon_device *rdev)
 }
 
 /**
- * radeon_irq_kms_fini - tear down driver interrrupt info
+ * radeon_irq_kms_fini - tear down driver interrupt info
  *
  * @rdev: radeon device pointer
  *
index 261d7db437e250140349138903e653ab699ff519..8acef657abf3c76cd6377a80f001172a0c8d06ef 100644 (file)
@@ -199,7 +199,7 @@ static int puv3_i2c_probe(struct platform_device *pdev)
 
        adapter = kzalloc(sizeof(struct i2c_adapter), GFP_KERNEL);
        if (adapter == NULL) {
-               dev_err(&pdev->dev, "can't allocate inteface!\n");
+               dev_err(&pdev->dev, "can't allocate interface!\n");
                rc = -ENOMEM;
                goto fail_nomem;
        }
index 9dbd82b716d34dceeabf53a600ac5e7911d8f0a0..065b7a31a47833a3cbe444f3e8779611ca2ede3a 100644 (file)
@@ -139,7 +139,7 @@ void __init fpga_irq_init(void __iomem *base, const char *name, int irq_start,
        int i;
 
        if (fpga_irq_id >= ARRAY_SIZE(fpga_irq_devices)) {
-               pr_err("%s: too few FPGA IRQ controllers, increase CONFIG_PLAT_VERSATILE_FPGA_IRQ_NR\n", __func__);
+               pr_err("%s: too few FPGA IRQ controllers, increase CONFIG_VERSATILE_FPGA_IRQ_NR\n", __func__);
                return;
        }
        f = &fpga_irq_devices[fpga_irq_id];
index b72afd81a7bb9928a8e32f3eb1b21f60e4791863..3c5f2491a16f48f9aa365cef6423e6d8acfd74f5 100644 (file)
@@ -3424,7 +3424,6 @@ isdn_tty_parse_at(modem_info *info)
                        p++;
                        isdn_tty_cmd_ATA(info);
                        return;
-                       break;
                case 'D':
                        /* D - Dial */
                        if (info->msr & UART_MSR_DCD)
index 63502e7a2a762fbf75f90108ac9cf3b8781ad70b..7618fdae811e3b28264de314c43fe8c6996a8ae9 100644 (file)
@@ -54,7 +54,7 @@ MODULE_PARM_DESC(debug, "enable debug messages");
 
 unsigned int fw_debug;
 module_param(fw_debug, int, 0644);
-MODULE_PARM_DESC(fw_debug, "Firware debug level def:2");
+MODULE_PARM_DESC(fw_debug, "Firmware debug level def:2");
 
 unsigned int encoder_buffers = SAA7164_MAX_ENCODER_BUFFERS;
 module_param(encoder_buffers, int, 0644);
index beb6dbacebd95d4c97aad78a40ad42b92ad8fcb5..98a9c093a6b9012c13eec72bc5aaa019f4c0606e 100644 (file)
@@ -1312,7 +1312,7 @@ static inline int s5p_mfc_get_new_ctx(struct s5p_mfc_dev *dev)
        int cnt;
 
        spin_lock_irqsave(&dev->condlock, flags);
-       mfc_debug(2, "Previos context: %d (bits %08lx)\n", dev->curr_ctx,
+       mfc_debug(2, "Previous context: %d (bits %08lx)\n", dev->curr_ctx,
                                                        dev->ctx_work_bits);
        new_ctx = (dev->curr_ctx + 1) % MFC_NUM_CONTEXTS;
        cnt = 0;
index 8c309c7134d7f0e0abb60be8a83e03578e2cfc9e..8fa18ab5b72563ad2235b5b32c9e5023d024f8ad 100644 (file)
@@ -284,7 +284,7 @@ static void shark_resume_leds(struct shark_device *shark)
 static int shark_register_leds(struct shark_device *shark, struct device *dev)
 {
        v4l2_warn(&shark->v4l2_dev,
-                 "CONFIG_LED_CLASS not enabled, LED support disabled\n");
+                 "CONFIG_LEDS_CLASS not enabled, LED support disabled\n");
        return 0;
 }
 static inline void shark_unregister_leds(struct shark_device *shark) { }
index ef65ebbd536451a276244e0119da4b2674fe97b1..9fb669721e66d8a3ee48850c1f77f8ad34074873 100644 (file)
@@ -250,7 +250,7 @@ static void shark_resume_leds(struct shark_device *shark)
 static int shark_register_leds(struct shark_device *shark, struct device *dev)
 {
        v4l2_warn(&shark->v4l2_dev,
-                 "CONFIG_LED_CLASS not enabled, LED support disabled\n");
+                 "CONFIG_LEDS_CLASS not enabled, LED support disabled\n");
        return 0;
 }
 static inline void shark_unregister_leds(struct shark_device *shark) { }
index c8a95042dfbc8be22a1968f1ba54aa75e93817ba..16ba90acf5396ff54395497e9180b5f883adfc37 100644 (file)
@@ -151,7 +151,7 @@ static int opera1_i2c_xfer(struct i2c_adapter *adap, struct i2c_msg msg[],
                        break;
                }
                if (dvb_usb_opera1_debug & 0x10)
-                       info("sending i2c mesage %d %d", tmp, msg[i].len);
+                       info("sending i2c message %d %d", tmp, msg[i].len);
        }
        mutex_unlock(&d->i2c_mutex);
        return num;
index 31a6212cb8b142af28e3df87cd9996e358c48324..b3e50984d2c8b444ef823254b6d7f39556b74da1 100644 (file)
@@ -60,7 +60,7 @@ void mei_amthif_reset_params(struct mei_device *dev)
 }
 
 /**
- * mei_amthif_host_init_ - mei initialization amthif client.
+ * mei_amthif_host_init - mei initialization amthif client.
  *
  * @dev: the device structure
  *
@@ -433,7 +433,7 @@ unsigned int mei_amthif_poll(struct mei_device *dev,
 
 
 /**
- * mei_amthif_irq_process_completed - processes completed iamthif operation.
+ * mei_amthif_irq_write_completed - processes completed iamthif operation.
  *
  * @dev: the device structure.
  * @slots: free slots.
@@ -704,7 +704,7 @@ static bool mei_clear_lists(struct mei_device *dev, struct file *file)
 /**
 * mei_amthif_release - the release function
 *
-*  @inode: pointer to inode structure
+*  @dev: device structure
 *  @file: pointer to file structure
 *
 *  returns 0 on success, <0 on error
index 71892745e2e8420ac8af6ed767126d1ab819e0da..e310ca6ed1a34b2f78e8e02de45cb9cf222614ac 100644 (file)
@@ -109,7 +109,7 @@ void mei_io_cb_free(struct mei_cl_cb *cb)
  * mei_io_cb_init - allocate and initialize io callback
  *
  * @cl - mei client
- * @file: pointer to file structure
+ * @fp: pointer to file structure
  *
  * returns mei_cl_cb pointer or NULL;
  */
@@ -132,8 +132,8 @@ struct mei_cl_cb *mei_io_cb_init(struct mei_cl *cl, struct file *fp)
 /**
  * mei_io_cb_alloc_req_buf - allocate request buffer
  *
- * @cb -  io callback structure
- * @size: size of the buffer
+ * @cb: io callback structure
+ * @length: size of the buffer
  *
  * returns 0 on success
  *         -EINVAL if cb is NULL
@@ -154,10 +154,10 @@ int mei_io_cb_alloc_req_buf(struct mei_cl_cb *cb, size_t length)
        return 0;
 }
 /**
- * mei_io_cb_alloc_req_buf - allocate respose buffer
+ * mei_io_cb_alloc_resp_buf - allocate respose buffer
  *
- * @cb -  io callback structure
- * @size: size of the buffer
+ * @cb: io callback structure
+ * @length: size of the buffer
  *
  * returns 0 on success
  *         -EINVAL if cb is NULL
@@ -183,7 +183,6 @@ int mei_io_cb_alloc_resp_buf(struct mei_cl_cb *cb, size_t length)
 /**
  * mei_cl_flush_queues - flushes queue lists belonging to cl.
  *
- * @dev: the device structure
  * @cl: host client
  */
 int mei_cl_flush_queues(struct mei_cl *cl)
@@ -244,7 +243,8 @@ struct mei_cl *mei_cl_allocate(struct mei_device *dev)
 /**
  * mei_cl_find_read_cb - find this cl's callback in the read list
  *
- * @dev: device structure
+ * @cl: host client
+ *
  * returns cb on success, NULL on error
  */
 struct mei_cl_cb *mei_cl_find_read_cb(struct mei_cl *cl)
@@ -263,6 +263,7 @@ struct mei_cl_cb *mei_cl_find_read_cb(struct mei_cl *cl)
  *
  * @cl - host client
  * @id - fixed host id or -1 for genereting one
+ *
  * returns 0 on success
  *     -EINVAL on incorrect values
  *     -ENONET if client not found
@@ -302,7 +303,7 @@ int mei_cl_link(struct mei_cl *cl, int id)
 /**
  * mei_cl_unlink - remove me_cl from the list
  *
- * @dev: the device structure
+ * @cl: host client
  */
 int mei_cl_unlink(struct mei_cl *cl)
 {
@@ -538,7 +539,6 @@ int mei_cl_connect(struct mei_cl *cl, struct file *file)
 /**
  * mei_cl_flow_ctrl_creds - checks flow_control credits for cl.
  *
- * @dev: the device structure
  * @cl: private data of the file object
  *
  * returns 1 if mei_flow_ctrl_creds >0, 0 - otherwise.
@@ -579,8 +579,8 @@ int mei_cl_flow_ctrl_creds(struct mei_cl *cl)
 /**
  * mei_cl_flow_ctrl_reduce - reduces flow_control.
  *
- * @dev: the device structure
  * @cl: private data of the file object
+ *
  * @returns
  *     0 on success
  *     -ENOENT when me client is not found
@@ -618,7 +618,7 @@ int mei_cl_flow_ctrl_reduce(struct mei_cl *cl)
 }
 
 /**
- * mei_cl_start_read - the start read client message function.
+ * mei_cl_read_start - the start read client message function.
  *
  * @cl: host client
  *
index db605f5cf187c9ad42cd6e53f9cdad501bfcaf6e..6916045166eb4fda8eb347ff8978aac5c6ca6fc9 100644 (file)
@@ -62,6 +62,7 @@ static void mei_hbm_me_cl_allocate(struct mei_device *dev)
 
 /**
  * mei_hbm_cl_hdr - construct client hbm header
+ *
  * @cl: - client
  * @hbm_cmd: host bus message command
  * @buf: buffer for cl header
@@ -206,7 +207,7 @@ static void mei_hbm_enum_clients_req(struct mei_device *dev)
 }
 
 /**
- * mei_hbm_prop_requsest - request property for a single client
+ * mei_hbm_prop_req - request property for a single client
  *
  * @dev: the device structure
  *
@@ -306,9 +307,9 @@ int mei_hbm_cl_flow_control_req(struct mei_device *dev, struct mei_cl *cl)
 }
 
 /**
- * add_single_flow_creds - adds single buffer credentials.
+ * mei_hbm_add_single_flow_creds - adds single buffer credentials.
  *
- * @file: private data ot the file object.
+ * @dev: the device structure
  * @flow: flow control.
  */
 static void mei_hbm_add_single_flow_creds(struct mei_device *dev,
@@ -500,7 +501,7 @@ static void mei_hbm_cl_connect_res(struct mei_device *dev,
 
 
 /**
- * mei_client_disconnect_request - disconnect request initiated by me
+ * mei_hbm_fw_disconnect_req - disconnect request initiated by me
  *  host sends disoconnect response
  *
  * @dev: the device structure.
index fc032270916aee633c6a112ef197b02ffb3fe424..822170f00348df63b2a180aa157f08a0496ca27e 100644 (file)
@@ -103,7 +103,7 @@ static inline void mei_hcsr_set(struct mei_me_hw *hw, u32 hcsr)
 
 
 /**
- * me_hw_config - configure hw dependent settings
+ * mei_me_hw_config - configure hw dependent settings
  *
  * @dev: mei device
  */
@@ -169,7 +169,7 @@ static void mei_me_hw_reset_release(struct mei_device *dev)
  * mei_me_hw_reset - resets fw via mei csr register.
  *
  * @dev: the device structure
- * @interrupts_enabled: if interrupt should be enabled after reset.
+ * @intr_enable: if interrupt should be enabled after reset.
  */
 static void mei_me_hw_reset(struct mei_device *dev, bool intr_enable)
 {
@@ -285,7 +285,7 @@ static unsigned char mei_hbuf_filled_slots(struct mei_device *dev)
 }
 
 /**
- * mei_hbuf_is_empty - checks if host buffer is empty.
+ * mei_me_hbuf_is_empty - checks if host buffer is empty.
  *
  * @dev: the device structure
  *
@@ -554,7 +554,7 @@ static const struct mei_hw_ops mei_me_hw_ops = {
 };
 
 /**
- * init_mei_device - allocates and initializes the mei device structure
+ * mei_me_dev_init - allocates and initializes the mei device structure
  *
  * @pdev: The pci device structure
  *
index 1473cfdbc4269e39933f65952bc178728609d01c..2ad736989410d475af90e7b8e6569283c07500b0 100644 (file)
@@ -230,7 +230,7 @@ static int _mei_irq_thread_close(struct mei_device *dev, s32 *slots,
 
 
 /**
- * _mei_hb_read - processes read related operation.
+ * _mei_irq_thread_read - processes read related operation.
  *
  * @dev: the device structure.
  * @slots: free slots.
@@ -369,7 +369,7 @@ static int mei_irq_thread_write_complete(struct mei_device *dev, s32 *slots,
 }
 
 /**
- * mei_irq_thread_read_handler - bottom half read routine after ISR to
+ * mei_irq_read_handler - bottom half read routine after ISR to
  * handle the read processing.
  *
  * @dev: the device structure
index 88aec6a90ff4c95c6ce6f3a5790a098ba50e7cd9..a727464e9c3fb31b33f4a7b97c073e2ab4da735a 100644 (file)
@@ -92,6 +92,7 @@ static DEFINE_MUTEX(mei_mutex);
 
 /**
  * mei_quirk_probe - probe for devices that doesn't valid ME interface
+ *
  * @pdev: PCI device structure
  * @ent: entry into pci_device_table
  *
index eb3f05c8d7d0659c01e96aa108b8823a1526d1f2..6251a4ee7067b19a7119b0f47df97700c7beb2b1 100644 (file)
@@ -58,6 +58,7 @@ static void mei_wd_set_start_timeout(struct mei_device *dev, u16 timeout)
  * mei_wd_host_init - connect to the watchdog client
  *
  * @dev: the device structure
+ *
  * returns -ENENT if wd client cannot be found
  *         -EIO if write has failed
  *         0 on success
index 21e261ffbe106c164e009566d589ebb7938863e3..3ef7092e3f1c5ff0fd31cb53a0253a0c7532d711 100644 (file)
@@ -810,7 +810,7 @@ int atl1c_power_saving(struct atl1c_hw *hw, u32 wufc)
        if (wufc & AT_WUFC_LNKC) {
                wol_ctrl |= WOL_LINK_CHG_EN | WOL_LINK_CHG_PME_EN;
                if (atl1c_write_phy_reg(hw, MII_IER, IER_LINK_UP) != 0) {
-                       dev_dbg(&pdev->dev, "%s: write phy MII_IER faild.\n",
+                       dev_dbg(&pdev->dev, "%s: write phy MII_IER failed.\n",
                                atl1c_driver_name);
                }
        }
index 91ecd6a00d05a77453e4311eb5741064ba03ded2..4b077a7f16af11d1bc3e66bc544044d428a4d8ad 100644 (file)
@@ -591,7 +591,7 @@ static int bnx2x_dcbx_read_shmem_remote_mib(struct bnx2x *bp)
                                 DCBX_READ_REMOTE_MIB);
 
        if (rc) {
-               BNX2X_ERR("Faild to read remote mib from FW\n");
+               BNX2X_ERR("Failed to read remote mib from FW\n");
                return rc;
        }
 
@@ -619,7 +619,7 @@ static int bnx2x_dcbx_read_shmem_neg_results(struct bnx2x *bp)
                                 DCBX_READ_LOCAL_MIB);
 
        if (rc) {
-               BNX2X_ERR("Faild to read local mib from FW\n");
+               BNX2X_ERR("Failed to read local mib from FW\n");
                return rc;
        }
 
index 435b4f1e348886b0294cfc2fb75c9ff0ecb25eac..4136ccc4a9543cf8a1f351a4f1fefff4ecb309ad 100644 (file)
@@ -24,7 +24,7 @@ config SFC_MCDI_MON
        bool "Solarflare SFC9000-family hwmon support"
        depends on SFC && HWMON && !(SFC=y && HWMON=m)
        default y
-       ----help---
+       ---help---
          This exposes the on-board firmware-managed sensors as a
          hardware monitor device.
 config SFC_SRIOV
index 463597f919f132b48a238672001e60c36d830459..8c351f100acac5335aedeba235b395bd4330a109 100644 (file)
@@ -94,7 +94,7 @@ static int cpts_fifo_read(struct cpts *cpts, int match)
                case CPTS_EV_HW:
                        break;
                default:
-                       pr_err("cpts: unkown event type\n");
+                       pr_err("cpts: unknown event type\n");
                        break;
                }
                if (type == match)
index ed48d75bb7866fe306dea509d450fb64fde8c7e5..ee346d443571032ee2f6e3f2dd2d7514225ce4aa 100644 (file)
@@ -235,7 +235,7 @@ static int pm2xxx_charger_ovv_mngt(struct pm2xxx_charger *pm2, int val)
 
 static int pm2xxx_charger_wd_exp_mngt(struct pm2xxx_charger *pm2, int val)
 {
-       dev_dbg(pm2->dev , "20 minutes watchdog occured\n");
+       dev_dbg(pm2->dev , "20 minutes watchdog expired\n");
 
        pm2->ac.wd_expired = true;
        power_supply_changed(&pm2->ac_chg.psy);
index 8edb4aed5d368e551e968e9c841cfd9edb221b7a..814af5ab8a72d2d5e979855bbffc86b487fe41f6 100644 (file)
@@ -59,7 +59,7 @@ static const char *rproc_crash_to_string(enum rproc_crash_type type)
 {
        if (type < ARRAY_SIZE(rproc_crash_names))
                return rproc_crash_names[type];
-       return "unkown";
+       return "unknown";
 }
 
 /*
index 79fbe3832dfc6f3bfd5e140143b0b51bb40cc36c..0c81915b19975278daa15f99dea370bced46333c 100644 (file)
@@ -402,7 +402,7 @@ config RTC_DRV_TPS6586X
        tristate "TI TPS6586X RTC driver"
        depends on MFD_TPS6586X
        help
-         TI Power Managment IC TPS6586X supports RTC functionality
+         TI Power Management IC TPS6586X supports RTC functionality
          along with alarm. This driver supports the RTC driver for
          the TPS6586X RTC module.
 
@@ -420,7 +420,7 @@ config RTC_DRV_TPS80031
        tristate "TI TPS80031/TPS80032 RTC driver"
        depends on MFD_TPS80031
        help
-         TI Power Managment IC TPS80031 supports RTC functionality
+         TI Power Management IC TPS80031 supports RTC functionality
          along with alarm. This driver supports the RTC driver for
          the TPS80031 RTC module.
 
index 5693619614f48932f8676a648ba3790faded6419..dacf48db792593305961fbf10cb830de183d1926 100644 (file)
@@ -24,7 +24,7 @@
 /* Module parameter for WTSR function control */
 static int wtsr_en = 1;
 module_param(wtsr_en, int, 0444);
-MODULE_PARM_DESC(wtsr_en, "Wachdog Timeout & Sofware Reset (default=on)");
+MODULE_PARM_DESC(wtsr_en, "Watchdog Timeout & Software Reset (default=on)");
 /* Module parameter for SMPL function control */
 static int smpl_en = 1;
 module_param(smpl_en, int, 0444);
index 214d691adb53ab21d39ae7425df6f9150c1eb0d5..9014690fe841f08e8993bcfd2153cba785f6135e 100644 (file)
@@ -369,7 +369,7 @@ beiscsi_set_vlan_tag(struct Scsi_Host *shost,
                break;
        default:
                beiscsi_log(phba, KERN_WARNING, BEISCSI_LOG_CONFIG,
-                           "BS_%d : Unkown Param Type : %d\n",
+                           "BS_%d : Unknown Param Type : %d\n",
                            iface_param->param);
                return -ENOSYS;
        }
index a6c2fe4b4d652a39fe4c13bfede7560a5fdad675..55cc9902263dd84bc047fadb429ea9a45ababa50 100644 (file)
@@ -1292,7 +1292,7 @@ beiscsi_adap_family_disp(struct device *dev, struct device_attribute *attr,
                break;
        default:
                return snprintf(buf, PAGE_SIZE,
-                               "Unkown Adapter Family: 0x%x\n", dev_id);
+                               "Unknown Adapter Family: 0x%x\n", dev_id);
                break;
        }
 }
index b44d04e41b0d72d8bfd775241ee7ee58df29f21f..f109e3b073c35bd22e919e3b919479f7615ca39d 100644 (file)
@@ -580,8 +580,8 @@ struct bnx2i_5771x_dbell {
  * @sq_mem_size:        SQ size
  * @sq_prod_qe:         SQ producer entry pointer
  * @sq_cons_qe:         SQ consumer entry pointer
- * @sq_first_qe:        virtaul address of first entry in SQ
- * @sq_last_qe:         virtaul address of last entry in SQ
+ * @sq_first_qe:        virtual address of first entry in SQ
+ * @sq_last_qe:         virtual address of last entry in SQ
  * @sq_prod_idx:        SQ producer index
  * @sq_cons_idx:        SQ consumer index
  * @sqe_left:           number sq entry left
@@ -593,8 +593,8 @@ struct bnx2i_5771x_dbell {
  * @cq_mem_size:        CQ size
  * @cq_prod_qe:         CQ producer entry pointer
  * @cq_cons_qe:         CQ consumer entry pointer
- * @cq_first_qe:        virtaul address of first entry in CQ
- * @cq_last_qe:         virtaul address of last entry in CQ
+ * @cq_first_qe:        virtual address of first entry in CQ
+ * @cq_last_qe:         virtual address of last entry in CQ
  * @cq_prod_idx:        CQ producer index
  * @cq_cons_idx:        CQ consumer index
  * @cqe_left:           number cq entry left
@@ -608,8 +608,8 @@ struct bnx2i_5771x_dbell {
  * @rq_mem_size:        RQ size
  * @rq_prod_qe:         RQ producer entry pointer
  * @rq_cons_qe:         RQ consumer entry pointer
- * @rq_first_qe:        virtaul address of first entry in RQ
- * @rq_last_qe:         virtaul address of last entry in RQ
+ * @rq_first_qe:        virtual address of first entry in RQ
+ * @rq_last_qe:         virtual address of last entry in RQ
  * @rq_prod_idx:        RQ producer index
  * @rq_cons_idx:        RQ consumer index
  * @rqe_left:           number rq entry left
index 5b27c48f6836c407d1ff7e77fb74e018ec73a42b..f5d9ee1fda62c70314b7d5f13dd93deda35f5bd5 100644 (file)
@@ -182,7 +182,7 @@ csio_mb_reset(struct csio_hw *hw, struct csio_mb *mbp, uint32_t tmo,
  * @tmo: Command timeout.
  * @pf: PF number.
  * @vf: VF number.
- * @nparams: Number of paramters
+ * @nparams: Number of parameters
  * @params: Parameter mnemonic array.
  * @val: Parameter value array.
  * @wr: Write/Read PARAMS.
@@ -721,7 +721,7 @@ csio_mb_iq_free(struct csio_hw *hw, struct csio_mb *mbp, void *priv,
  * @mbp: Mailbox structure to initialize
  * @priv: Private data
  * @mb_tmo: Mailbox time-out period (in ms).
- * @eq_ofld_params: (Offload) Egress queue paramters.
+ * @eq_ofld_params: (Offload) Egress queue parameters.
  * @cbfn: The call-back function
  *
  *
@@ -752,7 +752,7 @@ csio_mb_eq_ofld_alloc(struct csio_hw *hw, struct csio_mb *mbp, void *priv,
  * @priv: Private data
  * @mb_tmo: Mailbox time-out period (in ms).
  * @cascaded_req: TRUE - if this request is cascased with Eq-alloc request.
- * @eq_ofld_params: (Offload) Egress queue paramters.
+ * @eq_ofld_params: (Offload) Egress queue parameters.
  * @cbfn: The call-back function
  *
  *
@@ -817,7 +817,7 @@ csio_mb_eq_ofld_write(struct csio_hw *hw, struct csio_mb *mbp, void *priv,
  * @mbp: Mailbox structure to initialize
  * @priv: Private data.
  * @mb_tmo: Mailbox time-out period (in ms).
- * @eq_ofld_params: (Offload) Egress queue paramters.
+ * @eq_ofld_params: (Offload) Egress queue parameters.
  * @cbfn: The call-back function
  *
  *
@@ -840,7 +840,7 @@ csio_mb_eq_ofld_alloc_write(struct csio_hw *hw, struct csio_mb *mbp,
  * @hw: The HW structure.
  * @mbp: Mailbox structure to initialize.
  * @retval: Firmware return value.
- * @eq_ofld_params: (Offload) Egress queue paramters.
+ * @eq_ofld_params: (Offload) Egress queue parameters.
  *
  */
 void
@@ -870,7 +870,7 @@ csio_mb_eq_ofld_alloc_write_rsp(struct csio_hw *hw,
  * @mbp: Mailbox structure to initialize
  * @priv: Private data area.
  * @mb_tmo: Mailbox time-out period (in ms).
- * @eq_ofld_params: (Offload) Egress queue paramters, that is to be freed.
+ * @eq_ofld_params: (Offload) Egress queue parameters, that is to be freed.
  * @cbfn: The call-back function
  *
  *
index 32d5683e6181e5def7d42b4ea02897056f17e788..f5d106456f1d0b449259c3dba06edb1af6b17092 100644 (file)
@@ -4741,7 +4741,7 @@ lpfc_bsg_mbox_cmd(struct fc_bsg_job *job)
        if (job->request_len <
            sizeof(struct fc_bsg_request) + sizeof(struct dfc_mbox_req)) {
                lpfc_printf_log(phba, KERN_INFO, LOG_LIBDFC,
-                               "2737 Mix-and-match backward compability "
+                               "2737 Mix-and-match backward compatibility "
                                "between MBOX_REQ old size:%d and "
                                "new request size:%d\n",
                                (int)(job->request_len -
index 1df9ed4f371d31233c8d9edacc2f42e861c387d5..4db0c7a18bd8a4c6f27665ed991eaae8b956f19d 100644 (file)
@@ -148,7 +148,7 @@ _config_display_some_debug(struct MPT3SAS_ADAPTER *ioc, u16 smid,
                        desc = "raid_config";
                        break;
                case MPI2_CONFIG_EXTPAGETYPE_DRIVER_MAPPING:
-                       desc = "driver_mappping";
+                       desc = "driver_mapping";
                        break;
                }
                break;
index d8293f25ca339637ed1fe705b23a32acebb3a03f..aa66361ed44b71772da913c74c69640b43909f23 100644 (file)
@@ -1049,7 +1049,7 @@ static struct bio *_create_sg_bios(struct osd_request *or,
 
        bio = bio_kmalloc(GFP_KERNEL, numentries);
        if (unlikely(!bio)) {
-               OSD_DEBUG("Faild to allocate BIO size=%u\n", numentries);
+               OSD_DEBUG("Failed to allocate BIO size=%u\n", numentries);
                return ERR_PTR(-ENOMEM);
        }
 
index 71d3d234f5265863f847d9de2694e4ca814d1a78..9299400d3c9e29c99555e13630e59e8380eaa7ac 100644 (file)
@@ -2089,7 +2089,7 @@ static int qla4_8xxx_minidump_process_rdmem(struct scsi_qla_host *ha,
 
        if (r_addr & 0xf) {
                DEBUG2(ql4_printk(KERN_INFO, ha,
-                                 "[%s]: Read addr 0x%x not 16 bytes alligned\n",
+                                 "[%s]: Read addr 0x%x not 16 bytes aligned\n",
                                  __func__, r_addr));
                return QLA_ERROR;
        }
index db46143c67a6db81569af53c0263eb751ba08720..d36f34e25bed516db48e16790dd20fd3e8017b1e 100644 (file)
@@ -672,7 +672,7 @@ static int iowarrior_release(struct inode *inode, struct file *file)
                retval = -ENODEV;       /* close called more than once */
                mutex_unlock(&dev->mutex);
        } else {
-               dev->opened = 0;        /* we're closeing now */
+               dev->opened = 0;        /* we're closing now */
                retval = 0;
                if (dev->present) {
                        /*
@@ -802,7 +802,7 @@ static int iowarrior_probe(struct usb_interface *interface,
                        /* this one will match for the IOWarrior56 only */
                        dev->int_out_endpoint = endpoint;
        }
-       /* we have to check the report_size often, so remember it in the endianess suitable for our machine */
+       /* we have to check the report_size often, so remember it in the endianness suitable for our machine */
        dev->report_size = usb_endpoint_maxp(dev->int_in_endpoint);
        if ((dev->interface->cur_altsetting->desc.bInterfaceNumber == 0) &&
            (dev->product_id == USB_DEVICE_ID_CODEMERCS_IOW56))
index 29cad9e0a7a9b80188df9985fbfe78e987d64282..e129cf661223323bc88152fbd67f0ce4b6e8c321 100644 (file)
@@ -705,7 +705,7 @@ static int uss720_probe(struct usb_interface *intf,
                return -ENODEV;
        }
        i = usb_set_interface(usbdev, intf->altsetting->desc.bInterfaceNumber, 2);
-       dev_dbg(&intf->dev, "set inteface result %d\n", i);
+       dev_dbg(&intf->dev, "set interface result %d\n", i);
 
        interface = intf->cur_altsetting;
 
index 77cb4ffa1fe4f9d04a4b7314e653991b6e88fe57..a6780eecff0e6aefb864c737ad12a2d9ee8e928a 100644 (file)
@@ -1181,7 +1181,7 @@ static int ami_decode_var(struct fb_var_screeninfo *var, struct amifb_par *par,
        }
 
        /*
-        * FB_VMODE_SMOOTH_XPAN will be cleared, if one of the folloing
+        * FB_VMODE_SMOOTH_XPAN will be cleared, if one of the following
         * checks failed and smooth scrolling is not possible
         */
 
index b1f19b266da70d291ffce72e51a275a82f0536fb..8d2499d1cafb30dff0ec2ccaed703696fc05f92f 100644 (file)
@@ -1088,7 +1088,7 @@ int auok190x_common_probe(struct platform_device *pdev,
                goto err_defio;
        }
 
-       dev_dbg(info->device, "targetting %d frames per second\n", board->fps);
+       dev_dbg(info->device, "targeting %d frames per second\n", board->fps);
        info->fbdefio->delay = HZ / board->fps;
        info->fbdefio->first_io = auok190xfb_dpy_first_io,
        info->fbdefio->deferred_io = auok190xfb_dpy_deferred_io,
index de9d4da0e3daaf465966bb3837b42245acba2de4..12bbede3b091e68ae0600b7fb55c765052d2f66d 100644 (file)
@@ -976,14 +976,14 @@ static int exynos_dp_dt_parse_phydata(struct exynos_dp_device *dp)
        }
 
        if (of_property_read_u32(dp_phy_node, "reg", &phy_base)) {
-               dev_err(dp->dev, "faild to get reg for dptx-phy\n");
+               dev_err(dp->dev, "failed to get reg for dptx-phy\n");
                ret = -EINVAL;
                goto err;
        }
 
        if (of_property_read_u32(dp_phy_node, "samsung,enable-mask",
                                &dp->enable_mask)) {
-               dev_err(dp->dev, "faild to get enable-mask for dptx-phy\n");
+               dev_err(dp->dev, "failed to get enable-mask for dptx-phy\n");
                ret = -EINVAL;
                goto err;
        }
index 489abb32fc04acbb1b6bedf2ce6cacb74cd1f89b..7f6c9e6cfc6c99d8d9912db5d2f78242923f51c5 100644 (file)
@@ -148,7 +148,7 @@ static int goldfish_fb_pan_display(struct fb_var_screeninfo *var,
        wait_event_timeout(fb->wait,
                        fb->base_update_count != base_update_count, HZ / 15);
        if (fb->base_update_count == base_update_count)
-               pr_err("goldfish_fb_pan_display: timeout wating for base update\n");
+               pr_err("goldfish_fb_pan_display: timeout waiting for base update\n");
        return 0;
 }
 
index 76d9053d88c136bb65dd36562cc697361db7a35b..05c2dc3d4bc0ba5e0f0e23f1aa9d69cba8c0bcdb 100644 (file)
@@ -862,7 +862,7 @@ static int s1d13xxxfb_probe(struct platform_device *pdev)
                printk(KERN_INFO PFX
                        "unknown chip production id %i, revision %i\n",
                        prod_id, revision);
-               printk(KERN_INFO PFX "please contant maintainer\n");
+               printk(KERN_INFO PFX "please contact maintainer\n");
                goto bail;
        }
 
index 395cb6a8d8f3a86e3507be05686218ebee6f7d6f..9ef05d3ef68a0a3add830b7a770f2ec9816684f4 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Driver for the Solomon SSD1307 OLED controler
+ * Driver for the Solomon SSD1307 OLED controller
  *
  * Copyright 2012 Free Electrons
  *
@@ -392,6 +392,6 @@ static struct i2c_driver ssd1307fb_driver = {
 
 module_i2c_driver(ssd1307fb_driver);
 
-MODULE_DESCRIPTION("FB driver for the Solomon SSD1307 OLED controler");
+MODULE_DESCRIPTION("FB driver for the Solomon SSD1307 OLED controller");
 MODULE_AUTHOR("Maxime Ripard <maxime.ripard@free-electrons.com>");
 MODULE_LICENSE("GPL");
index a66c9b1136e06d8d4ab4ef40cad62c69aee4cae1..74e397db0b8b549ddc2c3b1b78565462c6926d5f 100644 (file)
@@ -436,8 +436,7 @@ befs_btree_read(struct super_block *sb, befs_data_stream * ds,
                goto error;
        }
 
-       if ((this_node = (befs_btree_node *)
-            kmalloc(sizeof (befs_btree_node), GFP_NOFS)) == NULL) {
+       if ((this_node = kmalloc(sizeof (befs_btree_node), GFP_NOFS)) == NULL) {
                befs_error(sb, "befs_btree_read() failed to allocate %u "
                           "bytes of memory", sizeof (befs_btree_node));
                goto error;
index cc2213afdcc74a99ef460f0bf8bf9b48e3d3645b..201c8d3b0f863f829dae24de708c9077576dc763 100644 (file)
@@ -137,7 +137,7 @@ struct extent_info {
        rwlock_t ext_lock;      /* rwlock for consistency */
        unsigned int fofs;      /* start offset in a file */
        u32 blk_addr;           /* start block address of the extent */
-       unsigned int len;       /* lenth of the extent */
+       unsigned int len;       /* length of the extent */
 };
 
 /*
index 94b8a0c4845358ab34dd16b02b9ce12147f04fac..2e3eb2d4fc30eebcd40c1b34283302461dfea3f3 100644 (file)
@@ -222,7 +222,7 @@ static unsigned int get_gc_cost(struct f2fs_sb_info *sbi, unsigned int segno,
 }
 
 /*
- * This function is called from two pathes.
+ * This function is called from two paths.
  * One is garbage collection and the other is SSR segment selection.
  * When it is called during GC, it just gets a victim segment
  * and it does not remove it from dirty seglist.
index fea6e582a2ed62995e1db703af39a2c436e9df4f..62e017743af6285bc7cdebbe692095b0d71c67d2 100644 (file)
@@ -82,7 +82,7 @@ static struct inode *f2fs_alloc_inode(struct super_block *sb)
 
        init_once((void *) fi);
 
-       /* Initilize f2fs-specific inode info */
+       /* Initialize f2fs-specific inode info */
        fi->vfs_inode.i_version = 1;
        atomic_set(&fi->dirty_dents, 0);
        fi->i_current_depth = 1;
index cf35155467394b27f16d20fed8c57e8c6f40e016..bd82235954959cf69f791cafb12dcfc04b9410ec 100644 (file)
@@ -1017,11 +1017,11 @@ __acquires(&gl->gl_spin)
        return;
 
 trap_recursive:
-       print_symbol(KERN_ERR "original: %s\n", gh2->gh_ip);
+       printk(KERN_ERR "original: %pSR\n", (void *)gh2->gh_ip);
        printk(KERN_ERR "pid: %d\n", pid_nr(gh2->gh_owner_pid));
        printk(KERN_ERR "lock type: %d req lock state : %d\n",
               gh2->gh_gl->gl_name.ln_type, gh2->gh_state);
-       print_symbol(KERN_ERR "new: %s\n", gh->gh_ip);
+       printk(KERN_ERR "new: %pSR\n", (void *)gh->gh_ip);
        printk(KERN_ERR "pid: %d\n", pid_nr(gh->gh_owner_pid));
        printk(KERN_ERR "lock type: %d req lock state : %d\n",
               gh->gh_gl->gl_name.ln_type, gh->gh_state);
index 88162fae27a547ffe9a88364fd15fc90e79dad43..5bc023ea38acb2aa158ac9ae52c60dd01a34a434 100644 (file)
@@ -96,7 +96,8 @@ static void gfs2_log_release(struct gfs2_sbd *sdp, unsigned int blks)
 
 static void gfs2_print_trans(const struct gfs2_trans *tr)
 {
-       print_symbol(KERN_WARNING "GFS2: Transaction created at: %s\n", tr->tr_ip);
+       printk(KERN_WARNING "GFS2: Transaction created at: %pSR\n",
+              (void *)tr->tr_ip);
        printk(KERN_WARNING "GFS2: blocks=%u revokes=%u reserved=%u touched=%d\n",
               tr->tr_blocks, tr->tr_revokes, tr->tr_reserved, tr->tr_touched);
        printk(KERN_WARNING "GFS2: Buf %u/%u Databuf %u/%u Revoke %u/%u\n",
index 88f9611a945cad359dfca1d0196f3d87b294e1c8..5457745dd4f1f993a7d37243d7c2d17bf67bade6 100644 (file)
@@ -234,7 +234,7 @@ static int __alloc_objio_seg(unsigned numdevs, gfp_t gfp_flags,
 
        lseg = kzalloc(lseg_size, gfp_flags);
        if (unlikely(!lseg)) {
-               dprintk("%s: Faild allocation numdevs=%d size=%zd\n", __func__,
+               dprintk("%s: Failed allocation numdevs=%d size=%zd\n", __func__,
                        numdevs, lseg_size);
                return -ENOMEM;
        }
index 880ba086be9499315d59d3957ed29d5e915f0ceb..87aa1dec6120643dd94e1c3c44feeaa0382ad6c4 100644 (file)
@@ -114,7 +114,7 @@ extern int objio_alloc_lseg(struct pnfs_layout_segment **outp,
        gfp_t gfp_flags);
 extern void objio_free_lseg(struct pnfs_layout_segment *lseg);
 
-/* objio_free_result will free these @oir structs recieved from
+/* objio_free_result will free these @oir structs received from
  * objlayout_{read,write}_done
  */
 extern void objio_free_result(struct objlayout_io_res *oir);
index 95425b59ce0a3582d1279f6484987ea611e4491e..b6c2f94e041edc5840cc7a081b0ea6b8f4abfbd9 100644 (file)
@@ -26,8 +26,7 @@ struct ufs_buffer_head * _ubh_bread_ (struct ufs_sb_private_info * uspi,
        count = size >> uspi->s_fshift;
        if (count > UFS_MAXFRAG)
                return NULL;
-       ubh = (struct ufs_buffer_head *)
-               kmalloc (sizeof (struct ufs_buffer_head), GFP_NOFS);
+       ubh = kmalloc (sizeof (struct ufs_buffer_head), GFP_NOFS);
        if (!ubh)
                return NULL;
        ubh->fragment = fragment;
index 9fc13a760928aa7d47e44ccdc2f178a5525d92a9..1fcb88ca88dec582a5ce0c83407bd435c71532a7 100644 (file)
@@ -96,5 +96,5 @@ static inline int evm_inode_init_security(struct inode *inode,
        return 0;
 }
 
-#endif /* CONFIG_EVM_H */
+#endif /* CONFIG_EVM */
 #endif /* LINUX_EVM_H */
index c53f16914b771b88257fd69b805bef257a212105..2a820850f284f0d466851f24a0e5599b8c255346 100644 (file)
@@ -149,6 +149,6 @@ static inline void itg3200_buffer_unconfigure(struct iio_dev *indio_dev)
 {
 }
 
-#endif  /* CONFIG_IIO_RING_BUFFER */
+#endif  /* CONFIG_IIO_BUFFER */
 
 #endif /* ITG3200_H_ */
index 86c361e947b93b6be3fb6d55d81ff2054c2a5f02..1b7f268cddce7535dd25d2fa61fc80aaa8c2cfda 100644 (file)
@@ -46,7 +46,7 @@ static inline int ima_module_check(struct file *file)
        return 0;
 }
 
-#endif /* CONFIG_IMA_H */
+#endif /* CONFIG_IMA */
 
 #ifdef CONFIG_IMA_APPRAISE
 extern void ima_inode_post_setattr(struct dentry *dentry);
@@ -72,5 +72,5 @@ static inline int ima_inode_removexattr(struct dentry *dentry,
 {
        return 0;
 }
-#endif /* CONFIG_IMA_APPRAISE_H */
+#endif /* CONFIG_IMA_APPRAISE */
 #endif /* _LINUX_IMA_H */
index 66c5fe9550a5e47bfc2a32c67e1339eb7d4f92ae..83222cebd47bcf047976a5ad748cd87f6c112ea2 100644 (file)
@@ -36,5 +36,5 @@ static inline void integrity_inode_free(struct inode *inode)
 {
        return;
 }
-#endif /* CONFIG_INTEGRITY_H */
+#endif /* CONFIG_INTEGRITY */
 #endif /* _LINUX_INTEGRITY_H */
index c74092eebf5c9da5a052168b8885c75290efa2d2..5c76737d836b1edc218bfba700fb26c09e62408a 100644 (file)
@@ -450,7 +450,7 @@ struct zone {
         *
         * present_pages is physical pages existing within the zone, which
         * is calculated as:
-        *      present_pages = spanned_pages - absent_pages(pags in holes);
+        *      present_pages = spanned_pages - absent_pages(pages in holes);
         *
         * managed_pages is present pages managed by the buddy system, which
         * is calculated as (reserved_pages includes pages allocated by the
index df85a0c0f2d52f0b71d02232f0a015e1a805112f..cd89510eab2a44d405c2cba2817b3b7ae863306e 100644 (file)
@@ -576,7 +576,7 @@ for (pos = chunk->subh.fwdtsn_hdr->skip;\
 #define WORD_ROUND(s) (((s)+3)&~3)
 
 /* Make a new instance of type.  */
-#define t_new(type, flags)     (type *)kzalloc(sizeof(type), flags)
+#define t_new(type, flags)     kzalloc(sizeof(type), flags)
 
 /* Compare two timevals.  */
 #define tv_lt(s, t) \
index 45c1981c9ca2b67fa7fb5ce76f609a87bc5a08a4..5ec42dbd23080a4fe603aefb7ad7146b9270c994 100644 (file)
@@ -867,7 +867,7 @@ int snd_pcm_format_physical_width(snd_pcm_format_t format);         /* in bits */
 ssize_t snd_pcm_format_size(snd_pcm_format_t format, size_t samples);
 const unsigned char *snd_pcm_format_silence_64(snd_pcm_format_t format);
 int snd_pcm_format_set_silence(snd_pcm_format_t format, void *buf, unsigned int frames);
-snd_pcm_format_t snd_pcm_build_linear_format(int width, int unsignd, int big_endian);
+snd_pcm_format_t snd_pcm_build_linear_format(int width, int unsigned, int big_endian);
 
 void snd_pcm_set_ops(struct snd_pcm * pcm, int direction, struct snd_pcm_ops *ops);
 void snd_pcm_set_sync(struct snd_pcm_substream *substream);
index 425bcfe56c620211678d94f6d3923a9451305db2..8d219470624f6c9d4eb5b39a037d1044a0fb811f 100644 (file)
@@ -123,7 +123,7 @@ DEFINE_EVENT(timer_class, timer_cancel,
 
 /**
  * hrtimer_init - called when the hrtimer is initialized
- * @timer:     pointer to struct hrtimer
+ * @hrtimer:   pointer to struct hrtimer
  * @clockid:   the hrtimers clock
  * @mode:      the hrtimers mode
  */
@@ -155,7 +155,7 @@ TRACE_EVENT(hrtimer_init,
 
 /**
  * hrtimer_start - called when the hrtimer is started
- * @timer: pointer to struct hrtimer
+ * @hrtimer: pointer to struct hrtimer
  */
 TRACE_EVENT(hrtimer_start,
 
@@ -186,8 +186,8 @@ TRACE_EVENT(hrtimer_start,
 );
 
 /**
- * htimmer_expire_entry - called immediately before the hrtimer callback
- * @timer:     pointer to struct hrtimer
+ * hrtimer_expire_entry - called immediately before the hrtimer callback
+ * @hrtimer:   pointer to struct hrtimer
  * @now:       pointer to variable which contains current time of the
  *             timers base.
  *
@@ -234,7 +234,7 @@ DECLARE_EVENT_CLASS(hrtimer_class,
 
 /**
  * hrtimer_expire_exit - called immediately after the hrtimer callback returns
- * @timer:     pointer to struct hrtimer
+ * @hrtimer:   pointer to struct hrtimer
  *
  * When used in combination with the hrtimer_expire_entry tracepoint we can
  * determine the runtime of the callback function.
index 9b9aeef8e590549b5c81662fe1feafde11384fb3..f8feeeca6686543713a1dada46759b60b2eae240 100644 (file)
@@ -1761,7 +1761,7 @@ static struct hstate *kobj_to_node_hstate(struct kobject *kobj, int *nidp)
  * Unregister hstate attributes from a single node device.
  * No-op if no hstate attributes attached.
  */
-void hugetlb_unregister_node(struct node *node)
+static void hugetlb_unregister_node(struct node *node)
 {
        struct hstate *h;
        struct node_hstate *nhs = &node_hstates[node->dev.id];
@@ -1805,7 +1805,7 @@ static void hugetlb_unregister_all_nodes(void)
  * Register hstate attributes for a single node device.
  * No-op if attributes already registered.
  */
-void hugetlb_register_node(struct node *node)
+static void hugetlb_register_node(struct node *node)
 {
        struct hstate *h;
        struct node_hstate *nhs = &node_hstates[node->dev.id];
index f7a1fba85d140483242345e97acdbdf62eaafda8..6dc1882fbd725c61badb4fd072418c7330001ce1 100644 (file)
@@ -715,11 +715,11 @@ static void print_bad_pte(struct vm_area_struct *vma, unsigned long addr,
         * Choose text because data symbols depend on CONFIG_KALLSYMS_ALL=y
         */
        if (vma->vm_ops)
-               print_symbol(KERN_ALERT "vma->vm_ops->fault: %s\n",
-                               (unsigned long)vma->vm_ops->fault);
+               printk(KERN_ALERT "vma->vm_ops->fault: %pSR\n",
+                      vma->vm_ops->fault);
        if (vma->vm_file && vma->vm_file->f_op)
-               print_symbol(KERN_ALERT "vma->vm_file->f_op->mmap: %s\n",
-                               (unsigned long)vma->vm_file->f_op->mmap);
+               printk(KERN_ALERT "vma->vm_file->f_op->mmap: %pSR\n",
+                      vma->vm_file->f_op->mmap);
        dump_stack();
        add_taint(TAINT_BAD_PAGE, LOCKDEP_NOW_UNRELIABLE);
 }
index 856e4a192d25c73954771b1b0893458f0d9209bb..96079244c8609c7ebe229879ad5e75d6a572f5b2 100644 (file)
--- a/mm/slab.c
+++ b/mm/slab.c
@@ -2040,11 +2040,9 @@ static void print_objinfo(struct kmem_cache *cachep, void *objp, int lines)
        }
 
        if (cachep->flags & SLAB_STORE_USER) {
-               printk(KERN_ERR "Last user: [<%p>]",
-                       *dbg_userword(cachep, objp));
-               print_symbol("(%s)",
-                               (unsigned long)*dbg_userword(cachep, objp));
-               printk("\n");
+               printk(KERN_ERR "Last user: [<%p>](%pSR)\n",
+                      *dbg_userword(cachep, objp),
+                      *dbg_userword(cachep, objp));
        }
        realobj = (char *)objp + obj_offset(cachep);
        size = cachep->object_size;
index 1c2e46cb919181f4005164ebe6e38cf5af5ecd6c..eaee00c61139b974572e8c4aed425176f3ae2894 100644 (file)
@@ -1403,7 +1403,7 @@ SCTP_STATIC __init int sctp_init(void)
 
        /* Allocate and initialize the endpoint hash table.  */
        sctp_ep_hashsize = 64;
-       sctp_ep_hashtable = (struct sctp_hashbucket *)
+       sctp_ep_hashtable =
                kmalloc(64 * sizeof(struct sctp_hashbucket), GFP_KERNEL);
        if (!sctp_ep_hashtable) {
                pr_err("Failed endpoint_hash alloc\n");
index 01f7f37a84101dff11742a415ad607a9ac2d095c..934dec98e2ced022e3818a60d5d7ab65f3d4ba19 100644 (file)
@@ -1175,7 +1175,7 @@ static void snd_mixart_proc_read(struct snd_info_entry *entry,
 
                        snd_iprintf(buffer, "\tstreaming          : %d\n", streaming);
                        snd_iprintf(buffer, "\tmailbox            : %d\n", mailbox);
-                       snd_iprintf(buffer, "\tinterrups handling : %d\n\n", interr);
+                       snd_iprintf(buffer, "\tinterrupts handling : %d\n\n", interr);
                }
        } /* endif elf loaded */
 }
index b47c252ef901e3458c743a9bb1d020dd4570300c..a2d01d10a5dd8866747b335a027ed3049c9c71d3 100644 (file)
@@ -125,7 +125,7 @@ SOC_ENUM("Equaliser EQ4 Bandwidth", wm8974_enum[9]),
 SOC_ENUM("EQ4 Cut Off", wm8974_enum[10]),
 SOC_SINGLE_TLV("EQ4 Volume", WM8974_EQ4,  0, 24, 1, eq_tlv),
 
-SOC_ENUM("Equaliser EQ5 Bandwith", wm8974_enum[11]),
+SOC_ENUM("Equaliser EQ5 Bandwidth", wm8974_enum[11]),
 SOC_ENUM("EQ5 Cut Off", wm8974_enum[12]),
 SOC_SINGLE_TLV("EQ5 Volume", WM8974_EQ5,  0, 24, 1, eq_tlv),
 
index 069330d82be5357fb1e965627b35cca28f81311e..6b799c0e88dfbae5201af399d3eb6678c8d06d1e 100644 (file)
@@ -20,8 +20,8 @@ config SND_SOC_UX500_PLAT_DMA
        help
                Say Y if you want to enable the Ux500 platform-driver.
 
-+config SND_SOC_UX500_MACH_MOP500
-+      tristate "Machine - MOP500 (Ux500 + AB8500)"
+config SND_SOC_UX500_MACH_MOP500
+       tristate "Machine - MOP500 (Ux500 + AB8500)"
        depends on AB8500_CORE && AB8500_GPADC && SND_SOC_UX500
        select SND_SOC_AB8500_CODEC
        select SND_SOC_UX500_PLAT_MSP_I2S
index 038de3ecb8cbf46d1a7c753b0bf48312665a9e46..00218f503b2e8b73b7243f52b65953fc540ea4f1 100644 (file)
@@ -178,6 +178,6 @@ int test__attr(void)
            !lstat(path_perf, &st))
                return run_dir(path_dir, path_perf);
 
-       fprintf(stderr, " (ommitted)");
+       fprintf(stderr, " (omitted)");
        return 0;
 }
index 88e2f44cb157c6df8d9d10a5b3b751139faab7ff..0275bab4ea9e83e95cf76d7408dc3649a5ccee4d 100644 (file)
@@ -1321,7 +1321,7 @@ static int test_pmu_events(void)
 
        ret = stat(path, &st);
        if (ret) {
-               pr_debug("ommiting PMU cpu events tests\n");
+               pr_debug("omitting PMU cpu events tests\n");
                return 0;
        }
 
index 53f5293c9c9a642d141cf1ed922b8e1c93beaff9..d032c826d42e45c29eb3a217d39afd7dd45a02f2 100644 (file)
@@ -66,7 +66,7 @@ int main (void)
                printf("ecx = 0x%.8x\n", r.ecx);
                printf("edx = 0x%.8x\n", r.edx);
                printf("Note also that some BIOS do not support the initial "
-                      "GSIC call, but the newer\nspeeedstep-smi driver may "
+                      "GSIC call, but the newer\nspeedstep-smi driver may "
                       "work.\nFor this, you need to pass some arguments to "
                       "the speedstep-smi driver:\n");
                printf("\tsmi_cmd=0x?? smi_port=0x?? smi_sig=1\n");