Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp1304135rdb; Wed, 24 Jan 2024 10:42:18 -0800 (PST) X-Google-Smtp-Source: AGHT+IFwk6V81u412kIAiaE8TRwPJXlWAdVdLbJabjSATymc66h98M1+JhT1Eq7a69hDAofVMlre X-Received: by 2002:a17:906:e2cb:b0:a30:93e3:11f8 with SMTP id gr11-20020a170906e2cb00b00a3093e311f8mr1133152ejb.52.1706121738258; Wed, 24 Jan 2024 10:42:18 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706121738; cv=pass; d=google.com; s=arc-20160816; b=fU6lW5vRWcj/TVIdnF0ATX+1Fd+pOVfX4A3Yzv4zEItpiDVOD4q5rtSNTAAVFJjzyn jahuDhNtktZqxsZiWqYzsD7HoOwX5AAT3KrntvkYBhDHoFPMAftznmjjhxOviLb6CP3P tsTbAUGIEAwiKmq00QCX+9OqrP5eyUGruS/fEbXw1xOjLLFIf6KW+8eVkbMUK4bqA7nL UmNERcM9QftL6r8gmGskVhrzCAMwbpICkSXarll9aH4DmL3M8hyutlTrCh/HdtrsKyn3 cs+5t/oBXW5Z6UbeESZaHznADeRKYNssb++idizUesWYwoOxfuy5YKc1QqxwTz4TJcQ2 ji/g== 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=RxOv4zXFEXbTTz5o4VQkN35VmDkMtqBn96C30LZl/VI=; fh=ZfN41g1j/swSX/1KLKeMDNxf+/HYZqBU6QgGWApbM8I=; b=YQ9ql3fzlA/RSK94oEI9em4ti0d36ARb0pQguofTiVU0zrtNXknsnZXP10L9YOBjIV bfStjYhPfLMKDPytT+boT3ykrgJyfAma9kUYp0ZhPWCwYNStp2byE2Pbb/E0JYu2GNX3 J/+ptuvYaW42CbNVS7/AspHdOwaRAQBeQA8YqIm3gMFUqfNnBR8bGbRR8G0Rk/mvJzzo tS5Ix4+4fq40bvjDwnbhm7+VZzmxUQgLZ/WUxjpicDRYS1tthgCmGSuYIbTpC43vrVtO TBq4MVdO66OQwuGeuklXwIUpFhjWDbzNIGaEZ0dmC/HIsEZqOatAiyrGCEN3KMHuOmvw Pm9w== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="Dcp0y/ua"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-37533-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-37533-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id fx16-20020a170906b75000b00a2c1b07bc59si128379ejb.894.2024.01.24.10.42.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jan 2024 10:42:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-37533-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="Dcp0y/ua"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-37533-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-37533-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 952D61F21F3B for ; Wed, 24 Jan 2024 18:41:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 327D4131735; Wed, 24 Jan 2024 18:41:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Dcp0y/ua" 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 5612A129A8D; Wed, 24 Jan 2024 18:40:58 +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=1706121659; cv=none; b=X1/j/is4TtfxTvPErykTye+abYc+wi3q9kGS1AqDn3HnheP6/uyAHe0Djr2IzXdW/KzIJN+93I/MsFi2abctpaPYGhhKXweiHVinPX7H0LuXEoSTnpaDgkJiXtDGrCIS4Ft1HIDRoJ7nroaR92y0ja0g24raOSU+5Z46+ZA2Czw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706121659; c=relaxed/simple; bh=CD0P2lw5oXLogRsRLzTek6ZfHZb81pFRquTqHx1bOgc=; h=From:To:Cc:In-Reply-To:References:Subject:Message-Id:Date: MIME-Version:Content-Type; b=B7yOussxJUdZByrzODA/90ACYQqYw5QkGimwYGyVicF7g8CxSnjBsOEe3z2ei/e7lzzuPnwC29x7DuAP1MkvPd2Pyq2pcRKD/FObyh0CXE5U+ldtM6cZLHqZr4kWY6ddPNPLJrjpsi3iDTZLnUJa4U0hHtNM1Rrq1rTSl9EEUns= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Dcp0y/ua; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 21A25C433F1; Wed, 24 Jan 2024 18:40:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706121658; bh=CD0P2lw5oXLogRsRLzTek6ZfHZb81pFRquTqHx1bOgc=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=Dcp0y/uah+1+g5RyWVip63ZQ5inphhK9LDiLCahWOg8RwUyordwtC7Ljlnlmd+ElD yiOAc2WPZhj+U6otS57YVyB22+ytDs0JjRhJ0HF/a/a0aK7lPOZwu3jjBrdXPZu3cn WZrGaeHVk8NfwwNpfbb8lwuDWczv76a7XG/vZkzcOt+1obPvuHQe24NVYd++4voF29 ZJrbIRvjZ0hJ+xhp1oNMp84TvYScFpyWrZSdwKUyYKgo3Nc53rkB/XFJWKr/rp7ugu S0PS/K1uHPDISpMzct+WwExPWs4szRwQTMZ2DuJzn5/bJsTCsTiCBHHK0nqcdBLaCd 3AM+CCGtIuyRg== From: Mark Brown To: David Lechner Cc: linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20240123214946.2616786-1-dlechner@baylibre.com> References: <20240123214946.2616786-1-dlechner@baylibre.com> Subject: Re: [PATCH] spi: consolidate setting message->spi Message-Id: <170612165784.61704.2785913923868327275.b4-ty@kernel.org> Date: Wed, 24 Jan 2024 18:40:57 +0000 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.13-dev-a684c On Tue, 23 Jan 2024 15:49:46 -0600, David Lechner wrote: > Previously, __spi_sync() and __spi_async() set message->spi to the spi > device independently after calling __spi_validate(). __spi_validate() > also would conditionally set this if it needed to split the message > since it wasn't set yet. > > Since both __spi_sync() and __spi_async() call __spi_validate(), we can > consolidate this into only setting message->spi once (unconditionally) > in __spi_validate(). This will also save any future callers of > __spi_validate() from also needing to set message->spi. > > [...] Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next Thanks! [1/1] spi: consolidate setting message->spi commit: b204aa0f99cfe3c9d796ecfc0bc6f3f89585789e 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