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: [email protected]
          Reporter: [email protected]

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.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to