Skip to contentSkip to conversation

habanalabs: Fix spelling mistake "offest" -> "offset"

PATCH In review Colin Ian King 2 participants 2 messages Feb 13, 2023 – Feb 16, 2023

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 habanalabs: Fix spelling mistake "offest" -> "offset"

There is a spelling mistake in a dev_err message. Fix it.

---
 drivers/accel/habanalabs/common/command_submission.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/accel/habanalabs/common/command_submission.c +1 -1
index 6c4d9b1aa5de..74ccafeb38dc 100644
@@ -3199,7 +3199,7 @@ static int ts_buff_get_kernel_ts_record(struct hl_mmap_mem_buf *buf,
 			usleep_range(100, 1000);
 			if (++iter_counter == MAX_TS_ITER_NUM) {
 				dev_err(buf->mmg->dev,
-					"Timestamp offest processing reached timeout of %lld ms\n",
+					"Timestamp offset processing reached timeout of %lld ms\n",
 					ktime_ms_delta(ktime_get(), timestamp));
 				return -EAGAIN;
 			}
Signature · 1 line
2.30.2
maintainer
#1 lore raw
Quoted 22 lines · Colin Ian King

There is a spelling mistake in a dev_err message. Fix it.

---
 drivers/accel/habanalabs/common/command_submission.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/accel/habanalabs/common/command_submission.c +1 -2
index 6c4d9b1aa5de..74ccafeb38dc 100644
@@ -3199,7 +3199,7 @@ static int ts_buff_get_kernel_ts_record(struct hl_mmap_mem_buf *buf,
                        usleep_range(100, 1000);
                        if (++iter_counter == MAX_TS_ITER_NUM) {
                                dev_err(buf->mmg->dev,
-                                       "Timestamp offest processing reached timeout of %lld ms\n",
+                                       "Timestamp offset processing reached timeout of %lld ms\n",
                                        ktime_ms_delta(ktime_get(), timestamp));
                                return -EAGAIN;
                        }
--
Quoted 2 lines

2.30.2

Thanks,
but I've already fixed it in my tree in the original patch before seeing this email, sorry.
Oded