Page MenuHomeFreeBSD

gpiobus: gpiobus_release_pin: convert errors to panic
ClosedPublic

Authored by vexeduxr on Jun 19 2025, 2:32 PM.
Tags
None
Referenced Files
F135218110: D50939.diff
Fri, Nov 7, 3:32 PM
Unknown Object (File)
Fri, Nov 7, 10:31 AM
Unknown Object (File)
Tue, Nov 4, 12:21 PM
Unknown Object (File)
Wed, Oct 29, 4:50 AM
Unknown Object (File)
Tue, Oct 28, 5:09 PM
Unknown Object (File)
Sun, Oct 26, 1:20 AM
Unknown Object (File)
Wed, Oct 15, 3:53 AM
Unknown Object (File)
Wed, Oct 15, 2:09 AM
Subscribers
None

Details

Summary

These are programming errors.

Suggested by: mmel

Diff Detail

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

Event Timeline

vexeduxr created this revision.

I'm not sure if this is still relevant given other changes, but it looks good.. If it's no longer relevant, please abandon.

This revision is now accepted and ready to land.Jul 3 2025, 8:09 PM

Should be good to go. Although I just realized one of the callers explicitly casts this to void. That should be removed too.

Remove the now redundant cast to void.

This revision now requires review to proceed.Jul 4 2025, 2:24 PM
This revision is now accepted and ready to land.Jul 4 2025, 3:33 PM