This is an automated email from Gerrit.

Spencer Oliver ([email protected]) just uploaded a new patch set to Gerrit, 
which you can find at http://openocd.zylin.com/213

-- gerrit

commit d24a65fb25ca991f63495c8b0356bac2dcf5fcdc
Author: Spencer Oliver <[email protected]>
Date:   Fri Nov 18 14:30:23 2011 +0000

    jtag: fixes broken commit e1500a9c9d0189bc277c79a2ddb35ecb79d1a20e
    
    Not sure how this got past jenkins
    
    Change-Id: I4729875363a41aceff4d60a46466d2e5b1b7c0d4
    Signed-off-by: Spencer Oliver <[email protected]>

diff --git a/src/jtag/drivers/amt_jtagaccel.c b/src/jtag/drivers/amt_jtagaccel.c
index 424019e..f174f1c 100644
--- a/src/jtag/drivers/amt_jtagaccel.c
+++ b/src/jtag/drivers/amt_jtagaccel.c
@@ -68,26 +68,26 @@ static const int addr_mode = IEEE1284_MODE_EPP | 
IEEE1284_ADDR;
 
 #define AMT_AW(val) \
        do { \
-               ioctl(device_handle, PPSETMODE, &addr_mode); \
-               write(device_handle, &val, 1); \
+               (void) ioctl(device_handle, PPSETMODE, &addr_mode); \
+               (void) write(device_handle, &val, 1); \
        } while (0)
 #define AMT_AR(val) \
        do { \
-               ioctl(device_handle, PPSETMODE, &addr_mode); \
-               read(device_handle, &val, 1); \
+               (void) ioctl(device_handle, PPSETMODE, &addr_mode); \
+               (void) read(device_handle, &val, 1); \
        } while (0)
 
 static const int data_mode = IEEE1284_MODE_EPP | IEEE1284_DATA;
 
 #define AMT_DW(val) \
        do { \
-               ioctl(device_handle, PPSETMODE, &data_mode); \
-               write(device_handle, &val, 1); \
+               (void) ioctl(device_handle, PPSETMODE, &data_mode); \
+               (void) write(device_handle, &val, 1); \
        } while (0)
 #define AMT_DR(val) \
        do { \
-               ioctl(device_handle, PPSETMODE, &data_mode); \
-               read(device_handle, &val, 1); \
+               (void) ioctl(device_handle, PPSETMODE, &data_mode); \
+               (void) read(device_handle, &val, 1); \
        } while (0)
 
 #else

-- 

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to