vhost-device/vhost-device-scmi/src
Junnan Wu d68f377ab1 scmi: set name only when missing name
If vhost-device-scmi running with name argument,
do not set name again.
If not, use value from fs, otherwise use default name.
It can avoid that program exit unexpectedly
when the length of native sensor name is too long.

Correspondingly, modify related unit test function.

Signed-off-by: Junnan Wu <junnan01.wu@samsung.com>
2024-09-24 07:47:49 +03:00
..
devices scmi: set name only when missing name 2024-09-24 07:47:49 +03:00
main.rs scmi: revert to previous --help-devices behavior 2023-12-06 16:32:50 +05:30
scmi.rs Move all crates to workspace root 2023-10-16 12:03:57 +05:30
vhu_scmi.rs scmi: use PathBuf for socket path 2023-12-05 11:58:42 +02:00