[PATCH] cramfs: probe(): fix cdev lookup

Peter Korsgaard jacmet at sunsite.dk
Wed Dec 16 08:25:37 EST 2009

>>>>> "Uwe" == Uwe Kleine-König <u.kleine-koenig at pengutronix.de> writes:


 >> > 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 /
Bye, Peter Korsgaard

More information about the u-boot-v2 mailing list