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

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

 



Hi Peter,

On Wed, Dec 16, 2009 at 02:25:37PM +0100, Peter Korsgaard wrote:
> >>>>> "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?
I don't want you to do anything, and I don't have any authority here.  I
just wanted to point out the alternative.  IIRC Sascha already took the
patch.

Best regards
Uwe

-- 
Pengutronix e.K.                              | Uwe Kleine-König            |
Industrial Linux Solutions                    | http://www.pengutronix.de/  |

_______________________________________________
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