Page MenuHomeFreeBSD

linuxkpi: advance platform_device
ClosedPublic

Authored by corvink on Apr 13 2023, 7:20 AM.
Tags
None
Referenced Files
F131905872: D39554.diff
Sun, Oct 12, 3:05 AM
F131841562: D39554.diff
Sat, Oct 11, 3:16 PM
Unknown Object (File)
Mon, Oct 6, 8:29 AM
Unknown Object (File)
Wed, Oct 1, 5:53 AM
Unknown Object (File)
Tue, Sep 30, 1:26 AM
Unknown Object (File)
Sat, Sep 27, 2:52 PM
Unknown Object (File)
Fri, Sep 19, 9:30 AM
Unknown Object (File)
Sun, Sep 14, 10:20 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.