[rtems commit] Fix IO control request type
Sebastian Huber
sebh at rtems.org
Fri Jul 28 11:28:34 UTC 2017
Module: rtems
Branch: master
Commit: 9d1522ed32ef026aae4589a62f144a7b4b41ebf2
Changeset: http://git.rtems.org/rtems/commit/?id=9d1522ed32ef026aae4589a62f144a7b4b41ebf2
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Fri Jul 28 13:25:25 2017 +0200
Fix IO control request type
---
cpukit/libblock/src/blkdev-imfs.c | 2 +-
cpukit/libcsupport/src/termios.c | 3 ++-
testsuites/fstests/fsimfsgeneric01/init.c | 2 +-
testsuites/libtests/newlib01/init.c | 2 +-
4 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/cpukit/libblock/src/blkdev-imfs.c b/cpukit/libblock/src/blkdev-imfs.c
index f2008aa..ebe6ebb 100644
--- a/cpukit/libblock/src/blkdev-imfs.c
+++ b/cpukit/libblock/src/blkdev-imfs.c
@@ -154,7 +154,7 @@ static ssize_t rtems_blkdev_imfs_write(
static int rtems_blkdev_imfs_ioctl(
rtems_libio_t *iop,
- uint32_t request,
+ ioctl_command_t request,
void *buffer
)
{
diff --git a/cpukit/libcsupport/src/termios.c b/cpukit/libcsupport/src/termios.c
index 7d84349..6db458f 100644
--- a/cpukit/libcsupport/src/termios.c
+++ b/cpukit/libcsupport/src/termios.c
@@ -2181,7 +2181,8 @@ rtems_termios_imfs_write (rtems_libio_t *iop, const void *buffer, size_t count)
}
static int
-rtems_termios_imfs_ioctl (rtems_libio_t *iop, uint32_t request, void *buffer)
+rtems_termios_imfs_ioctl (rtems_libio_t *iop, ioctl_command_t request,
+ void *buffer)
{
rtems_status_code sc;
rtems_libio_ioctl_args_t args;
diff --git a/testsuites/fstests/fsimfsgeneric01/init.c b/testsuites/fstests/fsimfsgeneric01/init.c
index 6cc6c15..56a9369 100644
--- a/testsuites/fstests/fsimfsgeneric01/init.c
+++ b/testsuites/fstests/fsimfsgeneric01/init.c
@@ -110,7 +110,7 @@ static ssize_t handler_write(
static int handler_ioctl(
rtems_libio_t *iop,
- uint32_t request,
+ ioctl_command_t request,
void *buffer
)
{
diff --git a/testsuites/libtests/newlib01/init.c b/testsuites/libtests/newlib01/init.c
index af2dc35..24dad1c 100644
--- a/testsuites/libtests/newlib01/init.c
+++ b/testsuites/libtests/newlib01/init.c
@@ -135,7 +135,7 @@ static ssize_t handler_write(
static int handler_ioctl(
rtems_libio_t *iop,
- uint32_t request,
+ ioctl_command_t request,
void *buffer
)
{
More information about the vc
mailing list