https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231567
Bug ID: 231567 Summary: [patch] led.c, set_led() always succeed even when it fails Product: Base System Version: 11.2-STABLE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: b...@freebsd.org Reporter: bs...@phoe.frmug.org Created attachment 197324 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=197324&action=edit Return the proper error status to the caller The return value of set_led() in sys/dev/led/ is always zero even a failure ocurr. The attached patch return the error code to the caller when an error occurs. -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ freebsd-bugs@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"