[PATCH] spi: Revert "spi: Insert the missing pci_dev_put()before return"
Mark Brown
broonie at kernel.org
Tue Sep 3 14:07:52 PDT 2024
On Mon, 02 Sep 2024 17:43:06 -0700, Nathan Chancellor wrote:
> Commit 8a0ec8c2d736 ("spi: Insert the missing pci_dev_put()before
> return") added two uses of pci_dev_put() with an uninitialized dma_dev,
> resulting in the following compiler warnings (or errors with
> CONFIG_WERROR) when building with clang:
>
> drivers/spi/spi-pxa2xx-pci.c:150:15: error: variable 'dma_dev' is uninitialized when used here [-Werror,-Wuninitialized]
> 150 | pci_dev_put(dma_dev);
> | ^~~~~~~
> drivers/spi/spi-pxa2xx-pci.c:228:15: error: variable 'dma_dev' is uninitialized when used here [-Werror,-Wuninitialized]
> 228 | pci_dev_put(dma_dev);
> | ^~~~~~~
>
> [...]
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next
Thanks!
[1/1] spi: Revert "spi: Insert the missing pci_dev_put()before return"
commit: bf62a8c7908ee8e0ef61d27d9ff65bf12f41fb0a
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
More information about the linux-arm-kernel
mailing list