diff --git a/support/platform/src/uart_if.c b/support/platform/src/uart_if.c index 94eae00e199d3e8a486091fe5554c5c5f901fca9..88b1dccb14588775b608f7931ef4ecc66ccbc1cf 100644 --- a/support/platform/src/uart_if.c +++ b/support/platform/src/uart_if.c @@ -128,7 +128,7 @@ static int32_t UartUserReceive(DevHandle handle, void *data, uint32_t size, enum HDF_LOGE("%s: service is invalid", __func__); return HDF_ERR_INVALID_PARAM; } - /* Four bits are used to store the buffer length, and four bits are used to align the memory. */ + /* Four bytes are used to store the buffer length, and four bytes are used to align the memory. */ reply = HdfSBufObtain(size + sizeof(uint64_t)); if (reply == NULL) { HDF_LOGE("%s: failed to obtain reply", __func__);