Some copy-n-paste fixes in printf usage
authorMatvejchikov Ilya <matvejchikov@gmail.com>
Sun, 6 Jul 2008 09:57:58 +0000 (13:57 +0400)
committerWolfgang Denk <wd@denx.de>
Wed, 9 Jul 2008 21:58:33 +0000 (23:58 +0200)
Signed-off-by: Matvejchikov Ilya <matvejchikov@gmail.com>
board/cm5200/cm5200.c
board/ids8247/ids8247.c
board/mgcoge/mgcoge.c
board/mgsuvd/mgsuvd.c

index 3e952d869f7e6100ae3963509a293a81eceb8863..24e8db0c60b7cd730150daf42a4afea4d13d1182 100644 (file)
@@ -275,7 +275,7 @@ static void ft_blob_update(void *blob, bd_t *bd)
        ret = fdt_fixup_memory(blob, (u64)bd->bi_memstart, (u64)bd->bi_memsize);
 
        if (ret < 0) {
-               printf("ft_blob_update): cannot set /memory/reg "
+               printf("ft_blob_update(): cannot set /memory/reg "
                        "property err:%s\n", fdt_strerror(ret));
        }
 }
index 8ec4cd717995b708a39cdb22efd51356690cddd6..44fc79cd58d7ff1ab0fdf1bf3011e297dd68040f 100644 (file)
@@ -334,7 +334,7 @@ void ft_blob_update(void *blob, bd_t *bd)
        ret = fdt_fixup_memory(blob, (u64)bd->bi_memstart, (u64)bd->bi_memsize);
 
        if (ret < 0) {
-               printf("ft_blob_update): cannot set /memory/reg "
+               printf("ft_blob_update(): cannot set /memory/reg "
                        "property err:%s\n", fdt_strerror(ret));
        }
 }
index 89ced1eca7b0c09a8befc4e3cd2527f19c9052cf..51b6dc60168338ecb33f19c370bc0e13e3c49be0 100644 (file)
@@ -307,7 +307,7 @@ void ft_blob_update(void *blob, bd_t *bd)
                ret = fdt_setprop(blob, nodeoffset, "reg", memory_data,
                                        sizeof(memory_data));
        if (ret < 0)
-               printf("ft_blob_update): cannot set /memory/reg "
+               printf("ft_blob_update(): cannot set /memory/reg "
                        "property err:%s\n", fdt_strerror(ret));
        }
        else {
@@ -327,7 +327,7 @@ void ft_blob_update(void *blob, bd_t *bd)
                ret = fdt_setprop(blob, nodeoffset, "ranges", flash_data,
                                        sizeof(flash_data));
        if (ret < 0)
-               printf("ft_blob_update): cannot set /localbus/ranges "
+               printf("ft_blob_update(): cannot set /localbus/ranges "
                        "property err:%s\n", fdt_strerror(ret));
        }
        else {
@@ -341,7 +341,7 @@ void ft_blob_update(void *blob, bd_t *bd)
                ret = fdt_setprop(blob, nodeoffset, "mac-address", bd->bi_enetaddr,
                                        sizeof(uchar) * 6);
        if (ret < 0)
-               printf("ft_blob_update): cannot set /soc/cpm/ethernet/mac-address "
+               printf("ft_blob_update(): cannot set /soc/cpm/ethernet/mac-address "
                        "property err:%s\n", fdt_strerror(ret));
        }
        else {
index d81cafbb43803cf8f4481f2877b5db7b942eab18..c51ea7e76eb997db7cad580f10c78c9bd72aeca5 100644 (file)
@@ -164,7 +164,7 @@ void ft_blob_update(void *blob, bd_t *bd)
                        ret = fdt_setprop(blob, nodeoffset, "reg", memory_data,
                                                sizeof(memory_data));
                if (ret < 0)
-                       printf("ft_blob_update): cannot set /memory/reg "
+                       printf("ft_blob_update(): cannot set /memory/reg "
                                "property err:%s\n", fdt_strerror(ret));
                }
                else {
@@ -180,7 +180,7 @@ void ft_blob_update(void *blob, bd_t *bd)
                ret = fdt_setprop(blob, nodeoffset, "ranges", flash_data,
                                        sizeof(flash_data));
        if (ret < 0)
-               printf("ft_blob_update): cannot set /localbus/ranges "
+               printf("ft_blob_update(): cannot set /localbus/ranges "
                        "property err:%s\n", fdt_strerror(ret));
        }
        else {
@@ -195,7 +195,7 @@ void ft_blob_update(void *blob, bd_t *bd)
                ret = fdt_setprop(blob, nodeoffset, "brg-frequency", brg_data,
                                        sizeof(brg_data));
        if (ret < 0)
-               printf("ft_blob_update): cannot set /soc/cpm/brg-frequency "
+               printf("ft_blob_update(): cannot set /soc/cpm/brg-frequency "
                        "property err:%s\n", fdt_strerror(ret));
        }
        else {
@@ -209,7 +209,7 @@ void ft_blob_update(void *blob, bd_t *bd)
                ret = fdt_setprop(blob, nodeoffset, "mac-address", bd->bi_enetaddr,
                                        sizeof(uchar) * 6);
        if (ret < 0)
-               printf("ft_blob_update): cannot set /soc/cpm/scc/mac-address "
+               printf("ft_blob_update(): cannot set /soc/cpm/scc/mac-address "
                        "property err:%s\n", fdt_strerror(ret));
        }
        else {