aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorSu Hui <[email protected]>2023-12-01 10:59:55 +0800
committerMartin K. Petersen <[email protected]>2023-12-05 21:18:40 -0500
commit70dfaf84ec777c0590316a8785df22ca5e97bf10 (patch)
tree2cbb19e73aee4f4ed5871b4fd6091b237f9e0787 /scripts/generate_rust_analyzer.py
parent573eb4a3410a9d4e0612cca50e2c67a46c3824f0 (diff)
scsi: aic7xxx: Return ahc_linux_register_host()'s value rather than zero
ahc_linux_register_host() can return an error code in case of failure. So ahc_linux_pci_dev_probe() should return the value of ahc_linux_register_host() rather than zero. An earlier commit made ahc_linux_register_host() return negative error codes, which makes sure ahc_linux_pci_dev_probe() returns negative error codes. Signed-off-by: Su Hui <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Dan Carpenter <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions