diff options
author | Chris Wilson <[email protected]> | 2019-09-12 17:08:34 +0100 |
---|---|---|
committer | Rodrigo Vivi <[email protected]> | 2019-10-07 10:44:48 -0700 |
commit | fda9fa19b09067b6a3ee6ff8d93e977957e0655c (patch) | |
tree | 4601ceaad91ab981e304d6065fe74f9ccd0229ff /drivers/usb/cdns3/cdns3-debug.h | |
parent | 282b7fd5f5ab4eba499e1162c1e2802c6d0bb82e (diff) |
drm/i915: Don't mix srcu tag and negative error codes
While srcu may use an integer tag, it does not exclude potential error
codes and so may overlap with our own use of -EINTR. Use a separate
outparam to store the tag, and report the error code separately.
Fixes: 2caffbf11762 ("drm/i915: Revoke mmaps and prevent access to fence registers across reset")
Signed-off-by: Chris Wilson <[email protected]>
Cc: Mika Kuoppala <[email protected]>
Cc: Ville Syrjälä <[email protected]>
Reviewed-by: Mika Kuoppala <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
(cherry picked from commit eebab60f224fcfd560957715d08c31564d8672ed)
Signed-off-by: Rodrigo Vivi <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions