[RTEMS Project] #2362: ramdisk_initialize() returns an error code and driver initialization error code is ignored in general (was: Configuration/initialization of block device buffer fails silently)
RTEMS trac
trac at rtems.org
Tue Jun 9 19:38:44 UTC 2015
#2362: ramdisk_initialize() returns an error code and driver initialization error
code is ignored in general
---------------------+-----------------------
Reporter: mw | Owner: chrisj
Type: defect | Status: assigned
Priority: normal | Milestone: 4.11.1
Component: General | Version: 4.11
Severity: normal | Resolution:
Keywords: |
---------------------+-----------------------
Comment (by sebastian.huber):
The rtems_bdbuf_init() doesn't fail silently. It returns an error code.
We even have a test case for this libtests/block17.
The real problem is that ramdisk_initialize() returns an error code which
nobody evaluates. This is a device driver API flaw.
--
Ticket URL: <http://devel.rtems.org/ticket/2362#comment:2>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list