[PATCH 1/2] lib: add helper to read strings from sysfs files

Tyler Retzlaff roretzla at linux.microsoft.com
Wed Jan 25 17:16:06 CET 2023


On Wed, Jan 25, 2023 at 11:39:30AM +0100, Thomas Monjalon wrote:
> 25/01/2023 11:33, Tomasz Duszynski:
> > Reading strings from sysfs files is a re-occurring pattern
> > hence add helper for doing that.
> 
> In general it would be to nice to clean sysfs parsing in libs and drivers,
> so they all use some functions from EAL.

maybe there should be a general utility library for dealing with sysfs
separate from the core EAL that drivers / platform specific libs can
share?


More information about the dev mailing list