All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] spi: spi-cadence: Update ISR status variable type to irqreturn_t
@ 2022-05-12 14:50 Amit Kumar Mahapatra
  2022-05-13 15:54 ` Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Amit Kumar Mahapatra @ 2022-05-12 14:50 UTC (permalink / raw)
  To: broonie; +Cc: linux-spi, linux-kernel, git, Amit Kumar Mahapatra

Data type of status variable, that hold the return value of the ISR,
should be irqreturn_t & not u32. This patch updates status variable type
to irqreturn_t.

Signed-off-by: Amit Kumar Mahapatra <amit.kumar-mahapatra@xilinx.com>
---
BRANCH: mtd/next
---
 drivers/spi/spi-cadence.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/spi/spi-cadence.c b/drivers/spi/spi-cadence.c
index ceb16e70d235..115164295a6d 100644
--- a/drivers/spi/spi-cadence.c
+++ b/drivers/spi/spi-cadence.c
@@ -342,7 +342,8 @@ static irqreturn_t cdns_spi_irq(int irq, void *dev_id)
 {
 	struct spi_master *master = dev_id;
 	struct cdns_spi *xspi = spi_master_get_devdata(master);
-	u32 intr_status, status;
+	irqreturn_t status;
+	u32 intr_status;
 
 	status = IRQ_NONE;
 	intr_status = cdns_spi_read(xspi, CDNS_SPI_ISR);
-- 
2.17.1


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

* Re: [PATCH] spi: spi-cadence: Update ISR status variable type to irqreturn_t
  2022-05-12 14:50 [PATCH] spi: spi-cadence: Update ISR status variable type to irqreturn_t Amit Kumar Mahapatra
@ 2022-05-13 15:54 ` Mark Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2022-05-13 15:54 UTC (permalink / raw)
  To: amit.kumar-mahapatra; +Cc: git, linux-spi, linux-kernel

On Thu, 12 May 2022 20:20:25 +0530, Amit Kumar Mahapatra wrote:
> Data type of status variable, that hold the return value of the ISR,
> should be irqreturn_t & not u32. This patch updates status variable type
> to irqreturn_t.
> 
> 

Applied to

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

Thanks!

[1/1] spi: spi-cadence: Update ISR status variable type to irqreturn_t
      commit: 22d35e40419a2ac0914fb6b05c8781c9af8d4126

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] 2+ messages in thread

end of thread, other threads:[~2022-05-13 15:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-12 14:50 [PATCH] spi: spi-cadence: Update ISR status variable type to irqreturn_t Amit Kumar Mahapatra
2022-05-13 15:54 ` Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.