Page MenuHomeFreeBSD

linuxkpi: advance platform_device
ClosedPublic

Authored by corvink on Apr 13 2023, 7:20 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Oct 13, 2:44 PM
Unknown Object (File)
Mon, Oct 13, 2:44 PM
Unknown Object (File)
Mon, Oct 13, 1:54 AM
Unknown Object (File)
Sun, Oct 12, 2:07 PM
Unknown Object (File)
Sun, Oct 12, 3:05 AM
Unknown Object (File)
Sat, Oct 11, 3:16 PM
Unknown Object (File)
Mon, Oct 6, 8:29 AM
Unknown Object (File)
Wed, Oct 1, 5:53 AM

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.