History

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

Pull trivial tree from Jiri Kosina: "The usual trivial updates all over the tree -- mostly typo fixes and documentation updates" * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (52 commits) doc: Documentation/cputopology.txt fix typo treewide: Convert retrun typos to return Fix comment typo for init_cma_reserved_pageblock Documentation/trace: Correcting and extending tracepoint documentation mm/hotplug: fix a typo in Documentation/memory-hotplug.txt power: Documentation: Update s2ram link doc: fix a typo in Documentation/00-INDEX Documentation/printk-formats.txt: No casts needed for u64/s64 doc: Fix typo "is is" in Documentations treewide: Fix printks with 0x%# zram: doc fixes Documentation/kmemcheck: update kmemcheck documentation doc: documentation/hwspinlock.txt fix typo PM / Hibernate: add section for resume options doc: filesystems : Fix typo in Documentations/filesystems scsi/megaraid fixed several typos in comments ppc: init_32: Fix error typo "CONFIG_START_KERNEL" treewide: Add __GFP_NOWARN to k.alloc calls with v.alloc fallbacks page_isolation: Fix a comment typo in test_pages_isolated() doc: fix a typo about irq affinity ...

Linus Torvalds committed 13 years ago

Commit 2e515bf2 parents 22e04f6 f8ea61e106 files · +269 −204Browse files

Unified · Split

106 files
  1. CREDITS +5 −6
  2. Documentation/00-INDEX +1 −1
  3. Documentation/ABI/testing/sysfs-block-zram +5 −4
  4. Documentation/DocBook/media/v4l/vidioc-g-parm.xml +2 −2
  5. Documentation/IRQ-affinity.txt +2 −2
  6. Documentation/SubmittingPatches +10 −0
  7. Documentation/acpi/enumeration.txt +1 −1
  8. Documentation/arm/OMAP/omap_pm +1 −1
  9. Documentation/block/cfq-iosched.txt +1 −1
  10. Documentation/cachetlb.txt +3 −3
  11. Documentation/cputopology.txt +1 −1
  12. Documentation/development-process/2.Process +2 −2
  13. Documentation/devicetree/bindings/arm/ste-u300.txt +1 −1
  14. Documentation/devicetree/bindings/arm/vexpress-sysreg.txt +2 −2
  15. Documentation/devicetree/bindings/c6x/dscr.txt +1 −1
  16. Documentation/devicetree/bindings/clock/clk-exynos-audss.txt +1 −1
  17. Documentation/devicetree/bindings/clock/st,nomadik.txt +1 −1
  18. Documentation/devicetree/bindings/dma/atmel-dma.txt +2 −2
  19. Documentation/devicetree/bindings/dma/fsl-imx-dma.txt +1 −1
  20. Documentation/devicetree/bindings/dma/ste-dma40.txt +2 −2
  21. Documentation/devicetree/bindings/mfd/cros-ec.txt +1 −1
  22. Documentation/devicetree/bindings/net/can/atmel-can.txt +1 −1
  23. Documentation/devicetree/bindings/pinctrl/atmel,at91-pinctrl.txt +1 −1
  24. Documentation/devicetree/bindings/serial/rs485.txt +1 −1
  25. Documentation/dma-buf-sharing.txt +1 −1
  26. Documentation/early-userspace/README +1 −2
  27. Documentation/fb/fbcon.txt +1 −1
  28. Documentation/fb/viafb.modes +1 −1
  29. Documentation/fb/viafb.txt +1 −1
  30. Documentation/filesystems/btrfs.txt +1 −1
  31. Documentation/filesystems/ext4.txt +1 −1
  32. Documentation/filesystems/nfs/Exporting +1 −1
  33. Documentation/filesystems/nfs/pnfs.txt +1 −1
  34. Documentation/filesystems/qnx6.txt +1 −1
  35. Documentation/filesystems/relay.txt +1 −1
  36. Documentation/filesystems/sysfs-tagging.txt +1 −1
  37. Documentation/filesystems/xfs.txt +1 −1
  38. Documentation/fmc/carrier.txt +1 −1
  39. Documentation/hwmon/abituguru-datasheet +1 −1
  40. Documentation/hwmon/submitting-patches +1 −1
  41. Documentation/hwspinlock.txt +1 −1
  42. Documentation/i2c/upgrading-clients +2 −2
  43. Documentation/kmemcheck.txt +3 −3
  44. Documentation/leds/leds-lm3556.txt +1 −1
  45. Documentation/leds/leds-lp3944.txt +1 −1
  46. Documentation/memory-hotplug.txt +1 −1
  47. Documentation/mtd/nand_ecc.txt +1 −1
  48. Documentation/power/basic-pm-debugging.txt +5 −5
  49. Documentation/power/swsusp.txt +14 −1
  50. Documentation/printk-formats.txt +3 −3
  51. Documentation/rapidio/rapidio.txt +1 −1
  52. Documentation/scsi/hptiop.txt +1 −1
  53. Documentation/sound/alsa/README.maya44 +1 −1
  54. Documentation/sound/alsa/compress_offload.txt +2 −2
  55. Documentation/sysfs-rules.txt +1 −1
  56. Documentation/target/tcm_mod_builder.py +1 −1
  57. Documentation/trace/ftrace.txt +2 −2
  58. Documentation/trace/tracepoints.txt +17 −2
  59. Documentation/virtual/kvm/api.txt +1 −1
  60. Documentation/x86/boot.txt +1 −1
  61. Documentation/zh_CN/SubmittingPatches +1 −1
  62. arch/parisc/kernel/signal.c +1 −1
  63. arch/powerpc/mm/init_32.c +1 −1
  64. crypto/api.c +1 −1
  65. drivers/block/drbd/drbd_bitmap.c +1 −1
  66. drivers/clocksource/acpi_pm.c +2 −2
  67. drivers/crypto/ux500/hash/hash_core.c +1 −1
  68. drivers/gpu/drm/radeon/r300.c +1 −1
  69. drivers/infiniband/hw/ehca/ipz_pt_fn.c +2 −1
  70. drivers/media/usb/gspca/vicam.c +1 −1
  71. drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c +1 −1
  72. drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c +1 −1
  73. drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c +1 −1
  74. drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c +1 −1
  75. drivers/net/ethernet/sis/sis900.c +1 −1
  76. drivers/net/wireless/cw1200/wsm.c +1 −1
  77. drivers/net/wireless/iwlwifi/mvm/time-event.c +1 −1
  78. drivers/net/wireless/rtlwifi/rtl8188ee/fw.c +2 −2
  79. drivers/net/wireless/rtlwifi/rtl8192de/dm.c +1 −1
  80. drivers/net/wireless/rtlwifi/rtl8723ae/fw.c +2 −2
  81. drivers/power/88pm860x_charger.c +2 −2
  82. drivers/power/pm2301_charger.c +1 −1
  83. drivers/scsi/bfa/bfad_im.c +1 −1
  84. drivers/scsi/cxgbi/libcxgbi.h +4 −4
  85. drivers/scsi/hpsa.c +1 −1
  86. drivers/scsi/lpfc/lpfc_attr.c +4 −4
  87. drivers/scsi/lpfc/lpfc_bsg.c +1 −1
  88. drivers/scsi/megaraid/megaraid_mbox.c +5 −5
  89. drivers/scsi/megaraid/megaraid_mm.c +1 −1
  90. drivers/scsi/megaraid/megaraid_sas_fusion.h +1 −1
  91. drivers/scsi/qla2xxx/qla_bsg.c +1 −1
  92. drivers/scsi/qla2xxx/qla_mr.c +1 −1
  93. drivers/spi/spi-bitbang.c +1 −1
  94. drivers/tty/serial/kgdboc.c +1 −1
  95. fs/btrfs/send.c +1 −1
  96. fs/ext4/super.c +2 −2
  97. fs/gfs2/dir.c +1 −1
  98. include/linux/coda.h +0 −1
  99. include/linux/ktime.h +15 −13
  100. kernel/workqueue.c +66 −41
  101. mm/memory-failure.c +1 −1
  102. mm/page_alloc.c +1 −1
  103. mm/page_isolation.c +4 −4
  104. net/sched/sch_choke.c +2 −1
  105. sound/pci/ens1370.c +1 −1
  106. sound/pci/via82xx.c +1 −1
CREDITS+5−6
@@ -637,14 +637,13 @@ S: 14509 NE 39th Street #1096 · 636 unmodified lines
637637 S: Bellevue, Washington 98007
638638 S: USA
639639
640−N: Christopher L. Cheney
641−E: ccheney@debian.org
642−E: ccheney@cheney.cx
643−W: http://www.cheney.cx
640+N: Chris Cheney
641+E: chris.cheney@gmail.com
642+E: ccheney@redhat.com
644643 P: 1024D/8E384AF2 2D31 1927 87D7 1F24 9FF9 1BC5 D106 5AB3 8E38 4AF2
645644 D: Vista Imaging usb webcam driver
646−S: 314 Prince of Wales
647−S: Conroe, TX 77304
645+S: 2308 Therrell Way
646+S: McKinney, TX 75070
648647 S: USA
649648
650649 N: Stuart Cheshire
Documentation/00-INDEX+1−1
@@ -40,7 +40,7 @@ IPMI.txt · 39 unmodified lines
4040 IRQ-affinity.txt
4141 - how to select which CPU(s) handle which interrupt events on SMP.
4242 IRQ-domain.txt
43− - info on inerrupt numbering and setting up IRQ domains.
43+ - info on interrupt numbering and setting up IRQ domains.
4444 IRQ.txt
4545 - description of what an IRQ is.
4646 Intel-IOMMU.txt
Documentation/ABI/testing/sysfs-block-zram+5−4
@@ -5,20 +5,21 @@ Description: · 4 unmodified lines
55 The disksize file is read-write and specifies the disk size
66 which represents the limit on the *uncompressed* worth of data
77 that can be stored in this disk.
8+ Unit: bytes
89
910 What: /sys/block/zram<id>/initstate
1011 Date: August 2010
1112 Contact: Nitin Gupta <ngupta@vflare.org>
1213 Description:
13− The disksize file is read-only and shows the initialization
14+ The initstate file is read-only and shows the initialization
1415 state of the device.
1516
1617 What: /sys/block/zram<id>/reset
1718 Date: August 2010
1819 Contact: Nitin Gupta <ngupta@vflare.org>
1920 Description:
20− The disksize file is write-only and allows resetting the
21− device. The reset operation frees all the memory assocaited
21+ The reset file is write-only and allows resetting the
22+ device. The reset operation frees all the memory associated
2223 with this device.
2324
2425 What: /sys/block/zram<id>/num_reads
@@ -48,7 +49,7 @@ Contact: Nitin Gupta <ngupta@vflare.org> · 23 unmodified lines
4849 Description:
4950 The notify_free file is read-only and specifies the number of
5051 swap slot free notifications received by this device. These
51− notifications are send to a swap block device when a swap slot
52+ notifications are sent to a swap block device when a swap slot
5253 is freed. This statistic is applicable only when this disk is
5354 being used as a swap disk.
5455
Documentation/DocBook/media/v4l/vidioc-g-parm.xml+2−2
@@ -132,7 +132,7 @@ devices.</para> · 131 unmodified lines
132132 <row>
133133 <entry>&v4l2-fract;</entry>
134134 <entry><structfield>timeperframe</structfield></entry>
135− <entry><para>This is is the desired period between
135+ <entry><para>This is the desired period between
136136 successive frames captured by the driver, in seconds. The
137137 field is intended to skip frames on the driver side, saving I/O
138138 bandwidth.</para><para>Applications store here the desired frame
@@ -193,7 +193,7 @@ applications must set the array to zero.</entry> · 54 unmodified lines
193193 <row>
194194 <entry>&v4l2-fract;</entry>
195195 <entry><structfield>timeperframe</structfield></entry>
196− <entry>This is is the desired period between
196+ <entry>This is the desired period between
197197 successive frames output by the driver, in seconds.</entry>
198198 </row>
199199 <row>
Documentation/IRQ-affinity.txt+2−2
@@ -57,8 +57,8 @@ i.e counters for the CPU0-3 did not change. · 56 unmodified lines
5757
5858 Here is an example of limiting that same irq (44) to cpus 1024 to 1031:
5959
60−[root@moon 44]# echo 1024-1031 > smp_affinity
61−[root@moon 44]# cat smp_affinity
60+[root@moon 44]# echo 1024-1031 > smp_affinity_list
61+[root@moon 44]# cat smp_affinity_list
6262 1024-1031
6363
6464 Note that to do this with a bitmask would require 32 bitmasks of zero
Documentation/SubmittingPatches+10−0
@@ -109,6 +109,16 @@ probably didn't even receive earlier versions of the patch. · 108 unmodified lines
109109 If the patch fixes a logged bug entry, refer to that bug entry by
110110 number and URL.
111111
112+If you want to refer to a specific commit, don't just refer to the
113+SHA-1 ID of the commit. Please also include the oneline summary of
114+the commit, to make it easier for reviewers to know what it is about.
115+Example:
116+
117+ Commit e21d2170f36602ae2708 ("video: remove unnecessary
118+ platform_set_drvdata()") removed the unnecessary
119+ platform_set_drvdata(), but left the variable "dev" unused,
120+ delete it.
121+
112122
113123 3) Separate your changes.
114124
Documentation/acpi/enumeration.txt+1−1
@@ -207,7 +207,7 @@ passing those. One idea is to return this in _DSM method like: · 206 unmodified lines
207207 Return (Local0)
208208 }
209209
210−Then the at25 SPI driver can get this configation by calling _DSM on its
210+Then the at25 SPI driver can get this configuration by calling _DSM on its
211211 ACPI handle like:
212212
213213 struct acpi_buffer output = { ACPI_ALLOCATE_BUFFER, NULL };
Documentation/arm/OMAP/omap_pm+1−1
@@ -78,7 +78,7 @@ to NULL. Drivers should use the following idiom: · 77 unmodified lines
7878 The most common usage of these functions will probably be to specify
7979 the maximum time from when an interrupt occurs, to when the device
8080 becomes accessible. To accomplish this, driver writers should use the
81−set_max_mpu_wakeup_lat() function to to constrain the MPU wakeup
81+set_max_mpu_wakeup_lat() function to constrain the MPU wakeup
8282 latency, and the set_max_dev_wakeup_lat() function to constrain the
8383 device wakeup latency (from clk_enable() to accessibility). For
8484 example,
Documentation/block/cfq-iosched.txt+1−1
@@ -69,7 +69,7 @@ one, this value should be decreased relative to fifo_expire_async. · 68 unmodified lines
6969 group_idle
7070 -----------
7171 This parameter forces idling at the CFQ group level instead of CFQ
72−queue level. This was introduced after after a bottleneck was observed
72+queue level. This was introduced after a bottleneck was observed
7373 in higher end storage due to idle on sequential queue and allow dispatch
7474 from a single queue. The idea with this parameter is that it can be run with
7575 slice_idle=0 and group_idle=8, so that idling does not happen on individual
Documentation/cachetlb.txt+3−3
@@ -57,7 +57,7 @@ changes occur: · 56 unmodified lines
5757 interface must make sure that any previous page table
5858 modifications for the address space 'vma->vm_mm' in the range
5959 'start' to 'end-1' will be visible to the cpu. That is, after
60− running, here will be no entries in the TLB for 'mm' for
60+ running, there will be no entries in the TLB for 'mm' for
6161 virtual addresses in the range 'start' to 'end-1'.
6262
6363 The "vma" is the backing store being used for the region.
@@ -375,8 +375,8 @@ maps this page at its virtual address. · 311 unmodified lines
375375
376376 void flush_icache_page(struct vm_area_struct *vma, struct page *page)
377377 All the functionality of flush_icache_page can be implemented in
378− flush_dcache_page and update_mmu_cache. In 2.7 the hope is to
379− remove this interface completely.
378+ flush_dcache_page and update_mmu_cache. In the future, the hope
379+ is to remove this interface completely.
380380
381381 The final category of APIs is for I/O to deliberately aliased address
382382 ranges inside the kernel. Such aliases are set up by use of the
Documentation/cputopology.txt+1−1
@@ -22,7 +22,7 @@ to /proc/cpuinfo. · 21 unmodified lines
2222
2323 4) /sys/devices/system/cpu/cpuX/topology/thread_siblings:
2424
25− internel kernel map of cpuX's hardware threads within the same
25+ internal kernel map of cpuX's hardware threads within the same
2626 core as cpuX
2727
2828 5) /sys/devices/system/cpu/cpuX/topology/core_siblings:
Documentation/development-process/2.Process+2−2
@@ -276,7 +276,7 @@ mainline get there via -mm. · 275 unmodified lines
276276 The current -mm patch is available in the "mmotm" (-mm of the moment)
277277 directory at:
278278
279− http://userweb.kernel.org/~akpm/mmotm/
279+ http://www.ozlabs.org/~akpm/mmotm/
280280
281281 Use of the MMOTM tree is likely to be a frustrating experience, though;
282282 there is a definite chance that it will not even compile.
@@ -287,7 +287,7 @@ the mainline is expected to look like after the next merge window closes. · 4 unmodified lines
287287 Linux-next trees are announced on the linux-kernel and linux-next mailing
288288 lists when they are assembled; they can be downloaded from:
289289
290− http://www.kernel.org/pub/linux/kernel/people/sfr/linux-next/
290+ http://www.kernel.org/pub/linux/kernel/next/
291291
292292 Some information about linux-next has been gathered at:
293293
Documentation/devicetree/bindings/arm/ste-u300.txt+1−1
@@ -22,7 +22,7 @@ This contains the board-specific information. · 21 unmodified lines
2222 - compatible: must be "stericsson,s365".
2323 - vana15-supply: the regulator supplying the 1.5V to drive the
2424 board.
25−- syscon: a pointer to the syscon node so we can acccess the
25+- syscon: a pointer to the syscon node so we can access the
2626 syscon registers to set the board as self-powered.
2727
2828 Example:
Documentation/devicetree/bindings/arm/vexpress-sysreg.txt+2−2
@@ -32,8 +32,8 @@ numbers - see motherboard's TRM for more details. · 31 unmodified lines
3232 The node describing a config device must refer to the sysreg node via
3333 "arm,vexpress,config-bridge" phandle (can be also defined in the node's
3434 parent) and relies on the board topology properties - see main vexpress
35−node documentation for more details. It must must also define the
36−following property:
35+node documentation for more details. It must also define the following
36+property:
3737 - arm,vexpress-sysreg,func : must contain two cells:
3838 - first cell defines function number (eg. 1 for clock generator,
3939 2 for voltage regulators etc.)
Documentation/devicetree/bindings/c6x/dscr.txt+1−1
@@ -5,7 +5,7 @@ TI C6X SoCs contain a region of miscellaneous registers which provide various · 4 unmodified lines
55 function for SoC control or status. Details vary considerably among from SoC
66 to SoC with no two being alike.
77
8−In general, the Device State Configuraion Registers (DSCR) will provide one or
8+In general, the Device State Configuration Registers (DSCR) will provide one or
99 more configuration registers often protected by a lock register where one or
1010 more key values must be written to a lock register in order to unlock the
1111 configuration register for writes. These configuration register may be used to
Documentation/devicetree/bindings/clock/clk-exynos-audss.txt+1−1
@@ -2,7 +2,7 @@ · 1 unmodified line
22
33 The Samsung Audio Subsystem clock controller generates and supplies clocks
44 to Audio Subsystem block available in the S5PV210 and Exynos SoCs. The clock
5−binding described here is applicable to all SoC's in Exynos family.
5+binding described here is applicable to all SoCs in Exynos family.
66
77 Required Properties:
88
Documentation/devicetree/bindings/clock/st,nomadik.txt+1−1
@@ -17,7 +17,7 @@ Optional properties for the SRC node: · 16 unmodified lines
1717 - disable-mxtal: if present this will disable the MXTALO,
1818 i.e. the driver output for the main (~19.2 MHz) chrystal,
1919 if the board has its own circuitry for providing this
20− osciallator
20+ oscillator
2121
2222
2323 PLL nodes: these nodes represent the two PLLs on the system,
Documentation/devicetree/bindings/dma/atmel-dma.txt+2−2
@@ -18,14 +18,14 @@ dma0: dma@ffffec00 { · 17 unmodified lines
1818
1919 DMA clients connected to the Atmel DMA controller must use the format
2020 described in the dma.txt file, using a three-cell specifier for each channel:
21−a phandle plus two interger cells.
21+a phandle plus two integer cells.
2222 The three cells in order are:
2323
2424 1. A phandle pointing to the DMA controller.
2525 2. The memory interface (16 most significant bits), the peripheral interface
2626 (16 less significant bits).
2727 3. Parameters for the at91 DMA configuration register which are device
28−dependant:
28+dependent:
2929 - bit 7-0: peripheral identifier for the hardware handshaking interface. The
3030 identifier can be different for tx and rx.
3131 - bit 11-8: FIFO configuration. 0 for half FIFO, 1 for ALAP, 1 for ASAP.
Documentation/devicetree/bindings/dma/fsl-imx-dma.txt+1−1
@@ -34,7 +34,7 @@ Clients have to specify the DMA requests with phandles in a list. · 33 unmodified lines
3434 Required properties:
3535 - dmas: List of one or more DMA request specifiers. One DMA request specifier
3636 consists of a phandle to the DMA controller followed by the integer
37− specifiying the request line.
37+ specifying the request line.
3838 - dma-names: List of string identifiers for the DMA requests. For the correct
3939 names, have a look at the specific client driver.
4040
Documentation/devicetree/bindings/dma/ste-dma40.txt+2−2
@@ -37,14 +37,14 @@ Each dmas request consists of 4 cells: · 36 unmodified lines
3737 1. A phandle pointing to the DMA controller
3838 2. Device Type
3939 3. The DMA request line number (only when 'use fixed channel' is set)
40− 4. A 32bit mask specifying; mode, direction and endianess [NB: This list will grow]
40+ 4. A 32bit mask specifying; mode, direction and endianness [NB: This list will grow]
4141 0x00000001: Mode:
4242 Logical channel when unset
4343 Physical channel when set
4444 0x00000002: Direction:
4545 Memory to Device when unset
4646 Device to Memory when set
47− 0x00000004: Endianess:
47+ 0x00000004: Endianness:
4848 Little endian when unset
4949 Big endian when set
5050 0x00000008: Use fixed channel:
Documentation/devicetree/bindings/mfd/cros-ec.txt+1−1
@@ -4,7 +4,7 @@ Google's ChromeOS EC is a Cortex-M device which talks to the AP and · 3 unmodified lines
44 implements various function such as keyboard and battery charging.
55
66 The EC can be connect through various means (I2C, SPI, LPC) and the
7−compatible string used depends on the inteface. Each connection method has
7+compatible string used depends on the interface. Each connection method has
88 its own driver which connects to the top level interface-agnostic EC driver.
99 Other Linux driver (such as cros-ec-keyb for the matrix keyboard) connect to
1010 the top-level driver.
Documentation/devicetree/bindings/net/can/atmel-can.txt+1−1
@@ -8,7 +8,7 @@ Required properties: · 7 unmodified lines
88 Example:
99
1010 can0: can@f000c000 {
11− compatbile = "atmel,at91sam9x5-can";
11+ compatible = "atmel,at91sam9x5-can";
1212 reg = <0xf000c000 0x300>;
1313 interrupts = <40 4 5>
1414 };
Documentation/devicetree/bindings/pinctrl/atmel,at91-pinctrl.txt+1−1
@@ -37,7 +37,7 @@ Bank: 3 (A, B and C) · 36 unmodified lines
3737 0xffffffff 0x7fff3ccf /* pioB */
3838 0xffffffff 0x007fffff /* pioC */
3939
40−For each peripheral/bank we will descibe in a u32 if a pin can can be
40+For each peripheral/bank we will descibe in a u32 if a pin can be
4141 configured in it by putting 1 to the pin bit (1 << pin)
4242
4343 Let's take the pioA on peripheral B
Documentation/devicetree/bindings/serial/rs485.txt+1−1
@@ -7,7 +7,7 @@ UART node. · 6 unmodified lines
77
88 Required properties:
99 - rs485-rts-delay: prop-encoded-array <a b> where:
10− * a is the delay beteween rts signal and beginning of data sent in milliseconds.
10+ * a is the delay between rts signal and beginning of data sent in milliseconds.
1111 it corresponds to the delay before sending data.
1212 * b is the delay between end of data sent and rts signal in milliseconds
1313 it corresponds to the delay after sending data and actual release of the line.
Documentation/dma-buf-sharing.txt+1−1
@@ -321,7 +321,7 @@ Access to a dma_buf from the kernel context involves three steps: · 320 unmodified lines
321321
322322 When the importer is done accessing the range specified in begin_cpu_access,
323323 it needs to announce this to the exporter (to facilitate cache flushing and
324− unpinning of any pinned resources). The result of of any dma_buf kmap calls
324+ unpinning of any pinned resources). The result of any dma_buf kmap calls
325325 after end_cpu_access is undefined.
326326
327327 Interface:
Documentation/early-userspace/README+1−2
@@ -83,8 +83,7 @@ Where's this all leading? · 82 unmodified lines
8383
8484 The klibc distribution contains some of the necessary software to make
8585 early userspace useful. The klibc distribution is currently
86−maintained separately from the kernel, but this may change early in
87−the 2.7 era (it missed the boat for 2.5).
86+maintained separately from the kernel.
8887
8988 You can obtain somewhat infrequent snapshots of klibc from
9089 ftp://ftp.kernel.org/pub/linux/libs/klibc/
Documentation/fb/fbcon.txt+1−1
@@ -150,7 +150,7 @@ C. Boot options · 149 unmodified lines
150150
151151 C. Attaching, Detaching and Unloading
152152
153−Before going on on how to attach, detach and unload the framebuffer console, an
153+Before going on how to attach, detach and unload the framebuffer console, an
154154 illustration of the dependencies may help.
155155
156156 The console layer, as with most subsystems, needs a driver that interfaces with
Documentation/fb/viafb.modes+1−1
@@ -571,7 +571,7 @@ mode "640x480-60" · 570 unmodified lines
571571 # 160 chars 800 lines
572572 # Blank Time 4.798 us 0.564 ms
573573 # 50 chars 28 lines
574−# Polarity negtive positive
574+# Polarity negative positive
575575 #
576576 mode "1280x800-60"
577577 # D: 83.500 MHz, H: 49.702 kHz, V: 60.00 Hz
Documentation/fb/viafb.txt+1−1
@@ -32,7 +32,7 @@ · 31 unmodified lines
3232 Start viafb with default settings:
3333 #modprobe viafb
3434
35− Start viafb with with user options:
35+ Start viafb with user options:
3636 #modprobe viafb viafb_mode=800x600 viafb_bpp=16 viafb_refresh=60
3737 viafb_active_dev=CRT+DVI viafb_dvi_port=DVP1
3838 viafb_mode1=1024x768 viafb_bpp=16 viafb_refresh1=60
Documentation/filesystems/btrfs.txt+1−1
@@ -87,7 +87,7 @@ Unless otherwise specified, all options default to off. · 86 unmodified lines
8787
8888 device=<devicepath>
8989 Specify a device during mount so that ioctls on the control device
90− can be avoided. Especialy useful when trying to mount a multi-device
90+ can be avoided. Especially useful when trying to mount a multi-device
9191 setup as root. May be specified multiple times for multiple devices.
9292
9393 discard
Documentation/filesystems/ext4.txt+1−1
@@ -2,7 +2,7 @@ · 1 unmodified line
22 Ext4 Filesystem
33 ===============
44
5−Ext4 is an an advanced level of the ext3 filesystem which incorporates
5+Ext4 is an advanced level of the ext3 filesystem which incorporates
66 scalability and reliability enhancements for supporting large filesystems
77 (64 bit) in keeping with increasing disk capacities and state-of-the-art
88 feature requirements.
Documentation/filesystems/nfs/Exporting+1−1
@@ -93,7 +93,7 @@ For a filesystem to be exportable it must: · 92 unmodified lines
9393 2/ make sure that d_splice_alias is used rather than d_add
9494 when ->lookup finds an inode for a given parent and name.
9595
96− If inode is NULL, d_splice_alias(inode, dentry) is eqivalent to
96+ If inode is NULL, d_splice_alias(inode, dentry) is equivalent to
9797
9898 d_add(dentry, inode), NULL
9999
Documentation/filesystems/nfs/pnfs.txt+1−1
@@ -12,7 +12,7 @@ struct pnfs_layout_hdr · 11 unmodified lines
1212 ----------------------
1313 The on-the-wire command LAYOUTGET corresponds to struct
1414 pnfs_layout_segment, usually referred to by the variable name lseg.
15−Each nfs_inode may hold a pointer to a cache of of these layout
15+Each nfs_inode may hold a pointer to a cache of these layout
1616 segments in nfsi->layout, of type struct pnfs_layout_hdr.
1717
1818 We reference the header for the inode pointing to it, across each
Documentation/filesystems/qnx6.txt+1−1
@@ -149,7 +149,7 @@ Bitmap system area · 148 unmodified lines
149149 ------------------
150150
151151 The bitmap itself is divided into three parts.
152−First the system area, that is split into two halfs.
152+First the system area, that is split into two halves.
153153 Then userspace.
154154
155155 The requirement for a static, fixed preallocated system area comes from how
Documentation/filesystems/relay.txt+1−1
@@ -31,7 +31,7 @@ Semantics · 30 unmodified lines
3131
3232 Each relay channel has one buffer per CPU, each buffer has one or more
3333 sub-buffers. Messages are written to the first sub-buffer until it is
34−too full to contain a new message, in which case it it is written to
34+too full to contain a new message, in which case it is written to
3535 the next (if available). Messages are never split across sub-buffers.
3636 At this point, userspace can be notified so it empties the first
3737 sub-buffer, while the kernel continues writing to the next.
Documentation/filesystems/sysfs-tagging.txt+1−1
@@ -24,7 +24,7 @@ flag between KOBJ_NS_TYPE_NONE and KOBJ_NS_TYPES, and s_ns will · 23 unmodified lines
2424 point to the namespace to which it belongs.
2525
2626 Each sysfs superblock's sysfs_super_info contains an array void
27−*ns[KOBJ_NS_TYPES]. When a a task in a tagging namespace
27+*ns[KOBJ_NS_TYPES]. When a task in a tagging namespace
2828 kobj_nstype first mounts sysfs, a new superblock is created. It
2929 will be differentiated from other sysfs mounts by having its
3030 s_fs_info->ns[kobj_nstype] set to the new namespace. Note that
Documentation/filesystems/xfs.txt+1−1
@@ -135,7 +135,7 @@ default behaviour. · 134 unmodified lines
135135 If the memory cost of 8 log buffers is too high on small
136136 systems, then it may be reduced at some cost to performance
137137 on metadata intensive workloads. The logbsize option below
138− controls the size of each buffer and so is also relevent to
138+ controls the size of each buffer and so is also relevant to
139139 this case.
140140
141141 logbsize=value
Documentation/fmc/carrier.txt+1−1
@@ -213,7 +213,7 @@ The individual methods perform the following tasks: · 212 unmodified lines
213213 methods: for example the SPEC driver may define that its carrier
214214 I2C memory is seen at offset 1M and the internal SPI flash is seen
215215 at offset 16M. This multiplexing of several flash memories in the
216− same address space is is carrier-specific and should only be used
216+ same address space is carrier-specific and should only be used
217217 by a driver that has verified the `carrier_name' field.
218218
219219
Documentation/hwmon/abituguru-datasheet+1−1
@@ -299,7 +299,7 @@ Byte 1: · 298 unmodified lines
299299 min threshold (scale as bank 0x26)
300300
301301
302−Warning for the adventerous
302+Warning for the adventurous
303303 ===========================
304304
305305 A word of caution to those who want to experiment and see if they can figure
Documentation/hwmon/submitting-patches+1−1
@@ -1,7 +1,7 @@
11 How to Get Your Patch Accepted Into the Hwmon Subsystem
22 -------------------------------------------------------
33
4−This text is is a collection of suggestions for people writing patches or
4+This text is a collection of suggestions for people writing patches or
55 drivers for the hwmon subsystem. Following these suggestions will greatly
66 increase the chances of your change being accepted.
77
Documentation/hwspinlock.txt+1−1
@@ -241,7 +241,7 @@ int hwspinlock_example2(void) · 240 unmodified lines
241241 locks).
242242 Should be called from a process context (this function might sleep).
243243 Returns the address of hwspinlock on success, or NULL on error (e.g.
244− if the hwspinlock is sill in use).
244+ if the hwspinlock is still in use).
245245
246246 5. Important structs
247247
Documentation/i2c/upgrading-clients+2−2
@@ -196,8 +196,8 @@ static int example_probe(struct i2c_client *i2c_client, · 195 unmodified lines
196196
197197 Update the detach method, by changing the name to _remove and
198198 to delete the i2c_detach_client call. It is possible that you
199−can also remove the ret variable as it is not not needed for
200−any of the core functions.
199+can also remove the ret variable as it is not needed for any
200+of the core functions.
201201
202202 - static int example_detach(struct i2c_client *client)
203203 + static int example_remove(struct i2c_client *client)
Documentation/kmemcheck.txt+3−3
@@ -91,9 +91,9 @@ information from the kmemcheck warnings, which is extremely valuable in · 90 unmodified lines
9191 debugging a problem. This option is not mandatory, however, because it slows
9292 down the compilation process and produces a much bigger kernel image.
9393
94−Now the kmemcheck menu should be visible (under "Kernel hacking" / "kmemcheck:
95−trap use of uninitialized memory"). Here follows a description of the
96−kmemcheck configuration variables:
94+Now the kmemcheck menu should be visible (under "Kernel hacking" / "Memory
95+Debugging" / "kmemcheck: trap use of uninitialized memory"). Here follows
96+a description of the kmemcheck configuration variables:
9797
9898 o CONFIG_KMEMCHECK
9999
Documentation/leds/leds-lm3556.txt+1−1
@@ -71,7 +71,7 @@ To register the chip at address 0x63 on specific adapter, set the platform data · 70 unmodified lines
7171 according to include/linux/platform_data/leds-lm3556.h, set the i2c board info
7272
7373 Example:
74− static struct i2c_board_info __initdata board_i2c_ch4[] = {
74+ static struct i2c_board_info board_i2c_ch4[] __initdata = {
7575 {
7676 I2C_BOARD_INFO(LM3556_NAME, 0x63),
7777 .platform_data = &lm3556_pdata,
Documentation/leds/leds-lp3944.txt+1−1
@@ -37,7 +37,7 @@ registered using the i2c_board_info mechanism. · 36 unmodified lines
3737 To register the chip at address 0x60 on adapter 0, set the platform data
3838 according to include/linux/leds-lp3944.h, set the i2c board info:
3939
40− static struct i2c_board_info __initdata a910_i2c_board_info[] = {
40+ static struct i2c_board_info a910_i2c_board_info[] __initdata = {
4141 {
4242 I2C_BOARD_INFO("lp3944", 0x60),
4343 .platform_data = &a910_lp3944_leds,
Documentation/memory-hotplug.txt+1−1
@@ -163,7 +163,7 @@ a recent addition and not present on older kernels. · 162 unmodified lines
163163 at read: contains online/offline state of memory.
164164 at write: user can specify "online_kernel",
165165 "online_movable", "online", "offline" command
166− which will be performed on al sections in the block.
166+ which will be performed on all sections in the block.
167167 'phys_device' : read-only: designed to show the name of physical memory
168168 device. This is not well implemented now.
169169 'removable' : read-only: contains an integer value indicating
Documentation/mtd/nand_ecc.txt+1−1
@@ -543,7 +543,7 @@ THe code within the for loop was changed to: · 542 unmodified lines
543543 }
544544
545545 As you can see tmppar is used to accumulate the parity within a for
546−iteration. In the last 3 statements is is added to par and, if needed,
546+iteration. In the last 3 statements is added to par and, if needed,
547547 to rp12 and rp14.
548548
549549 While making the changes I also found that I could exploit that tmppar
Documentation/power/basic-pm-debugging.txt+5−5
@@ -179,7 +179,7 @@ use the PM_TRACE mechanism documented in Documentation/power/s2ram.txt . · 178 unmodified lines
179179
180180 To verify that the STR works, it is generally more convenient to use the s2ram
181181 tool available from http://suspend.sf.net and documented at
182−http://en.opensuse.org/SDB:Suspend_to_RAM.
182+http://en.opensuse.org/SDB:Suspend_to_RAM (S2RAM_LINK).
183183
184184 Namely, after writing "freezer", "devices", "platform", "processors", or "core"
185185 into /sys/power/pm_test (available if the kernel is compiled with
@@ -194,10 +194,10 @@ Among other things, the testing with the help of /sys/power/pm_test may allow · 8 unmodified lines
194194 you to identify drivers that fail to suspend or resume their devices. They
195195 should be unloaded every time before an STR transition.
196196
197−Next, you can follow the instructions at http://en.opensuse.org/s2ram to test
198−the system, but if it does not work "out of the box", you may need to boot it
199−with "init=/bin/bash" and test s2ram in the minimal configuration. In that
200−case, you may be able to search for failing drivers by following the procedure
197+Next, you can follow the instructions at S2RAM_LINK to test the system, but if
198+it does not work "out of the box", you may need to boot it with
199+"init=/bin/bash" and test s2ram in the minimal configuration. In that case,
200+you may be able to search for failing drivers by following the procedure
201201 analogous to the one described in section 1. If you find some failing drivers,
202202 you will have to unload them every time before an STR transition (ie. before
203203 you run s2ram), and please report the problems with them.
Documentation/power/swsusp.txt+14−1
@@ -50,6 +50,19 @@ echo N > /sys/power/image_size · 49 unmodified lines
5050
5151 before suspend (it is limited to 500 MB by default).
5252
53+. The resume process checks for the presence of the resume device,
54+if found, it then checks the contents for the hibernation image signature.
55+If both are found, it resumes the hibernation image.
56+
57+. The resume process may be triggered in two ways:
58+ 1) During lateinit: If resume=/dev/your_swap_partition is specified on
59+ the kernel command line, lateinit runs the resume process. If the
60+ resume device has not been probed yet, the resume process fails and
61+ bootup continues.
62+ 2) Manually from an initrd or initramfs: May be run from
63+ the init script by using the /sys/power/resume file. It is vital
64+ that this be done prior to remounting any filesystems (even as
65+ read-only) otherwise data may be corrupted.
5366
5467 Article about goals and implementation of Software Suspend for Linux
5568 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -326,7 +339,7 @@ Q: How can distributions ship a swsusp-supporting kernel with modular · 270 unmodified lines
326339 disk drivers (especially SATA)?
327340
328341 A: Well, it can be done, load the drivers, then do echo into
329−/sys/power/disk/resume file from initrd. Be sure not to mount
342+/sys/power/resume file from initrd. Be sure not to mount
330343 anything, not even read-only mount, or you are going to lose your
331344 data.
332345
Documentation/printk-formats.txt+3−3
@@ -97,7 +97,7 @@ IPv4 addresses: · 96 unmodified lines
9797
9898 %pI4 1.2.3.4
9999 %pi4 001.002.003.004
100− %p[Ii][hnbl]
100+ %p[Ii]4[hnbl]
101101
102102 For printing IPv4 dot-separated decimal addresses. The 'I4' and 'i4'
103103 specifiers result in a printed address with ('i4') or without ('I4')
@@ -194,11 +194,11 @@ struct va_format: · 90 unmodified lines
194194
195195 u64 SHOULD be printed with %llu/%llx, (unsigned long long):
196196
197− printk("%llu", (unsigned long long)u64_var);
197+ printk("%llu", u64_var);
198198
199199 s64 SHOULD be printed with %lld/%llx, (long long):
200200
201− printk("%lld", (long long)s64_var);
201+ printk("%lld", s64_var);
202202
203203 If <type> is dependent on a config option for its size (e.g., sector_t,
204204 blkcnt_t) or is architecture-dependent for its size (e.g., tcflag_t), use a
Documentation/rapidio/rapidio.txt+1−1
@@ -300,7 +300,7 @@ initialization. · 299 unmodified lines
300300 -------------------------------------------
301301
302302 RapidIO subsystem code organization allows addition of new enumeration/discovery
303−methods as new configuration options without significant impact to to the core
303+methods as new configuration options without significant impact to the core
304304 RapidIO code.
305305
306306 A new enumeration/discovery method has to be attached to one or more mport
Documentation/scsi/hptiop.txt+1−1
@@ -151,7 +151,7 @@ To send a request to the controller: · 150 unmodified lines
151151 generated.
152152
153153 - The host read the outbound list copy pointer shadow register and compare
154− with previous saved read ponter N. If they are different, the host will
154+ with previous saved read pointer N. If they are different, the host will
155155 read the (N+1)th outbound list unit.
156156
157157 The host get the index of the request from the (N+1)th outbound list
Documentation/sound/alsa/README.maya44+1−1
@@ -120,7 +120,7 @@ Mic Phantom+48V: switch for +48V phantom power for electrostatic microphones on · 119 unmodified lines
120120 Make sure this is not turned on while any other source is connected to input 1/2.
121121 It might damage the source and/or the maya44 card.
122122
123−Mic/Line input: if switch is is on, input jack 1/2 is microphone input (mono), otherwise line input (stereo).
123+Mic/Line input: if switch is on, input jack 1/2 is microphone input (mono), otherwise line input (stereo).
124124
125125 Bypass: analogue bypass from ADC input to output for channel 1+2. Same as "Monitor" in the windows driver.
126126 Bypass 1: same for channel 3+4.
Documentation/sound/alsa/compress_offload.txt+2−2
@@ -73,7 +73,7 @@ The main requirements are: · 72 unmodified lines
7373
7474 Design
7575
76−The new API shares a number of concepts with with the PCM API for flow
76+The new API shares a number of concepts with the PCM API for flow
7777 control. Start, pause, resume, drain and stop commands have the same
7878 semantics no matter what the content is.
7979
@@ -130,7 +130,7 @@ the settings should remain the exception. · 50 unmodified lines
130130 The timestamp becomes a multiple field structure. It lists the number
131131 of bytes transferred, the number of samples processed and the number
132132 of samples rendered/grabbed. All these values can be used to determine
133−the avarage bitrate, figure out if the ring buffer needs to be
133+the average bitrate, figure out if the ring buffer needs to be
134134 refilled or the delay due to decoding/encoding/io on the DSP.
135135
136136 Note that the list of codecs/profiles/modes was derived from the
Documentation/sysfs-rules.txt+1−1
@@ -47,7 +47,7 @@ versions of the sysfs interface. · 46 unmodified lines
4747 at device creation and removal
4848 - the unique key to the device at that point in time
4949 - the kernel's path to the device directory without the leading
50− /sys, and always starting with with a slash
50+ /sys, and always starting with a slash
5151 - all elements of a devpath must be real directories. Symlinks
5252 pointing to /sys/devices must always be resolved to their real
5353 target and the target path must be used to access the device.
Documentation/target/tcm_mod_builder.py+1−1
@@ -300,7 +300,7 @@ def tcm_mod_build_configfs(proto_ident, fabric_mod_dir_var, fabric_mod_name): · 299 unmodified lines
300300 buf += " int ret;\n\n"
301301 buf += " if (strstr(name, \"tpgt_\") != name)\n"
302302 buf += " return ERR_PTR(-EINVAL);\n"
303− buf += " if (strict_strtoul(name + 5, 10, &tpgt) || tpgt > UINT_MAX)\n"
303+ buf += " if (kstrtoul(name + 5, 10, &tpgt) || tpgt > UINT_MAX)\n"
304304 buf += " return ERR_PTR(-EINVAL);\n\n"
305305 buf += " tpg = kzalloc(sizeof(struct " + fabric_mod_name + "_tpg), GFP_KERNEL);\n"
306306 buf += " if (!tpg) {\n"
Documentation/trace/ftrace.txt+2−2
@@ -735,7 +735,7 @@ Here are the available options: · 734 unmodified lines
735735 function as well as the function being traced.
736736
737737 print-parent:
738− bash-4000 [01] 1477.606694: simple_strtoul <-strict_strtoul
738+ bash-4000 [01] 1477.606694: simple_strtoul <-kstrtoul
739739
740740 noprint-parent:
741741 bash-4000 [01] 1477.606694: simple_strtoul
@@ -759,7 +759,7 @@ Here are the available options: · 17 unmodified lines
759759 latency-format option is enabled.
760760
761761 bash 4000 1 0 00000000 00010a95 [58127d26] 1720.415ms \
762− (+0.000ms): simple_strtoul (strict_strtoul)
762+ (+0.000ms): simple_strtoul (kstrtoul)
763763
764764 raw - This will display raw numbers. This option is best for
765765 use with user applications that can translate the raw
Documentation/trace/tracepoints.txt+17−2
@@ -40,7 +40,13 @@ Two elements are required for tracepoints : · 39 unmodified lines
4040
4141 In order to use tracepoints, you should include linux/tracepoint.h.
4242
43−In include/trace/subsys.h :
43+In include/trace/events/subsys.h :
44+
45+#undef TRACE_SYSTEM
46+#define TRACE_SYSTEM subsys
47+
48+#if !defined(_TRACE_SUBSYS_H) || defined(TRACE_HEADER_MULTI_READ)
49+#define _TRACE_SUBSYS_H
4450
4551 #include <linux/tracepoint.h>
4652
@@ -48,10 +54,16 @@ DECLARE_TRACE(subsys_eventname, · 1 unmodified line
4854 TP_PROTO(int firstarg, struct task_struct *p),
4955 TP_ARGS(firstarg, p));
5056
57+#endif /* _TRACE_SUBSYS_H */
58+
59+/* This part must be outside protection */
60+#include <trace/define_trace.h>
61+
5162 In subsys/file.c (where the tracing statement must be added) :
5263
53−#include <trace/subsys.h>
64+#include <trace/events/subsys.h>
5465
66+#define CREATE_TRACE_POINTS
5567 DEFINE_TRACE(subsys_eventname);
5668
5769 void somefct(void)
@@ -72,6 +84,9 @@ Where : · 14 unmodified lines
7284 - TP_ARGS(firstarg, p) are the parameters names, same as found in the
7385 prototype.
7486
87+- if you use the header in multiple source files, #define CREATE_TRACE_POINTS
88+ should appear only in one source file.
89+
7590 Connecting a function (probe) to a tracepoint is done by providing a
7691 probe (function to call) for the specific tracepoint through
7792 register_trace_subsys_eventname(). Removing a probe is done through
Documentation/virtual/kvm/api.txt+1−1
@@ -53,7 +53,7 @@ incompatible change are allowed. However, there is an extension · 52 unmodified lines
5353 facility that allows backward-compatible extensions to the API to be
5454 queried and used.
5555
56−The extension mechanism is not based on on the Linux version number.
56+The extension mechanism is not based on the Linux version number.
5757 Instead, kvm defines extension identifiers and a facility to query
5858 whether a particular extension identifier is available. If it is, a
5959 set of ioctls is available for application use.
Documentation/x86/boot.txt+1−1
@@ -58,7 +58,7 @@ Protocol 2.11: (Kernel 3.6) Added a field for offset of EFI handover · 57 unmodified lines
5858 protocol entry point.
5959
6060 Protocol 2.12: (Kernel 3.8) Added the xloadflags field and extension fields
61− to struct boot_params for for loading bzImage and ramdisk
61+ to struct boot_params for loading bzImage and ramdisk
6262 above 4G in 64bit.
6363
6464 **** MEMORY LAYOUT
Documentation/zh_CN/SubmittingPatches+1−1
@@ -146,7 +146,7 @@ Majordomo lists of VGER.KERNEL.ORG at: · 145 unmodified lines
146146 <http://vger.kernel.org/vger-lists.html>
147147
148148 如果改动影响了用户空间和内核之间的接口,请给 MAN-PAGES 的维护者(列在
149−MAITAINERS 文件里的)发送一个手册页(man-pages)补丁,或者至少通知一下改
149+MAINTAINERS 文件里的)发送一个手册页(man-pages)补丁,或者至少通知一下改
150150 变,让一些信息有途径进入手册页。
151151
152152 即使在第四步的时候,维护者没有作出回应,也要确认在修改他们的代码的时候
arch/parisc/kernel/signal.c+1−1
@@ -78,7 +78,7 @@ restore_sigcontext(struct sigcontext __user *sc, struct pt_regs *regs) · 77 unmodified lines
7878 err |= __copy_from_user(regs->iaoq, sc->sc_iaoq, sizeof(regs->iaoq));
7979 err |= __copy_from_user(regs->iasq, sc->sc_iasq, sizeof(regs->iasq));
8080 err |= __get_user(regs->sar, &sc->sc_sar);
81− DBG(2,"restore_sigcontext: iaoq is 0x%#lx / 0x%#lx\n",
81+ DBG(2,"restore_sigcontext: iaoq is %#lx / %#lx\n",
8282 regs->iaoq[0],regs->iaoq[1]);
8383 DBG(2,"restore_sigcontext: r28 is %ld\n", regs->gr[28]);
8484 return err;
arch/powerpc/mm/init_32.c+1−1
@@ -52,7 +52,7 @@ · 51 unmodified lines
5252 #if defined(CONFIG_KERNEL_START_BOOL) || defined(CONFIG_LOWMEM_SIZE_BOOL)
5353 /* The amount of lowmem must be within 0xF0000000 - KERNELBASE. */
5454 #if (CONFIG_LOWMEM_SIZE > (0xF0000000 - PAGE_OFFSET))
55−#error "You must adjust CONFIG_LOWMEM_SIZE or CONFIG_START_KERNEL"
55+#error "You must adjust CONFIG_LOWMEM_SIZE or CONFIG_KERNEL_START"
5656 #endif
5757 #endif
5858 #define MAX_LOW_MEM CONFIG_LOWMEM_SIZE
crypto/api.c+1−1
@@ -391,7 +391,7 @@ EXPORT_SYMBOL_GPL(__crypto_alloc_tfm); · 390 unmodified lines
391391 * @mask: Mask for type comparison
392392 *
393393 * This function should not be used by new algorithm types.
394− * Plesae use crypto_alloc_tfm instead.
394+ * Please use crypto_alloc_tfm instead.
395395 *
396396 * crypto_alloc_base() will first attempt to locate an already loaded
397397 * algorithm. If that fails and the kernel supports dynamically loadable
drivers/block/drbd/drbd_bitmap.c+1−1
@@ -393,7 +393,7 @@ static struct page **bm_realloc_pages(struct drbd_bitmap *b, unsigned long want) · 392 unmodified lines
393393 * we must not block on IO to ourselves.
394394 * Context is receiver thread or dmsetup. */
395395 bytes = sizeof(struct page *)*want;
396− new_pages = kzalloc(bytes, GFP_NOIO);
396+ new_pages = kzalloc(bytes, GFP_NOIO | __GFP_NOWARN);
397397 if (!new_pages) {
398398 new_pages = __vmalloc(bytes,
399399 GFP_NOIO | __GFP_HIGHMEM | __GFP_ZERO,
drivers/clocksource/acpi_pm.c+2−2
@@ -200,14 +200,14 @@ static int __init init_acpi_pm_clocksource(void) · 199 unmodified lines
200200 if ((value2 < value1) && ((value2) < 0xFFF))
201201 break;
202202 printk(KERN_INFO "PM-Timer had inconsistent results:"
203− " 0x%#llx, 0x%#llx - aborting.\n",
203+ " %#llx, %#llx - aborting.\n",
204204 value1, value2);
205205 pmtmr_ioport = 0;
206206 return -EINVAL;
207207 }
208208 if (i == ACPI_PM_READ_CHECKS) {
209209 printk(KERN_INFO "PM-Timer failed consistency check "
210− " (0x%#llx) - aborting.\n", value1);
210+ " (%#llx) - aborting.\n", value1);
211211 pmtmr_ioport = 0;
212212 return -ENODEV;
213213 }
drivers/crypto/ux500/hash/hash_core.c+1−1
@@ -282,7 +282,7 @@ static int get_empty_message_digest( · 281 unmodified lines
282282 }
283283 } else {
284284 dev_dbg(device_data->dev, "[%s] Continue hash "
285− "calculation, since hmac key avalable",
285+ "calculation, since hmac key available",
286286 __func__);
287287 }
288288 }
drivers/gpu/drm/radeon/r300.c+1−1
@@ -1541,7 +1541,7 @@ int r300_init(struct radeon_device *rdev) · 1540 unmodified lines
15411541 rdev->accel_working = true;
15421542 r = r300_startup(rdev);
15431543 if (r) {
1544− /* Somethings want wront with the accel init stop accel */
1544+ /* Something went wrong with the accel init, so stop accel */
15451545 dev_err(rdev->dev, "Disabling GPU acceleration\n");
15461546 r100_cp_fini(rdev);
15471547 radeon_wb_fini(rdev);
drivers/infiniband/hw/ehca/ipz_pt_fn.c+2−1
@@ -222,7 +222,8 @@ int ipz_queue_ctor(struct ehca_pd *pd, struct ipz_queue *queue, · 221 unmodified lines
222222 queue->small_page = NULL;
223223
224224 /* allocate queue page pointers */
225− queue->queue_pages = kzalloc(nr_of_pages * sizeof(void *), GFP_KERNEL);
225+ queue->queue_pages = kzalloc(nr_of_pages * sizeof(void *),
226+ GFP_KERNEL | __GFP_NOWARN);
226227 if (!queue->queue_pages) {
227228 queue->queue_pages = vzalloc(nr_of_pages * sizeof(void *));
228229 if (!queue->queue_pages) {
drivers/media/usb/gspca/vicam.c+1−1
@@ -6,7 +6,7 @@ · 5 unmodified lines
66 * Based on the usbvideo vicam driver, which is:
77 *
88 * Copyright (c) 2002 Joe Burks (jburks@wavicle.org),
9− * Christopher L Cheney (ccheney@cheney.cx),
9+ * Chris Cheney (chris.cheney@gmail.com),
1010 * Pavel Machek (pavel@ucw.cz),
1111 * John Tyner (jtyner@cs.ucr.edu),
1212 * Monroe Williams (monroe@pobox.com)
drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c+1−1
@@ -1157,7 +1157,7 @@ static void cxgb_redirect(struct dst_entry *old, struct dst_entry *new, · 1156 unmodified lines
11571157 */
11581158 void *cxgb_alloc_mem(unsigned long size)
11591159 {
1160− void *p = kzalloc(size, GFP_KERNEL);
1160+ void *p = kzalloc(size, GFP_KERNEL | __GFP_NOWARN);
11611161
11621162 if (!p)
11631163 p = vzalloc(size);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c+1−1
@@ -1142,7 +1142,7 @@ out: release_firmware(fw); · 1141 unmodified lines
11421142 */
11431143 void *t4_alloc_mem(size_t size)
11441144 {
1145− void *p = kzalloc(size, GFP_KERNEL);
1145+ void *p = kzalloc(size, GFP_KERNEL | __GFP_NOWARN);
11461146
11471147 if (!p)
11481148 p = vzalloc(size);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c+1−1
@@ -3148,7 +3148,7 @@ int qlcnic_83xx_set_settings(struct qlcnic_adapter *adapter, · 3147 unmodified lines
31483148 status = qlcnic_83xx_set_port_config(adapter);
31493149 if (status) {
31503150 dev_info(&adapter->pdev->dev,
3151− "Faild to Set Link Speed and autoneg.\n");
3151+ "Failed to Set Link Speed and autoneg.\n");
31523152 adapter->ahw->port_config = config;
31533153 }
31543154 return status;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c+1−1
@@ -1781,7 +1781,7 @@ static int qlcnic_83xx_process_rcv_ring(struct qlcnic_host_sds_ring *sds_ring, · 1780 unmodified lines
17811781 break;
17821782 default:
17831783 dev_info(&adapter->pdev->dev,
1784− "Unkonwn opcode: 0x%x\n", opcode);
1784+ "Unknown opcode: 0x%x\n", opcode);
17851785 goto skip;
17861786 }
17871787
drivers/net/ethernet/sis/sis900.c+1−1
@@ -1709,7 +1709,7 @@ static irqreturn_t sis900_interrupt(int irq, void *dev_instance) · 1708 unmodified lines
17091709
17101710 if(netif_msg_intr(sis_priv))
17111711 printk(KERN_DEBUG "%s: exiting interrupt, "
1712− "interrupt status = 0x%#8.8x.\n",
1712+ "interrupt status = %#8.8x\n",
17131713 net_dev->name, sr32(isr));
17141714
17151715 spin_unlock (&sis_priv->lock);
drivers/net/wireless/cw1200/wsm.c+1−1
@@ -1199,7 +1199,7 @@ bool wsm_flush_tx(struct cw1200_common *priv) · 1198 unmodified lines
11991199
12001200 if (priv->bh_error) {
12011201 /* In case of failure do not wait for magic. */
1202− pr_err("[WSM] Fatal error occured, will not flush TX.\n");
1202+ pr_err("[WSM] Fatal error occurred, will not flush TX.\n");
12031203 return false;
12041204 } else {
12051205 /* Get a timestamp of "oldest" frame */
drivers/net/wireless/iwlwifi/mvm/time-event.c+1−1
@@ -199,7 +199,7 @@ static void iwl_mvm_te_handle_notif(struct iwl_mvm *mvm, · 198 unmodified lines
199199 * and know the dtim period.
200200 */
201201 iwl_mvm_te_check_disconnect(mvm, te_data->vif,
202− "No assocation and the time event is over already...");
202+ "No association and the time event is over already...");
203203 iwl_mvm_te_clear_data(mvm, te_data);
204204 } else if (le32_to_cpu(notif->action) & TE_V2_NOTIF_HOST_EVENT_START) {
205205 te_data->running = true;
drivers/net/wireless/rtlwifi/rtl8188ee/fw.c+2−2
@@ -341,7 +341,7 @@ static void _rtl88e_fill_h2c_command(struct ieee80211_hw *hw, · 340 unmodified lines
341341 wait_h2c_limit--;
342342 if (wait_h2c_limit == 0) {
343343 RT_TRACE(rtlpriv, COMP_CMD, DBG_LOUD,
344− "Wating too long for FW read "
344+ "Waiting too long for FW read "
345345 "clear HMEBox(%d)!\n", boxnum);
346346 break;
347347 }
@@ -351,7 +351,7 @@ static void _rtl88e_fill_h2c_command(struct ieee80211_hw *hw, · 3 unmodified lines
351351 isfw_read = _rtl88e_check_fw_read_last_h2c(hw, boxnum);
352352 u1b_tmp = rtl_read_byte(rtlpriv, 0x130);
353353 RT_TRACE(rtlpriv, COMP_CMD, DBG_LOUD,
354− "Wating for FW read clear HMEBox(%d)!!! "
354+ "Waiting for FW read clear HMEBox(%d)!!! "
355355 "0x130 = %2x\n", boxnum, u1b_tmp);
356356 }
357357
drivers/net/wireless/rtlwifi/rtl8192de/dm.c+1−1
@@ -416,7 +416,7 @@ static void rtl92d_dm_dig(struct ieee80211_hw *hw) · 415 unmodified lines
416416
417417 /* because we will send data pkt when scanning
418418 * this will cause some ap like gear-3700 wep TP
419− * lower if we retrun here, this is the diff of
419+ * lower if we return here, this is the diff of
420420 * mac80211 driver vs ieee80211 driver */
421421 /* if (rtlpriv->mac80211.act_scanning)
422422 * return; */
drivers/net/wireless/rtlwifi/rtl8723ae/fw.c+2−2
@@ -330,7 +330,7 @@ static void _rtl8723ae_fill_h2c_command(struct ieee80211_hw *hw, · 329 unmodified lines
330330 wait_h2c_limmit--;
331331 if (wait_h2c_limmit == 0) {
332332 RT_TRACE(rtlpriv, COMP_CMD, DBG_LOUD,
333− "Wating too long for FW read clear HMEBox(%d)!\n",
333+ "Waiting too long for FW read clear HMEBox(%d)!\n",
334334 boxnum);
335335 break;
336336 }
@@ -340,7 +340,7 @@ static void _rtl8723ae_fill_h2c_command(struct ieee80211_hw *hw, · 3 unmodified lines
340340 isfw_rd = rtl8723ae_check_fw_read_last_h2c(hw, boxnum);
341341 u1tmp = rtl_read_byte(rtlpriv, 0x1BF);
342342 RT_TRACE(rtlpriv, COMP_CMD, DBG_LOUD,
343− "Wating for FW read clear HMEBox(%d)!!! "
343+ "Waiting for FW read clear HMEBox(%d)!!! "
344344 "0x1BF = %2x\n", boxnum, u1tmp);
345345 }
346346
drivers/power/88pm860x_charger.c+2−2
@@ -554,7 +554,7 @@ static irqreturn_t pm860x_vchg_handler(int irq, void *data) · 553 unmodified lines
554554 OVTEMP_AUTORECOVER,
555555 OVTEMP_AUTORECOVER);
556556 dev_dbg(info->dev,
557− "%s, pm8606 over-temp occure\n", __func__);
557+ "%s, pm8606 over-temp occurred\n", __func__);
558558 }
559559 }
560560
@@ -562,7 +562,7 @@ static irqreturn_t pm860x_vchg_handler(int irq, void *data) · 1 unmodified line
562562 set_vchg_threshold(info, VCHG_OVP_LOW, 0);
563563 info->allowed = 0;
564564 dev_dbg(info->dev,
565− "%s,pm8607 over-vchg occure,vchg = %dmv\n",
565+ "%s,pm8607 over-vchg occurred,vchg = %dmv\n",
566566 __func__, vchg);
567567 } else if (vchg < VCHG_OVP_LOW) {
568568 set_vchg_threshold(info, VCHG_NORMAL_LOW,
drivers/power/pm2301_charger.c+1−1
@@ -386,7 +386,7 @@ static int pm2_int_reg2(void *pm2_data, int val) · 385 unmodified lines
386386 if (val & (PM2XXX_INT3_ITCHPRECHARGEWD |
387387 PM2XXX_INT3_ITCHCCWD | PM2XXX_INT3_ITCHCVWD)) {
388388 dev_dbg(pm2->dev,
389− "Watchdog occured for precharge, CC and CV charge\n");
389+ "Watchdog occurred for precharge, CC and CV charge\n");
390390 }
391391
392392 return ret;
drivers/scsi/bfa/bfad_im.c+1−1
@@ -206,7 +206,7 @@ bfad_im_abort_handler(struct scsi_cmnd *cmnd) · 205 unmodified lines
206206 spin_lock_irqsave(&bfad->bfad_lock, flags);
207207 hal_io = (struct bfa_ioim_s *) cmnd->host_scribble;
208208 if (!hal_io) {
209− /* IO has been completed, retrun success */
209+ /* IO has been completed, return success */
210210 rc = SUCCESS;
211211 goto out;
212212 }
drivers/scsi/cxgbi/libcxgbi.h+4−4
@@ -658,11 +658,11 @@ static inline u32 cxgbi_tag_nonrsvd_bits(struct cxgbi_tag_format *tformat, · 657 unmodified lines
658658 static inline void *cxgbi_alloc_big_mem(unsigned int size,
659659 gfp_t gfp)
660660 {
661− void *p = kmalloc(size, gfp);
661+ void *p = kzalloc(size, gfp | __GFP_NOWARN);
662+
662663 if (!p)
663− p = vmalloc(size);
664− if (p)
665− memset(p, 0, size);
664+ p = vzalloc(size);
665+
666666 return p;
667667 }
668668
drivers/scsi/hpsa.c+1−1
@@ -1054,7 +1054,7 @@ free_and_out: · 1053 unmodified lines
10541054 }
10551055
10561056 /*
1057− * Lookup bus/target/lun and retrun corresponding struct hpsa_scsi_dev_t *
1057+ * Lookup bus/target/lun and return corresponding struct hpsa_scsi_dev_t *
10581058 * Assume's h->devlock is held.
10591059 */
10601060 static struct hpsa_scsi_dev_t *lookup_hpsa_scsi_dev(struct ctlr_info *h,
drivers/scsi/lpfc/lpfc_attr.c+4−4
@@ -816,7 +816,7 @@ lpfc_issue_reset(struct device *dev, struct device_attribute *attr, · 815 unmodified lines
816816 * the readyness after performing a firmware reset.
817817 *
818818 * Returns:
819− * zero for success, -EPERM when port does not have privilage to perform the
819+ * zero for success, -EPERM when port does not have privilege to perform the
820820 * reset, -EIO when port timeout from recovering from the reset.
821821 *
822822 * Note:
@@ -833,7 +833,7 @@ lpfc_sli4_pdev_status_reg_wait(struct lpfc_hba *phba) · 10 unmodified lines
833833 lpfc_readl(phba->sli4_hba.u.if_type2.STATUSregaddr,
834834 &portstat_reg.word0);
835835
836− /* verify if privilaged for the request operation */
836+ /* verify if privileged for the request operation */
837837 if (!bf_get(lpfc_sliport_status_rn, &portstat_reg) &&
838838 !bf_get(lpfc_sliport_status_err, &portstat_reg))
839839 return -EPERM;
@@ -925,9 +925,9 @@ lpfc_sli4_pdev_reg_request(struct lpfc_hba *phba, uint32_t opcode) · 85 unmodified lines
925925 rc = lpfc_sli4_pdev_status_reg_wait(phba);
926926
927927 if (rc == -EPERM) {
928− /* no privilage for reset */
928+ /* no privilege for reset */
929929 lpfc_printf_log(phba, KERN_ERR, LOG_SLI,
930− "3150 No privilage to perform the requested "
930+ "3150 No privilege to perform the requested "
931931 "access: x%x\n", reg_val);
932932 } else if (rc == -EIO) {
933933 /* reset failed, there is nothing more we can do */
drivers/scsi/lpfc/lpfc_bsg.c+1−1
@@ -2628,7 +2628,7 @@ err_get_xri_exit: · 2627 unmodified lines
26282628 * @phba: Pointer to HBA context object
26292629 *
26302630 * This function allocates BSG_MBOX_SIZE (4KB) page size dma buffer and.
2631− * retruns the pointer to the buffer.
2631+ * returns the pointer to the buffer.
26322632 **/
26332633 static struct lpfc_dmabuf *
26342634 lpfc_bsg_dma_page_alloc(struct lpfc_hba *phba)
drivers/scsi/megaraid/megaraid_mbox.c+5−5
@@ -549,7 +549,7 @@ out_probe_one: · 548 unmodified lines
549549
550550 /**
551551 * megaraid_detach_one - release framework resources and call LLD release routine
552− * @pdev : handle for our PCI cofiguration space
552+ * @pdev : handle for our PCI configuration space
553553 *
554554 * This routine is called during driver unload. We free all the allocated
555555 * resources and call the corresponding LLD so that it can also release all
@@ -979,7 +979,7 @@ megaraid_fini_mbox(adapter_t *adapter) · 423 unmodified lines
979979 * @adapter : soft state of the raid controller
980980 *
981981 * Allocate and align the shared mailbox. This maibox is used to issue
982− * all the commands. For IO based controllers, the mailbox is also regsitered
982+ * all the commands. For IO based controllers, the mailbox is also registered
983983 * with the FW. Allocate memory for all commands as well.
984984 * This is our big allocator.
985985 */
@@ -2027,7 +2027,7 @@ megaraid_mbox_prepare_pthru(adapter_t *adapter, scb_t *scb, · 1041 unmodified lines
20272027 * @scb : scsi control block
20282028 * @scp : scsi command from the mid-layer
20292029 *
2030− * Prepare a command for the scsi physical devices. This rountine prepares
2030+ * Prepare a command for the scsi physical devices. This routine prepares
20312031 * commands for devices which can take extended CDBs (>10 bytes).
20322032 */
20332033 static void
@@ -2586,7 +2586,7 @@ megaraid_abort_handler(struct scsi_cmnd *scp) · 552 unmodified lines
25862586 }
25872587
25882588 /**
2589− * megaraid_reset_handler - device reset hadler for mailbox based driver
2589+ * megaraid_reset_handler - device reset handler for mailbox based driver
25902590 * @scp : reference command
25912591 *
25922592 * Reset handler for the mailbox based controller. First try to find out if
@@ -3446,7 +3446,7 @@ megaraid_mbox_display_scb(adapter_t *adapter, scb_t *scb) · 853 unmodified lines
34463446 * megaraid_mbox_setup_device_map - manage device ids
34473447 * @adapter : Driver's soft state
34483448 *
3449− * Manange the device ids to have an appropriate mapping between the kernel
3449+ * Manage the device ids to have an appropriate mapping between the kernel
34503450 * scsi addresses and megaraid scsi and logical drive addresses. We export
34513451 * scsi devices on their actual addresses, whereas the logical drives are
34523452 * exported on a virtual scsi channel.
drivers/scsi/megaraid/megaraid_mm.c+1−1
@@ -896,7 +896,7 @@ hinfo_to_cinfo(mraid_hba_info_t *hinfo, mcontroller_t *cinfo) · 895 unmodified lines
896896
897897 /**
898898 * mraid_mm_register_adp - Registration routine for low level drivers
899− * @lld_adp : Adapter objejct
899+ * @lld_adp : Adapter object
900900 */
901901 int
902902 mraid_mm_register_adp(mraid_mmadp_t *lld_adp)
drivers/scsi/megaraid/megaraid_sas_fusion.h+1−1
@@ -88,7 +88,7 @@ enum MR_RAID_FLAGS_IO_SUB_TYPE { · 87 unmodified lines
8888 #define MEGASAS_FUSION_IN_RESET 0
8989
9090 /*
91− * Raid Context structure which describes MegaRAID specific IO Paramenters
91+ * Raid Context structure which describes MegaRAID specific IO Parameters
9292 * This resides at offset 0x60 where the SGL normally starts in MPT IO Frames
9393 */
9494
drivers/scsi/qla2xxx/qla_bsg.c+1−1
@@ -1895,7 +1895,7 @@ done: · 1894 unmodified lines
18951895 bsg_job->reply->reply_payload_rcv_len = 0;
18961896 bsg_job->reply->result = (DID_OK) << 16;
18971897 bsg_job->job_done(bsg_job);
1898− /* Always retrun success, vendor rsp carries correct status */
1898+ /* Always return success, vendor rsp carries correct status */
18991899 return 0;
19001900 }
19011901
drivers/scsi/qla2xxx/qla_mr.c+1−1
@@ -1865,7 +1865,7 @@ qlafx00_fx_disc(scsi_qla_host_t *vha, fc_port_t *fcport, uint16_t fx_type) · 1864 unmodified lines
18651865 p_sysid = utsname();
18661866 if (!p_sysid) {
18671867 ql_log(ql_log_warn, vha, 0x303c,
1868− "Not able to get the system informtion\n");
1868+ "Not able to get the system information\n");
18691869 goto done_free_sp;
18701870 }
18711871 break;
drivers/spi/spi-bitbang.c+1−1
@@ -40,7 +40,7 @@ · 39 unmodified lines
4040 * to glue code. These bitbang setup() and cleanup() routines are always
4141 * used, though maybe they're called from controller-aware code.
4242 *
43− * chipselect() and friends may use use spi_device->controller_data and
43+ * chipselect() and friends may use spi_device->controller_data and
4444 * controller registers as appropriate.
4545 *
4646 *
drivers/tty/serial/kgdboc.c+1−1
@@ -45,7 +45,7 @@ static int kgdboc_reset_connect(struct input_handler *handler, · 44 unmodified lines
4545 {
4646 input_reset_device(dev);
4747
48− /* Retrun an error - we do not want to bind, just to reset */
48+ /* Return an error - we do not want to bind, just to reset */
4949 return -ENODEV;
5050 }
5151
fs/btrfs/send.c+1−1
@@ -219,7 +219,7 @@ static int fs_path_ensure_buf(struct fs_path *p, int len) · 218 unmodified lines
219219 len = PAGE_ALIGN(len);
220220
221221 if (p->buf == p->inline_buf) {
222− tmp_buf = kmalloc(len, GFP_NOFS);
222+ tmp_buf = kmalloc(len, GFP_NOFS | __GFP_NOWARN);
223223 if (!tmp_buf) {
224224 tmp_buf = vmalloc(len);
225225 if (!tmp_buf)
fs/ext4/super.c+2−2
@@ -162,7 +162,7 @@ void *ext4_kvmalloc(size_t size, gfp_t flags) · 161 unmodified lines
162162 {
163163 void *ret;
164164
165− ret = kmalloc(size, flags);
165+ ret = kmalloc(size, flags | __GFP_NOWARN);
166166 if (!ret)
167167 ret = __vmalloc(size, flags, PAGE_KERNEL);
168168 return ret;
@@ -172,7 +172,7 @@ void *ext4_kvzalloc(size_t size, gfp_t flags) · 3 unmodified lines
172172 {
173173 void *ret;
174174
175− ret = kzalloc(size, flags);
175+ ret = kzalloc(size, flags | __GFP_NOWARN);
176176 if (!ret)
177177 ret = __vmalloc(size, flags | __GFP_ZERO, PAGE_KERNEL);
178178 return ret;
fs/gfs2/dir.c+1−1
@@ -1859,7 +1859,7 @@ static int leaf_dealloc(struct gfs2_inode *dip, u32 index, u32 len, · 1858 unmodified lines
18591859
18601860 memset(&rlist, 0, sizeof(struct gfs2_rgrp_list));
18611861
1862− ht = kzalloc(size, GFP_NOFS);
1862+ ht = kzalloc(size, GFP_NOFS | __GFP_NOWARN);
18631863 if (ht == NULL)
18641864 ht = vzalloc(size);
18651865 if (!ht)
include/linux/coda.h+0−1
@@ -60,7 +60,6 @@ Mellon the rights to redistribute these changes without encumbrance. · 59 unmodified lines
6060
6161 #if defined(__linux__)
6262 typedef unsigned long long u_quad_t;
63−#else
6463 #endif
6564 #include <uapi/linux/coda.h>
6665 #endif
include/linux/ktime.h+15−13
@@ -69,7 +69,7 @@ typedef union ktime ktime_t; /* Kill this */ · 68 unmodified lines
6969 * @secs: seconds to set
7070 * @nsecs: nanoseconds to set
7171 *
72− * Return the ktime_t representation of the value
72+ * Return: The ktime_t representation of the value.
7373 */
7474 static inline ktime_t ktime_set(const long secs, const unsigned long nsecs)
7575 {
@@ -151,7 +151,7 @@ static inline ktime_t ktime_set(const long secs, const unsigned long nsecs) · 75 unmodified lines
151151 * @lhs: minuend
152152 * @rhs: subtrahend
153153 *
154− * Returns the remainder of the subtraction
154+ * Return: The remainder of the subtraction.
155155 */
156156 static inline ktime_t ktime_sub(const ktime_t lhs, const ktime_t rhs)
157157 {
@@ -169,7 +169,7 @@ static inline ktime_t ktime_sub(const ktime_t lhs, const ktime_t rhs) · 11 unmodified lines
169169 * @add1: addend1
170170 * @add2: addend2
171171 *
172− * Returns the sum of @add1 and @add2.
172+ * Return: The sum of @add1 and @add2.
173173 */
174174 static inline ktime_t ktime_add(const ktime_t add1, const ktime_t add2)
175175 {
@@ -195,7 +195,7 @@ static inline ktime_t ktime_add(const ktime_t add1, const ktime_t add2) · 19 unmodified lines
195195 * @kt: addend
196196 * @nsec: the scalar nsec value to add
197197 *
198− * Returns the sum of @kt and @nsec in ktime_t format
198+ * Return: The sum of @kt and @nsec in ktime_t format.
199199 */
200200 extern ktime_t ktime_add_ns(const ktime_t kt, u64 nsec);
201201
@@ -204,7 +204,7 @@ extern ktime_t ktime_add_ns(const ktime_t kt, u64 nsec); · 2 unmodified lines
204204 * @kt: minuend
205205 * @nsec: the scalar nsec value to subtract
206206 *
207− * Returns the subtraction of @nsec from @kt in ktime_t format
207+ * Return: The subtraction of @nsec from @kt in ktime_t format.
208208 */
209209 extern ktime_t ktime_sub_ns(const ktime_t kt, u64 nsec);
210210
@@ -212,7 +212,7 @@ extern ktime_t ktime_sub_ns(const ktime_t kt, u64 nsec); · 1 unmodified line
212212 * timespec_to_ktime - convert a timespec to ktime_t format
213213 * @ts: the timespec variable to convert
214214 *
215− * Returns a ktime_t variable with the converted timespec value
215+ * Return: A ktime_t variable with the converted timespec value.
216216 */
217217 static inline ktime_t timespec_to_ktime(const struct timespec ts)
218218 {
@@ -224,7 +224,7 @@ static inline ktime_t timespec_to_ktime(const struct timespec ts) · 5 unmodified lines
224224 * timeval_to_ktime - convert a timeval to ktime_t format
225225 * @tv: the timeval variable to convert
226226 *
227− * Returns a ktime_t variable with the converted timeval value
227+ * Return: A ktime_t variable with the converted timeval value.
228228 */
229229 static inline ktime_t timeval_to_ktime(const struct timeval tv)
230230 {
@@ -237,7 +237,7 @@ static inline ktime_t timeval_to_ktime(const struct timeval tv) · 6 unmodified lines
237237 * ktime_to_timespec - convert a ktime_t variable to timespec format
238238 * @kt: the ktime_t variable to convert
239239 *
240− * Returns the timespec representation of the ktime value
240+ * Return: The timespec representation of the ktime value.
241241 */
242242 static inline struct timespec ktime_to_timespec(const ktime_t kt)
243243 {
@@ -249,7 +249,7 @@ static inline struct timespec ktime_to_timespec(const ktime_t kt) · 5 unmodified lines
249249 * ktime_to_timeval - convert a ktime_t variable to timeval format
250250 * @kt: the ktime_t variable to convert
251251 *
252− * Returns the timeval representation of the ktime value
252+ * Return: The timeval representation of the ktime value.
253253 */
254254 static inline struct timeval ktime_to_timeval(const ktime_t kt)
255255 {
@@ -262,7 +262,7 @@ static inline struct timeval ktime_to_timeval(const ktime_t kt) · 6 unmodified lines
262262 * ktime_to_ns - convert a ktime_t variable to scalar nanoseconds
263263 * @kt: the ktime_t variable to convert
264264 *
265− * Returns the scalar nanoseconds representation of @kt
265+ * Return: The scalar nanoseconds representation of @kt.
266266 */
267267 static inline s64 ktime_to_ns(const ktime_t kt)
268268 {
@@ -276,7 +276,9 @@ static inline s64 ktime_to_ns(const ktime_t kt) · 7 unmodified lines
276276 * @cmp1: comparable1
277277 * @cmp2: comparable2
278278 *
279− * Compare two ktime_t variables, returns 1 if equal
279+ * Compare two ktime_t variables.
280+ *
281+ * Return: 1 if equal.
280282 */
281283 static inline int ktime_equal(const ktime_t cmp1, const ktime_t cmp2)
282284 {
@@ -288,7 +290,7 @@ static inline int ktime_equal(const ktime_t cmp1, const ktime_t cmp2) · 5 unmodified lines
288290 * @cmp1: comparable1
289291 * @cmp2: comparable2
290292 *
291− * Returns ...
293+ * Return: ...
292294 * cmp1 < cmp2: return <0
293295 * cmp1 == cmp2: return 0
294296 * cmp1 > cmp2: return >0
@@ -342,7 +344,7 @@ extern ktime_t ktime_add_safe(const ktime_t lhs, const ktime_t rhs); · 47 unmodified lines
342344 * @kt: the ktime_t variable to convert
343345 * @ts: the timespec variable to store the result in
344346 *
345− * Returns true if there was a successful conversion, false if kt was 0.
347+ * Return: %true if there was a successful conversion, %false if kt was 0.
346348 */
347349 static inline __must_check bool ktime_to_timespec_cond(const ktime_t kt,
348350 struct timespec *ts)
kernel/workqueue.c+66−41
@@ -541,6 +541,8 @@ static int worker_pool_assign_id(struct worker_pool *pool) · 540 unmodified lines
541541 * This must be called either with pwq_lock held or sched RCU read locked.
542542 * If the pwq needs to be used beyond the locking in effect, the caller is
543543 * responsible for guaranteeing that the pwq stays online.
544+ *
545+ * Return: The unbound pool_workqueue for @node.
544546 */
545547 static struct pool_workqueue *unbound_pwq_by_node(struct workqueue_struct *wq,
546548 int node)
@@ -639,8 +641,6 @@ static struct pool_workqueue *get_work_pwq(struct work_struct *work) · 92 unmodified lines
639641 * get_work_pool - return the worker_pool a given work was associated with
640642 * @work: the work item of interest
641643 *
642− * Return the worker_pool @work was last associated with. %NULL if none.
643− *
644644 * Pools are created and destroyed under wq_pool_mutex, and allows read
645645 * access under sched-RCU read lock. As such, this function should be
646646 * called under wq_pool_mutex or with preemption disabled.
@@ -649,6 +649,8 @@ static struct pool_workqueue *get_work_pwq(struct work_struct *work) · 2 unmodified lines
649649 * mentioned locking is in effect. If the returned pool needs to be used
650650 * beyond the critical section, the caller is responsible for ensuring the
651651 * returned pool is and stays online.
652+ *
653+ * Return: The worker_pool @work was last associated with. %NULL if none.
652654 */
653655 static struct worker_pool *get_work_pool(struct work_struct *work)
654656 {
@@ -672,7 +674,7 @@ static struct worker_pool *get_work_pool(struct work_struct *work) · 17 unmodified lines
672674 * get_work_pool_id - return the worker pool ID a given work is associated with
673675 * @work: the work item of interest
674676 *
675− * Return the worker_pool ID @work was last associated with.
677+ * Return: The worker_pool ID @work was last associated with.
676678 * %WORK_OFFQ_POOL_NONE if none.
677679 */
678680 static int get_work_pool_id(struct work_struct *work)
@@ -831,7 +833,7 @@ void wq_worker_waking_up(struct task_struct *task, int cpu) · 152 unmodified lines
831833 * CONTEXT:
832834 * spin_lock_irq(rq->lock)
833835 *
834− * RETURNS:
836+ * Return:
835837 * Worker task on @cpu to wake up, %NULL if none.
836838 */
837839 struct task_struct *wq_worker_sleeping(struct task_struct *task, int cpu)
@@ -966,8 +968,8 @@ static inline void worker_clr_flags(struct worker *worker, unsigned int flags) · 128 unmodified lines
966968 * CONTEXT:
967969 * spin_lock_irq(pool->lock).
968970 *
969− * RETURNS:
970− * Pointer to worker which is executing @work if found, NULL
971+ * Return:
972+ * Pointer to worker which is executing @work if found, %NULL
971973 * otherwise.
972974 */
973975 static struct worker *find_worker_executing_work(struct worker_pool *pool,
@@ -1155,14 +1157,16 @@ out_put: · 181 unmodified lines
11551157 * @flags: place to store irq state
11561158 *
11571159 * Try to grab PENDING bit of @work. This function can handle @work in any
1158− * stable state - idle, on timer or on worklist. Return values are
1160+ * stable state - idle, on timer or on worklist.
11591161 *
1162+ * Return:
11601163 * 1 if @work was pending and we successfully stole PENDING
11611164 * 0 if @work was idle and we claimed PENDING
11621165 * -EAGAIN if PENDING couldn't be grabbed at the moment, safe to busy-retry
11631166 * -ENOENT if someone else is canceling @work, this state may persist
11641167 * for arbitrarily long
11651168 *
1169+ * Note:
11661170 * On >= 0 return, the caller owns @work's PENDING bit. To avoid getting
11671171 * interrupted while holding PENDING and @work off queue, irq must be
11681172 * disabled on entry. This, combined with delayed_work->timer being
@@ -1404,10 +1408,10 @@ retry: · 235 unmodified lines
14041408 * @wq: workqueue to use
14051409 * @work: work to queue
14061410 *
1407− * Returns %false if @work was already on a queue, %true otherwise.
1408− *
14091411 * We queue the work to a specific CPU, the caller must ensure it
14101412 * can't go away.
1413+ *
1414+ * Return: %false if @work was already on a queue, %true otherwise.
14111415 */
14121416 bool queue_work_on(int cpu, struct workqueue_struct *wq,
14131417 struct work_struct *work)
@@ -1477,7 +1481,7 @@ static void __queue_delayed_work(int cpu, struct workqueue_struct *wq, · 63 unmodified lines
14771481 * @dwork: work to queue
14781482 * @delay: number of jiffies to wait before queueing
14791483 *
1480− * Returns %false if @work was already on a queue, %true otherwise. If
1484+ * Return: %false if @work was already on a queue, %true otherwise. If
14811485 * @delay is zero and @dwork is idle, it will be scheduled for immediate
14821486 * execution.
14831487 */
@@ -1513,7 +1517,7 @@ EXPORT_SYMBOL(queue_delayed_work_on); · 29 unmodified lines
15131517 * zero, @work is guaranteed to be scheduled immediately regardless of its
15141518 * current state.
15151519 *
1516− * Returns %false if @dwork was idle and queued, %true if @dwork was
1520+ * Return: %false if @dwork was idle and queued, %true if @dwork was
15171521 * pending and its timer was modified.
15181522 *
15191523 * This function is safe to call from any context including IRQ handler.
@@ -1628,7 +1632,7 @@ static void worker_leave_idle(struct worker *worker) · 108 unmodified lines
16281632 * Might sleep. Called without any lock but returns with pool->lock
16291633 * held.
16301634 *
1631− * RETURNS:
1635+ * Return:
16321636 * %true if the associated pool is online (@worker is successfully
16331637 * bound), %false if offline.
16341638 */
@@ -1689,7 +1693,7 @@ static struct worker *alloc_worker(void) · 54 unmodified lines
16891693 * CONTEXT:
16901694 * Might sleep. Does GFP_KERNEL allocations.
16911695 *
1692− * RETURNS:
1696+ * Return:
16931697 * Pointer to the newly created worker.
16941698 */
16951699 static struct worker *create_worker(struct worker_pool *pool)
@@ -1789,6 +1793,8 @@ static void start_worker(struct worker *worker) · 93 unmodified lines
17891793 * @pool: the target pool
17901794 *
17911795 * Grab the managership of @pool and create and start a new worker for it.
1796+ *
1797+ * Return: 0 on success. A negative error code otherwise.
17921798 */
17931799 static int create_and_start_worker(struct worker_pool *pool)
17941800 {
@@ -1933,7 +1939,7 @@ static void pool_mayday_timeout(unsigned long __pool) · 138 unmodified lines
19331939 * multiple times. Does GFP_KERNEL allocations. Called only from
19341940 * manager.
19351941 *
1936− * RETURNS:
1942+ * Return:
19371943 * %false if no action was taken and pool->lock stayed locked, %true
19381944 * otherwise.
19391945 */
@@ -1990,7 +1996,7 @@ restart: · 50 unmodified lines
19901996 * spin_lock_irq(pool->lock) which may be released and regrabbed
19911997 * multiple times. Called only from manager.
19921998 *
1993− * RETURNS:
1999+ * Return:
19942000 * %false if no action was taken and pool->lock stayed locked, %true
19952001 * otherwise.
19962002 */
@@ -2033,7 +2039,7 @@ static bool maybe_destroy_workers(struct worker_pool *pool) · 36 unmodified lines
20332039 * spin_lock_irq(pool->lock) which may be released and regrabbed
20342040 * multiple times. Does GFP_KERNEL allocations.
20352041 *
2036− * RETURNS:
2042+ * Return:
20372043 * %false if the pool don't need management and the caller can safely start
20382044 * processing works, %true indicates that the function released pool->lock
20392045 * and reacquired it to perform some management function and that the
@@ -2259,6 +2265,8 @@ static void process_scheduled_works(struct worker *worker) · 219 unmodified lines
22592265 * work items regardless of their specific target workqueue. The only
22602266 * exception is work items which belong to workqueues with a rescuer which
22612267 * will be explained in rescuer_thread().
2268+ *
2269+ * Return: 0
22622270 */
22632271 static int worker_thread(void *__worker)
22642272 {
@@ -2357,6 +2365,8 @@ sleep: · 92 unmodified lines
23572365 * those works so that forward progress can be guaranteed.
23582366 *
23592367 * This should happen rarely.
2368+ *
2369+ * Return: 0
23602370 */
23612371 static int rescuer_thread(void *__rescuer)
23622372 {
@@ -2529,7 +2539,7 @@ static void insert_wq_barrier(struct pool_workqueue *pwq, · 166 unmodified lines
25292539 * CONTEXT:
25302540 * mutex_lock(wq->mutex).
25312541 *
2532− * RETURNS:
2542+ * Return:
25332543 * %true if @flush_color >= 0 and there's something to flush. %false
25342544 * otherwise.
25352545 */
@@ -2850,7 +2860,7 @@ static bool __flush_work(struct work_struct *work) · 314 unmodified lines
28502860 * Wait until @work has finished execution. @work is guaranteed to be idle
28512861 * on return if it hasn't been requeued since flush started.
28522862 *
2853− * RETURNS:
2863+ * Return:
28542864 * %true if flush_work() waited for the work to finish execution,
28552865 * %false if it was already idle.
28562866 */
@@ -2902,7 +2912,7 @@ static bool __cancel_work_timer(struct work_struct *work, bool is_dwork) · 45 unmodified lines
29022912 * The caller must ensure that the workqueue on which @work was last
29032913 * queued can't be destroyed before this function returns.
29042914 *
2905− * RETURNS:
2915+ * Return:
29062916 * %true if @work was pending, %false otherwise.
29072917 */
29082918 bool cancel_work_sync(struct work_struct *work)
@@ -2919,7 +2929,7 @@ EXPORT_SYMBOL_GPL(cancel_work_sync); · 10 unmodified lines
29192929 * immediate execution. Like flush_work(), this function only
29202930 * considers the last queueing instance of @dwork.
29212931 *
2922− * RETURNS:
2932+ * Return:
29232933 * %true if flush_work() waited for the work to finish execution,
29242934 * %false if it was already idle.
29252935 */
@@ -2937,11 +2947,15 @@ EXPORT_SYMBOL(flush_delayed_work); · 11 unmodified lines
29372947 * cancel_delayed_work - cancel a delayed work
29382948 * @dwork: delayed_work to cancel
29392949 *
2940− * Kill off a pending delayed_work. Returns %true if @dwork was pending
2941− * and canceled; %false if wasn't pending. Note that the work callback
2942− * function may still be running on return, unless it returns %true and the
2943− * work doesn't re-arm itself. Explicitly flush or use
2944− * cancel_delayed_work_sync() to wait on it.
2950+ * Kill off a pending delayed_work.
2951+ *
2952+ * Return: %true if @dwork was pending and canceled; %false if it wasn't
2953+ * pending.
2954+ *
2955+ * Note:
2956+ * The work callback function may still be running on return, unless
2957+ * it returns %true and the work doesn't re-arm itself. Explicitly flush or
2958+ * use cancel_delayed_work_sync() to wait on it.
29452959 *
29462960 * This function is safe to call from any context including IRQ handler.
29472961 */
@@ -2970,7 +2984,7 @@ EXPORT_SYMBOL(cancel_delayed_work); · 22 unmodified lines
29702984 *
29712985 * This is cancel_work_sync() for delayed works.
29722986 *
2973− * RETURNS:
2987+ * Return:
29742988 * %true if @dwork was pending, %false otherwise.
29752989 */
29762990 bool cancel_delayed_work_sync(struct delayed_work *dwork)
@@ -2987,7 +3001,7 @@ EXPORT_SYMBOL(cancel_delayed_work_sync); · 10 unmodified lines
29873001 * system workqueue and blocks until all CPUs have completed.
29883002 * schedule_on_each_cpu() is very slow.
29893003 *
2990− * RETURNS:
3004+ * Return:
29913005 * 0 on success, -errno on failure.
29923006 */
29933007 int schedule_on_each_cpu(work_func_t func)
@@ -3055,7 +3069,7 @@ EXPORT_SYMBOL(flush_scheduled_work); · 61 unmodified lines
30553069 * Executes the function immediately if process context is available,
30563070 * otherwise schedules the function for delayed execution.
30573071 *
3058− * Returns: 0 - function was executed
3072+ * Return: 0 - function was executed
30593073 * 1 - function was scheduled for execution
30603074 */
30613075 int execute_in_process_context(work_func_t fn, struct execute_work *ew)
@@ -3315,7 +3329,7 @@ static void wq_device_release(struct device *dev) · 253 unmodified lines
33153329 * apply_workqueue_attrs() may race against userland updating the
33163330 * attributes.
33173331 *
3318− * Returns 0 on success, -errno on failure.
3332+ * Return: 0 on success, -errno on failure.
33193333 */
33203334 int workqueue_sysfs_register(struct workqueue_struct *wq)
33213335 {
@@ -3408,7 +3422,9 @@ void free_workqueue_attrs(struct workqueue_attrs *attrs) · 86 unmodified lines
34083422 * @gfp_mask: allocation mask to use
34093423 *
34103424 * Allocate a new workqueue_attrs, initialize with default settings and
3411− * return it. Returns NULL on failure.
3425+ * return it.
3426+ *
3427+ * Return: The allocated new workqueue_attr on success. %NULL on failure.
34123428 */
34133429 struct workqueue_attrs *alloc_workqueue_attrs(gfp_t gfp_mask)
34143430 {
@@ -3467,7 +3483,8 @@ static bool wqattrs_equal(const struct workqueue_attrs *a, · 52 unmodified lines
34673483 * @pool: worker_pool to initialize
34683484 *
34693485 * Initiailize a newly zalloc'd @pool. It also allocates @pool->attrs.
3470− * Returns 0 on success, -errno on failure. Even on failure, all fields
3486+ *
3487+ * Return: 0 on success, -errno on failure. Even on failure, all fields
34713488 * inside @pool proper are initialized and put_unbound_pool() can be called
34723489 * on @pool safely to release it.
34733490 */
@@ -3574,9 +3591,12 @@ static void put_unbound_pool(struct worker_pool *pool) · 100 unmodified lines
35743591 * Obtain a worker_pool which has the same attributes as @attrs, bump the
35753592 * reference count and return it. If there already is a matching
35763593 * worker_pool, it will be used; otherwise, this function attempts to
3577− * create a new one. On failure, returns NULL.
3594+ * create a new one.
35783595 *
35793596 * Should be called with wq_pool_mutex held.
3597+ *
3598+ * Return: On success, a worker_pool with the same attributes as @attrs.
3599+ * On failure, %NULL.
35803600 */
35813601 static struct worker_pool *get_unbound_pool(const struct workqueue_attrs *attrs)
35823602 {
@@ -3812,9 +3832,7 @@ static void free_unbound_pwq(struct pool_workqueue *pwq) · 229 unmodified lines
38123832 *
38133833 * Calculate the cpumask a workqueue with @attrs should use on @node. If
38143834 * @cpu_going_down is >= 0, that cpu is considered offline during
3815− * calculation. The result is stored in @cpumask. This function returns
3816− * %true if the resulting @cpumask is different from @attrs->cpumask,
3817− * %false if equal.
3835+ * calculation. The result is stored in @cpumask.
38183836 *
38193837 * If NUMA affinity is not enabled, @attrs->cpumask is always used. If
38203838 * enabled and @node has online CPUs requested by @attrs, the returned
@@ -3823,6 +3841,9 @@ static void free_unbound_pwq(struct pool_workqueue *pwq) · 2 unmodified lines
38233841 *
38243842 * The caller is responsible for ensuring that the cpumask of @node stays
38253843 * stable.
3844+ *
3845+ * Return: %true if the resulting @cpumask is different from @attrs->cpumask,
3846+ * %false if equal.
38263847 */
38273848 static bool wq_calc_node_cpumask(const struct workqueue_attrs *attrs, int node,
38283849 int cpu_going_down, cpumask_t *cpumask)
@@ -3876,8 +3897,9 @@ static struct pool_workqueue *numa_pwq_tbl_install(struct workqueue_struct *wq, · 47 unmodified lines
38763897 * items finish. Note that a work item which repeatedly requeues itself
38773898 * back-to-back will stay on its current pwq.
38783899 *
3879− * Performs GFP_KERNEL allocations. Returns 0 on success and -errno on
3880− * failure.
3900+ * Performs GFP_KERNEL allocations.
3901+ *
3902+ * Return: 0 on success and -errno on failure.
38813903 */
38823904 int apply_workqueue_attrs(struct workqueue_struct *wq,
38833905 const struct workqueue_attrs *attrs)
@@ -4345,6 +4367,8 @@ EXPORT_SYMBOL_GPL(workqueue_set_max_active); · 461 unmodified lines
43454367 *
43464368 * Determine whether %current is a workqueue rescuer. Can be used from
43474369 * work functions to determine whether it's being run off the rescuer task.
4370+ *
4371+ * Return: %true if %current is a workqueue rescuer. %false otherwise.
43484372 */
43494373 bool current_is_workqueue_rescuer(void)
43504374 {
@@ -4368,7 +4392,7 @@ bool current_is_workqueue_rescuer(void) · 17 unmodified lines
43684392 * workqueue being congested on one CPU doesn't mean the workqueue is also
43694393 * contested on other CPUs / NUMA nodes.
43704394 *
4371− * RETURNS:
4395+ * Return:
43724396 * %true if congested, %false otherwise.
43734397 */
43744398 bool workqueue_congested(int cpu, struct workqueue_struct *wq)
@@ -4401,7 +4425,7 @@ EXPORT_SYMBOL_GPL(workqueue_congested); · 26 unmodified lines
44014425 * synchronization around this function and the test result is
44024426 * unreliable and only useful as advisory hints or for debugging.
44034427 *
4404− * RETURNS:
4428+ * Return:
44054429 * OR'd bitmask of WORK_BUSY_* bits.
44064430 */
44074431 unsigned int work_busy(struct work_struct *work)
@@ -4779,9 +4803,10 @@ static void work_for_cpu_fn(struct work_struct *work) · 371 unmodified lines
47794803 * @fn: the function to run
47804804 * @arg: the function arg
47814805 *
4782− * This will return the value @fn returns.
47834806 * It is up to the caller to ensure that the cpu doesn't go offline.
47844807 * The caller must not hold any locks which would prevent @fn from completing.
4808+ *
4809+ * Return: The value @fn returns.
47854810 */
47864811 long work_on_cpu(int cpu, long (*fn)(void *), void *arg)
47874812 {
@@ -4853,7 +4878,7 @@ void freeze_workqueues_begin(void) · 65 unmodified lines
48534878 * CONTEXT:
48544879 * Grabs and releases wq_pool_mutex.
48554880 *
4856− * RETURNS:
4881+ * Return:
48574882 * %true if some freezable workqueues are still busy. %false if freezing
48584883 * is complete.
48594884 */
mm/memory-failure.c+1−1
@@ -1265,7 +1265,7 @@ void memory_failure_queue(unsigned long pfn, int trapno, int flags) · 1264 unmodified lines
12651265 if (kfifo_put(&mf_cpu->fifo, &entry))
12661266 schedule_work_on(smp_processor_id(), &mf_cpu->work);
12671267 else
1268− pr_err("Memory failure: buffer overflow when queuing memory failure at 0x%#lx\n",
1268+ pr_err("Memory failure: buffer overflow when queuing memory failure at %#lx\n",
12691269 pfn);
12701270 spin_unlock_irqrestore(&mf_cpu->lock, proc_flags);
12711271 put_cpu_var(memory_failure_cpu);
mm/page_alloc.c+1−1
@@ -768,7 +768,7 @@ void __init __free_pages_bootmem(struct page *page, unsigned int order) · 767 unmodified lines
768768 }
769769
770770 #ifdef CONFIG_CMA
771−/* Free whole pageblock and set it's migration type to MIGRATE_CMA. */
771+/* Free whole pageblock and set its migration type to MIGRATE_CMA. */
772772 void __init init_cma_reserved_pageblock(struct page *page)
773773 {
774774 unsigned i = pageblock_nr_pages;
mm/page_isolation.c+4−4
@@ -226,9 +226,9 @@ int test_pages_isolated(unsigned long start_pfn, unsigned long end_pfn, · 225 unmodified lines
226226 int ret;
227227
228228 /*
229− * Note: pageblock_nr_page != MAX_ORDER. Then, chunks of free page
230− * is not aligned to pageblock_nr_pages.
231− * Then we just check pagetype fist.
229+ * Note: pageblock_nr_pages != MAX_ORDER. Then, chunks of free pages
230+ * are not aligned to pageblock_nr_pages.
231+ * Then we just check migratetype first.
232232 */
233233 for (pfn = start_pfn; pfn < end_pfn; pfn += pageblock_nr_pages) {
234234 page = __first_valid_page(pfn, pageblock_nr_pages);
@@ -238,7 +238,7 @@ int test_pages_isolated(unsigned long start_pfn, unsigned long end_pfn, · 3 unmodified lines
238238 page = __first_valid_page(start_pfn, end_pfn - start_pfn);
239239 if ((pfn < end_pfn) || !page)
240240 return -EBUSY;
241− /* Check all pages are free or Marked as ISOLATED */
241+ /* Check all pages are free or marked as ISOLATED */
242242 zone = page_zone(page);
243243 spin_lock_irqsave(&zone->lock, flags);
244244 ret = __test_page_isolated_in_pageblock(start_pfn, end_pfn,
net/sched/sch_choke.c+2−1
@@ -438,7 +438,8 @@ static int choke_change(struct Qdisc *sch, struct nlattr *opt) · 437 unmodified lines
438438 if (mask != q->tab_mask) {
439439 struct sk_buff **ntab;
440440
441− ntab = kcalloc(mask + 1, sizeof(struct sk_buff *), GFP_KERNEL);
441+ ntab = kcalloc(mask + 1, sizeof(struct sk_buff *),
442+ GFP_KERNEL | __GFP_NOWARN);
442443 if (!ntab)
443444 ntab = vzalloc((mask + 1) * sizeof(struct sk_buff *));
444445 if (!ntab)
sound/pci/ens1370.c+1−1
@@ -1842,7 +1842,7 @@ static int snd_ensoniq_create_gameport(struct ensoniq *ensoniq, int dev) · 1841 unmodified lines
18421842
18431843 default:
18441844 if (!request_region(io_port, 8, "ens137x: gameport")) {
1845− printk(KERN_WARNING "ens137x: gameport io port 0x%#x in use\n",
1845+ printk(KERN_WARNING "ens137x: gameport io port %#x in use\n",
18461846 io_port);
18471847 return -EBUSY;
18481848 }
sound/pci/via82xx.c+1−1
@@ -1940,7 +1940,7 @@ static int snd_via686_create_gameport(struct via82xx *chip, unsigned char *legac · 1939 unmodified lines
19401940
19411941 r = request_region(JOYSTICK_ADDR, 8, "VIA686 gameport");
19421942 if (!r) {
1943− printk(KERN_WARNING "via82xx: cannot reserve joystick port 0x%#x\n",
1943+ printk(KERN_WARNING "via82xx: cannot reserve joystick port %#x\n",
19441944 JOYSTICK_ADDR);
19451945 return -EBUSY;
19461946 }