lkml.org 
[lkml]   [2020]   [Jul]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 16/23] seq_file: switch over direct seq_read method calls to seq_read_iter
On Thu, Jul 02, 2020 at 11:46:17AM +0200, Miguel Ojeda wrote:
> Hi Christoph,
>
> On Wed, Jul 1, 2020 at 10:25 PM Christoph Hellwig <hch@lst.de> wrote:
> >
> > Switch over all instances used directly as methods using these sed
> > expressions:
> >
> > sed -i -e 's/\.read\(\s*=\s*\)seq_read/\.read_iter\1seq_read_iter/g'
> >
> > Signed-off-by: Christoph Hellwig <hch@lst.de>
>
> Nit: the replacements don't take into account the spaces/tabs needed
> to align the designated initializers.

Do you have a suggestion for an automated replacement which does?
I'll happily switch over to that.

\
 
 \ /
  Last update: 2020-07-02 15:51    [W:0.457 / U:0.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site