From patchwork Mon May 16 11:00:42 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahisa Kojima X-Patchwork-Id: 572968 Delivered-To: patch@linaro.org Received: by 2002:a5d:5051:0:0:0:0:0 with SMTP id h17csp499642wrt; Mon, 16 May 2022 04:01:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyvsUtWnMN68i2wRJuk1+yc18/Pnb0hqtEiOwP85wRp7Yud8QhV5S71IbE4QmxrtiFNUjmU X-Received: by 2002:a19:fc0e:0:b0:471:ff7d:ab35 with SMTP id a14-20020a19fc0e000000b00471ff7dab35mr12820505lfi.345.1652698901122; Mon, 16 May 2022 04:01:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652698901; cv=none; d=google.com; s=arc-20160816; b=LakuoEYtoFrIqvcdEhgXRipOXduQe6ZtQiA9sMs1GDj1Om8uFmfXcEJAjMMTugiMwt L9t5BVp4E76YN806AYi/2Ukm/Dt1HMeR++bdSYXshhhWyUVsaJawd6e4YCPiAKLV8C6F 9t3YkzQXc0bACZRxsIglGIB1nz6e/KLl0y6srarca57yaluZe98YDTCKv9ljj8GZRb/Q 07vnTkJO3Y2pCb78I4wjjCuv1DTjUgbhHGvyS40ma4CJkryuyji8Qgc8vZ/DO5RbkJ6d JYZBOGBDTNg/Urgp+397d91oyaTb7uHdVvg2ageSS/zai/xC1wK+An2DDotUe8bqs34V Eyzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=Glss3yLcLvVhnaoTlv4ckavYbVTzQ9QT8UabKywuM74=; b=B24Ckpma9hafI/yyKaHDV1PXG3dIGOErpzR849skFqj4ibgPINyoHyyagtogmRTm6j DufWDcoPVZ8eMWaL2JfCkoZolbwh5C6t7Mk95U5jh+l+bOf87tegrsFGgiCQabbWkySR OCLWjS+KVXh+X9kjTE2hDRK7HxmL/GqdIpSxuAvC+Pm68i/2jS58l0Mlso5s4CiJZH/x cbbzfL8ik9sBrNYTh0TzVl4NxcwSFwJRhlMt9DjDuKUkRE8aOSLKbc+UYJh+kLVad9wu tCyb8Rt0pTx3y6Iu6ir2X8VpxdWAXB2+NpCFG1r262PgVbg/ZGOr1Ta+SPj9ZE0wnZxQ UQcA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TT8czj1x; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id b32-20020a2ebc20000000b00250896df902si11858635ljf.173.2022.05.16.04.01.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 May 2022 04:01:41 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TT8czj1x; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id ED21084203; Mon, 16 May 2022 13:01:31 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="TT8czj1x"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 6748584099; Mon, 16 May 2022 13:00:54 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pf1-x433.google.com (mail-pf1-x433.google.com [IPv6:2607:f8b0:4864:20::433]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id E553F84197 for ; Mon, 16 May 2022 13:00:41 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=masahisa.kojima@linaro.org Received: by mail-pf1-x433.google.com with SMTP id 204so13706843pfx.3 for ; Mon, 16 May 2022 04:00:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Glss3yLcLvVhnaoTlv4ckavYbVTzQ9QT8UabKywuM74=; b=TT8czj1xrCvtjkqRdiXLsZh+4aK5bvs81DdWos/Z0/m2X5gskb4rctnhRTL0coRqOr p4rwlWwlfOeE9/MT6yargssZD8wjUH8QKlCFrIbmqbBtA7qxiSvdHak+mJI5c1Oe/TCp W6xZQR95NqMFheA4S3hm8yGHfnmX+tHk9Ov4rjPAzSvnEZT0ImnkWpRjeYGIQU7woOGR yC1hmXWf9TJ7tK5J1koYem8+mbTRRxuQ0xYv8rWKH6cBnmJI88jmmtRsbfpTVEyA14RT hcnk1GHHuZYcvEJMIML6NnS18SxOR7Zp/zXJM/zYFgymH5IGP1HRGB5/JRMttn9qOtyI U1tg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Glss3yLcLvVhnaoTlv4ckavYbVTzQ9QT8UabKywuM74=; b=k4Yxk3kN/FXAsVBmUhWpKFqhzPDrko3pnZFU6aHlhb+SsseO6/a9FFolmCTg1y4S8p 48DpgDSQfWE+vYItNy7bDn6Tq3T/okPaC3lHzQECrzO4AKmmWk4xYAn00eenHH3x/EST RyJv0jKOUD6Iz8D4+1iTobJqBFM+ghujZ9NoaQ3dKeAyX8B5AOz+45vdhW2/cpZD+z36 n7pPfVBQLFNPJcwPT/H9hVI6cyI2MWd9H1SszJzCh1C/ohClL4CDNHxBD/xdui6yXLGH ThenqIR8N6ma0dnzm+75cvNHq88MMfpPyi1h3z+AYQHcp0IJDs1iaNUcAw2L75I64wm0 dftg== X-Gm-Message-State: AOAM5324qHBGxKxE0zFS2sOFuKE7bShgEW8WnuH5Y+Kok/34+9Y572hC eRuXMkJ+dsPbWkYxNw5ZOvzcYNdGvt5UMA== X-Received: by 2002:a05:6a00:f8a:b0:517:cafd:bef7 with SMTP id ct10-20020a056a000f8a00b00517cafdbef7mr10388424pfb.68.1652698839841; Mon, 16 May 2022 04:00:39 -0700 (PDT) Received: from localhost.localdomain ([240d:1a:cf7:5800:82fa:5bff:fe4b:26b1]) by smtp.gmail.com with ESMTPSA id q2-20020a170902edc200b0016173113c50sm2446480plk.92.2022.05.16.04.00.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 May 2022 04:00:39 -0700 (PDT) From: Masahisa Kojima To: u-boot@lists.denx.de Cc: Heinrich Schuchardt , Ilias Apalodimas , Simon Glass , Takahiro Akashi , Francois Ozog , Mark Kettenis , Masahisa Kojima Subject: [PATCH v6 6/6] lib/charset: fix compile warnings Date: Mon, 16 May 2022 20:00:42 +0900 Message-Id: <20220516110043.31480-7-masahisa.kojima@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220516110043.31480-1-masahisa.kojima@linaro.org> References: <20220516110043.31480-1-masahisa.kojima@linaro.org> X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean This commit fixes the following compile warnings for the documentation. ./include/charset.h:276: warning: Function parameter or member 'size' not described in 'u16_strlcat' ./include/charset.h:276: warning: Excess function parameter 'count' description in 'u16_strlcat' Signed-off-by: Masahisa Kojima --- Newly created in v6 include/charset.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/charset.h b/include/charset.h index 20abfbe752..e900fd789a 100644 --- a/include/charset.h +++ b/include/charset.h @@ -273,7 +273,7 @@ u16 *u16_strdup(const void *src); * Return: required size including trailing 0x0000 in u16 words * If return value >= count, truncation occurred. */ -size_t u16_strlcat(u16 *dest, const u16 *src, size_t size); +size_t u16_strlcat(u16 *dest, const u16 *src, size_t count); /** * utf16_to_utf8() - Convert an utf16 string to utf8