RE: [PATCH 2/2] habanalabs: show correct id in error print

2019-09-02 Thread Omer Shpigelman
From: Oded Gabbay Sent: Monday, 2 September 2019 10:50 > 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 Reviewed-by: Omer Shpigelman

[PATCH 2/2] habanalabs: show correct id in error print

2019-09-02 Thread Oded Gabbay
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 --- drivers/misc/habanalabs/device.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --g