diff options
author | Evan Quan <[email protected]> | 2018-12-17 17:51:22 +0800 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2018-12-18 17:39:18 -0500 |
commit | 379c237e392e4cec09ff5853b5c0724a1e5d51b0 (patch) | |
tree | 94ed5c6ab00e812c835f06ca115d06791875eff2 /net/switchdev/switchdev.c | |
parent | e98bdb8061305ec00ca9c11231a606e849477bc8 (diff) |
drm/amdgpu: correct the return value for error case
It should not return 0 for error case as '0' is actually
a special value for index.
Signed-off-by: Evan Quan <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions