[Bug 231567] [patch] led.c, set_led() always succeed even when it fails

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Jan 15 00:53:16 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231567

--- Comment #1 from commit-hook at freebsd.org ---
A commit references this bug:

Author: gonzo
Date: Tue Jan 15 00:52:41 UTC 2019
New revision: 343029
URL: https://svnweb.freebsd.org/changeset/base/343029

Log:
  [led] propagate error from set_led() to the caller

  Do not lose error condition by always returning 0 from set_led.
  None of the calls to set_led checks for return value at the moment so
  none of API consumers in base is affected.

  PR:           231567
  Submitted by: Bertrand Petit <bsdpr at phoe.frmug.org>
  MFC after:    1 week

Changes:
  head/sys/dev/led/led.c

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list