Skip to content
Commit 341917fe authored by Markus Elfring's avatar Markus Elfring Committed by Thierry Reding
Browse files

gpu: host1x: Use a signed return type for do_relocs()



The return type "unsigned int" was used by the do_relocs() function
despite the fact that it will eventually return a negative error code.
Use a signed integer instead to accomodate for error codes.

This issue was detected by using the Coccinelle software.

Signed-off-by: default avatarMarkus Elfring <elfring@users.sourceforge.net>
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
parent 93ec3029
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment