Message ID | 20240131170732.1665105-1-dlechner@baylibre.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-46873-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2087:b0:106:209c:c626 with SMTP id gs7csp2033582dyb; Wed, 31 Jan 2024 09:12:21 -0800 (PST) X-Google-Smtp-Source: AGHT+IH2SZ3iwK3IYVJ+s38fzFfx/+F5TJsgAoYB7KIraQaMon+2+43o27lFC2tLaxne3yBekqBz X-Received: by 2002:a05:6a00:13aa:b0:6de:1b5a:82dc with SMTP id t42-20020a056a0013aa00b006de1b5a82dcmr2551155pfg.6.1706721141052; Wed, 31 Jan 2024 09:12:21 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706721141; cv=pass; d=google.com; s=arc-20160816; b=cBv9N+FY1ig8UnGskjZYY1Fw8j8zlCV43HXBogD9zTuL/7zXaVRR+G3sma3yi1c/Oc 8eTY9DRrlEJPaFxXrTyqPq8+HGsuEYmq0zGyHblfP/0y1K/MgUUD70+mctZs+dFUokaL M/3ubq/6ilcDmLP98rRdzywLID69gVgcyzeAjRftOcXx58ytJkUtjLzadTPE7brbhMXP 5MvcMOhWI8UPH40962RzfX7qzhFBKu733G9I3a0rJBKKcdKggMZGirOtaNdxHtUDc9j4 4B8SC1tg3QrMHpvE0ocU/3qPNdzfMIxw4MycB0oGAt3H8tqEiR2CjwDbHn2b5gM+p9AR hFUg== 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:message-id:date:subject:cc:to :from:dkim-signature; bh=YsWJv1YW4mhJWkcBD7g/IeRgffr84y0Zx7w3aumJlrI=; fh=X+GRmR6M1/uBjwC/I8QXZZJeODll5fbtR6jAiu5DfI4=; b=JI5eM9ky+rof4BNxkidQBCY3BsnUn2r91HSYM6zPBmbAFxspVZZe2lBQ2cYBoHQan1 tVKl6irdGSobHh7zP9ntQGgA/pHlv8VeNIVgeyYyWklfah6fhQPQTCH0pytBkytb8fRO FkDWN+jkIE1Ai2mEFMZb1WrRseI84BA4UzP+OB/7P9DUDLY2p5UzoYzwT8dW12gLWR4q ji8VKX1b3bbJ5lEh0Xp1NszxLeaqkGvwmcJtE1w3ZUeyZA3PDFlLubmEzEnHwE+7e6kQ 1oGhWfc4Gc2AaqjZ8MgNLqBV3djsF7JhqV0d6vhATvzoWxjj5CLTX8hUv/rbOZLdUhNx NQlw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b=mlmFQn8e; arc=pass (i=1 spf=pass spfdomain=baylibre.com dkim=pass dkdomain=baylibre-com.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-46873-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-46873-ouuuleilei=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=1; AJvYcCXzO7cRFjINoMpkGyzsi3K5Z8J66V8Nyee9TYwL/V52JdSd6RmO9nFtPnm6+Be1uPcJPgvtIMowkWJOGVdTzpE9On6qKQ== Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id m11-20020a62f20b000000b006ddc27ea59csi9976186pfh.64.2024.01.31.09.12.20 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Jan 2024 09:12:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-46873-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b=mlmFQn8e; arc=pass (i=1 spf=pass spfdomain=baylibre.com dkim=pass dkdomain=baylibre-com.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-46873-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-46873-ouuuleilei=gmail.com@vger.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 910552879AE for <ouuuleilei@gmail.com>; Wed, 31 Jan 2024 17:10:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4539A12F582; Wed, 31 Jan 2024 17:08:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b="mlmFQn8e" Received: from mail-oi1-f175.google.com (mail-oi1-f175.google.com [209.85.167.175]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 17A2C12BE9D for <linux-kernel@vger.kernel.org>; Wed, 31 Jan 2024 17:08:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.175 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706720889; cv=none; b=hYJ7bBwjJl47NbAnRvnoDhT5FfNTqkDkzygUlpYfL81RNEBJaovb5xwV366ocVf7BZP9UodYWLvyLdXK/H/vXxm2Ig06yQGt8AFMQzktNVt9UrIAn1KtLdYEc3o87XRWN1O4e1y5fmEEtZGWhw+kb85KGqlecqV6o+4f3Gum9T8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706720889; c=relaxed/simple; bh=FrKnpE9BAaffQIFRBM9a3DlzX2WfYlcOBOsYnXbceHQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=AIWZCgr6V1lLYPDDEnTtnEOPJomDifEQakFdd5QQnrnNVpgLHvQUFRD/CmgKk8pipimGP72Nj0pKTDxtvvCOTEZdJCVUbhG3Bfyci7/n47VeqPWwPeN4PWcNHw9nMlsha5YtY5ojc8/U/FLO2q13uE11TcdXmraxJ1cGWbCiwmo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b=mlmFQn8e; arc=none smtp.client-ip=209.85.167.175 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=baylibre.com Received: by mail-oi1-f175.google.com with SMTP id 5614622812f47-3bd4e6a7cb0so3672116b6e.3 for <linux-kernel@vger.kernel.org>; Wed, 31 Jan 2024 09:08:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1706720885; x=1707325685; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=YsWJv1YW4mhJWkcBD7g/IeRgffr84y0Zx7w3aumJlrI=; b=mlmFQn8eKwqYWwHOgfHyqQNGsF6Nb0DZpcUZhUhtMq19vxxP/mq0n58F7FfjWeMPat ItAMbadSprSDNi9IHfuhNwXfMbqWS7LwNgK1VcYcmeCthOkHuiGenlql+Nlr8/Kv65rD bkGc+KmexC05zM5S72iBTsG4h2JLOBmA6B5awZmS/UZT3leEqipKMqg3v5PyVssoDQ5E Ynrkz2vOg7eSTUQSg/GfvXvy5rD2sRhs8UTaNCuVOXqAExKZDTowFjsoMQRE3tqtN/Y1 Keimx4PQVtQp0HOMJvRy7ah/2pbQflXpn5u2Qs4lY1VfsFIigcDE1UcljflsS4A3TUG7 ydeg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706720885; x=1707325685; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=YsWJv1YW4mhJWkcBD7g/IeRgffr84y0Zx7w3aumJlrI=; b=exLZ8l20axu2Z+aNIRj9pkA26TIKkiMJBvsAvgaD0wF7bY7dek9R59jW72PmDzwYrB izwQKpjnvuvLp8lFodTtawR3Bxfyzjk7cL4tSU8VGJtxdnfvg2n0wO6HHKqnMZB8OtzD t9dKFqKJBuolo15E3mX0+d96oxvnrUtlhTn+2XUUtWKWWYN9m28rYTLL1KRoykCHBRL+ 8Bt4wg8zovBmroe7YxpH9JohcQPr708vefCUFY5VSToeXVyfXbY+o+UuLqEW6la+SkNn 6LSbGDiN8Rek70gWOolFLmAdefGW6QSp0XMI8kuzZKpzY8B9uDo+1HSXh6xuV5RICl2G rUjA== X-Gm-Message-State: AOJu0YxyMPGiiG2VxhO5jw8IakAgarbAN4C3E+aBhnUH6bN5O52gaAnH oJMQUqTc7INaqrshI1USzYw9UsPMoUsQqcXf0aRhtF9+Nnr0NAPS3fajkJafzqA= X-Received: by 2002:a05:6808:4442:b0:3be:a35b:d08b with SMTP id ep2-20020a056808444200b003bea35bd08bmr2038341oib.53.1706720884989; Wed, 31 Jan 2024 09:08:04 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCW5pQosX2B3ZPYTxR+xO4xKBgsz9ApnJjaj6SfMCNG8d3wh8LzQSWGpkENbrD5cPpQHIiZQOH7n1FiKuq+zwEKJraNfVwo+hzL3Zsu+jP0tY4tkCl/0UhTZD4tnPywnMDHJ8HIw+pkP Received: from freyr.lechnology.com (ip98-183-112-25.ok.ok.cox.net. [98.183.112.25]) by smtp.gmail.com with ESMTPSA id fa21-20020a0568082a5500b003bed47158basm48965oib.57.2024.01.31.09.08.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Jan 2024 09:08:04 -0800 (PST) From: David Lechner <dlechner@baylibre.com> To: Mark Brown <broonie@kernel.org> Cc: David Lechner <dlechner@baylibre.com>, linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] spi: reorder spi_message struct member doc comments Date: Wed, 31 Jan 2024 11:07:27 -0600 Message-ID: <20240131170732.1665105-1-dlechner@baylibre.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789626827119126561 X-GMAIL-MSGID: 1789626827119126561 |
Series |
spi: reorder spi_message struct member doc comments
|
|
Commit Message
David Lechner
Jan. 31, 2024, 5:07 p.m. UTC
The members of `struct spi_message` were reordered in commit
ae2ade4ba581 ("spi: Reorder fields in 'struct spi_message'")
but the documentation comments were not updated to match.
This commit updates the comments to match the new order.
Signed-off-by: David Lechner <dlechner@baylibre.com>
---
include/linux/spi/spi.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Comments
On Wed, 31 Jan 2024 11:07:27 -0600, David Lechner wrote: > The members of `struct spi_message` were reordered in commit > ae2ade4ba581 ("spi: Reorder fields in 'struct spi_message'") > but the documentation comments were not updated to match. > > This commit updates the comments to match the new order. > > > [...] Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next Thanks! [1/1] spi: reorder spi_message struct member doc comments commit: e6c5812dc4d0b3e890608cb9c98597d1bed7e937 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
diff --git a/include/linux/spi/spi.h b/include/linux/spi/spi.h index 979cde8263df..61636b3209fb 100644 --- a/include/linux/spi/spi.h +++ b/include/linux/spi/spi.h @@ -1113,16 +1113,16 @@ struct spi_transfer { * @spi: SPI device to which the transaction is queued * @is_dma_mapped: if true, the caller provided both DMA and CPU virtual * addresses for each transfer buffer + * @prepared: spi_prepare_message was called for the this message + * @status: zero for success, else negative errno * @complete: called to report transaction completions * @context: the argument to complete() when it's called * @frame_length: the total number of bytes in the message * @actual_length: the total number of bytes that were transferred in all * successful segments - * @status: zero for success, else negative errno * @queue: for use by whichever driver currently owns the message * @state: for use by whichever driver currently owns the message * @resources: for resource management when the SPI message is processed - * @prepared: spi_prepare_message was called for the this message * * A @spi_message is used to execute an atomic sequence of data transfers, * each represented by a struct spi_transfer. The sequence is "atomic"