Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fs:replase all asprintf / strdup in fs with fs_heap_xxx #99

Merged
merged 1 commit into from
Dec 30, 2024

Conversation

crafcat7
Copy link
Contributor

@crafcat7 crafcat7 commented Dec 30, 2024

Summary

Replace strdup / asprintf in yaffs_vfs with fs_heap_strdup / fs_heap_asprintf.
By default, fs_heap_xxx is equivalent to kmm_xxx. When a specified segment is provided, fs_heap_xxx will request memory from the specified segment. This is used to separate the overall file system and kernel memory.

Impact

Replace strdup / asprintf in yaffs_vfs with fs_heap_strdup / fs_heap_asprintf

Testing

Test in sim / qemu / actual device project.
Yaffs working properly

@CLAassistant
Copy link

CLAassistant commented Dec 30, 2024

CLA assistant check
All committers have signed the CLA.

@xiaoxiang781216 xiaoxiang781216 merged commit 293df32 into open-vela:dev Dec 30, 2024
2 of 3 checks passed
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.

3 participants