Commit d1287493 authored by Omer Shpigelman's avatar Omer Shpigelman Committed by Oded Gabbay

habanalabs: minor documentation and prints fixes

This patch fixes comments on various structure members and some spelling
errors in log messages.
Signed-off-by: default avatarOmer Shpigelman <oshpigelman@habana.ai>
Reviewed-by: default avatarOded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: default avatarOded Gabbay <oded.gabbay@gmail.com>
parent 34a5fab7
...@@ -256,7 +256,7 @@ int hl_fw_armcp_info_get(struct hl_device *hdev) ...@@ -256,7 +256,7 @@ int hl_fw_armcp_info_get(struct hl_device *hdev)
HL_ARMCP_INFO_TIMEOUT_USEC, &result); HL_ARMCP_INFO_TIMEOUT_USEC, &result);
if (rc) { if (rc) {
dev_err(hdev->dev, dev_err(hdev->dev,
"Failed to send armcp info pkt, error %d\n", rc); "Failed to send ArmCP info pkt, error %d\n", rc);
goto out; goto out;
} }
...@@ -291,7 +291,7 @@ int hl_fw_get_eeprom_data(struct hl_device *hdev, void *data, size_t max_size) ...@@ -291,7 +291,7 @@ int hl_fw_get_eeprom_data(struct hl_device *hdev, void *data, size_t max_size)
max_size, &eeprom_info_dma_addr); max_size, &eeprom_info_dma_addr);
if (!eeprom_info_cpu_addr) { if (!eeprom_info_cpu_addr) {
dev_err(hdev->dev, dev_err(hdev->dev,
"Failed to allocate DMA memory for EEPROM info packet\n"); "Failed to allocate DMA memory for ArmCP EEPROM packet\n");
return -ENOMEM; return -ENOMEM;
} }
...@@ -307,7 +307,7 @@ int hl_fw_get_eeprom_data(struct hl_device *hdev, void *data, size_t max_size) ...@@ -307,7 +307,7 @@ int hl_fw_get_eeprom_data(struct hl_device *hdev, void *data, size_t max_size)
if (rc) { if (rc) {
dev_err(hdev->dev, dev_err(hdev->dev,
"Failed to send armcp EEPROM pkt, error %d\n", rc); "Failed to send ArmCP EEPROM packet, error %d\n", rc);
goto out; goto out;
} }
......
...@@ -123,7 +123,7 @@ enum hl_device_hw_state { ...@@ -123,7 +123,7 @@ enum hl_device_hw_state {
/** /**
* struct asic_fixed_properties - ASIC specific immutable properties. * struct asic_fixed_properties - ASIC specific immutable properties.
* @hw_queues_props: H/W queues properties. * @hw_queues_props: H/W queues properties.
* @armcp_info: received various information from ArmCP regarding the H/W. e.g. * @armcp_info: received various information from ArmCP regarding the H/W, e.g.
* available sensors. * available sensors.
* @uboot_ver: F/W U-boot version. * @uboot_ver: F/W U-boot version.
* @preboot_ver: F/W Preboot version. * @preboot_ver: F/W Preboot version.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment