habanalabs: minor documentation and prints fixes
This patch fixes comments on various structure members and some spelling errors in log messages. Signed-off-by: Omer Shpigelman <oshpigelman@habana.ai> Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com> Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
This commit is contained in:
parent
34a5fab7b6
commit
d1287493ab
|
@ -256,7 +256,7 @@ int hl_fw_armcp_info_get(struct hl_device *hdev)
|
|||
HL_ARMCP_INFO_TIMEOUT_USEC, &result);
|
||||
if (rc) {
|
||||
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;
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
if (!eeprom_info_cpu_addr) {
|
||||
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;
|
||||
}
|
||||
|
||||
|
@ -307,7 +307,7 @@ int hl_fw_get_eeprom_data(struct hl_device *hdev, void *data, size_t max_size)
|
|||
|
||||
if (rc) {
|
||||
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;
|
||||
}
|
||||
|
||||
|
|
|
@ -123,7 +123,7 @@ enum hl_device_hw_state {
|
|||
/**
|
||||
* struct asic_fixed_properties - ASIC specific immutable 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.
|
||||
* @uboot_ver: F/W U-boot version.
|
||||
* @preboot_ver: F/W Preboot version.
|
||||
|
|
Loading…
Reference in New Issue