aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorDave Jiang <[email protected]>2023-03-11 15:40:16 +0100
committerDan Williams <[email protected]>2023-04-18 10:36:58 -0700
commit7a877c923995b8257069209b1d757735af4f4ce0 (patch)
tree0d7114e80265ec0b556274f754a5c6666b233318 /scripts/generate_rust_analyzer.py
parentcedf8d8a5013ce515df2edbc52575614f3409593 (diff)
cxl/pci: Simplify CDAT retrieval error path
The cdat.table and cdat.length fields in struct cxl_port are set before CDAT retrieval and must therefore be unset on failure. Simplify by setting only on success. Suggested-by: Jonathan Cameron <[email protected]> Link: https://lore.kernel.org/linux-cxl/[email protected]/ Signed-off-by: Dave Jiang <[email protected]> [lukas: rebase and rephrase commit message] Signed-off-by: Lukas Wunner <[email protected]> Reviewed-by: Ira Weiny <[email protected]> Reviewed-by: Jonathan Cameron <[email protected]> Acked-by: Bjorn Helgaas <[email protected]> Link: https://lore.kernel.org/r/7a5c7104fb6a3016dbaec1c5d0ed34619ea11a0c.1678543498.git.lukas@wunner.de Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions