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

Pull trivial tree updates from Jiri Kosina:
 "The usual rocket-science from trivial tree for 4.15"

* 'for-linus' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/jikos/trivial:
  MAINTAINERS: relinquish kconfig
  MAINTAINERS: Update my email address
  treewide: Fix typos in Kconfig
  kfifo: Fix comments
  init/Kconfig: Fix module signing document location
  misc: ibmasm: Return error on error path
  HID: logitech-hidpp: fix mistake in printk, "feeback" -> "feedback"
  MAINTAINERS: Correct path to uDraw PS3 driver
  tracing: Fix doc mistakes in trace sample
  tracing: Kconfig text fixes for CONFIG_HWLAT_TRACER
  MIPS: Alchemy: Remove reverted CONFIG_NETLINK_MMAP from db1xxx_defconfig
  mm/huge_memory.c: fixup grammar in comment
  lib/xz: Add fall-through comments to a switch statement
This commit is contained in:
Linus Torvalds 2017-11-15 10:14:11 -08:00
commit 9682b3dea2
26 changed files with 62 additions and 46 deletions

View File

@ -3472,7 +3472,7 @@ COCCINELLE/Semantic Patches (SmPL)
M: Julia Lawall <Julia.Lawall@lip6.fr> M: Julia Lawall <Julia.Lawall@lip6.fr>
M: Gilles Muller <Gilles.Muller@lip6.fr> M: Gilles Muller <Gilles.Muller@lip6.fr>
M: Nicolas Palix <nicolas.palix@imag.fr> M: Nicolas Palix <nicolas.palix@imag.fr>
M: Michal Marek <mmarek@suse.com> M: Michal Marek <michal.lkml@markovi.net>
L: cocci@systeme.lip6.fr (moderated for non-subscribers) L: cocci@systeme.lip6.fr (moderated for non-subscribers)
T: git git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild.git misc T: git git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild.git misc
W: http://coccinelle.lip6.fr/ W: http://coccinelle.lip6.fr/
@ -7448,10 +7448,8 @@ F: mm/kasan/
F: scripts/Makefile.kasan F: scripts/Makefile.kasan
KCONFIG KCONFIG
M: "Yann E. MORIN" <yann.morin.1998@free.fr>
L: linux-kbuild@vger.kernel.org L: linux-kbuild@vger.kernel.org
T: git git://gitorious.org/linux-kconfig/linux-kconfig S: Orphan
S: Maintained
F: Documentation/kbuild/kconfig-language.txt F: Documentation/kbuild/kconfig-language.txt
F: scripts/kconfig/ F: scripts/kconfig/
@ -7480,7 +7478,7 @@ F: fs/autofs4/
KERNEL BUILD + files below scripts/ (unless maintained elsewhere) KERNEL BUILD + files below scripts/ (unless maintained elsewhere)
M: Masahiro Yamada <yamada.masahiro@socionext.com> M: Masahiro Yamada <yamada.masahiro@socionext.com>
M: Michal Marek <mmarek@suse.com> M: Michal Marek <michal.lkml@markovi.net>
T: git git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git T: git git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git
L: linux-kbuild@vger.kernel.org L: linux-kbuild@vger.kernel.org
S: Maintained S: Maintained
@ -13784,7 +13782,7 @@ UDRAW TABLET
M: Bastien Nocera <hadess@hadess.net> M: Bastien Nocera <hadess@hadess.net>
L: linux-input@vger.kernel.org L: linux-input@vger.kernel.org
S: Maintained S: Maintained
F: drivers/hid/hid-udraw.c F: drivers/hid/hid-udraw-ps3.c
UFS FILESYSTEM UFS FILESYSTEM
M: Evgeniy Dushistov <dushistov@mail.ru> M: Evgeniy Dushistov <dushistov@mail.ru>

View File

@ -506,7 +506,7 @@ config ALPHA_QEMU
Generic kernels will auto-detect QEMU. But when building a Generic kernels will auto-detect QEMU. But when building a
system-specific kernel, the assumption is that we want to system-specific kernel, the assumption is that we want to
elimiate as many runtime tests as possible. eliminate as many runtime tests as possible.
If unsure, say N. If unsure, say N.

View File

@ -298,7 +298,7 @@ config ARC_MMU_V1
config ARC_MMU_V2 config ARC_MMU_V2
bool "MMU v2" bool "MMU v2"
help help
Fixed the deficiency of v1 - possible thrashing in memcpy sceanrio Fixed the deficiency of v1 - possible thrashing in memcpy scenario
when 2 D-TLB and 1 I-TLB entries index into same 2way set. when 2 D-TLB and 1 I-TLB entries index into same 2way set.
config ARC_MMU_V3 config ARC_MMU_V3
@ -371,7 +371,7 @@ config ARC_FPU_SAVE_RESTORE
bool "Enable FPU state persistence across context switch" bool "Enable FPU state persistence across context switch"
default n default n
help help
Double Precision Floating Point unit had dedictaed regs which Double Precision Floating Point unit had dedicated regs which
need to be saved/restored across context-switch. need to be saved/restored across context-switch.
Note that ARC FPU is overly simplistic, unlike say x86, which has Note that ARC FPU is overly simplistic, unlike say x86, which has
hardware pieces to allow software to conditionally save/restore, hardware pieces to allow software to conditionally save/restore,
@ -467,7 +467,7 @@ config ARC_PLAT_NEEDS_PHYS_TO_DMA
bool bool
config ARC_KVADDR_SIZE config ARC_KVADDR_SIZE
int "Kernel Virtaul Address Space size (MB)" int "Kernel Virtual Address Space size (MB)"
range 0 512 range 0 512
default "256" default "256"
help help

View File

@ -23,7 +23,7 @@ config ARCH_BCM_IPROC
help help
This enables support for systems based on Broadcom IPROC architected SoCs. This enables support for systems based on Broadcom IPROC architected SoCs.
The IPROC complex contains one or more ARM CPUs along with common The IPROC complex contains one or more ARM CPUs along with common
core periperals. Application specific SoCs are created by adding a core peripherals. Application specific SoCs are created by adding a
uArchitecture containing peripherals outside of the IPROC complex. uArchitecture containing peripherals outside of the IPROC complex.
Currently supported SoCs are Cygnus. Currently supported SoCs are Cygnus.
@ -69,8 +69,8 @@ config ARCH_BCM_5301X
Support for Broadcom BCM470X and BCM5301X SoCs with ARM CPU cores. Support for Broadcom BCM470X and BCM5301X SoCs with ARM CPU cores.
This is a network SoC line mostly used in home routers and This is a network SoC line mostly used in home routers and
wifi access points, it's internal name is Northstar. wifi access points, its internal name is Northstar.
This inclused the following SoC: BCM53010, BCM53011, BCM53012, This includes the following SoC: BCM53010, BCM53011, BCM53012,
BCM53014, BCM53015, BCM53016, BCM53017, BCM53018, BCM4707, BCM53014, BCM53015, BCM53016, BCM53017, BCM53018, BCM4707,
BCM4708 and BCM4709. BCM4708 and BCM4709.

View File

@ -278,7 +278,7 @@ config SAMSUNG_PM_CHECK_CHUNKSIZE
help help
Set the chunksize in Kilobytes of the CRC for checking memory Set the chunksize in Kilobytes of the CRC for checking memory
corruption over suspend and resume. A smaller value will mean that corruption over suspend and resume. A smaller value will mean that
the CRC data block will take more memory, but wil identify any the CRC data block will take more memory, but will identify any
faults with better precision. faults with better precision.
See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt> See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt>

View File

@ -982,7 +982,7 @@ config ARM64_UAO
help help
User Access Override (UAO; part of the ARMv8.2 Extensions) User Access Override (UAO; part of the ARMv8.2 Extensions)
causes the 'unprivileged' variant of the load/store instructions to causes the 'unprivileged' variant of the load/store instructions to
be overriden to be privileged. be overridden to be privileged.
This option changes get_user() and friends to use the 'unprivileged' This option changes get_user() and friends to use the 'unprivileged'
variant of the load/store instructions. This ensures that user-space variant of the load/store instructions. This ensures that user-space

View File

@ -77,7 +77,6 @@ CONFIG_IPV6_MROUTE=y
CONFIG_IPV6_MROUTE_MULTIPLE_TABLES=y CONFIG_IPV6_MROUTE_MULTIPLE_TABLES=y
CONFIG_IPV6_PIMSM_V2=y CONFIG_IPV6_PIMSM_V2=y
CONFIG_BRIDGE=y CONFIG_BRIDGE=y
CONFIG_NETLINK_MMAP=y
CONFIG_NETLINK_DIAG=y CONFIG_NETLINK_DIAG=y
CONFIG_IRDA=y CONFIG_IRDA=y
CONFIG_IRLAN=y CONFIG_IRLAN=y

View File

@ -79,7 +79,7 @@ config UDBG_RTAS_CONSOLE
config PPC_SMP_MUXED_IPI config PPC_SMP_MUXED_IPI
bool bool
help help
Select this opton if your platform supports SMP and your Select this option if your platform supports SMP and your
interrupt controller provides less than 4 interrupts to each interrupt controller provides less than 4 interrupts to each
cpu. This will enable the generic code to multiplex the 4 cpu. This will enable the generic code to multiplex the 4
messages on to one ipi. messages on to one ipi.

View File

@ -115,7 +115,7 @@ endif
source "arch/unicore32/mm/Kconfig" source "arch/unicore32/mm/Kconfig"
comment "Floating poing support" comment "Floating point support"
config UNICORE_FPU_F64 config UNICORE_FPU_F64
def_bool y if !ARCH_FPGA def_bool y if !ARCH_FPGA

View File

@ -224,7 +224,7 @@ config INITIALIZE_XTENSA_MMU_INSIDE_VMLINUX
then enter your normal kernel breakpoints once the MMU was mapped then enter your normal kernel breakpoints once the MMU was mapped
to the kernel mappings (0XC0000000). to the kernel mappings (0XC0000000).
This unfortunately doesn't work for U-Boot and likley also wont This unfortunately won't work for U-Boot and likely also wont
work for using KEXEC to have a hot kernel ready for doing a work for using KEXEC to have a hot kernel ready for doing a
KDUMP. KDUMP.

View File

@ -1957,7 +1957,8 @@ static int hidpp_ff_init(struct hidpp_device *hidpp, u8 feature_index)
/* initialize with zero autocenter to get wheel in usable state */ /* initialize with zero autocenter to get wheel in usable state */
hidpp_ff_set_autocenter(dev, 0); hidpp_ff_set_autocenter(dev, 0);
hid_info(hid, "Force feeback support loaded (firmware release %d).\n", version); hid_info(hid, "Force feedback support loaded (firmware release %d).\n",
version);
return 0; return 0;
} }

View File

@ -155,7 +155,7 @@ int ibmasm_event_buffer_init(struct service_processor *sp)
buffer = kmalloc(sizeof(struct event_buffer), GFP_KERNEL); buffer = kmalloc(sizeof(struct event_buffer), GFP_KERNEL);
if (!buffer) if (!buffer)
return 1; return -ENOMEM;
buffer->next_index = 0; buffer->next_index = 0;
buffer->next_serial_number = 1; buffer->next_serial_number = 1;

View File

@ -94,12 +94,14 @@ static int ibmasm_init_one(struct pci_dev *pdev, const struct pci_device_id *id)
snprintf(sp->dirname, IBMASM_NAME_SIZE, "%d", sp->number); snprintf(sp->dirname, IBMASM_NAME_SIZE, "%d", sp->number);
snprintf(sp->devname, IBMASM_NAME_SIZE, "%s%d", DRIVER_NAME, sp->number); snprintf(sp->devname, IBMASM_NAME_SIZE, "%s%d", DRIVER_NAME, sp->number);
if (ibmasm_event_buffer_init(sp)) { result = ibmasm_event_buffer_init(sp);
if (result) {
dev_err(sp->dev, "Failed to allocate event buffer\n"); dev_err(sp->dev, "Failed to allocate event buffer\n");
goto error_eventbuffer; goto error_eventbuffer;
} }
if (ibmasm_heartbeat_init(sp)) { result = ibmasm_heartbeat_init(sp);
if (result) {
dev_err(sp->dev, "Failed to allocate heartbeat command\n"); dev_err(sp->dev, "Failed to allocate heartbeat command\n");
goto error_heartbeat; goto error_heartbeat;
} }

View File

@ -9,7 +9,7 @@ config NET_VENDOR_AQUANTIA
Set this to y if you have an Ethernet network cards that uses the aQuantia Set this to y if you have an Ethernet network cards that uses the aQuantia
AQC107/AQC108 chipset. AQC107/AQC108 chipset.
This option does not build any drivers; it casues the aQuantia This option does not build any drivers; it causes the aQuantia
drivers that can be built to appear in the list of Ethernet drivers. drivers that can be built to appear in the list of Ethernet drivers.

View File

@ -11,7 +11,7 @@ config NFC_ST_NCI_I2C
select NFC_ST_NCI select NFC_ST_NCI
---help--- ---help---
This module adds support for an I2C interface to the This module adds support for an I2C interface to the
STMicroelectronics NFC NCI chips familly. STMicroelectronics NFC NCI chips family.
Select this if your platform is using the i2c bus. Select this if your platform is using the i2c bus.
If you choose to build a module, it'll be called st-nci_i2c. If you choose to build a module, it'll be called st-nci_i2c.
@ -23,7 +23,7 @@ config NFC_ST_NCI_SPI
select NFC_ST_NCI select NFC_ST_NCI
---help--- ---help---
This module adds support for an SPI interface to the This module adds support for an SPI interface to the
STMicroelectronics NFC NCI chips familly. STMicroelectronics NFC NCI chips family.
Select this if your platform is using the spi bus. Select this if your platform is using the spi bus.
If you choose to build a module, it'll be called st-nci_spi. If you choose to build a module, it'll be called st-nci_spi.

View File

@ -96,7 +96,7 @@ config NVDIMM_DAX
help help
Support raw device dax access to a persistent memory Support raw device dax access to a persistent memory
namespace. For environments that want to hard partition namespace. For environments that want to hard partition
peristent memory, this capability provides a mechanism to persistent memory, this capability provides a mechanism to
sub-divide a namespace into character devices that can only be sub-divide a namespace into character devices that can only be
accessed via DAX (mmap(2)). accessed via DAX (mmap(2)).

View File

@ -774,7 +774,7 @@ config TOSHIBA_WMI
WARNING: This driver is incomplete as it lacks a proper keymap and the WARNING: This driver is incomplete as it lacks a proper keymap and the
*notify function only prints the ACPI event type value. Be warned that *notify function only prints the ACPI event type value. Be warned that
you will need to provide some information if you have a Toshiba model you will need to provide some information if you have a Toshiba model
with WMI event hotkeys and want to help with the develpment of this with WMI event hotkeys and want to help with the development of this
driver. driver.
If you have a WMI-based hotkeys Toshiba laptop, say Y or M here. If you have a WMI-based hotkeys Toshiba laptop, say Y or M here.

View File

@ -182,7 +182,7 @@ config CHARGER_SBS
tristate "SBS Compliant charger" tristate "SBS Compliant charger"
depends on I2C depends on I2C
help help
Say Y to include support for SBS compilant battery chargers. Say Y to include support for SBS compliant battery chargers.
config MANAGER_SBS config MANAGER_SBS
tristate "Smart Battery System Manager" tristate "Smart Battery System Manager"

View File

@ -787,7 +787,7 @@ config SCSI_IBMVSCSIS
depends on PPC_PSERIES && TARGET_CORE && SCSI && PCI depends on PPC_PSERIES && TARGET_CORE && SCSI && PCI
help help
This is the IBM POWER Virtual SCSI Target Server This is the IBM POWER Virtual SCSI Target Server
This driver uses the SRP protocol for communication betwen servers This driver uses the SRP protocol for communication between servers
guest and/or the host that run on the same server. guest and/or the host that run on the same server.
More information on VSCSI protocol can be found at www.power.org More information on VSCSI protocol can be found at www.power.org

View File

@ -21,6 +21,6 @@ config FANOTIFY_ACCESS_PERMISSIONS
decisions concerning filesystem events. This is used by some fanotify decisions concerning filesystem events. This is used by some fanotify
listeners which need to scan files before allowing the system access to listeners which need to scan files before allowing the system access to
use those files. This is used by some anti-malware vendors and by some use those files. This is used by some anti-malware vendors and by some
hierarchical storage managent systems. hierarchical storage management systems.
If unsure, say N. If unsure, say N.

View File

@ -325,7 +325,7 @@ __kfifo_uint_must_check_helper( \
* *
* This macro dynamically allocates a new fifo buffer. * This macro dynamically allocates a new fifo buffer.
* *
* The numer of elements will be rounded-up to a power of 2. * The number of elements will be rounded-up to a power of 2.
* The fifo will be release with kfifo_free(). * The fifo will be release with kfifo_free().
* Return 0 if no error, otherwise an error code. * Return 0 if no error, otherwise an error code.
*/ */
@ -358,9 +358,9 @@ __kfifo_int_must_check_helper( \
* @buffer: the preallocated buffer to be used * @buffer: the preallocated buffer to be used
* @size: the size of the internal buffer, this have to be a power of 2 * @size: the size of the internal buffer, this have to be a power of 2
* *
* This macro initialize a fifo using a preallocated buffer. * This macro initializes a fifo using a preallocated buffer.
* *
* The numer of elements will be rounded-up to a power of 2. * The number of elements will be rounded-up to a power of 2.
* Return 0 if no error, otherwise an error code. * Return 0 if no error, otherwise an error code.
*/ */
#define kfifo_init(fifo, buffer, size) \ #define kfifo_init(fifo, buffer, size) \

View File

@ -1759,7 +1759,7 @@ config MODULE_SIG
help help
Check modules for valid signatures upon load: the signature Check modules for valid signatures upon load: the signature
is simply appended to the module. For more information see is simply appended to the module. For more information see
Documentation/module-signing.txt. <file:Documentation/admin-guide/module-signing.rst>.
Note that this option adds the OpenSSL development packages as a Note that this option adds the OpenSSL development packages as a
kernel build dependency so that the signing tool can use its crypto kernel build dependency so that the signing tool can use its crypto

View File

@ -224,7 +224,7 @@ config HWLAT_TRACER
select GENERIC_TRACER select GENERIC_TRACER
help help
This tracer, when enabled will create one or more kernel threads, This tracer, when enabled will create one or more kernel threads,
depening on what the cpumask file is set to, which each thread depending on what the cpumask file is set to, which each thread
spinning in a loop looking for interruptions caused by spinning in a loop looking for interruptions caused by
something other than the kernel. For example, if a something other than the kernel. For example, if a
System Management Interrupt (SMI) takes a noticeable amount of System Management Interrupt (SMI) takes a noticeable amount of
@ -239,7 +239,7 @@ config HWLAT_TRACER
iteration iteration
A kernel thread is created that will spin with interrupts disabled A kernel thread is created that will spin with interrupts disabled
for "width" microseconds in every "widow" cycle. It will not spin for "width" microseconds in every "window" cycle. It will not spin
for "window - width" microseconds, where the system can for "window - width" microseconds, where the system can
continue to operate. continue to operate.

View File

@ -583,6 +583,8 @@ static enum xz_ret dec_main(struct xz_dec *s, struct xz_buf *b)
if (ret != XZ_OK) if (ret != XZ_OK)
return ret; return ret;
/* Fall through */
case SEQ_BLOCK_START: case SEQ_BLOCK_START:
/* We need one byte of input to continue. */ /* We need one byte of input to continue. */
if (b->in_pos == b->in_size) if (b->in_pos == b->in_size)
@ -606,6 +608,8 @@ static enum xz_ret dec_main(struct xz_dec *s, struct xz_buf *b)
s->temp.pos = 0; s->temp.pos = 0;
s->sequence = SEQ_BLOCK_HEADER; s->sequence = SEQ_BLOCK_HEADER;
/* Fall through */
case SEQ_BLOCK_HEADER: case SEQ_BLOCK_HEADER:
if (!fill_temp(s, b)) if (!fill_temp(s, b))
return XZ_OK; return XZ_OK;
@ -616,6 +620,8 @@ static enum xz_ret dec_main(struct xz_dec *s, struct xz_buf *b)
s->sequence = SEQ_BLOCK_UNCOMPRESS; s->sequence = SEQ_BLOCK_UNCOMPRESS;
/* Fall through */
case SEQ_BLOCK_UNCOMPRESS: case SEQ_BLOCK_UNCOMPRESS:
ret = dec_block(s, b); ret = dec_block(s, b);
if (ret != XZ_STREAM_END) if (ret != XZ_STREAM_END)
@ -623,6 +629,8 @@ static enum xz_ret dec_main(struct xz_dec *s, struct xz_buf *b)
s->sequence = SEQ_BLOCK_PADDING; s->sequence = SEQ_BLOCK_PADDING;
/* Fall through */
case SEQ_BLOCK_PADDING: case SEQ_BLOCK_PADDING:
/* /*
* Size of Compressed Data + Block Padding * Size of Compressed Data + Block Padding
@ -643,6 +651,8 @@ static enum xz_ret dec_main(struct xz_dec *s, struct xz_buf *b)
s->sequence = SEQ_BLOCK_CHECK; s->sequence = SEQ_BLOCK_CHECK;
/* Fall through */
case SEQ_BLOCK_CHECK: case SEQ_BLOCK_CHECK:
if (s->check_type == XZ_CHECK_CRC32) { if (s->check_type == XZ_CHECK_CRC32) {
ret = crc32_validate(s, b); ret = crc32_validate(s, b);
@ -665,6 +675,8 @@ static enum xz_ret dec_main(struct xz_dec *s, struct xz_buf *b)
s->sequence = SEQ_INDEX_PADDING; s->sequence = SEQ_INDEX_PADDING;
/* Fall through */
case SEQ_INDEX_PADDING: case SEQ_INDEX_PADDING:
while ((s->index.size + (b->in_pos - s->in_start)) while ((s->index.size + (b->in_pos - s->in_start))
& 3) { & 3) {
@ -687,6 +699,8 @@ static enum xz_ret dec_main(struct xz_dec *s, struct xz_buf *b)
s->sequence = SEQ_INDEX_CRC32; s->sequence = SEQ_INDEX_CRC32;
/* Fall through */
case SEQ_INDEX_CRC32: case SEQ_INDEX_CRC32:
ret = crc32_validate(s, b); ret = crc32_validate(s, b);
if (ret != XZ_STREAM_END) if (ret != XZ_STREAM_END)
@ -695,6 +709,8 @@ static enum xz_ret dec_main(struct xz_dec *s, struct xz_buf *b)
s->temp.size = STREAM_HEADER_SIZE; s->temp.size = STREAM_HEADER_SIZE;
s->sequence = SEQ_STREAM_FOOTER; s->sequence = SEQ_STREAM_FOOTER;
/* Fall through */
case SEQ_STREAM_FOOTER: case SEQ_STREAM_FOOTER:
if (!fill_temp(s, b)) if (!fill_temp(s, b))
return XZ_OK; return XZ_OK;

View File

@ -39,10 +39,10 @@
#include "internal.h" #include "internal.h"
/* /*
* By default transparent hugepage support is disabled in order that avoid * By default, transparent hugepage support is disabled in order to avoid
* to risk increase the memory footprint of applications without a guaranteed * risking an increased memory footprint for applications that are not
* benefit. When transparent hugepage support is enabled, is for all mappings, * guaranteed to benefit from it. When transparent hugepage support is
* and khugepaged scans all mappings. * enabled, it is for all mappings, and khugepaged scans all mappings.
* Defrag is invoked by khugepaged hugepage allocations and by page faults * Defrag is invoked by khugepaged hugepage allocations and by page faults
* for all hugepage allocations. * for all hugepage allocations.
*/ */

View File

@ -96,7 +96,7 @@
* __entry->bar.x = y; * __entry->bar.x = y;
* __array: There are three fields (type, name, size). The type is the * __array: There are three fields (type, name, size). The type is the
* type of elements in teh array, the name is the name of the array. * type of elements in the array, the name is the name of the array.
* size is the number of items in the array (not the total size). * size is the number of items in the array (not the total size).
* *
* __array( char, foo, 10) is the same as saying: char foo[10]; * __array( char, foo, 10) is the same as saying: char foo[10];
@ -113,7 +113,7 @@
* type is the type of the element, name is the name of the array. * type is the type of the element, name is the name of the array.
* The size is different than __array. It is not a static number, * The size is different than __array. It is not a static number,
* but the algorithm to figure out the length of the array for the * but the algorithm to figure out the length of the array for the
* specific instance of tracepoint. Again, size is the numebr of * specific instance of tracepoint. Again, size is the number of
* items in the array, not the total length in bytes. * items in the array, not the total length in bytes.
* *
* __dynamic_array( int, foo, bar) is similar to: int foo[bar]; * __dynamic_array( int, foo, bar) is similar to: int foo[bar];
@ -126,9 +126,9 @@
* Notice, that "__entry" is not needed here. * Notice, that "__entry" is not needed here.
* *
* __string: This is a special kind of __dynamic_array. It expects to * __string: This is a special kind of __dynamic_array. It expects to
* have a nul terminated character array passed to it (it allows * have a null terminated character array passed to it (it allows
* for NULL too, which would be converted into "(null)"). __string * for NULL too, which would be converted into "(null)"). __string
* takes two paramenter (name, src), where name is the name of * takes two parameter (name, src), where name is the name of
* the string saved, and src is the string to copy into the * the string saved, and src is the string to copy into the
* ring buffer. * ring buffer.
* *
@ -445,7 +445,7 @@ DECLARE_EVENT_CLASS(foo_template,
/* /*
* Here's a better way for the previous samples (except, the first * Here's a better way for the previous samples (except, the first
* exmaple had more fields and could not be used here). * example had more fields and could not be used here).
*/ */
DEFINE_EVENT(foo_template, foo_with_template_simple, DEFINE_EVENT(foo_template, foo_with_template_simple,
TP_PROTO(const char *foo, int bar), TP_PROTO(const char *foo, int bar),