[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <961aa3350806020511u78896881raef7f5e12b94c121@mail.gmail.com>
Date: Mon, 2 Jun 2008 21:11:19 +0900
From: "Akinobu Mita" <akinobu.mita@...il.com>
To: "Alexey Dobriyan" <adobriyan@...il.com>
Cc: linux-kernel@...r.kernel.org,
"David S. Miller" <davem@...emloft.net>, netdev@...r.kernel.org
Subject: Re: [patch -v2 01/23] sunrpc: use simple_read_from_buffer
>> + len = sprintf(tbuf, "%lu\n", cd->flush_time);
>> +
>> + return simple_read_from_buffer(buf, count, ppos, tbuf, len);
>> }
>
> Please, switch to seq_file:
>
> seq_printf(m, "%lu\n", cd->flush_time);
> return 0;
>
> and that's everything module have to worry about.
>
OK. I'll drop this patch from the patch series.
And I'll send this seq_file convertion in another chance.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists