drm/xe: timeout needs to be a signed value
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest1 patch 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/1 | drm/xe: timeout needs to be a signed valuedrivers/ | +37 | 1 reply |
Reviews trailers per patch
The patch has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Andi Shyti |
|---|---|
| Series | R-b |
| 1/1 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Intel-xe] [PATCH 0/1] drm/xe: timeout needs to be a signed value
From: Fei Yang <[email protected]>
In xe_wait_user_fence_ioctl, the timeout is currently defined as unsigned long. That could potentially pass a negative value to the schedule_timeout() call because nsecs_to_jiffies() returns an unsigned long which gets used as signed long.
Signed-off-by Fei Yang <[email protected]>
Reviewed-by Andi Shyti <[email protected]>
Cc Zbigniew Kempczyński <[email protected]>
Fei Yang (1):
drm/xe: timeout needs to be a signed value
drivers/gpu/drm/xe/xe_wait_user_fence.c | 55 +++++++++++++++++-------- 1 file changed, 37 insertions(+), 18 deletions(-)
Signature · 1 line
2.25.1