Message ID | 20220512145025.20205-1-amit.kumar-mahapatra@xilinx.com |
---|---|
State | Accepted |
Commit | 22d35e40419a2ac0914fb6b05c8781c9af8d4126 |
Headers | show |
Series | spi: spi-cadence: Update ISR status variable type to irqreturn_t | expand |
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
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);
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(-)