diff options
| author | Shuicheng Lin <shuicheng.lin@intel.com> | 2025-10-10 02:02:30 +0300 |
|---|---|---|
| committer | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2025-10-10 22:10:17 +0300 |
| commit | 65369b8e29613682b3c0484e0630d8500b421132 (patch) | |
| tree | a48496ee94e9a314a34331e483b7df3f0255fdb3 /include/uapi/linux/errqueue.h | |
| parent | 0145a99eacae7b67baba62a1036ef7c4b5e90a7a (diff) | |
| download | linux-65369b8e29613682b3c0484e0630d8500b421132.tar.xz | |
drm/xe: Change return type of detect_bar2_dgfx() from s64 to u64
The function never returns a negative value, and the return value is
assigned to a u64 variable. Use u64 for better type correctness
and clarity.
v2: add assert to catch theoretical negative or zero stolen size. (Rodrigo)
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Shuicheng Lin <shuicheng.lin@intel.com>
Link: https://lore.kernel.org/r/20251009230239.2830207-8-shuicheng.lin@intel.com
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'include/uapi/linux/errqueue.h')
0 files changed, 0 insertions, 0 deletions
