lkml.org 
[lkml]   [2004]   [Nov]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: adm1026 driver port for kernel 2.6.10-rc2 [RE-REVISED DRIVER]
Hi Arjan,

> > static ssize_t show_in(struct device *dev, char *buf, int nr)
> > {
> > struct adm1026_data *data = adm1026_update_device(dev);
> > return sprintf(buf,"%d\n", INS_FROM_REG(nr, data->in[nr]));
> > }
>
> any chance you could make this use snprintf instead ?

None of the other hardware monitoring clients driver do, nor do I think
they should. What are we trying to improve?

Thanks.

--
Jean Delvare
http://khali.linux-fr.org/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:08    [W:0.119 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site