intel / ledmon

Enclosure LED Utilities
GNU General Public License v2.0
72 stars 49 forks source link

[ENHANCEMENT] adjust structs with device properties - code improvement #233

Open ktanska opened 5 months ago

ktanska commented 5 months ago

Description

Structs which contain device properties should be adjusted (now, they contain different way of keeping the same information - already allocated in struct or needs to be allocated before use). sysfs_path as an example: char* in struct block_device, but char[] in struct cntrl_device. It is just a quality improvement, I don't know about any defect caused by it.

Reason

No response

Environment

No response