Commit 9af3775
selftests/bpf: fix test_maps' use of bpf_map_create_opts
Use LIBBPF_OPTS() macro to properly initialize bpf_map_create_opts in
test_maps' tests.
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Yonghong Song <yonghong.song@linux.dev>
Link: https://lore.kernel.org/r/20231029011509.2479232-1-andrii@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>1 parent fd381ce commit 9af3775
1 file changed
Lines changed: 5 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
326 | 326 | | |
327 | 327 | | |
328 | 328 | | |
329 | | - | |
330 | | - | |
331 | | - | |
332 | | - | |
| 329 | + | |
333 | 330 | | |
334 | 331 | | |
335 | 332 | | |
336 | 333 | | |
337 | 334 | | |
338 | 335 | | |
339 | | - | |
340 | | - | |
341 | | - | |
342 | | - | |
| 336 | + | |
343 | 337 | | |
344 | 338 | | |
345 | 339 | | |
| |||
356 | 350 | | |
357 | 351 | | |
358 | 352 | | |
359 | | - | |
360 | | - | |
361 | | - | |
362 | | - | |
| 353 | + | |
363 | 354 | | |
364 | 355 | | |
365 | 356 | | |
366 | 357 | | |
367 | 358 | | |
368 | 359 | | |
369 | | - | |
370 | | - | |
| 360 | + | |
371 | 361 | | |
372 | 362 | | |
373 | | - | |
| 363 | + | |
374 | 364 | | |
375 | 365 | | |
376 | 366 | | |
| |||
0 commit comments