Skip to content

rust: alloc: add Vec::resize and Vec::truncate

Andrew Ballance dri-devel linux-doc lkml nouveau rust-for-linux 2 versions – Applied

Status from this message: Applied to nova-next, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 12 repliesApplied
  2. v13 patches 8 repliesSuperseded

Changes in v2 from the cover letter

- updated safety comments
- fixed rustdoc comment spacing
- reworded commit messages to be imperative
- Link to v1: https://lore.kernel.org/rust-for-linux/[email protected]/

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/3rust: alloc: add Vec::truncate methodrust/kernel/alloc/kvec.rs+36 -01 reply
2/3rust: alloc: add Vec::resize methodrust/kernel/alloc/kvec.rs+26 -010 replies
3/3gpu: nova-core: remove completed Vec extentions from task listDocumentation/gpu/nova/core/todo.rst+0 -100 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchBenno LossinTamir Duberstein
1/3
2/3R-b R-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/3] rust: alloc: add Vec::resize and Vec::truncate

This patch series implements the Vec::truncate and Vec::resize methods that were needed by the nova driver and removes the corresponding item from their task list

changes in v2:
- updated safety comments
- fixed rustdoc comment spacing
- reworded commit messages to be imperative
- Link to v1: https://lore.kernel.org/rust-for-linux/[email protected]/

Andrew Ballance (3):
rust: alloc: add Vec::truncate method
rust: alloc: add Vec::resize method
gpu: nova-core: remove completed Vec extentions from task list

 Documentation/gpu/nova/core/todo.rst | 10 -----
 rust/kernel/alloc/kvec.rs            | 62 ++++++++++++++++++++++++++++
 2 files changed, 62 insertions(+), 10 deletions(-)
Signature · 1 line
2.48.1