#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
_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to