Skip to contentSkip to conversation

Some copy-n-paste fixes in printf usage

PATCH RESEND New Matvejchikov Ilya 2 participants 2 messages Jul 6, 2008 – Jul 9, 2008

lore
Share & tools
lore
#0 lore raw

PATCH RESEND 1/1 Some copy-n-paste fixes in printf usage

---
 board/cm5200/cm5200.c   |    2 +-
 board/ids8247/ids8247.c |    2 +-
 board/mgcoge/mgcoge.c   |    6 +++---
 board/mgsuvd/mgsuvd.c   |    8 ++++----
 4 files changed, 9 insertions(+), 9 deletions(-)
board/cm5200/cm5200.c +1 -1
index 3e952d8..24e8db0 100644
@@ -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));
 	}
 }
board/ids8247/ids8247.c +1 -1
index 8ec4cd7..44fc79c 100644
@@ -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));
 	}
 }
board/mgcoge/mgcoge.c +3 -3
index 89ced1e..51b6dc6 100644
@@ -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 {
board/mgsuvd/mgsuvd.c +4 -4
index d81cafb..c51ea7e 100644
@@ -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 {
Signature · 1 line
1.5.6.1
#1 lore raw

PATCH RESEND 1/1 Some copy-n-paste fixes in printf usage

Quoted 7 lines · In message <[email protected]> you…
---
 board/cm5200/cm5200.c   |    2 +-
 board/ids8247/ids8247.c |    2 +-
 board/mgcoge/mgcoge.c   |    6 +++---
 board/mgsuvd/mgsuvd.c   |    8 ++++----
 4 files changed, 9 insertions(+), 9 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

Signature · 5 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
CAUTION:  The Mass of This Product Contains the Energy Equivalent  of
85 Million Tons of TNT per Net Ounce of Weight.