diff options
| author | Yousef Alhouseen <alhouseenyousef@gmail.com> | 2026-06-27 00:38:04 +0200 |
|---|---|---|
| committer | Juergen Gross <jgross@suse.com> | 2026-07-01 09:58:24 +0200 |
| commit | 51d111301a3ad8e5655687cb6462182e5804fa02 (patch) | |
| tree | 837148fa01c00d4ed060171c48d4c5bf554fd89e /drivers/gpu/nova-core/fsp/git@git.tavy.me:linux.git | |
| parent | 678d59219ce0ae883f04c96936222c6168ef1164 (diff) | |
xen/gntalloc: make grant counters unsigned
The module limit and current allocation count cannot validly be
negative. Give both variables unsigned types so their representation
matches the u32 grant count supplied through the ioctl and negative
module parameter values are rejected by parameter parsing.
This also prepares the limit check for overflow-safe unsigned
arithmetic.
Signed-off-by: Yousef Alhouseen <alhouseenyousef@gmail.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
Message-ID: <20260626223805.43781-2-alhouseenyousef@gmail.com>
Diffstat (limited to 'drivers/gpu/nova-core/fsp/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
