commit | 307eae93d5ce3316b4c728408283da957350b2a8 | [log] [tgz] |
---|---|---|
author | Oded Gabbay <oded.gabbay@gmail.com> | Sun Sep 01 16:13:25 2019 +0300 |
committer | Oded Gabbay <oded.gabbay@gmail.com> | Thu Sep 05 14:55:28 2019 +0300 |
tree | f57768fd89ae5fc7853ae6ed1bfa28a2f4e88078 | |
parent | 4c172bbfaa4e1aa26dab58781301902c7b3e4ebc [diff] |
habanalabs: show correct id in error print If the initialization of a device failed, the driver prints an error message with the id of the device. The device index on the file system is that id divided by 2. Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com> Reviewed-by: Omer Shpigelman <oshpigelman@habana.ai>