>>>>> "Uwe" == Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx> writes: Hi, >> > That would be sizeof("/dev/") - 1 to not count in the trailing 0. The >> >> doh! I'm out of brown paper bags. Uwe> instead of sizeof("...") - 1, strlen should work. Yes. Do you want me to send a patch replacing the '5' in strncmp / cdev_by_name? -- Bye, Peter Korsgaard _______________________________________________ u-boot-v2 mailing list u-boot-v2@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/u-boot-v2