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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>>>>> "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


[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux