linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 0/1] spi: spi-gxp: BUG: Correct spi write return value
@ 2023-09-20 21:53 charles.kearney
  2023-09-20 21:53 ` [PATCH v1 1/1] " charles.kearney
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: charles.kearney @ 2023-09-20 21:53 UTC (permalink / raw)
  To: charles.kearney, verdun, nick.hawkins, broonie, linux-spi,
	linux-kernel

From: Charles Kearney <charles.kearney@hpe.com>

Bug fix to correct return value of gxp_spi_write function to zero.
Completion of succesful operation should return zero.

Fixes: 730bc8ba5e9e spi: spi-gxp: Add support for HPE GXP SoCs

Charles Kearney (1):
  spi: spi-gxp: BUG: Correct spi write return value

 drivers/spi/spi-gxp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH v1 1/1] spi: spi-gxp: BUG: Correct spi write return value
  2023-09-20 21:53 [PATCH v1 0/1] spi: spi-gxp: BUG: Correct spi write return value charles.kearney
@ 2023-09-20 21:53 ` charles.kearney
  2023-09-27 15:06 ` [PATCH v1 0/1] " Mark Brown
  2023-09-28  8:35 ` Mark Brown
  2 siblings, 0 replies; 4+ messages in thread
From: charles.kearney @ 2023-09-20 21:53 UTC (permalink / raw)
  To: charles.kearney, verdun, nick.hawkins, broonie, linux-spi,
	linux-kernel

From: Charles Kearney <charles.kearney@hpe.com>

Bug fix to correct return value of gxp_spi_write function to zero.
Completion of succesful operation should return zero.

Fixes: 730bc8ba5e9e spi: spi-gxp: Add support for HPE GXP SoCs

Signed-off-by: Charles Kearney <charles.kearney@hpe.com>
---
 drivers/spi/spi-gxp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/spi/spi-gxp.c b/drivers/spi/spi-gxp.c
index fd2fac236bbd..3aff5a166c94 100644
--- a/drivers/spi/spi-gxp.c
+++ b/drivers/spi/spi-gxp.c
@@ -194,7 +194,7 @@ static ssize_t gxp_spi_write(struct gxp_spi_chip *chip, const struct spi_mem_op
 		return ret;
 	}
 
-	return write_len;
+	return 0;
 }
 
 static int do_gxp_exec_mem_op(struct spi_mem *mem, const struct spi_mem_op *op)
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH v1 0/1] spi: spi-gxp: BUG: Correct spi write return value
  2023-09-20 21:53 [PATCH v1 0/1] spi: spi-gxp: BUG: Correct spi write return value charles.kearney
  2023-09-20 21:53 ` [PATCH v1 1/1] " charles.kearney
@ 2023-09-27 15:06 ` Mark Brown
  2023-09-28  8:35 ` Mark Brown
  2 siblings, 0 replies; 4+ messages in thread
From: Mark Brown @ 2023-09-27 15:06 UTC (permalink / raw)
  To: charles.kearney; +Cc: verdun, nick.hawkins, linux-spi, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 562 bytes --]

On Wed, Sep 20, 2023 at 09:53:38PM +0000, charles.kearney@hpe.com wrote:
> From: Charles Kearney <charles.kearney@hpe.com>
> 
> Bug fix to correct return value of gxp_spi_write function to zero.
> Completion of succesful operation should return zero.

Please don't send cover letters for single patches, if there is anything
that needs saying put it in the changelog of the patch or after the ---
if it's administrative stuff.  This reduces mail volume and ensures that 
any important information is recorded in the changelog rather than being
lost. 

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH v1 0/1] spi: spi-gxp: BUG: Correct spi write return value
  2023-09-20 21:53 [PATCH v1 0/1] spi: spi-gxp: BUG: Correct spi write return value charles.kearney
  2023-09-20 21:53 ` [PATCH v1 1/1] " charles.kearney
  2023-09-27 15:06 ` [PATCH v1 0/1] " Mark Brown
@ 2023-09-28  8:35 ` Mark Brown
  2 siblings, 0 replies; 4+ messages in thread
From: Mark Brown @ 2023-09-28  8:35 UTC (permalink / raw)
  To: verdun, nick.hawkins, linux-spi, linux-kernel, charles.kearney

On Wed, 20 Sep 2023 21:53:38 +0000, charles.kearney@hpe.com wrote:
> Bug fix to correct return value of gxp_spi_write function to zero.
> Completion of succesful operation should return zero.
> 
> Fixes: 730bc8ba5e9e spi: spi-gxp: Add support for HPE GXP SoCs
> 
> Charles Kearney (1):
>   spi: spi-gxp: BUG: Correct spi write return value
> 
> [...]

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next

Thanks!

[1/1] spi: spi-gxp: BUG: Correct spi write return value
      commit: 1a8196a93e493c0a50b800cb09cef60b124eee15

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-09-28  8:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-20 21:53 [PATCH v1 0/1] spi: spi-gxp: BUG: Correct spi write return value charles.kearney
2023-09-20 21:53 ` [PATCH v1 1/1] " charles.kearney
2023-09-27 15:06 ` [PATCH v1 0/1] " Mark Brown
2023-09-28  8:35 ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).