From patchwork Wed Jul 5 13:18:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 699233 Delivered-To: patch@linaro.org Received: by 2002:adf:fcc5:0:0:0:0:0 with SMTP id f5csp2774811wrs; Wed, 5 Jul 2023 06:20:01 -0700 (PDT) X-Google-Smtp-Source: APBJJlGVUFB4Or2xk2tCKx1h+acTmyA7uO07/OlAVLeemmciKLXJDjARPchyESN6cd/PH7N1Q9cX X-Received: by 2002:a05:6214:da4:b0:636:10e2:22a7 with SMTP id h4-20020a0562140da400b0063610e222a7mr21767015qvh.25.1688563201599; Wed, 05 Jul 2023 06:20:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688563201; cv=none; d=google.com; s=arc-20160816; b=y5/UkoIfVPJ2AU+1yDMUTQ+68mZ4mvurL2pWTzpCfXFjUoGaqzxUTx62Df02vimtmd 4+WeFyqDatZ4BF5EcDjviiC9OhY3tr8mFLMws/TmmT2gfQI1jlBnsFGbKjs58u4KKAyQ SJfLsJYw3ccX6wQ29v7vsXmpP+eYdBHY1peUcrAexDwhI1OyIDaYKYmhpkllassenfSP rsKFaPOkBbuJFPanBe56sIUpHtKtCLUjhg3LvpKcbssR7J8VURTKe80TdfEFNF3tvSDF 5fKXu7cSpPC06igC8oXENO76MEXkX/hS4rTvxr4l5UgpCzFG2ODxt/7t40mwdbrH5mRZ yixg== 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:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=igb0JyNsA2PhSTz0dTyRLO9tMn947tv2lHWj3R8IWaI=; fh=jFETSPWxjbFheN0Kzyv9hCW9dGAwQxtwxywFZ1hQu6c=; b=fzjkLujTWsWHtuvbYkpqMox2g2wunQkrVRLhZYp0tN4If5B2jPZfK2+ftPX9IusJUV TD7V2UuhLVRO0ARnD0t0sth2nU6ybg+SziJpLokH4ZYcMFColSqzmlt+i3h4jgpI7yQi Hi+8jxNrO7RCtFTxy2sjhlNFERR/oUhZTLHriKT/TBHWYny3Ln5SjA5O3YfNOHFz2vA7 aUKv2za4sdCpp+RXtgg0m8L5qDan+p5y9KXIvqga83INRbUuvWBGU+Qg0tlnSDuN7Y6h wTsAd8RH0jO26rphWDzom6TpNt2ATbPYsPRHknxkfaI0VmHec/gIIjp5EECwoznXqtIO 8kIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bybfZR6Z; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id c6-20020a0ceb46000000b005ef8094003dsi10088290qvq.17.2023.07.05.06.20.01 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 05 Jul 2023 06:20:01 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bybfZR6Z; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qH2Pz-0007tt-5u; Wed, 05 Jul 2023 09:19:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qH2Po-0007hN-Hu for qemu-devel@nongnu.org; Wed, 05 Jul 2023 09:19:30 -0400 Received: from mail-ed1-x52d.google.com ([2a00:1450:4864:20::52d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qH2Pk-00074d-H7 for qemu-devel@nongnu.org; Wed, 05 Jul 2023 09:19:28 -0400 Received: by mail-ed1-x52d.google.com with SMTP id 4fb4d7f45d1cf-51e29964942so278139a12.2 for ; Wed, 05 Jul 2023 06:19:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1688563160; x=1691155160; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=igb0JyNsA2PhSTz0dTyRLO9tMn947tv2lHWj3R8IWaI=; b=bybfZR6Z/vuhtdmB02MgRLaG+6BSZOPiqsYw1U/g+EwHUyEr8Hi7ULvPRtcuXljuTP xp/fzoEfuMeShNID74HAAAWDH/54lw5ob1j41hXV2AeR8NFICp0tLOIRLTaGRmU23KiX qOJKj8nUL7vUinVA1TBikbeCPLrDXcxmADXYWihr8+lN7NTCJFTZSmPrrR5O9SvS5smO 5GSleUPmPpU0GwW47xOSWLL8bwvRuvtNxp92+UpVapaNr/FZehkdKsnpN1vrbTaSFDww TUELwkHZxGymg2B3zByPqwB4DkdUaM01sNCFJ5UWw2dV41Q7kLwmeNHLq+U+SwtyVtHY QrBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688563160; x=1691155160; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=igb0JyNsA2PhSTz0dTyRLO9tMn947tv2lHWj3R8IWaI=; b=TGB/ZD2gmv/8HD8TpB47kg67Yr3AqSrS/454Ze8rVKbpeMysuNZZsuDPXbBb1VZ1Be w+Hq4HHmMVTe+dL1b5sbVmSgkkP9dqLnMV4g/ssZprbMkza/i7J2pHM+tbO/0modB5up XKBSwOBXDYFpahUfpmiCp2HhfQTsZOFzZwpqg/PCCs7AlTG96AqtA2EGA3pGQiy9ltHW ptFJnRJdQ9U51BFvs2zg/xqoi+nHo4H4JHH2A6TfrSgxjktbyoWvdPNjW3sYQLa2/WFA SyLHFevuJL9XleJSGBojxBXOWJRz3Nnt6aIJc/D3opBNytwSW3wMJUTwlHPZljNuiOQJ 2w0Q== X-Gm-Message-State: ABy/qLYAQCgiCYAD1xDmrqmcFGzwsday84QaZEJuEr9DtUc/Bdx3CUnE /zsuCUFiNPysPMip5svnh9zBDinV14y4JXcQ/sk= X-Received: by 2002:aa7:c74c:0:b0:51e:22d8:178e with SMTP id c12-20020aa7c74c000000b0051e22d8178emr3472345eds.18.1688563159936; Wed, 05 Jul 2023 06:19:19 -0700 (PDT) Received: from m1x-phil.lan ([176.176.142.96]) by smtp.gmail.com with ESMTPSA id a17-20020a50ff11000000b0051a4fcf7187sm12859379edu.62.2023.07.05.06.19.15 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Wed, 05 Jul 2023 06:19:19 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Francisco Iglesias , =?utf-8?q?Alex_Benn=C3=A9e?= Subject: [PATCH v2 1/3] util/fifo8: Fix typo in fifo8_push_all() description Date: Wed, 5 Jul 2023 15:18:57 +0200 Message-Id: <20230705131859.53970-2-philmd@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230705131859.53970-1-philmd@linaro.org> References: <20230705131859.53970-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::52d; envelope-from=philmd@linaro.org; helo=mail-ed1-x52d.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Francisco Iglesias Reviewed-by: Alex Bennée --- include/qemu/fifo8.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/qemu/fifo8.h b/include/qemu/fifo8.h index 28bf2cee57..16be02f361 100644 --- a/include/qemu/fifo8.h +++ b/include/qemu/fifo8.h @@ -46,7 +46,7 @@ void fifo8_push(Fifo8 *fifo, uint8_t data); * fifo8_push_all: * @fifo: FIFO to push to * @data: data to push - * @size: number of bytes to push + * @num: number of bytes to push * * Push a byte array to the FIFO. Behaviour is undefined if the FIFO is full. * Clients are responsible for checking the space left in the FIFO using