Re: [PATCH 0/3] fio: fix static and const correctness
Vincent Fu <[email protected]> Wed, 20 Aug 2025 10:52:12 -0400
| Newsgroups | org.kernel.vger.fio |
|---|---|
| Message-ID | <CAOp=CXntJu-MNL_VkfjrfO9EEbu+=+h8hhuuz-CjsvKEEcwCYw@mail.gmail.com> |
Applied. Thanks. Vincent On Wed, Aug 20, 2025 at 9:03 AM Tomas Winkler <[email protected]> wrote: > > Fix static and const correctness issues across fio. > Mark functions as static when they are not used outside their compilation unit, > and add const qualifiers to input-only parameters. This reduces symbol exposure, > clarifies function contracts. > > Tomas Winkler (3): > stat: make stat.c static and const-correct > engines/http: make fio_http_getevents static > engines: make engines static-correct > > engines/cpu.c | 4 +- > engines/exec.c | 6 +-- > engines/http.c | 2 +- > engines/nvme.c | 4 +- > engines/sg.c | 2 +- > stat.c | 100 ++++++++++++++++++++++++------------------------- > stat.h | 24 ++++++------ > steadystate.c | 4 +- > steadystate.h | 4 +- > 9 files changed, 75 insertions(+), 75 deletions(-) > > -- > 2.43.0 >