diff options
| author | Alex Mastro <amastro@fb.com> | 2026-06-17 11:58:00 -0700 |
|---|---|---|
| committer | Alex Williamson <alex@shazbot.org> | 2026-07-17 08:39:35 -0600 |
| commit | bc4be8c6fd8bf9f4d7febccfbd6441c4d708135a (patch) | |
| tree | 55fd8a3a9a762ff6600f65c4fcf556ae2f390d12 /tools/lib/python/kdoc | |
| parent | 27fffdfba335ee980b6ceb34180d5048faf67090 (diff) | |
| download | linux-bc4be8c6fd8bf9f4d7febccfbd6441c4d708135a.tar.gz linux-bc4be8c6fd8bf9f4d7febccfbd6441c4d708135a.zip | |
vfio: selftests: Add allocation assert helpers
Add {malloc,calloc}_assert() helpers alongside the existing *_assert()
helpers.
Use them for VFIO selftest allocations that immediately assert a
non-NULL result.
Assisted-by: Codex:gpt-5.5-high
Signed-off-by: Alex Mastro <amastro@fb.com>
Reviewed-by: David Matlack <dmatlack@google.com>
Link: https://lore.kernel.org/r/20260617-scratch-amastro-vfio-selftests-avoid-vlas-v4-1-b9f52f1e2c5a@fb.com
Signed-off-by: Alex Williamson <alex@shazbot.org>
Diffstat (limited to 'tools/lib/python/kdoc')
0 files changed, 0 insertions, 0 deletions
