Page MenuHomeFreeBSD

linuxkpi: Add `struct kset` support in <linux/kobject.h>
ClosedPublic

Authored by dumbbell on Dec 13 2023, 11:57 AM.
Tags
None
Referenced Files
F109476989: D43020.id131314.diff
Wed, Feb 5, 2:27 PM
Unknown Object (File)
Wed, Feb 5, 3:11 AM
Unknown Object (File)
Tue, Jan 28, 11:38 PM
Unknown Object (File)
Tue, Jan 28, 11:33 PM
Unknown Object (File)
Mon, Jan 27, 9:21 AM
Unknown Object (File)
Sat, Jan 25, 12:36 AM
Unknown Object (File)
Fri, Jan 24, 5:43 PM
Unknown Object (File)
Wed, Jan 22, 11:32 PM

Details

Summary

Why

The amdgpu DRM driver started to use it in Linux 5.18.

This is part of the update of the DRM drivers to Linux 5.18.

Depends on: D43019.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

manu requested changes to this revision.Dec 13 2023, 1:54 PM
manu added inline comments.
sys/compat/linuxkpi/common/include/linux/kobject.h
60

This will break kbi for mfc, I think that moving this at the end of the struct will reduce the problem.

177

style(9), need new line before function name

185

style(9)

197

style(9)

This revision now requires changes to proceed.Dec 13 2023, 1:54 PM
dumbbell marked 4 inline comments as done.

Address the concerns from @manu:

  • the KBI vs. MFC issue
  • style(9) errors
This revision is now accepted and ready to land.Dec 13 2023, 6:53 PM