commit | 85c6b0b00ab894116880d2338776727ccff2d5c3 | [log] [tgz] |
---|---|---|
author | Michel Dänzer <michel.daenzer@amd.com> | Thu Nov 30 18:28:01 2017 +0100 |
committer | Michel Dänzer <michel@daenzer.net> | Fri Dec 01 16:52:01 2017 +0100 |
tree | a4d8d3738b77fb3ab1edc1cf04294671cf97baff | |
parent | bc21168fa924d3fc4a000492e861f50a1a135b25 [diff] |
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: Slava Abramov <slava.abramov@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>