diff options
| author | John Hubbard <jhubbard@nvidia.com> | 2026-03-25 18:38:57 -0700 |
|---|---|---|
| committer | Alexandre Courbot <acourbot@nvidia.com> | 2026-04-30 10:02:44 +0900 |
| commit | 013ff3b4d0222f6154226b6b2b0a8c9af0e3ebc9 (patch) | |
| tree | a69ec1291988371e674602b5d9643d33b221c20a /rust/zerocopy/src/pointer/git@git.tavy.me:linux-stable.git | |
| parent | d39e22cf87b664d2398523294055e1d6b96dde1f (diff) | |
gpu: nova-core: make WPR heap sizing fallible
Make management_overhead() fail on multiplication or alignment
overflow instead of silently saturating. Propagate that failure through
wpr_heap_size() and the framebuffer layout code that consumes it.
Signed-off-by: John Hubbard <jhubbard@nvidia.com>
Link: https://patch.msgid.link/20260326013902.588242-27-jhubbard@nvidia.com
[acourbot: remove unrelated WPR2 mention from commit log.]
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Diffstat (limited to 'rust/zerocopy/src/pointer/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions
