Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp484591lqm; Wed, 1 May 2024 06:53:39 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUw4JhU1y7dTy+C/SKWCCn/QVqFksNCxsxEysuvaFHbqCcDZcz0dU0n9F9NVboxTaNvVnuF0dbluY7t7Eywdks7ZZcQjF8Wfxv0GppYPg== X-Google-Smtp-Source: AGHT+IEH27VlNc7gGP29OmCIr71h5SC4kKZsVAqWH8iz6Fl7H2i4yCynN1XTxeufvjIUJ3+Er00N X-Received: by 2002:a05:6870:32c9:b0:21f:d2a2:7ff4 with SMTP id r9-20020a05687032c900b0021fd2a27ff4mr2847768oac.17.1714571619512; Wed, 01 May 2024 06:53:39 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714571619; cv=pass; d=google.com; s=arc-20160816; b=bCFEIuzmksivUaXvvxJGTapVDi4I4qbbIDY8j0rwG0gK1oGGajAdo1diWJV9yMwh68 VEUfKQMNy5pB0KE+iqEf0eCowt6sZ1T0oVoxaaavwXB57m5Z8IagDi6IRS0mDC6Ij3H/ S+jQwebTaKNI4/bRkXqxAEuC5V2XCiT8BGhC+mn1sakCYeEx4vcp8Fa0oy51UR03WWuo +TMxowCuJ7mJdK8/02Pi+ZWOliUJBGOT5nppfbQ3tj8tqBC88ME5edJ0TZptshjxqsc+ 9i7a7EECYonKtUuxBOpcNFsmv6V7cho3xFb0G2RW1GTtTDKGh+E9jwzJc8sBpIb2C5wi 5qJA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:subject :references:in-reply-to:cc:to:from:dkim-signature; bh=Oidj4YY/+5U+FAl6ZxLH/UQ9YFMBzdmaelVCIc5D4iY=; fh=ZfN41g1j/swSX/1KLKeMDNxf+/HYZqBU6QgGWApbM8I=; b=poAtxzViWyEpbFncPyRuhpIJsjNlLmzt8xlxDwsFwJ2SRzrwiS8nxXOJGlddEmdjgU Wl2ktMKWFM2llwlLkUT1HVkCTMrioAecT+KaSoz5iWI8cjFH2Ab3u+8ML84glTv0m8me Fi5REUjj1CkyVK2MUTdpcRG3x65DdblO2dTojU9MRyhij70/e6WIlweqv/lbl7Ec4VQR 5ECjFUGMVj/wMryfsiSjAOxOGdqkKiggpcvznOoMuCM0cv/pmhm129ILUNhNGw45k5Bt 0slmIJJvsJFtivrU3NuryMCRgG6z1Oz0+/5ptKBgMa/exR04iEFL3eAUVxOh/kZ5Qx4f 6xPw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=oPSqO9SA; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-165341-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-165341-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id k13-20020a05622a03cd00b0043c5d23ec79si3220245qtx.412.2024.05.01.06.53.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 May 2024 06:53:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-165341-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=oPSqO9SA; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-165341-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-165341-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 1A2041C225F7 for ; Wed, 1 May 2024 13:53:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3EDC512EBD4; Wed, 1 May 2024 13:53:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="oPSqO9SA" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6610650A77; Wed, 1 May 2024 13:53:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714571612; cv=none; b=L7bsDc66kM7W6qjBSTF7vdU4SWI0r8CjLUsRDqLZQd08Qi/xeTKFC1UkKrw21XkqfreijfEhib8vyvdMBavpLYeEWwRTYOl3l/8xQDzk3Eo16D02zxqgzceXwc/uE/4xCIkH4W0OjeyZb88qYQSuUa2JcQtmRlM5/jt3Xap4S4E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714571612; c=relaxed/simple; bh=ogGN1CSAXwPbhMIYqiPfxTqJzxX1ZSV0pCZcbe3qHEo=; h=From:To:Cc:In-Reply-To:References:Subject:Message-Id:Date: MIME-Version:Content-Type; b=MBe2ko3dqUQqfljHzZ6/7qa5Ic+s5+2j53u7dyk5IUy9nfsmBJzg5dgEvoEReEfup2OeRJJYzvfQvAv6ko5P0ONikL3VRFD9/nI5IrGmzUjH4wtxAxOdshxAt6oH+0nduBhifwJyVkaLOeeL/zcZ9vRtnllaaBf6BWJMFPKAjk4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=oPSqO9SA; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 28154C072AA; Wed, 1 May 2024 13:53:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714571612; bh=ogGN1CSAXwPbhMIYqiPfxTqJzxX1ZSV0pCZcbe3qHEo=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=oPSqO9SATCegMTdo7ZmYyVUXldX3K8ZAi3gbZ5lkUhtZrRKQ2OwCFRyQzyCPZKAPU yu+c3TwDvhOypRDPY9acnNqf45eCF77EMHGdGsE6YF7pTIzPHmOgSqcfhvqQm0AYtZ tHQSHx9otPqe28C21joxq6CVDXE5xcJyXtXSCcZ4chQ0MTfIjcQGdZXDtWgpG9t1lu B9flD2JYwQPA2Qh1AiaVHz392kYVKZEDkkpjCFRhBZJGUQDhcP0NUMl5I4LvTbPPjU ipLzkVJQjMtkhczoYiRfeH61cEwUs8YtOLXfjZCluKeP5Hp8p+aSQ8NJT2ru3fHmcz ZGVtZlWy6Llxw== From: Mark Brown To: David Lechner Cc: linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20240430201530.2138095-3-dlechner@baylibre.com> References: <20240430201530.2138095-3-dlechner@baylibre.com> Subject: Re: [PATCH] spi: use spi_valid_{tx,rx}buf() in stats function Message-Id: <171457161096.1895134.6406701144807353881.b4-ty@kernel.org> Date: Wed, 01 May 2024 22:53:30 +0900 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.14-dev On Tue, 30 Apr 2024 15:15:27 -0500, David Lechner wrote: > There are macros spi_valid_txbuf() and spi_valid_rxbuf() for determining > if an xfer actually intended to send or receive data. > > These checks were hard-coded in spi_statistics_add_transfer_stats(). We > can make use of the macros instead to make the code more readable and > more robust against potential future changes in case the definition of > what valid means changes. > > [...] Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next Thanks! [1/1] spi: use spi_valid_{tx,rx}buf() in stats function commit: 52267fe8456a2a05f70b29d68292eec789c960b9 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark