Skip to content

Conversation

@meng-plus
Copy link
Contributor

拉取/合并请求描述:(PR description)

[

为什么提交这份PR (why to submit this PR)

#7887 (comment)

dfs_tmpfs.c			
Error[Pe513]: a value of type "dev_t" cannot be assigned to an entity of type "struct rt_device *"	E:\WorkSpaces\RT-Thread\rt-thread\components\dfs\dfs_v1\filesystems\tmpfs\dfs_tmpfs.c	488	

你的解决方案是什么 (what is your solution)

st->st_dev = (rt_device_t)dfs_filesystem_lookup(fs->path);

在什么测试环境下测试通过 (what is the test environment)

iar9 类型匹配通过上下文翻阅也是正常的

]

当前拉取/合并请求的状态 Intent for your PR

必须选择一项 Choose one (Mandatory):

  • 本拉取/合并请求是一个草稿版本 This PR is for a code-review and is intended to get feedback
  • 本拉取/合并请求是一个成熟版本 This PR is mature, and ready to be integrated into the repo

代码质量 Code Quality:

我在这个拉取/合并请求中已经考虑了 As part of this pull request, I've considered the following:

修复类型强转 iar环境编译不通过问题
@BernardXiong BernardXiong merged commit 0391b81 into RT-Thread:master Sep 12, 2023
meng-plus added a commit to meng-plus/rt-thread that referenced this pull request Sep 12, 2023
@meng-plus meng-plus deleted the fix/dfs_tmpfs.c branch September 12, 2023 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants