Re: [PATCH] ppc32: ppc_sys SOC identification additions

2 messages, 2 authors, 2005-08-18 · open the first message on its own page

Re: [PATCH] ppc32: ppc_sys SOC identification additions

From: Wolfgang Denk <hidden>
Date: 2005-08-17 20:49:51

In message [off-list ref] you wrote:
+	while (strcmp(ppc_sys_specs[i].ppc_sys_name, "")) {
...
+	while (strcmp(ppc_sys_specs[i].ppc_sys_name, ""))
...
+	while (strcmp(ppc_sys_specs[i].ppc_sys_name, "")) {
What about:

	while (ppc_sys_specs[i].ppc_sys_name[0]) ... ???

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
What we anticipate seldom occurs;  what  we  least  expect  generally
happens.                                          - Bengamin Disraeli

Re: [PATCH] ppc32: ppc_sys SOC identification additions

From: Vitaly Bordug <hidden>
Date: 2005-08-18 18:01:13

Here's the same but without strcmp().

Signed-off-by: Vitaly Bordug <redacted>


-- 
Sincerely,
Vitaly
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help