Page MenuHomeFreeBSD

LinuxKPI: Implement default sysfs kobject attribute operations
ClosedPublic

Authored by wulf on Dec 6 2021, 9:59 AM.
Tags
None
Referenced Files
Unknown Object (File)
Oct 28 2024, 1:22 AM
Unknown Object (File)
Oct 26 2024, 2:34 PM
Unknown Object (File)
Oct 3 2024, 7:57 PM
Unknown Object (File)
Oct 3 2024, 6:03 AM
Unknown Object (File)
Oct 2 2024, 7:05 AM
Unknown Object (File)
Oct 1 2024, 1:10 AM
Unknown Object (File)
Sep 23 2024, 11:04 AM
Unknown Object (File)
Sep 14 2024, 3:07 AM

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

wulf requested review of this revision.Dec 6 2021, 9:59 AM
sys/compat/linuxkpi/common/include/linux/kobject.h
71

Should this definition be moved to:

sys/compat/linuxkpi/common/include/linux/sysfs.h
sys/compat/linuxkpi/common/include/linux/kobject.h
71
sys/compat/linuxkpi/common/include/linux/kobject.h
71

OK, I think you need to add:

struct sysfs_ops;

At the beginning of this file to avoid issues with standalone inclusion.

sys/compat/linuxkpi/common/include/linux/kobject.h
71

It looks unnecessary. I just placed

extern struct foo bar;

line in to this file and it still compiles

OK, try -Wall just in case.

This revision is now accepted and ready to land.Dec 6 2021, 11:30 AM