Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue: 3928407 Remove VLAs #142

Open
wants to merge 5 commits into
base: vNext
Choose a base branch
from
Open

issue: 3928407 Remove VLAs #142

wants to merge 5 commits into from

Conversation

pasis
Copy link
Member

@pasis pasis commented Apr 26, 2024

TODO Complete removal from sock-redirect.cpp and sockinfo_tcp.cpp

Description

clang-18 generates a warning that VLA is a clang extension.

What

Remove VLAs.

Why ?

Fix clang-18 build.

Change type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • Tests
  • Other

Check list

  • Code follows the style de facto guidelines of this project
  • Comments have been inserted in hard to understand places
  • Documentation has been updated (if necessary)
  • Test has been added (if possible)

@pasis pasis added the draft Not to review yet label Apr 26, 2024
vialogi and others added 5 commits May 30, 2024 09:09
Signed-off-by: Viacheslav Login <vlogin@nvidia.com>
Signed-off-by: Dmytro Podgornyi <dmytrop@nvidia.com>
Test cov-2023.12 module and NFS-located binaries against RMAX codebase

Signed-off-by: Viacheslav Login <vlogin@nvidia.com>
Remove VLAs and simplify net_device_val::get_up_and_active_slaves().

Signed-off-by: Dmytro Podgornyi <dmytrop@nvidia.com>
clang-18 generates a warning that VLA is a clang extension. Allocate
the arrays on heap instead of stack.

Signed-off-by: Dmytro Podgornyi <dmytrop@nvidia.com>
@pasis pasis changed the title issue: Remove VLAs issue: 3928407 Remove VLAs May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
draft Not to review yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants