Skip to content
Commit 85c6b0b0 authored by Michel Dänzer's avatar Michel Dänzer Committed by Michel Dänzer
Browse files

amdgpu: Clean up amdgpu_parse_asic_ids error handling



* Move error message printing into amdgpu_parse_asic_ids and make it
  return void
* Print only "Invalid format" error message if parse_one_line returns
  -EINVAL
* Use strerror instead of printing the (negative) error code in hex

Acked-by: default avatarSlava Abramov <slava.abramov@amd.com>
Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent bc21168f
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