aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/microchip-spi.c
diff options
context:
space:
mode:
authorDave Jiang <[email protected]>2023-05-13 07:20:06 +0000
committerDan Williams <[email protected]>2023-05-13 07:20:06 +0000
commit764d102ef94e880ca834a7fe3968a00a05b1fb12 (patch)
treefd5cea574eada0b3e3c570d3069feb9b578697de /drivers/fpga/microchip-spi.c
parenttools/testing/cxl: Use DEFINE_STATIC_SRCU() (diff)
downloadkernel-764d102ef94e880ca834a7fe3968a00a05b1fb12.tar.gz
kernel-764d102ef94e880ca834a7fe3968a00a05b1fb12.zip
cxl: Add missing return to cdat read error path
Add a return to the error path when cxl_cdat_read_table() fails. Current code continues with the table pointer points to freed memory. Fixes: 7a877c923995 ("cxl/pci: Simplify CDAT retrieval error path") Signed-off-by: Dave Jiang <[email protected]> Reviewed-by: Davidlohr Bueso <[email protected]> Link: https://lore.kernel.org/r/168382793506.3510737.4792518576623749076.stgit@djiang5-mobl3 Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'drivers/fpga/microchip-spi.c')
0 files changed, 0 insertions, 0 deletions