Page MenuHomeFreeBSD

linuxkpi: advance platform_device
ClosedPublic

Authored by corvink on Apr 13 2023, 7:20 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Mar 22, 10:50 PM
Unknown Object (File)
Fri, Mar 20, 3:35 AM
Unknown Object (File)
Thu, Mar 19, 11:49 PM
Unknown Object (File)
Thu, Mar 19, 4:40 AM
Unknown Object (File)
Wed, Mar 18, 3:45 PM
Unknown Object (File)
Wed, Mar 18, 3:39 PM
Unknown Object (File)
Wed, Mar 18, 10:32 AM
Unknown Object (File)
Sun, Mar 15, 3:27 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.