Re: [patch 3/5] Driver core: Documentation: use snprintf and strnlen

2005-08-01 Thread Jan Veldeman
Hi Ingo, Ingo Oeser wrote: > On Sunday 31 July 2005 13:12, [EMAIL PROTECTED] wrote: > > From: Jan Veldeman <[EMAIL PROTECTED]> > > Documentation should give the good example of using snprintf and > > strnlen in stead of sprintf and strlen. > > > > PAGE_SIZE is used as the maximal length to refle

Re: [patch 3/5] Driver core: Documentation: use snprintf and strnlen

2005-07-31 Thread Ingo Oeser
Hi Domen, On Sunday 31 July 2005 13:12, [EMAIL PROTECTED] wrote: > From: Jan Veldeman <[EMAIL PROTECTED]> > Documentation should give the good example of using snprintf and > strnlen in stead of sprintf and strlen. > > PAGE_SIZE is used as the maximal length to reflect the behaviour of > show/sto

[patch 3/5] Driver core: Documentation: use snprintf and strnlen

2005-07-31 Thread domen
From: Jan Veldeman <[EMAIL PROTECTED]> Documentation should give the good example of using snprintf and strnlen in stead of sprintf and strlen. PAGE_SIZE is used as the maximal length to reflect the behaviour of show/store. Signed-off-by: Jan Veldeman <[EMAIL PROTECTED]> Signed-off-by: Domen