Date: Fri, 21 Sep 2018 23:20:33 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 231567] [patch] led.c, set_led() always succeed even when it fails Message-ID: <bug-231567-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231567 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: bugs@FreeBSD.org Reporter: bsdpr@phoe.frmug.org Created attachment 197324 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D197324&action= =3Dedit 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. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-231567-227>