lkml.org 
[lkml]   [2005]   [Jul]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [patch 3/5] Driver core: Documentation: use snprintf and strnlen
Date
Hi Domen,

On Sunday 31 July 2005 13:12, domen@coderock.org wrote:
> From: Jan Veldeman <jan@mind.be>
> 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


[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-07-31 20:31    [W:0.078 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site