This is an automated email from Gerrit.

Jonathan Dumaresq (jdumar...@cimeq.qc.ca) just uploaded a new patch set to 
Gerrit, which you can find at http://openocd.zylin.com/436

-- gerrit

commit c0cd0c50c71aedb11ac4f0c418932ce6a845e5fa
Author: Jonathan Dumaresq <jdumar...@cimeq.qc.ca>
Date:   Mon Feb 6 11:02:38 2012 -0500

    remove checkpatch warnings
    
    Change-Id: I1da9815bfeb1829bb157259a34437fe1a002cc69
    Signed-off-by: Jonathan Dumaresq <jdumar...@cimeq.qc.ca>

diff --git a/src/flash/nor/stm32f1x.c b/src/flash/nor/stm32f1x.c
index 5031c9a..14cdf02 100644
--- a/src/flash/nor/stm32f1x.c
+++ b/src/flash/nor/stm32f1x.c
@@ -922,7 +922,7 @@ static int stm32x_probe(struct flash_bank *bank)
        if (retval != ERROR_OK)
                return retval;
 
-       if(device_id == 0x00000000) {   // device_id is 0, then we can try the 
stm32f0x address
+       if (device_id == 0x00000000) {  /* device_id is 0, then we can try the 
stm32f0x address */
                LOG_INFO("device id is 0x00000000 try stm32f0x address");
                retval = target_read_u32(target, 0x40015800, &device_id);
                if (retval != ERROR_OK)
@@ -1111,7 +1111,7 @@ static int get_stm32x_info(struct flash_bank *bank, char 
*buf, int buf_size)
        if (retval != ERROR_OK)
                return retval;
 
-       if(device_id == 0x00000000) {   // device_id is 0, then we can try the 
stm32f0x address
+       if (device_id == 0x00000000) {  /* device_id is 0, then we can try the 
stm32f0x address */
                LOG_INFO("device id is 0x00000000 try stm32f0x address");
                retval = target_read_u32(target, 0x40015800, &device_id);
                if (retval != ERROR_OK)

-- 

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to