aboutsummaryrefslogtreecommitdiff
path: root/drivers/ata/sata.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2023-11-10 08:44:18 -0500
committerTom Rini <trini@konsulko.com>2023-11-10 11:01:51 -0500
commitbb7121f6aa644b72115a24f63d3ee6e52629cc99 (patch)
treeb5b6657bbb1ef0660a92f3d8e85c115b7713a12b /drivers/ata/sata.c
parenteda45ee3cbb2ed15aee79009638b3719fe5cbc1a (diff)
parenta3a884c697c3e016ff5625c56509a3d725a01bdb (diff)
downloadu-boot-bb7121f6aa644b72115a24f63d3ee6e52629cc99.zip
u-boot-bb7121f6aa644b72115a24f63d3ee6e52629cc99.tar.gz
u-boot-bb7121f6aa644b72115a24f63d3ee6e52629cc99.tar.bz2
Merge branch '2023-11-10-assorted-fixes'
- Fix some issues Coverity has reported, update MAINTAINERS file, another bootstd fix, typo fix in error message, gitignore fix and update TI's URL in many places.
Diffstat (limited to 'drivers/ata/sata.c')
-rw-r--r--drivers/ata/sata.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/sata.c b/drivers/ata/sata.c
index dcb5fcf..64fc078 100644
--- a/drivers/ata/sata.c
+++ b/drivers/ata/sata.c
@@ -65,7 +65,7 @@ int sata_rescan(bool verbose)
ret = uclass_find_first_device(UCLASS_AHCI, &dev);
if (ret || !dev) {
printf("Cannot find SATA device (err=%d)\n", ret);
- return -ENOSYS;
+ return -ENOENT;
}
ret = device_remove(dev, DM_REMOVE_NORMAL);