diff options
| author | 2025-08-01 16:34:45 +0300 | |
|---|---|---|
| committer | 2025-08-11 16:28:33 +0530 | |
| commit | 57a75fa9d56e310e883e4377205690e88c05781b (patch) | |
| tree | 07771843ba6a8163ab189e893cd55f162bc7e79f /drivers/misc/pci_endpoint_test.c | |
| parent | Linux 6.17-rc1 (diff) | |
| download | linux-rng-57a75fa9d56e310e883e4377205690e88c05781b.tar.xz linux-rng-57a75fa9d56e310e883e4377205690e88c05781b.zip | |
PCI: endpoint: pci-ep-msi: Fix NULL vs IS_ERR() check in pci_epf_write_msi_msg()
The pci_epc_get() function returns error pointers. It never returns NULL.
Update the check to match.
Fixes: 1c3b002c6bf6 ("PCI: endpoint: Add RC-to-EP doorbell support using platform MSI controller")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Signed-off-by: Manivannan Sadhasivam <mani@kernel.org>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Link: https://patch.msgid.link/aIzCdV8jyBeql-Oa@stanley.mountain
Diffstat (limited to 'drivers/misc/pci_endpoint_test.c')
0 files changed, 0 insertions, 0 deletions
