mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
committed by
Joel Sherrill
parent
bd898b503f
commit
a73b52d6a4
@@ -320,7 +320,7 @@ static int rtems_flashdev_read_write(
|
|||||||
int status;
|
int status;
|
||||||
|
|
||||||
if ( read_buff == NULL && write_buff == NULL ) {
|
if ( read_buff == NULL && write_buff == NULL ) {
|
||||||
return 0;
|
rtems_set_errno_and_return_minus_one( EINVAL );
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Get flash address */
|
/* Get flash address */
|
||||||
|
|||||||
Reference in New Issue
Block a user