Page MenuHomeFreeBSD

linuxkpi: advance platform_device
ClosedPublic

Authored by corvink on Apr 13 2023, 7:20 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Jan 16, 9:57 PM
Unknown Object (File)
Dec 12 2025, 12:08 PM
Unknown Object (File)
Dec 2 2025, 6:22 AM
Unknown Object (File)
Nov 25 2025, 4:55 PM
Unknown Object (File)
Nov 20 2025, 8:40 PM
Unknown Object (File)
Nov 20 2025, 8:38 PM
Unknown Object (File)
Nov 20 2025, 8:37 PM
Unknown Object (File)
Nov 20 2025, 8:28 PM

Diff Detail

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

Event Timeline

This revision is now accepted and ready to land.Apr 13 2023, 7:27 AM
bz added inline comments.
sys/compat/linuxkpi/common/include/linux/platform_device.h
88

Do we really want to return 0 in the case that it is not implemented rather than an error?

sys/compat/linuxkpi/common/include/linux/platform_device.h
88

It's unlikely that we will one day implement those functions. Returning 0 is less problems than an error as the drivers who calls this will not fail.

This revision was automatically updated to reflect the committed changes.