]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
firmware: scmi: Typo fix
authorPeng Fan <peng.fan@nxp.com>
Fri, 26 Sep 2025 16:06:14 +0000 (00:06 +0800)
committerTom Rini <trini@konsulko.com>
Thu, 9 Oct 2025 20:16:11 +0000 (14:16 -0600)
Typo: 'to' -> 'too'

Signed-off-by: Peng Fan <peng.fan@nxp.com>
drivers/firmware/scmi/smt.c

index 3253f4211d624c8a1d35e803636189d20830f8ed..a7721bbe54ee286fe88dabb7e015944feaea2843 100644 (file)
@@ -129,7 +129,7 @@ int scmi_read_resp_from_smt(struct udevice *dev, struct scmi_smt *smt,
        }
 
        if (hdr->length > msg->out_msg_sz + sizeof(hdr->msg_header)) {
-               dev_err(dev, "Buffer to small\n");
+               dev_err(dev, "Buffer too small\n");
                return -ETOOSMALL;
        }
 
@@ -191,7 +191,7 @@ int scmi_msg_from_smt_msg(struct udevice *dev, struct scmi_smt *smt,
        struct scmi_smt_msg_header *hdr = (void *)smt->buf;
 
        if (buf_size > msg->out_msg_sz + sizeof(hdr->msg_header)) {
-               dev_err(dev, "Buffer to small\n");
+               dev_err(dev, "Buffer too small\n");
                return -ETOOSMALL;
        }