Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial

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
...

+157 -174
+3 -3
Documentation/DocBook/media/dvb/dvbproperty.xml
··· 1 1 <section id="FE_GET_SET_PROPERTY"> 2 2 <title><constant>FE_GET_PROPERTY/FE_SET_PROPERTY</constant></title> 3 - <para>This section describes the DVB version 5 extention of the DVB-API, also 3 + <para>This section describes the DVB version 5 extension of the DVB-API, also 4 4 called "S2API", as this API were added to provide support for DVB-S2. It was 5 5 designed to be able to replace the old frontend API. Yet, the DISEQC and 6 6 the capability ioctls weren't implemented yet via the new way.</para> ··· 952 952 <para>Measures the amount of bits received before the inner code block, during the same period as 953 953 <link linkend="DTV-STAT-PRE-ERROR-BIT-COUNT"><constant>DTV_STAT_PRE_ERROR_BIT_COUNT</constant></link> measurement was taken.</para> 954 954 <para>It should be noticed that this measurement can be smaller than the total amount of bits on the transport stream, 955 - as the frontend may need to manually restart the measurement, loosing some data between each measurement interval.</para> 955 + as the frontend may need to manually restart the measurement, losing some data between each measurement interval.</para> 956 956 <para>This measurement is monotonically increased, as the frontend gets more bit count measurements. 957 957 The frontend may reset it when a channel/transponder is tuned.</para> 958 958 <para>Possible scales for this metric are:</para> ··· 981 981 <para>Measures the amount of bits received after the inner coding, during the same period as 982 982 <link linkend="DTV-STAT-POST-ERROR-BIT-COUNT"><constant>DTV_STAT_POST_ERROR_BIT_COUNT</constant></link> measurement was taken.</para> 983 983 <para>It should be noticed that this measurement can be smaller than the total amount of bits on the transport stream, 984 - as the frontend may need to manually restart the measurement, loosing some data between each measurement interval.</para> 984 + as the frontend may need to manually restart the measurement, losing some data between each measurement interval.</para> 985 985 <para>This measurement is monotonically increased, as the frontend gets more bit count measurements. 986 986 The frontend may reset it when a channel/transponder is tuned.</para> 987 987 <para>Possible scales for this metric are:</para>
+1 -1
Documentation/cgroups/memory.txt
··· 196 196 But see section 8.2: when moving a task to another cgroup, its pages may 197 197 be recharged to the new cgroup, if move_charge_at_immigrate has been chosen. 198 198 199 - Exception: If CONFIG_CGROUP_CGROUP_MEMCG_SWAP is not used. 199 + Exception: If CONFIG_MEMCG_SWAP is not used. 200 200 When you do swapoff and make swapped-out pages of shmem(tmpfs) to 201 201 be backed into memory in force, charges for pages are accounted against the 202 202 caller of swapoff rather than the users of shmem.
+1 -1
Documentation/devicetree/bindings/i2c/i2c-s3c2410.txt
··· 26 26 - pinctrl-names: Should contain only one value - "default". 27 27 28 28 Optional properties: 29 - - samsung,i2c-slave-addr: Slave address in multi-master enviroment. If not 29 + - samsung,i2c-slave-addr: Slave address in multi-master environment. If not 30 30 specified, default value is 0. 31 31 - samsung,i2c-max-bus-freq: Desired frequency in Hz of the bus. If not 32 32 specified, the default value in Hz is 100000.
+1 -1
Documentation/devicetree/bindings/leds/tca6507.txt
··· 1 - LEDs conected to tca6507 1 + LEDs connected to tca6507 2 2 3 3 Required properties: 4 4 - compatible : should be : "ti,tca6507".
+1 -1
Documentation/devicetree/bindings/metag/meta-intc.txt
··· 12 12 handle 32 interrupt sources). 13 13 14 14 - interrupt-controller: The presence of this property identifies the node 15 - as an interupt controller. No property value shall be defined. 15 + as an interrupt controller. No property value shall be defined. 16 16 17 17 - #interrupt-cells: Specifies the number of cells needed to encode an 18 18 interrupt source. The type shall be a <u32> and the value shall be 2.
+1 -1
Documentation/devicetree/bindings/pinctrl/atmel,at91-pinctrl.txt
··· 1 1 * Atmel AT91 Pinmux Controller 2 2 3 - The AT91 Pinmux Controler, enables the IC 3 + The AT91 Pinmux Controller, enables the IC 4 4 to share one PAD to several functional blocks. The sharing is done by 5 5 multiplexing the PAD input/output signals. For each PAD there are up to 6 6 8 muxing options (called periph modes). Since different modules require
+1 -1
Documentation/devicetree/bindings/pinctrl/brcm,bcm2835-gpio.txt
··· 5 5 6 6 Required properties: 7 7 - compatible: "brcm,bcm2835-gpio" 8 - - reg: Should contain the physical address of the GPIO module's registes. 8 + - reg: Should contain the physical address of the GPIO module's registers. 9 9 - gpio-controller: Marks the device node as a GPIO controller. 10 10 - #gpio-cells : Should be two. The first cell is the pin number and the 11 11 second cell is used to specify optional parameters:
+1 -1
Documentation/devicetree/bindings/power_supply/qnap-poweroff.txt
··· 2 2 3 3 QNAP NAS devices have a microcontroller controlling the main power 4 4 supply. This microcontroller is connected to UART1 of the Kirkwood and 5 - Orion5x SoCs. Sending the charactor 'A', at 19200 baud, tells the 5 + Orion5x SoCs. Sending the character 'A', at 19200 baud, tells the 6 6 microcontroller to turn the power off. This driver adds a handler to 7 7 pm_power_off which is called to turn the power off. 8 8
+1 -1
Documentation/devicetree/bindings/regulator/max8997-regulator.txt
··· 28 28 safe operating voltage). 29 29 30 30 If either of the 'max8997,pmic-buck[1/2/5]-uses-gpio-dvs' optional 31 - property is specified, then all the eigth voltage values for the 31 + property is specified, then all the eight voltage values for the 32 32 'max8997,pmic-buck[1/2/5]-dvs-voltage' should be specified. 33 33 34 34 Optional properties:
+1 -1
Documentation/devicetree/bindings/usb/samsung-usbphy.txt
··· 6 6 usb 2.0 phy for s3c-hsotg as well as ehci-s5p and ohci-exynos 7 7 usb controllers across Samsung SOCs. 8 8 TODO: Adding the PHY binding with controller(s) according to the under 9 - developement generic PHY driver. 9 + development generic PHY driver. 10 10 11 11 Required properties: 12 12
+2
Documentation/iostats.txt
··· 71 71 measured from __make_request() to end_that_request_last()). 72 72 Field 5 -- # of writes completed 73 73 This is the total number of writes completed successfully. 74 + Field 6 -- # of writes merged 75 + See the description of field 2. 74 76 Field 7 -- # of sectors written 75 77 This is the total number of sectors written successfully. 76 78 Field 8 -- # of milliseconds spent writing
+1 -3
Documentation/kernel-parameters.txt
··· 1675 1675 module.sig_enforce 1676 1676 [KNL] When CONFIG_MODULE_SIG is set, this means that 1677 1677 modules without (valid) signatures will fail to load. 1678 - Note that if CONFIG_MODULE_SIG_ENFORCE is set, that 1678 + Note that if CONFIG_MODULE_SIG_FORCE is set, that 1679 1679 is always true, so this option does nothing. 1680 1680 1681 1681 mousedev.tap_time= ··· 2023 2023 2024 2024 noreplace-smp [X86-32,SMP] Don't replace SMP instructions 2025 2025 with UP alternatives 2026 - 2027 - noresidual [PPC] Don't use residual data on PReP machines. 2028 2026 2029 2027 nordrand [X86] Disable the direct use of the RDRAND 2030 2028 instruction even if it is supported by the
-15
Documentation/trace/tracepoints.txt
··· 81 81 the module exit function to make sure there is no caller left using 82 82 the probe. This, and the fact that preemption is disabled around the 83 83 probe call, make sure that probe removal and module unload are safe. 84 - See the "Probe example" section below for a sample probe module. 85 84 86 85 The tracepoint mechanism supports inserting multiple instances of the 87 86 same tracepoint, but a single definition must be made of a given ··· 99 100 If the tracepoint has to be used in kernel modules, an 100 101 EXPORT_TRACEPOINT_SYMBOL_GPL() or EXPORT_TRACEPOINT_SYMBOL() can be 101 102 used to export the defined tracepoints. 102 - 103 - * Probe / tracepoint example 104 - 105 - See the example provided in samples/tracepoints 106 - 107 - Compile them with your kernel. They are built during 'make' (not 108 - 'make modules') when CONFIG_SAMPLE_TRACEPOINTS=m. 109 - 110 - Run, as root : 111 - modprobe tracepoint-sample (insmod order is not important) 112 - modprobe tracepoint-probe-sample 113 - cat /proc/tracepoint-sample (returns an expected error) 114 - rmmod tracepoint-sample tracepoint-probe-sample 115 - dmesg
+3 -3
Documentation/virtual/virtio-spec.txt
··· 1389 1389 1390 1390 Packets are transmitted by placing them in the transmitq, and 1391 1391 buffers for incoming packets are placed in the receiveq. In each 1392 - case, the packet itself is preceeded by a header: 1392 + case, the packet itself is preceded by a header: 1393 1393 1394 1394 struct virtio_net_hdr { 1395 1395 ··· 1631 1631 1632 1632 The device can filter incoming packets by any number of 1633 1633 destination MAC addresses.[footnote: 1634 - Since there are no guarentees, it can use a hash filter 1634 + Since there are no guarantees, it can use a hash filter 1635 1635 orsilently switch to allmulti or promiscuous mode if it is given 1636 1636 too many addresses. 1637 1637 ] This table is set using the class VIRTIO_NET_CTRL_MAC and the ··· 1822 1822 distinguish between them 1823 1823 ]). If the device has VIRTIO_BLK_F_BARRIER feature the high bit 1824 1824 (VIRTIO_BLK_T_BARRIER) indicates that this request acts as a 1825 - barrier and that all preceeding requests must be complete before 1825 + barrier and that all preceding requests must be complete before 1826 1826 this one, and all following requests must not be started until 1827 1827 this is complete. Note that a barrier does not flush caches in 1828 1828 the underlying backend device in host, and thus does not serve as
+1 -1
arch/arc/kernel/disasm.c
··· 535 535 return instr.is_branch; 536 536 } 537 537 538 - #endif /* CONFIG_KGDB || CONFIG_MISALIGN_ACCESS || CONFIG_KPROBES */ 538 + #endif /* CONFIG_KGDB || CONFIG_ARC_MISALIGN_ACCESS || CONFIG_KPROBES */
+1 -1
arch/arc/plat-arcfpga/Kconfig
··· 53 53 bool "BVCI Bus Latency Unit" 54 54 depends on ARC_BOARD_ML509 || ARC_BOARD_ANGEL4 55 55 help 56 - IP to add artifical latency to BVCI Bus Based FPGA builds. 56 + IP to add artificial latency to BVCI Bus Based FPGA builds. 57 57 The default latency (even worst case) for FPGA is non-realistic 58 58 (~10 SDRAM, ~5 SSRAM). 59 59
+1 -1
arch/arm/kernel/topology.c
··· 100 100 int alloc_size, cpu = 0; 101 101 102 102 alloc_size = nr_cpu_ids * sizeof(struct cpu_capacity); 103 - cpu_capacity = (struct cpu_capacity *)kzalloc(alloc_size, GFP_NOWAIT); 103 + cpu_capacity = kzalloc(alloc_size, GFP_NOWAIT); 104 104 105 105 while ((cn = of_find_node_by_type(cn, "cpu"))) { 106 106 const u32 *rate, *reg;
+1 -1
arch/arm/kvm/arm.c
··· 614 614 615 615 if (hsr_ec >= ARRAY_SIZE(arm_exit_handlers) 616 616 || !arm_exit_handlers[hsr_ec]) { 617 - kvm_err("Unkown exception class: %#08lx, " 617 + kvm_err("Unknown exception class: %#08lx, " 618 618 "hsr: %#08x\n", hsr_ec, 619 619 (unsigned int)vcpu->arch.hsr); 620 620 BUG();
+1 -1
arch/arm/mach-mvebu/irq-armada-370-xp.c
··· 57 57 /* 58 58 * In SMP mode: 59 59 * For shared global interrupts, mask/unmask global enable bit 60 - * For CPU interrtups, mask/unmask the calling CPU's bit 60 + * For CPU interrupts, mask/unmask the calling CPU's bit 61 61 */ 62 62 static void armada_370_xp_irq_mask(struct irq_data *d) 63 63 {
+2 -2
arch/arm/mach-omap2/pm44xx.c
··· 126 126 * omap_default_idle - OMAP4 default ilde routine.' 127 127 * 128 128 * Implements OMAP4 memory, IO ordering requirements which can't be addressed 129 - * with default cpu_do_idle() hook. Used by all CPUs with !CONFIG_CPUIDLE and 130 - * by secondary CPU with CONFIG_CPUIDLE. 129 + * with default cpu_do_idle() hook. Used by all CPUs with !CONFIG_CPU_IDLE and 130 + * by secondary CPU with CONFIG_CPU_IDLE. 131 131 */ 132 132 static void omap_default_idle(void) 133 133 {
+1 -1
arch/blackfin/include/asm/bfin_sport3.h
··· 41 41 #define SPORT_CTL_LAFS 0x00020000 /* Late Transmit frame select */ 42 42 #define SPORT_CTL_RJUST 0x00040000 /* Right Justified mode select */ 43 43 #define SPORT_CTL_FSED 0x00080000 /* External frame sync edge select */ 44 - #define SPORT_CTL_TFIEN 0x00100000 /* Transmit finish interrrupt enable select */ 44 + #define SPORT_CTL_TFIEN 0x00100000 /* Transmit finish interrupt enable select */ 45 45 #define SPORT_CTL_GCLKEN 0x00200000 /* Gated clock mode select */ 46 46 #define SPORT_CTL_SPENSEC 0x01000000 /* Enable secondary channel */ 47 47 #define SPORT_CTL_SPTRAN 0x02000000 /* Data direction control */
+2 -4
arch/m32r/kernel/traps.c
··· 132 132 printk("Call Trace: "); 133 133 while (!kstack_end(stack)) { 134 134 addr = *stack++; 135 - if (__kernel_text_address(addr)) { 136 - printk("[<%08lx>] ", addr); 137 - print_symbol("%s\n", addr); 138 - } 135 + if (__kernel_text_address(addr)) 136 + printk("[<%08lx>] %pSR\n", addr, (void *)addr); 139 137 } 140 138 printk("\n"); 141 139 }
+1 -2
arch/powerpc/kernel/nvram_64.c
··· 511 511 "detected: 0-length partition\n"); 512 512 goto out; 513 513 } 514 - tmp_part = (struct nvram_partition *) 515 - kmalloc(sizeof(struct nvram_partition), GFP_KERNEL); 514 + tmp_part = kmalloc(sizeof(struct nvram_partition), GFP_KERNEL); 516 515 err = -ENOMEM; 517 516 if (!tmp_part) { 518 517 printk(KERN_ERR "nvram_scan_partitions: kmalloc failed\n");
+1 -1
arch/powerpc/kvm/book3s_pr.c
··· 1039 1039 if (!vcpu_book3s) 1040 1040 goto out; 1041 1041 1042 - vcpu_book3s->shadow_vcpu = (struct kvmppc_book3s_shadow_vcpu *) 1042 + vcpu_book3s->shadow_vcpu = 1043 1043 kzalloc(sizeof(*vcpu_book3s->shadow_vcpu), GFP_KERNEL); 1044 1044 if (!vcpu_book3s->shadow_vcpu) 1045 1045 goto free_vcpu;
+1 -1
arch/s390/kernel/irq.c
··· 33 33 }; 34 34 35 35 /* 36 - * The list of "main" irq classes on s390. This is the list of interrrupts 36 + * The list of "main" irq classes on s390. This is the list of interrupts 37 37 * that appear both in /proc/stat ("intr" line) and /proc/interrupts. 38 38 * Historically only external and I/O interrupts have been part of /proc/stat. 39 39 * We can't add the split external and I/O sub classes since the first field
+1 -1
arch/s390/kvm/trace.h
··· 67 67 #define sie_intercept_code \ 68 68 {0x04, "Instruction"}, \ 69 69 {0x08, "Program interruption"}, \ 70 - {0x0C, "Instruction and program interuption"}, \ 70 + {0x0C, "Instruction and program interruption"}, \ 71 71 {0x10, "External request"}, \ 72 72 {0x14, "External interruption"}, \ 73 73 {0x18, "I/O request"}, \
+1 -1
arch/x86/include/asm/cmpxchg.h
··· 35 35 36 36 /* 37 37 * An exchange-type operation, which takes a value and a pointer, and 38 - * returns a the old value. 38 + * returns the old value. 39 39 */ 40 40 #define __xchg_op(ptr, arg, op, lock) \ 41 41 ({ \
+2
drivers/ata/pata_pdc2027x.c
··· 63 63 }; 64 64 65 65 static int pdc2027x_init_one(struct pci_dev *pdev, const struct pci_device_id *ent); 66 + #ifdef CONFIG_PM 66 67 static int pdc2027x_reinit_one(struct pci_dev *pdev); 68 + #endif 67 69 static int pdc2027x_prereset(struct ata_link *link, unsigned long deadline); 68 70 static void pdc2027x_set_piomode(struct ata_port *ap, struct ata_device *adev); 69 71 static void pdc2027x_set_dmamode(struct ata_port *ap, struct ata_device *adev);
+1 -1
drivers/ata/sata_fsl.c
··· 311 311 intr_coalescing_ticks = ticks; 312 312 spin_unlock(&host->lock); 313 313 314 - DPRINTK("intrrupt coalescing, count = 0x%x, ticks = %x\n", 314 + DPRINTK("interrupt coalescing, count = 0x%x, ticks = %x\n", 315 315 intr_coalescing_count, intr_coalescing_ticks); 316 316 DPRINTK("ICC register status: (hcr base: 0x%x) = 0x%x\n", 317 317 hcr_base, ioread32(hcr_base + ICC));
+2 -2
drivers/clk/mvebu/clk-core.c
··· 157 157 cpu_freq_select = ((readl(sar) >> SARL_A370_PCLK_FREQ_OPT) & 158 158 SARL_A370_PCLK_FREQ_OPT_MASK); 159 159 if (cpu_freq_select >= ARRAY_SIZE(armada_370_cpu_frequencies)) { 160 - pr_err("CPU freq select unsuported %d\n", cpu_freq_select); 160 + pr_err("CPU freq select unsupported %d\n", cpu_freq_select); 161 161 cpu_freq = 0; 162 162 } else 163 163 cpu_freq = armada_370_cpu_frequencies[cpu_freq_select]; ··· 279 279 SARH_AXP_PCLK_FREQ_OPT_MASK) 280 280 << SARH_AXP_PCLK_FREQ_OPT_SHIFT); 281 281 if (cpu_freq_select >= ARRAY_SIZE(armada_xp_cpu_frequencies)) { 282 - pr_err("CPU freq select unsuported: %d\n", cpu_freq_select); 282 + pr_err("CPU freq select unsupported: %d\n", cpu_freq_select); 283 283 cpu_freq = 0; 284 284 } else 285 285 cpu_freq = armada_xp_cpu_frequencies[cpu_freq_select];
+1 -1
drivers/crypto/caam/ctrl.c
··· 66 66 67 67 /* 68 68 * load 1 to clear written reg: 69 - * resets the done interrrupt and returns the RNG to idle. 69 + * resets the done interrupt and returns the RNG to idle. 70 70 */ 71 71 append_load_imm_u32(desc, 1, LDST_SRCDST_WORD_CLRW); 72 72
+1 -1
drivers/gpu/drm/i915/intel_dp.c
··· 2028 2028 } 2029 2029 2030 2030 if (channel_eq) 2031 - DRM_DEBUG_KMS("Channel EQ done. DP Training successfull\n"); 2031 + DRM_DEBUG_KMS("Channel EQ done. DP Training successful\n"); 2032 2032 2033 2033 intel_dp_set_link_train(intel_dp, DP, DP_TRAINING_PATTERN_DISABLE); 2034 2034 }
+1 -1
drivers/gpu/drm/i915/intel_sdvo.c
··· 451 451 int i, ret = true; 452 452 453 453 /* Would be simpler to allocate both in one go ? */ 454 - buf = (u8 *)kzalloc(args_len * 2 + 2, GFP_KERNEL); 454 + buf = kzalloc(args_len * 2 + 2, GFP_KERNEL); 455 455 if (!buf) 456 456 return false; 457 457
+1 -1
drivers/gpu/drm/radeon/radeon_irq_kms.c
··· 270 270 } 271 271 272 272 /** 273 - * radeon_irq_kms_fini - tear down driver interrrupt info 273 + * radeon_irq_kms_fini - tear down driver interrupt info 274 274 * 275 275 * @rdev: radeon device pointer 276 276 *
+1 -1
drivers/i2c/busses/i2c-puv3.c
··· 199 199 200 200 adapter = kzalloc(sizeof(struct i2c_adapter), GFP_KERNEL); 201 201 if (adapter == NULL) { 202 - dev_err(&pdev->dev, "can't allocate inteface!\n"); 202 + dev_err(&pdev->dev, "can't allocate interface!\n"); 203 203 rc = -ENOMEM; 204 204 goto fail_nomem; 205 205 }
+1 -1
drivers/irqchip/irq-versatile-fpga.c
··· 139 139 int i; 140 140 141 141 if (fpga_irq_id >= ARRAY_SIZE(fpga_irq_devices)) { 142 - pr_err("%s: too few FPGA IRQ controllers, increase CONFIG_PLAT_VERSATILE_FPGA_IRQ_NR\n", __func__); 142 + pr_err("%s: too few FPGA IRQ controllers, increase CONFIG_VERSATILE_FPGA_IRQ_NR\n", __func__); 143 143 return; 144 144 } 145 145 f = &fpga_irq_devices[fpga_irq_id];
-1
drivers/isdn/i4l/isdn_tty.c
··· 3424 3424 p++; 3425 3425 isdn_tty_cmd_ATA(info); 3426 3426 return; 3427 - break; 3428 3427 case 'D': 3429 3428 /* D - Dial */ 3430 3429 if (info->msr & UART_MSR_DCD)
+1 -1
drivers/media/pci/saa7164/saa7164-core.c
··· 54 54 55 55 unsigned int fw_debug; 56 56 module_param(fw_debug, int, 0644); 57 - MODULE_PARM_DESC(fw_debug, "Firware debug level def:2"); 57 + MODULE_PARM_DESC(fw_debug, "Firmware debug level def:2"); 58 58 59 59 unsigned int encoder_buffers = SAA7164_MAX_ENCODER_BUFFERS; 60 60 module_param(encoder_buffers, int, 0644);
+1 -1
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c
··· 1312 1312 int cnt; 1313 1313 1314 1314 spin_lock_irqsave(&dev->condlock, flags); 1315 - mfc_debug(2, "Previos context: %d (bits %08lx)\n", dev->curr_ctx, 1315 + mfc_debug(2, "Previous context: %d (bits %08lx)\n", dev->curr_ctx, 1316 1316 dev->ctx_work_bits); 1317 1317 new_ctx = (dev->curr_ctx + 1) % MFC_NUM_CONTEXTS; 1318 1318 cnt = 0;
+1 -1
drivers/media/radio/radio-shark.c
··· 284 284 static int shark_register_leds(struct shark_device *shark, struct device *dev) 285 285 { 286 286 v4l2_warn(&shark->v4l2_dev, 287 - "CONFIG_LED_CLASS not enabled, LED support disabled\n"); 287 + "CONFIG_LEDS_CLASS not enabled, LED support disabled\n"); 288 288 return 0; 289 289 } 290 290 static inline void shark_unregister_leds(struct shark_device *shark) { }
+1 -1
drivers/media/radio/radio-shark2.c
··· 250 250 static int shark_register_leds(struct shark_device *shark, struct device *dev) 251 251 { 252 252 v4l2_warn(&shark->v4l2_dev, 253 - "CONFIG_LED_CLASS not enabled, LED support disabled\n"); 253 + "CONFIG_LEDS_CLASS not enabled, LED support disabled\n"); 254 254 return 0; 255 255 } 256 256 static inline void shark_unregister_leds(struct shark_device *shark) { }
+1 -1
drivers/media/usb/dvb-usb/opera1.c
··· 151 151 break; 152 152 } 153 153 if (dvb_usb_opera1_debug & 0x10) 154 - info("sending i2c mesage %d %d", tmp, msg[i].len); 154 + info("sending i2c message %d %d", tmp, msg[i].len); 155 155 } 156 156 mutex_unlock(&d->i2c_mutex); 157 157 return num;
+3 -3
drivers/misc/mei/amthif.c
··· 60 60 } 61 61 62 62 /** 63 - * mei_amthif_host_init_ - mei initialization amthif client. 63 + * mei_amthif_host_init - mei initialization amthif client. 64 64 * 65 65 * @dev: the device structure 66 66 * ··· 433 433 434 434 435 435 /** 436 - * mei_amthif_irq_process_completed - processes completed iamthif operation. 436 + * mei_amthif_irq_write_completed - processes completed iamthif operation. 437 437 * 438 438 * @dev: the device structure. 439 439 * @slots: free slots. ··· 704 704 /** 705 705 * mei_amthif_release - the release function 706 706 * 707 - * @inode: pointer to inode structure 707 + * @dev: device structure 708 708 * @file: pointer to file structure 709 709 * 710 710 * returns 0 on success, <0 on error
+12 -12
drivers/misc/mei/client.c
··· 109 109 * mei_io_cb_init - allocate and initialize io callback 110 110 * 111 111 * @cl - mei client 112 - * @file: pointer to file structure 112 + * @fp: pointer to file structure 113 113 * 114 114 * returns mei_cl_cb pointer or NULL; 115 115 */ ··· 132 132 /** 133 133 * mei_io_cb_alloc_req_buf - allocate request buffer 134 134 * 135 - * @cb - io callback structure 136 - * @size: size of the buffer 135 + * @cb: io callback structure 136 + * @length: size of the buffer 137 137 * 138 138 * returns 0 on success 139 139 * -EINVAL if cb is NULL ··· 154 154 return 0; 155 155 } 156 156 /** 157 - * mei_io_cb_alloc_req_buf - allocate respose buffer 157 + * mei_io_cb_alloc_resp_buf - allocate respose buffer 158 158 * 159 - * @cb - io callback structure 160 - * @size: size of the buffer 159 + * @cb: io callback structure 160 + * @length: size of the buffer 161 161 * 162 162 * returns 0 on success 163 163 * -EINVAL if cb is NULL ··· 183 183 /** 184 184 * mei_cl_flush_queues - flushes queue lists belonging to cl. 185 185 * 186 - * @dev: the device structure 187 186 * @cl: host client 188 187 */ 189 188 int mei_cl_flush_queues(struct mei_cl *cl) ··· 243 244 /** 244 245 * mei_cl_find_read_cb - find this cl's callback in the read list 245 246 * 246 - * @dev: device structure 247 + * @cl: host client 248 + * 247 249 * returns cb on success, NULL on error 248 250 */ 249 251 struct mei_cl_cb *mei_cl_find_read_cb(struct mei_cl *cl) ··· 263 263 * 264 264 * @cl - host client 265 265 * @id - fixed host id or -1 for genereting one 266 + * 266 267 * returns 0 on success 267 268 * -EINVAL on incorrect values 268 269 * -ENONET if client not found ··· 303 302 /** 304 303 * mei_cl_unlink - remove me_cl from the list 305 304 * 306 - * @dev: the device structure 305 + * @cl: host client 307 306 */ 308 307 int mei_cl_unlink(struct mei_cl *cl) 309 308 { ··· 539 538 /** 540 539 * mei_cl_flow_ctrl_creds - checks flow_control credits for cl. 541 540 * 542 - * @dev: the device structure 543 541 * @cl: private data of the file object 544 542 * 545 543 * returns 1 if mei_flow_ctrl_creds >0, 0 - otherwise. ··· 579 579 /** 580 580 * mei_cl_flow_ctrl_reduce - reduces flow_control. 581 581 * 582 - * @dev: the device structure 583 582 * @cl: private data of the file object 583 + * 584 584 * @returns 585 585 * 0 on success 586 586 * -ENOENT when me client is not found ··· 618 618 } 619 619 620 620 /** 621 - * mei_cl_start_read - the start read client message function. 621 + * mei_cl_read_start - the start read client message function. 622 622 * 623 623 * @cl: host client 624 624 *
+5 -4
drivers/misc/mei/hbm.c
··· 62 62 63 63 /** 64 64 * mei_hbm_cl_hdr - construct client hbm header 65 + * 65 66 * @cl: - client 66 67 * @hbm_cmd: host bus message command 67 68 * @buf: buffer for cl header ··· 207 206 } 208 207 209 208 /** 210 - * mei_hbm_prop_requsest - request property for a single client 209 + * mei_hbm_prop_req - request property for a single client 211 210 * 212 211 * @dev: the device structure 213 212 * ··· 307 306 } 308 307 309 308 /** 310 - * add_single_flow_creds - adds single buffer credentials. 309 + * mei_hbm_add_single_flow_creds - adds single buffer credentials. 311 310 * 312 - * @file: private data ot the file object. 311 + * @dev: the device structure 313 312 * @flow: flow control. 314 313 */ 315 314 static void mei_hbm_add_single_flow_creds(struct mei_device *dev, ··· 501 500 502 501 503 502 /** 504 - * mei_client_disconnect_request - disconnect request initiated by me 503 + * mei_hbm_fw_disconnect_req - disconnect request initiated by me 505 504 * host sends disoconnect response 506 505 * 507 506 * @dev: the device structure.
+4 -4
drivers/misc/mei/hw-me.c
··· 103 103 104 104 105 105 /** 106 - * me_hw_config - configure hw dependent settings 106 + * mei_me_hw_config - configure hw dependent settings 107 107 * 108 108 * @dev: mei device 109 109 */ ··· 169 169 * mei_me_hw_reset - resets fw via mei csr register. 170 170 * 171 171 * @dev: the device structure 172 - * @interrupts_enabled: if interrupt should be enabled after reset. 172 + * @intr_enable: if interrupt should be enabled after reset. 173 173 */ 174 174 static void mei_me_hw_reset(struct mei_device *dev, bool intr_enable) 175 175 { ··· 285 285 } 286 286 287 287 /** 288 - * mei_hbuf_is_empty - checks if host buffer is empty. 288 + * mei_me_hbuf_is_empty - checks if host buffer is empty. 289 289 * 290 290 * @dev: the device structure 291 291 * ··· 554 554 }; 555 555 556 556 /** 557 - * init_mei_device - allocates and initializes the mei device structure 557 + * mei_me_dev_init - allocates and initializes the mei device structure 558 558 * 559 559 * @pdev: The pci device structure 560 560 *
+2 -2
drivers/misc/mei/interrupt.c
··· 230 230 231 231 232 232 /** 233 - * _mei_hb_read - processes read related operation. 233 + * _mei_irq_thread_read - processes read related operation. 234 234 * 235 235 * @dev: the device structure. 236 236 * @slots: free slots. ··· 369 369 } 370 370 371 371 /** 372 - * mei_irq_thread_read_handler - bottom half read routine after ISR to 372 + * mei_irq_read_handler - bottom half read routine after ISR to 373 373 * handle the read processing. 374 374 * 375 375 * @dev: the device structure
+1
drivers/misc/mei/pci-me.c
··· 92 92 93 93 /** 94 94 * mei_quirk_probe - probe for devices that doesn't valid ME interface 95 + * 95 96 * @pdev: PCI device structure 96 97 * @ent: entry into pci_device_table 97 98 *
+1
drivers/misc/mei/wd.c
··· 58 58 * mei_wd_host_init - connect to the watchdog client 59 59 * 60 60 * @dev: the device structure 61 + * 61 62 * returns -ENENT if wd client cannot be found 62 63 * -EIO if write has failed 63 64 * 0 on success
+1 -1
drivers/net/ethernet/atheros/atl1c/atl1c_hw.c
··· 810 810 if (wufc & AT_WUFC_LNKC) { 811 811 wol_ctrl |= WOL_LINK_CHG_EN | WOL_LINK_CHG_PME_EN; 812 812 if (atl1c_write_phy_reg(hw, MII_IER, IER_LINK_UP) != 0) { 813 - dev_dbg(&pdev->dev, "%s: write phy MII_IER faild.\n", 813 + dev_dbg(&pdev->dev, "%s: write phy MII_IER failed.\n", 814 814 atl1c_driver_name); 815 815 } 816 816 }
+2 -2
drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c
··· 591 591 DCBX_READ_REMOTE_MIB); 592 592 593 593 if (rc) { 594 - BNX2X_ERR("Faild to read remote mib from FW\n"); 594 + BNX2X_ERR("Failed to read remote mib from FW\n"); 595 595 return rc; 596 596 } 597 597 ··· 619 619 DCBX_READ_LOCAL_MIB); 620 620 621 621 if (rc) { 622 - BNX2X_ERR("Faild to read local mib from FW\n"); 622 + BNX2X_ERR("Failed to read local mib from FW\n"); 623 623 return rc; 624 624 } 625 625
+1 -1
drivers/net/ethernet/sfc/Kconfig
··· 24 24 bool "Solarflare SFC9000-family hwmon support" 25 25 depends on SFC && HWMON && !(SFC=y && HWMON=m) 26 26 default y 27 - ----help--- 27 + ---help--- 28 28 This exposes the on-board firmware-managed sensors as a 29 29 hardware monitor device. 30 30 config SFC_SRIOV
+1 -1
drivers/net/ethernet/ti/cpts.c
··· 94 94 case CPTS_EV_HW: 95 95 break; 96 96 default: 97 - pr_err("cpts: unkown event type\n"); 97 + pr_err("cpts: unknown event type\n"); 98 98 break; 99 99 } 100 100 if (type == match)
+1 -1
drivers/power/pm2301_charger.c
··· 235 235 236 236 static int pm2xxx_charger_wd_exp_mngt(struct pm2xxx_charger *pm2, int val) 237 237 { 238 - dev_dbg(pm2->dev , "20 minutes watchdog occured\n"); 238 + dev_dbg(pm2->dev , "20 minutes watchdog expired\n"); 239 239 240 240 pm2->ac.wd_expired = true; 241 241 power_supply_changed(&pm2->ac_chg.psy);
+1 -1
drivers/remoteproc/remoteproc_core.c
··· 59 59 { 60 60 if (type < ARRAY_SIZE(rproc_crash_names)) 61 61 return rproc_crash_names[type]; 62 - return "unkown"; 62 + return "unknown"; 63 63 } 64 64 65 65 /*
+2 -2
drivers/rtc/Kconfig
··· 402 402 tristate "TI TPS6586X RTC driver" 403 403 depends on MFD_TPS6586X 404 404 help 405 - TI Power Managment IC TPS6586X supports RTC functionality 405 + TI Power Management IC TPS6586X supports RTC functionality 406 406 along with alarm. This driver supports the RTC driver for 407 407 the TPS6586X RTC module. 408 408 ··· 420 420 tristate "TI TPS80031/TPS80032 RTC driver" 421 421 depends on MFD_TPS80031 422 422 help 423 - TI Power Managment IC TPS80031 supports RTC functionality 423 + TI Power Management IC TPS80031 supports RTC functionality 424 424 along with alarm. This driver supports the RTC driver for 425 425 the TPS80031 RTC module. 426 426
+1 -1
drivers/rtc/rtc-max8997.c
··· 24 24 /* Module parameter for WTSR function control */ 25 25 static int wtsr_en = 1; 26 26 module_param(wtsr_en, int, 0444); 27 - MODULE_PARM_DESC(wtsr_en, "Wachdog Timeout & Sofware Reset (default=on)"); 27 + MODULE_PARM_DESC(wtsr_en, "Watchdog Timeout & Software Reset (default=on)"); 28 28 /* Module parameter for SMPL function control */ 29 29 static int smpl_en = 1; 30 30 module_param(smpl_en, int, 0444);
+1 -1
drivers/scsi/be2iscsi/be_iscsi.c
··· 369 369 break; 370 370 default: 371 371 beiscsi_log(phba, KERN_WARNING, BEISCSI_LOG_CONFIG, 372 - "BS_%d : Unkown Param Type : %d\n", 372 + "BS_%d : Unknown Param Type : %d\n", 373 373 iface_param->param); 374 374 return -ENOSYS; 375 375 }
+1 -1
drivers/scsi/be2iscsi/be_mgmt.c
··· 1292 1292 break; 1293 1293 default: 1294 1294 return snprintf(buf, PAGE_SIZE, 1295 - "Unkown Adapter Family: 0x%x\n", dev_id); 1295 + "Unknown Adapter Family: 0x%x\n", dev_id); 1296 1296 break; 1297 1297 } 1298 1298 }
+6 -6
drivers/scsi/bnx2i/bnx2i.h
··· 580 580 * @sq_mem_size: SQ size 581 581 * @sq_prod_qe: SQ producer entry pointer 582 582 * @sq_cons_qe: SQ consumer entry pointer 583 - * @sq_first_qe: virtaul address of first entry in SQ 584 - * @sq_last_qe: virtaul address of last entry in SQ 583 + * @sq_first_qe: virtual address of first entry in SQ 584 + * @sq_last_qe: virtual address of last entry in SQ 585 585 * @sq_prod_idx: SQ producer index 586 586 * @sq_cons_idx: SQ consumer index 587 587 * @sqe_left: number sq entry left ··· 593 593 * @cq_mem_size: CQ size 594 594 * @cq_prod_qe: CQ producer entry pointer 595 595 * @cq_cons_qe: CQ consumer entry pointer 596 - * @cq_first_qe: virtaul address of first entry in CQ 597 - * @cq_last_qe: virtaul address of last entry in CQ 596 + * @cq_first_qe: virtual address of first entry in CQ 597 + * @cq_last_qe: virtual address of last entry in CQ 598 598 * @cq_prod_idx: CQ producer index 599 599 * @cq_cons_idx: CQ consumer index 600 600 * @cqe_left: number cq entry left ··· 608 608 * @rq_mem_size: RQ size 609 609 * @rq_prod_qe: RQ producer entry pointer 610 610 * @rq_cons_qe: RQ consumer entry pointer 611 - * @rq_first_qe: virtaul address of first entry in RQ 612 - * @rq_last_qe: virtaul address of last entry in RQ 611 + * @rq_first_qe: virtual address of first entry in RQ 612 + * @rq_last_qe: virtual address of last entry in RQ 613 613 * @rq_prod_idx: RQ producer index 614 614 * @rq_cons_idx: RQ consumer index 615 615 * @rqe_left: number rq entry left
+6 -6
drivers/scsi/csiostor/csio_mb.c
··· 182 182 * @tmo: Command timeout. 183 183 * @pf: PF number. 184 184 * @vf: VF number. 185 - * @nparams: Number of paramters 185 + * @nparams: Number of parameters 186 186 * @params: Parameter mnemonic array. 187 187 * @val: Parameter value array. 188 188 * @wr: Write/Read PARAMS. ··· 721 721 * @mbp: Mailbox structure to initialize 722 722 * @priv: Private data 723 723 * @mb_tmo: Mailbox time-out period (in ms). 724 - * @eq_ofld_params: (Offload) Egress queue paramters. 724 + * @eq_ofld_params: (Offload) Egress queue parameters. 725 725 * @cbfn: The call-back function 726 726 * 727 727 * ··· 752 752 * @priv: Private data 753 753 * @mb_tmo: Mailbox time-out period (in ms). 754 754 * @cascaded_req: TRUE - if this request is cascased with Eq-alloc request. 755 - * @eq_ofld_params: (Offload) Egress queue paramters. 755 + * @eq_ofld_params: (Offload) Egress queue parameters. 756 756 * @cbfn: The call-back function 757 757 * 758 758 * ··· 817 817 * @mbp: Mailbox structure to initialize 818 818 * @priv: Private data. 819 819 * @mb_tmo: Mailbox time-out period (in ms). 820 - * @eq_ofld_params: (Offload) Egress queue paramters. 820 + * @eq_ofld_params: (Offload) Egress queue parameters. 821 821 * @cbfn: The call-back function 822 822 * 823 823 * ··· 840 840 * @hw: The HW structure. 841 841 * @mbp: Mailbox structure to initialize. 842 842 * @retval: Firmware return value. 843 - * @eq_ofld_params: (Offload) Egress queue paramters. 843 + * @eq_ofld_params: (Offload) Egress queue parameters. 844 844 * 845 845 */ 846 846 void ··· 870 870 * @mbp: Mailbox structure to initialize 871 871 * @priv: Private data area. 872 872 * @mb_tmo: Mailbox time-out period (in ms). 873 - * @eq_ofld_params: (Offload) Egress queue paramters, that is to be freed. 873 + * @eq_ofld_params: (Offload) Egress queue parameters, that is to be freed. 874 874 * @cbfn: The call-back function 875 875 * 876 876 *
+1 -1
drivers/scsi/lpfc/lpfc_bsg.c
··· 4741 4741 if (job->request_len < 4742 4742 sizeof(struct fc_bsg_request) + sizeof(struct dfc_mbox_req)) { 4743 4743 lpfc_printf_log(phba, KERN_INFO, LOG_LIBDFC, 4744 - "2737 Mix-and-match backward compability " 4744 + "2737 Mix-and-match backward compatibility " 4745 4745 "between MBOX_REQ old size:%d and " 4746 4746 "new request size:%d\n", 4747 4747 (int)(job->request_len -
+1 -1
drivers/scsi/mpt3sas/mpt3sas_config.c
··· 148 148 desc = "raid_config"; 149 149 break; 150 150 case MPI2_CONFIG_EXTPAGETYPE_DRIVER_MAPPING: 151 - desc = "driver_mappping"; 151 + desc = "driver_mapping"; 152 152 break; 153 153 } 154 154 break;
+1 -1
drivers/scsi/osd/osd_initiator.c
··· 1049 1049 1050 1050 bio = bio_kmalloc(GFP_KERNEL, numentries); 1051 1051 if (unlikely(!bio)) { 1052 - OSD_DEBUG("Faild to allocate BIO size=%u\n", numentries); 1052 + OSD_DEBUG("Failed to allocate BIO size=%u\n", numentries); 1053 1053 return ERR_PTR(-ENOMEM); 1054 1054 } 1055 1055
+1 -1
drivers/scsi/qla4xxx/ql4_nx.c
··· 2089 2089 2090 2090 if (r_addr & 0xf) { 2091 2091 DEBUG2(ql4_printk(KERN_INFO, ha, 2092 - "[%s]: Read addr 0x%x not 16 bytes alligned\n", 2092 + "[%s]: Read addr 0x%x not 16 bytes aligned\n", 2093 2093 __func__, r_addr)); 2094 2094 return QLA_ERROR; 2095 2095 }
+2 -2
drivers/usb/misc/iowarrior.c
··· 672 672 retval = -ENODEV; /* close called more than once */ 673 673 mutex_unlock(&dev->mutex); 674 674 } else { 675 - dev->opened = 0; /* we're closeing now */ 675 + dev->opened = 0; /* we're closing now */ 676 676 retval = 0; 677 677 if (dev->present) { 678 678 /* ··· 802 802 /* this one will match for the IOWarrior56 only */ 803 803 dev->int_out_endpoint = endpoint; 804 804 } 805 - /* we have to check the report_size often, so remember it in the endianess suitable for our machine */ 805 + /* we have to check the report_size often, so remember it in the endianness suitable for our machine */ 806 806 dev->report_size = usb_endpoint_maxp(dev->int_in_endpoint); 807 807 if ((dev->interface->cur_altsetting->desc.bInterfaceNumber == 0) && 808 808 (dev->product_id == USB_DEVICE_ID_CODEMERCS_IOW56))
+1 -1
drivers/usb/misc/uss720.c
··· 705 705 return -ENODEV; 706 706 } 707 707 i = usb_set_interface(usbdev, intf->altsetting->desc.bInterfaceNumber, 2); 708 - dev_dbg(&intf->dev, "set inteface result %d\n", i); 708 + dev_dbg(&intf->dev, "set interface result %d\n", i); 709 709 710 710 interface = intf->cur_altsetting; 711 711
+1 -1
drivers/video/amifb.c
··· 1181 1181 } 1182 1182 1183 1183 /* 1184 - * FB_VMODE_SMOOTH_XPAN will be cleared, if one of the folloing 1184 + * FB_VMODE_SMOOTH_XPAN will be cleared, if one of the following 1185 1185 * checks failed and smooth scrolling is not possible 1186 1186 */ 1187 1187
+1 -1
drivers/video/auo_k190x.c
··· 1088 1088 goto err_defio; 1089 1089 } 1090 1090 1091 - dev_dbg(info->device, "targetting %d frames per second\n", board->fps); 1091 + dev_dbg(info->device, "targeting %d frames per second\n", board->fps); 1092 1092 info->fbdefio->delay = HZ / board->fps; 1093 1093 info->fbdefio->first_io = auok190xfb_dpy_first_io, 1094 1094 info->fbdefio->deferred_io = auok190xfb_dpy_deferred_io,
+2 -2
drivers/video/exynos/exynos_dp_core.c
··· 976 976 } 977 977 978 978 if (of_property_read_u32(dp_phy_node, "reg", &phy_base)) { 979 - dev_err(dp->dev, "faild to get reg for dptx-phy\n"); 979 + dev_err(dp->dev, "failed to get reg for dptx-phy\n"); 980 980 ret = -EINVAL; 981 981 goto err; 982 982 } 983 983 984 984 if (of_property_read_u32(dp_phy_node, "samsung,enable-mask", 985 985 &dp->enable_mask)) { 986 - dev_err(dp->dev, "faild to get enable-mask for dptx-phy\n"); 986 + dev_err(dp->dev, "failed to get enable-mask for dptx-phy\n"); 987 987 ret = -EINVAL; 988 988 goto err; 989 989 }
+1 -1
drivers/video/goldfishfb.c
··· 148 148 wait_event_timeout(fb->wait, 149 149 fb->base_update_count != base_update_count, HZ / 15); 150 150 if (fb->base_update_count == base_update_count) 151 - pr_err("goldfish_fb_pan_display: timeout wating for base update\n"); 151 + pr_err("goldfish_fb_pan_display: timeout waiting for base update\n"); 152 152 return 0; 153 153 } 154 154
+1 -1
drivers/video/s1d13xxxfb.c
··· 862 862 printk(KERN_INFO PFX 863 863 "unknown chip production id %i, revision %i\n", 864 864 prod_id, revision); 865 - printk(KERN_INFO PFX "please contant maintainer\n"); 865 + printk(KERN_INFO PFX "please contact maintainer\n"); 866 866 goto bail; 867 867 } 868 868
+2 -2
drivers/video/ssd1307fb.c
··· 1 1 /* 2 - * Driver for the Solomon SSD1307 OLED controler 2 + * Driver for the Solomon SSD1307 OLED controller 3 3 * 4 4 * Copyright 2012 Free Electrons 5 5 * ··· 392 392 393 393 module_i2c_driver(ssd1307fb_driver); 394 394 395 - MODULE_DESCRIPTION("FB driver for the Solomon SSD1307 OLED controler"); 395 + MODULE_DESCRIPTION("FB driver for the Solomon SSD1307 OLED controller"); 396 396 MODULE_AUTHOR("Maxime Ripard <maxime.ripard@free-electrons.com>"); 397 397 MODULE_LICENSE("GPL");
+1 -2
fs/befs/btree.c
··· 436 436 goto error; 437 437 } 438 438 439 - if ((this_node = (befs_btree_node *) 440 - kmalloc(sizeof (befs_btree_node), GFP_NOFS)) == NULL) { 439 + if ((this_node = kmalloc(sizeof (befs_btree_node), GFP_NOFS)) == NULL) { 441 440 befs_error(sb, "befs_btree_read() failed to allocate %u " 442 441 "bytes of memory", sizeof (befs_btree_node)); 443 442 goto error;
+1 -1
fs/f2fs/f2fs.h
··· 137 137 rwlock_t ext_lock; /* rwlock for consistency */ 138 138 unsigned int fofs; /* start offset in a file */ 139 139 u32 blk_addr; /* start block address of the extent */ 140 - unsigned int len; /* lenth of the extent */ 140 + unsigned int len; /* length of the extent */ 141 141 }; 142 142 143 143 /*
+1 -1
fs/f2fs/gc.c
··· 222 222 } 223 223 224 224 /* 225 - * This function is called from two pathes. 225 + * This function is called from two paths. 226 226 * One is garbage collection and the other is SSR segment selection. 227 227 * When it is called during GC, it just gets a victim segment 228 228 * and it does not remove it from dirty seglist.
+1 -1
fs/f2fs/super.c
··· 82 82 83 83 init_once((void *) fi); 84 84 85 - /* Initilize f2fs-specific inode info */ 85 + /* Initialize f2fs-specific inode info */ 86 86 fi->vfs_inode.i_version = 1; 87 87 atomic_set(&fi->dirty_dents, 0); 88 88 fi->i_current_depth = 1;
+2 -2
fs/gfs2/glock.c
··· 1017 1017 return; 1018 1018 1019 1019 trap_recursive: 1020 - print_symbol(KERN_ERR "original: %s\n", gh2->gh_ip); 1020 + printk(KERN_ERR "original: %pSR\n", (void *)gh2->gh_ip); 1021 1021 printk(KERN_ERR "pid: %d\n", pid_nr(gh2->gh_owner_pid)); 1022 1022 printk(KERN_ERR "lock type: %d req lock state : %d\n", 1023 1023 gh2->gh_gl->gl_name.ln_type, gh2->gh_state); 1024 - print_symbol(KERN_ERR "new: %s\n", gh->gh_ip); 1024 + printk(KERN_ERR "new: %pSR\n", (void *)gh->gh_ip); 1025 1025 printk(KERN_ERR "pid: %d\n", pid_nr(gh->gh_owner_pid)); 1026 1026 printk(KERN_ERR "lock type: %d req lock state : %d\n", 1027 1027 gh->gh_gl->gl_name.ln_type, gh->gh_state);
+2 -1
fs/gfs2/trans.c
··· 96 96 97 97 static void gfs2_print_trans(const struct gfs2_trans *tr) 98 98 { 99 - print_symbol(KERN_WARNING "GFS2: Transaction created at: %s\n", tr->tr_ip); 99 + printk(KERN_WARNING "GFS2: Transaction created at: %pSR\n", 100 + (void *)tr->tr_ip); 100 101 printk(KERN_WARNING "GFS2: blocks=%u revokes=%u reserved=%u touched=%d\n", 101 102 tr->tr_blocks, tr->tr_revokes, tr->tr_reserved, tr->tr_touched); 102 103 printk(KERN_WARNING "GFS2: Buf %u/%u Databuf %u/%u Revoke %u/%u\n",
+1 -1
fs/nfs/objlayout/objio_osd.c
··· 234 234 235 235 lseg = kzalloc(lseg_size, gfp_flags); 236 236 if (unlikely(!lseg)) { 237 - dprintk("%s: Faild allocation numdevs=%d size=%zd\n", __func__, 237 + dprintk("%s: Failed allocation numdevs=%d size=%zd\n", __func__, 238 238 numdevs, lseg_size); 239 239 return -ENOMEM; 240 240 }
+1 -1
fs/nfs/objlayout/objlayout.h
··· 114 114 gfp_t gfp_flags); 115 115 extern void objio_free_lseg(struct pnfs_layout_segment *lseg); 116 116 117 - /* objio_free_result will free these @oir structs recieved from 117 + /* objio_free_result will free these @oir structs received from 118 118 * objlayout_{read,write}_done 119 119 */ 120 120 extern void objio_free_result(struct objlayout_io_res *oir);
+1 -2
fs/ufs/util.c
··· 26 26 count = size >> uspi->s_fshift; 27 27 if (count > UFS_MAXFRAG) 28 28 return NULL; 29 - ubh = (struct ufs_buffer_head *) 30 - kmalloc (sizeof (struct ufs_buffer_head), GFP_NOFS); 29 + ubh = kmalloc (sizeof (struct ufs_buffer_head), GFP_NOFS); 31 30 if (!ubh) 32 31 return NULL; 33 32 ubh->fragment = fragment;
+1 -1
include/linux/evm.h
··· 96 96 return 0; 97 97 } 98 98 99 - #endif /* CONFIG_EVM_H */ 99 + #endif /* CONFIG_EVM */ 100 100 #endif /* LINUX_EVM_H */
+1 -1
include/linux/iio/gyro/itg3200.h
··· 149 149 { 150 150 } 151 151 152 - #endif /* CONFIG_IIO_RING_BUFFER */ 152 + #endif /* CONFIG_IIO_BUFFER */ 153 153 154 154 #endif /* ITG3200_H_ */
+2 -2
include/linux/ima.h
··· 46 46 return 0; 47 47 } 48 48 49 - #endif /* CONFIG_IMA_H */ 49 + #endif /* CONFIG_IMA */ 50 50 51 51 #ifdef CONFIG_IMA_APPRAISE 52 52 extern void ima_inode_post_setattr(struct dentry *dentry); ··· 72 72 { 73 73 return 0; 74 74 } 75 - #endif /* CONFIG_IMA_APPRAISE_H */ 75 + #endif /* CONFIG_IMA_APPRAISE */ 76 76 #endif /* _LINUX_IMA_H */
+1 -1
include/linux/integrity.h
··· 36 36 { 37 37 return; 38 38 } 39 - #endif /* CONFIG_INTEGRITY_H */ 39 + #endif /* CONFIG_INTEGRITY */ 40 40 #endif /* _LINUX_INTEGRITY_H */
+1 -1
include/linux/mmzone.h
··· 450 450 * 451 451 * present_pages is physical pages existing within the zone, which 452 452 * is calculated as: 453 - * present_pages = spanned_pages - absent_pages(pags in holes); 453 + * present_pages = spanned_pages - absent_pages(pages in holes); 454 454 * 455 455 * managed_pages is present pages managed by the buddy system, which 456 456 * is calculated as (reserved_pages includes pages allocated by the
+1 -1
include/net/sctp/sctp.h
··· 576 576 #define WORD_ROUND(s) (((s)+3)&~3) 577 577 578 578 /* Make a new instance of type. */ 579 - #define t_new(type, flags) (type *)kzalloc(sizeof(type), flags) 579 + #define t_new(type, flags) kzalloc(sizeof(type), flags) 580 580 581 581 /* Compare two timevals. */ 582 582 #define tv_lt(s, t) \
+1 -1
include/sound/pcm.h
··· 867 867 ssize_t snd_pcm_format_size(snd_pcm_format_t format, size_t samples); 868 868 const unsigned char *snd_pcm_format_silence_64(snd_pcm_format_t format); 869 869 int snd_pcm_format_set_silence(snd_pcm_format_t format, void *buf, unsigned int frames); 870 - snd_pcm_format_t snd_pcm_build_linear_format(int width, int unsignd, int big_endian); 870 + snd_pcm_format_t snd_pcm_build_linear_format(int width, int unsigned, int big_endian); 871 871 872 872 void snd_pcm_set_ops(struct snd_pcm * pcm, int direction, struct snd_pcm_ops *ops); 873 873 void snd_pcm_set_sync(struct snd_pcm_substream *substream);
+5 -5
include/trace/events/timer.h
··· 123 123 124 124 /** 125 125 * hrtimer_init - called when the hrtimer is initialized 126 - * @timer: pointer to struct hrtimer 126 + * @hrtimer: pointer to struct hrtimer 127 127 * @clockid: the hrtimers clock 128 128 * @mode: the hrtimers mode 129 129 */ ··· 155 155 156 156 /** 157 157 * hrtimer_start - called when the hrtimer is started 158 - * @timer: pointer to struct hrtimer 158 + * @hrtimer: pointer to struct hrtimer 159 159 */ 160 160 TRACE_EVENT(hrtimer_start, 161 161 ··· 186 186 ); 187 187 188 188 /** 189 - * htimmer_expire_entry - called immediately before the hrtimer callback 190 - * @timer: pointer to struct hrtimer 189 + * hrtimer_expire_entry - called immediately before the hrtimer callback 190 + * @hrtimer: pointer to struct hrtimer 191 191 * @now: pointer to variable which contains current time of the 192 192 * timers base. 193 193 * ··· 234 234 235 235 /** 236 236 * hrtimer_expire_exit - called immediately after the hrtimer callback returns 237 - * @timer: pointer to struct hrtimer 237 + * @hrtimer: pointer to struct hrtimer 238 238 * 239 239 * When used in combination with the hrtimer_expire_entry tracepoint we can 240 240 * determine the runtime of the callback function.
+2 -2
mm/hugetlb.c
··· 1761 1761 * Unregister hstate attributes from a single node device. 1762 1762 * No-op if no hstate attributes attached. 1763 1763 */ 1764 - void hugetlb_unregister_node(struct node *node) 1764 + static void hugetlb_unregister_node(struct node *node) 1765 1765 { 1766 1766 struct hstate *h; 1767 1767 struct node_hstate *nhs = &node_hstates[node->dev.id]; ··· 1805 1805 * Register hstate attributes for a single node device. 1806 1806 * No-op if attributes already registered. 1807 1807 */ 1808 - void hugetlb_register_node(struct node *node) 1808 + static void hugetlb_register_node(struct node *node) 1809 1809 { 1810 1810 struct hstate *h; 1811 1811 struct node_hstate *nhs = &node_hstates[node->dev.id];
+4 -4
mm/memory.c
··· 715 715 * Choose text because data symbols depend on CONFIG_KALLSYMS_ALL=y 716 716 */ 717 717 if (vma->vm_ops) 718 - print_symbol(KERN_ALERT "vma->vm_ops->fault: %s\n", 719 - (unsigned long)vma->vm_ops->fault); 718 + printk(KERN_ALERT "vma->vm_ops->fault: %pSR\n", 719 + vma->vm_ops->fault); 720 720 if (vma->vm_file && vma->vm_file->f_op) 721 - print_symbol(KERN_ALERT "vma->vm_file->f_op->mmap: %s\n", 722 - (unsigned long)vma->vm_file->f_op->mmap); 721 + printk(KERN_ALERT "vma->vm_file->f_op->mmap: %pSR\n", 722 + vma->vm_file->f_op->mmap); 723 723 dump_stack(); 724 724 add_taint(TAINT_BAD_PAGE, LOCKDEP_NOW_UNRELIABLE); 725 725 }
+3 -5
mm/slab.c
··· 2040 2040 } 2041 2041 2042 2042 if (cachep->flags & SLAB_STORE_USER) { 2043 - printk(KERN_ERR "Last user: [<%p>]", 2044 - *dbg_userword(cachep, objp)); 2045 - print_symbol("(%s)", 2046 - (unsigned long)*dbg_userword(cachep, objp)); 2047 - printk("\n"); 2043 + printk(KERN_ERR "Last user: [<%p>](%pSR)\n", 2044 + *dbg_userword(cachep, objp), 2045 + *dbg_userword(cachep, objp)); 2048 2046 } 2049 2047 realobj = (char *)objp + obj_offset(cachep); 2050 2048 size = cachep->object_size;
+1 -1
net/sctp/protocol.c
··· 1403 1403 1404 1404 /* Allocate and initialize the endpoint hash table. */ 1405 1405 sctp_ep_hashsize = 64; 1406 - sctp_ep_hashtable = (struct sctp_hashbucket *) 1406 + sctp_ep_hashtable = 1407 1407 kmalloc(64 * sizeof(struct sctp_hashbucket), GFP_KERNEL); 1408 1408 if (!sctp_ep_hashtable) { 1409 1409 pr_err("Failed endpoint_hash alloc\n");
+1 -1
sound/pci/mixart/mixart.c
··· 1175 1175 1176 1176 snd_iprintf(buffer, "\tstreaming : %d\n", streaming); 1177 1177 snd_iprintf(buffer, "\tmailbox : %d\n", mailbox); 1178 - snd_iprintf(buffer, "\tinterrups handling : %d\n\n", interr); 1178 + snd_iprintf(buffer, "\tinterrupts handling : %d\n\n", interr); 1179 1179 } 1180 1180 } /* endif elf loaded */ 1181 1181 }
+1 -1
sound/soc/codecs/wm8974.c
··· 125 125 SOC_ENUM("EQ4 Cut Off", wm8974_enum[10]), 126 126 SOC_SINGLE_TLV("EQ4 Volume", WM8974_EQ4, 0, 24, 1, eq_tlv), 127 127 128 - SOC_ENUM("Equaliser EQ5 Bandwith", wm8974_enum[11]), 128 + SOC_ENUM("Equaliser EQ5 Bandwidth", wm8974_enum[11]), 129 129 SOC_ENUM("EQ5 Cut Off", wm8974_enum[12]), 130 130 SOC_SINGLE_TLV("EQ5 Volume", WM8974_EQ5, 0, 24, 1, eq_tlv), 131 131
+2 -2
sound/soc/ux500/Kconfig
··· 20 20 help 21 21 Say Y if you want to enable the Ux500 platform-driver. 22 22 23 - +config SND_SOC_UX500_MACH_MOP500 24 - + tristate "Machine - MOP500 (Ux500 + AB8500)" 23 + config SND_SOC_UX500_MACH_MOP500 24 + tristate "Machine - MOP500 (Ux500 + AB8500)" 25 25 depends on AB8500_CORE && AB8500_GPADC && SND_SOC_UX500 26 26 select SND_SOC_AB8500_CODEC 27 27 select SND_SOC_UX500_PLAT_MSP_I2S
+1 -1
tools/perf/tests/attr.c
··· 178 178 !lstat(path_perf, &st)) 179 179 return run_dir(path_dir, path_perf); 180 180 181 - fprintf(stderr, " (ommitted)"); 181 + fprintf(stderr, " (omitted)"); 182 182 return 0; 183 183 }
+1 -1
tools/perf/tests/parse-events.c
··· 1321 1321 1322 1322 ret = stat(path, &st); 1323 1323 if (ret) { 1324 - pr_debug("ommiting PMU cpu events tests\n"); 1324 + pr_debug("omitting PMU cpu events tests\n"); 1325 1325 return 0; 1326 1326 } 1327 1327
+1 -1
tools/power/cpupower/debug/i386/intel_gsic.c
··· 66 66 printf("ecx = 0x%.8x\n", r.ecx); 67 67 printf("edx = 0x%.8x\n", r.edx); 68 68 printf("Note also that some BIOS do not support the initial " 69 - "GSIC call, but the newer\nspeeedstep-smi driver may " 69 + "GSIC call, but the newer\nspeedstep-smi driver may " 70 70 "work.\nFor this, you need to pass some arguments to " 71 71 "the speedstep-smi driver:\n"); 72 72 printf("\tsmi_cmd=0x?? smi_port=0x?? smi_sig=1\n");