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/store. The whole part of the Documentation is obsoleted by the fact, that struct device has no structure member called "name". People hacking sysfs should also try to hack the docu to match or at least remove the obsolete parts of it. So you can drop this patch altogether, I think. Regards Ingo Oeser
Attachment:
pgpz4vs8DAAQR.pgp
Description: PGP signature
- Follow-Ups:
- Re: [patch 3/5] Driver core: Documentation: use snprintf and strnlen
- From: Jan Veldeman <[email protected]>
- Re: [patch 3/5] Driver core: Documentation: use snprintf and strnlen
- References:
- Prev by Date: Re: [linux-usb-devel] Re: 2.6.13-rc4-mm1
- Next by Date: Re: 2.6.13-rc3-mm3
- Previous by thread: [patch 3/5] Driver core: Documentation: use snprintf and strnlen
- Next by thread: Re: [patch 3/5] Driver core: Documentation: use snprintf and strnlen
- Index(es):