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 Dec 21 2019, 2:44 AM
Parents
rG36947e1f4dea: Declare packed struct ata_params as 2-byte-aligned
Branches
Unknown
Tags
Unknown