Received: by 2002:a05:6358:51dd:b0:131:369:b2a3 with SMTP id 29csp1053192rwl; Thu, 10 Aug 2023 05:57:27 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGymQ5sB6ClZADTFw2hE7jjz776eOIsfAw6SiTGEg76cu6as28JdX/YAYZG3PcCBtL9Lc8v X-Received: by 2002:a05:6512:20d2:b0:4fe:f2e:6cfd with SMTP id u18-20020a05651220d200b004fe0f2e6cfdmr1550953lfr.62.1691672247230; Thu, 10 Aug 2023 05:57:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691672247; cv=none; d=google.com; s=arc-20160816; b=tQ55MFncgk2tXYrZYo1Cx7uAHICpuPnucf4YwFJuvOYbmtZaG6kYLOUtTRI0gXE5zv lg/cjPWkgeGYw1fd3igpYuPGqLg+Va6ea4NU92VMt/OSBK7Vg6wHHE2NTRLqyT5tjg12 gWgrIR1hm8/Br5HfrfVIN63dlPIm1ju1EuvUbQ2DxAjnWUhZ0ghSxKXR3AuEYT249G6G f6OEMMjcuRsr9WH4J10aZnlj/K+sxD6U9nhV6Y4G0+4utUj9sOzuLHvI4AfdEDg3dbF4 LvxgnDB5q6kuRjykfFWKuhu/VylIOwcxtEJwBe9hNEhTIbftf+JovbzqXdmxSnAkGCA6 p7Dw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Flb314E8+XpMsWMNCL0KF8esyb6pnDbUg3vUW0fim3c=; fh=T1bHMFHjhz0wtVdzs3HcLsJTFpN3zgR6Xbsh+hoFoV0=; b=Z7BpaDX0YppdtRmK63Xo47TUN34DqwoZecwmumeyQYvh635jT1d8EZOTCUEKavZdXR N8I5Zt6wO2KV5G9LvtHGEYflbE63D8fT8acZwXAANlnn+ktgfQ9+4/Sgnlic1+Jb22nO 96GjgCrLT/9plC3A2e6Hq2GrftDZIRtw1Db5Hdpt0P+PAg3qGkyZRr1MHRmSgs+iOg8W qRLqg+NvM1pevtKPE1nfS75+1bMs9bodTCPig1O93KAZ+x5+htC1sUpLxR39p57oI7vq xBwWFK1jheaUGNjhsxX77T/lYeBUIibV6zqk1DHhWOu5l9tyHxQMP2n7JOqK8PqY/GdF NpUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sQuo5oNt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k12-20020a170906578c00b00982818cbb54si1378649ejq.593.2023.08.10.05.57.02; Thu, 10 Aug 2023 05:57:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sQuo5oNt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232212AbjHJMCe (ORCPT + 99 others); Thu, 10 Aug 2023 08:02:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56956 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229447AbjHJMCd (ORCPT ); Thu, 10 Aug 2023 08:02:33 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8E7B9E4B; Thu, 10 Aug 2023 05:02:33 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 22C6C65A36; Thu, 10 Aug 2023 12:02:33 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 12FC5C433C8; Thu, 10 Aug 2023 12:02:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1691668952; bh=Flb314E8+XpMsWMNCL0KF8esyb6pnDbUg3vUW0fim3c=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=sQuo5oNtx5gCDoVT4B+DHqgnxpzCZVFEUXvlYPEK/8mnc95hPofleyhVYQJcyidfV z710g80hO9qV1esvF039guna7p44V2/op+zkSswPOAzvSE33jNuCPVEZZrMFqxe3/g xH/0yNxTJFVnXH+AS2iwmimbgodnJhr0+DulL/B65B2YtTWB9vBNEKxv75YFoyxTvr f6z+9gI/CPkdcF5AYr/WTfGQ/ImRm8AI/fDAHhZN3sBOsG5bCncmHqujCPyxCddm/x IgcFQLmFUVDXBk2yYmUpfjhwcEvBNsT1YWwfy+CsPiNTuiFf30L1Vf3cF4qL3IzgWc M1iHR+bFosP/A== Date: Thu, 10 Aug 2023 13:02:24 +0100 From: Mark Brown To: "Jiri Slaby (SUSE)" Cc: gregkh@linuxfoundation.org, linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, William Hubbs , Chris Brannon , Kirk Reiser , Samuel Thibault , Marcel Holtmann , Johan Hedberg , Luiz Augusto von Dentz , Dmitry Torokhov , Arnd Bergmann , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Max Staudt , Wolfgang Grandegger , Marc Kleine-Budde , Dario Binacchi , Andreas Koensgen , Jeremy Kerr , Matt Johnston , Krzysztof Kozlowski , Liam Girdwood , Jaroslav Kysela , Takashi Iwai Subject: Re: [PATCH 15/36] tty: make tty_ldisc_ops::*buf*() hooks operate on size_t Message-ID: References: <20230810091510.13006-1-jirislaby@kernel.org> <20230810091510.13006-16-jirislaby@kernel.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="YR7hXufDv/FOrPRU" Content-Disposition: inline In-Reply-To: <20230810091510.13006-16-jirislaby@kernel.org> X-Cookie: Reunite Gondwondaland! X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --YR7hXufDv/FOrPRU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Aug 10, 2023 at 11:14:49AM +0200, Jiri Slaby (SUSE) wrote: > Count passed to tty_ldisc_ops::receive_buf*(), ::lookahead_buf(), and > returned from ::receive_buf2() is expected to be size_t. So set it to > size_t to unify with the rest of the code. Acked-by: Mark Brown --YR7hXufDv/FOrPRU Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmTU0c8ACgkQJNaLcl1U h9B//gf/QQsLvV/Zh45033FGzk9nfHoFDvJoH7d8FRPLx6yuxl6LFzYEuYfQPyM2 eltADh3CpOxMHHaL2wE4gTLpRHiXobRzrDQmD5o07ysG4QpoeujKDkgvAtKd3vn6 krU69BeXiEPdv8Yp2GlTFDhCKwKOLqVcuE9iIBOjzYnFeG9P+Y2YZGcDla3Tedf8 bSIAZ3fzDlWdApM4WkmoIuzqY1W+VDD73ROSqXTrKYfO9tyNMpYCBRJ0IYgnN3P6 9hrI/W5QdIyL5jshqWmmBt4Og2ji2vFL5ZtVE7n5pzQrseW9Hk1cMc35GfcvTXaN 5cCJ7gibH06DZNeY8sX2jT23h6a+nw== =00Rv -----END PGP SIGNATURE----- --YR7hXufDv/FOrPRU--