On 05/28/2013 08:29 PM, John Crispin wrote: > On 26/05/13 09:51, Chen Gang wrote: >> 'compatible' is used by strlen() in __of_device_is_compatible(). >> >> So for NUL terminated string, need always be sure of ended by zero. >> >> 'of_ids' is not a structure in "include/uapi/*", so not need initialize >> all bytes, just use strlcpy() instead of strncpy(). >> >> >> Signed-off-by: Chen Gang<gang.chen@xxxxxxxxxxx> > > Acked-by: John Crispin <blogic@xxxxxxxxxxx> Thanks. -- Chen Gang Asianux Corporation