summaryrefslogtreecommitdiff
path: root/components/drivers/sdio
diff options
context:
space:
mode:
author7YZ7 <[email protected]>2023-04-18 10:26:23 +0800
committerGitHub <[email protected]>2023-04-17 22:26:23 -0400
commit501b22aabede2d4e179bfc47f3b75522e5933da4 (patch)
tree2a4c160aabc412aaded6b83ec22238bf37cab30c /components/drivers/sdio
parent3f44132ade0d45e7851f46d6bb1241d10eccfff5 (diff)
[HUST CSE] Fix many abnormal symbols in annotations and format code
Diffstat (limited to 'components/drivers/sdio')
-rw-r--r--components/drivers/sdio/block_dev.c2
-rw-r--r--components/drivers/sdio/gpt.c10
-rw-r--r--components/drivers/sdio/mmc.c2
-rw-r--r--components/drivers/sdio/mmcsd_core.c2
-rw-r--r--components/drivers/sdio/sd.c2
-rw-r--r--components/drivers/sdio/sdio.c2
6 files changed, 10 insertions, 10 deletions
diff --git a/components/drivers/sdio/block_dev.c b/components/drivers/sdio/block_dev.c
index 0025e7f08a..1cdcec22b0 100644
--- a/components/drivers/sdio/block_dev.c
+++ b/components/drivers/sdio/block_dev.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2006-2021, RT-Thread Development Team
+ * Copyright (c) 2006-2023, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
diff --git a/components/drivers/sdio/gpt.c b/components/drivers/sdio/gpt.c
index 19bc1ad453..e8368ce529 100644
--- a/components/drivers/sdio/gpt.c
+++ b/components/drivers/sdio/gpt.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2006-2021, RT-Thread Development Team
+ * Copyright (c) 2006-2023, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
@@ -178,14 +178,14 @@ static gpt_header *alloc_read_gpt_header(struct rt_mmcsd_card *card, size_t lba)
return RT_NULL;
}
gpt = (gpt_header *)buf;
-
+
return gpt;
}
static int is_gpt_valid(struct rt_mmcsd_card *card, size_t lba, gpt_header **gpt, gpt_entry **ptes)
{
size_t lastlba;
-
+
if (!ptes)
{
return 0;
@@ -395,7 +395,7 @@ static void compare_gpts(gpt_header *pgpt, gpt_header *agpt, size_t lastlba)
if (error_found)
{
- LOG_I("GPT: Use GNU Parted to correct GPT errors.");
+ LOG_I("GPT: Use GNU Parted to correct GPT errors.");
}
return;
}
@@ -540,7 +540,7 @@ int gpt_get_partition_param(struct rt_mmcsd_card *card, struct dfs_partition *pa
if ((part->size >> 11) == 0)
{
- rt_kprintf("%d%s", part->size >> 1, "KB\n"); /* KB */
+ rt_kprintf("%d%s", part->size >> 1, "KB\n"); /* KB */
}
else
{
diff --git a/components/drivers/sdio/mmc.c b/components/drivers/sdio/mmc.c
index e1dc3cf957..567c1a4fa5 100644
--- a/components/drivers/sdio/mmc.c
+++ b/components/drivers/sdio/mmc.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2006-2021, RT-Thread Development Team
+ * Copyright (c) 2006-2023, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
diff --git a/components/drivers/sdio/mmcsd_core.c b/components/drivers/sdio/mmcsd_core.c
index f896901804..77570268c1 100644
--- a/components/drivers/sdio/mmcsd_core.c
+++ b/components/drivers/sdio/mmcsd_core.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2006-2021, RT-Thread Development Team
+ * Copyright (c) 2006-2023, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
diff --git a/components/drivers/sdio/sd.c b/components/drivers/sdio/sd.c
index de816f1e80..626dcadba0 100644
--- a/components/drivers/sdio/sd.c
+++ b/components/drivers/sdio/sd.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2006-2021, RT-Thread Development Team
+ * Copyright (c) 2006-2023, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
diff --git a/components/drivers/sdio/sdio.c b/components/drivers/sdio/sdio.c
index 5c04277549..d1705d43c3 100644
--- a/components/drivers/sdio/sdio.c
+++ b/components/drivers/sdio/sdio.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2006-2021, RT-Thread Development Team
+ * Copyright (c) 2006-2023, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*