Branch: refs/heads/main Home: https://github.com/OpenAMP/libmetal Commit: efb8ade7526d758a62a68ff623e22b31f1c5661c https://github.com/OpenAMP/libmetal/commit/efb8ade7526d758a62a68ff623e22b31f... Author: Andrew Davis afd@ti.com Date: 2024-10-18 (Fri, 18 Oct 2024)
Changed paths: M lib/system/linux/sys.h M lib/system/linux/utilities.c
Log Message: ----------- lib: system: linux: Remove unused internal functions
These functions are labeled METAL_INTERNAL so should have no external users, but they are not used internally either. Remove these functions.
Signed-off-by: Andrew Davis afd@ti.com
Commit: af3a02833820091afdfa3aa133667ce072e6cf1a https://github.com/OpenAMP/libmetal/commit/af3a02833820091afdfa3aa133667ce07... Author: Andrew Davis afd@ti.com Date: 2024-10-18 (Fri, 18 Oct 2024)
Changed paths: M lib/system/linux/init.c M lib/system/linux/utilities.c
Log Message: ----------- lib: system: linux: Remove use of ENOSYS error code
This return code is for system calls only, and checkpatch warns about the same. Remove the use of this return code.
Signed-off-by: Andrew Davis afd@ti.com
Commit: 4202dd3563bb215bc50f3ceffe41d7f75b3bccf5 https://github.com/OpenAMP/libmetal/commit/4202dd3563bb215bc50f3ceffe41d7f75... Author: Andrew Davis afd@ti.com Date: 2024-10-18 (Fri, 18 Oct 2024)
Changed paths: M lib/system/linux/shmem.c M lib/system/linux/sys.h M lib/system/linux/utilities.c
Log Message: ----------- lib: system: linux: Move metal_virt2phys() into shmem
This function is only used by shmem. Move it to where it is used to reduce internal-only "API" functions.
Signed-off-by: Andrew Davis afd@ti.com
Commit: 13428794f11661ed7f0c182baecd591b1883f2bb https://github.com/OpenAMP/libmetal/commit/13428794f11661ed7f0c182baecd591b1... Author: Andrew Davis afd@ti.com Date: 2024-10-18 (Fri, 18 Oct 2024)
Changed paths: M lib/system/linux/shmem.c M lib/system/linux/sys.h M lib/system/linux/utilities.c
Log Message: ----------- lib: system: linux: Inline metal_mlock() function
This is a one-line one user internal function, just use mlock directly.
Signed-off-by: Andrew Davis afd@ti.com
Commit: 6b0b1cbb1db5e7da1f8249e177f976b9cfecea09 https://github.com/OpenAMP/libmetal/commit/6b0b1cbb1db5e7da1f8249e177f976b9c... Author: Andrew Davis afd@ti.com Date: 2024-10-18 (Fri, 18 Oct 2024)
Changed paths: M lib/system/linux/init.c M lib/system/linux/sys.h
Log Message: ----------- lib: system: linux: Remove unused sysfs_path from metal_state
This is not used, remove to prevent failures related to getting a path that is not needed.
Signed-off-by: Andrew Davis afd@ti.com
Commit: 0f0393503e10c3c6c2d1a27b7c5091122b4fef05 https://github.com/OpenAMP/libmetal/commit/0f0393503e10c3c6c2d1a27b7c5091122... Author: Andrew Davis afd@ti.com Date: 2024-10-18 (Fri, 18 Oct 2024)
Changed paths: M lib/system/linux/device.c
Log Message: ----------- lib: system: linux: Remove unneeded forward declaration
The declaration metal_linux_bus_close() is not needed, it is already defined at this point.
Signed-off-by: Andrew Davis afd@ti.com
Compare: https://github.com/OpenAMP/libmetal/compare/7969bed068ee...0f0393503e10
To unsubscribe from these emails, change your notification settings at https://github.com/OpenAMP/libmetal/settings/notifications
openamp-rp@lists.openampproject.org