HomeFreeBSD

dtrace: avoid gcc9 Walloca-larger-than

Description

dtrace: avoid gcc9 Walloca-larger-than

gcc9 grew a new warning for unbounded allocas, such as the one in
dt_options_load. Remove both uses of alloca in dt_options.c.

Reviewed by: markj
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D22880

Details

Provenance
rlibbyAuthored on
Reviewer
markj
Differential Revision
D22880: dtrace: quiet gcc9 Walloca-larger-than
Parents
rS355972: Declare packed struct ata_params as 2-byte-aligned
Branches
Unknown
Tags
Unknown