Skip to content

drm/xe: timeout needs to be a signed value

[email protected] intel-xe 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1drm/xe: timeout needs to be a signed valuedrivers/gpu/drm/xe/xe_wait_user_fence.c+37 -181 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.

PatchAndi Shyti
SeriesR-b
1/1R-b

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

Read the v1 thread

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.

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