On 23/02/2014 8:32 pm, Sebastian Huber wrote:
On 02/22/2014 10:49 PM, Chris Johns wrote:
-    status = rtems_io_register_name( console_name, major, i+1);
+    rtems_io_register_name( console_name, major, i+1);

Why is the result not checked ?

Its not checked since day one of this file.

Sure but this is no reason not to add a check rather than remove the assignment.

 I suppose its not critical
if you can't register these device files (in contrast to
"/dev/console").  If the application uses these missing device files,
then it may do smarter things than we can do here.

Yeah this is true and a good point. Maybe adding the check and failing would break existing applications.

Chris
_______________________________________________
rtems-devel mailing list
rtems-devel@rtems.org
http://www.rtems.org/mailman/listinfo/rtems-devel

Reply via email to