Skip to contentSkip to conversation

spi: spi-cadence: Update ISR status variable type to irqreturn_t

PATCH In review Amit Kumar Mahapatra 2 participants 2 messages May 12, 2022 – May 13, 2022 SPI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 spi: spi-cadence: Update ISR status variable type to irqreturn_t

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.

---
BRANCH: mtd/next

---
 drivers/spi/spi-cadence.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/spi/spi-cadence.c +2 -1
index ceb16e70d235..115164295a6d 100644
@@ -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);
Signature · 1 line
2.17.1
maintainer
#1 lore raw
Quoted 5 lines · 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.

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