netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: joe@perches.com
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH net-next] net: Convert uses of typedef ctl_table to struct ctl_table
Date: Thu, 13 Jun 2013 02:36:34 -0700 (PDT)	[thread overview]
Message-ID: <20130613.023634.1372572014231224544.davem@davemloft.net> (raw)
In-Reply-To: <0cd3f2ac0e85c8ff68dd2c67057a5d40aaec8337.1371016392.git.joe@perches.com>

From: Joe Perches <joe@perches.com>
Date: Tue, 11 Jun 2013 23:04:25 -0700

> Reduce the uses of this unnecessary typedef.
> 
> Done via perl script:
> 
> $ git grep --name-only -w ctl_table net | \
>   xargs perl -p -i -e '\
> 	sub trim { my ($local) = @_; $local =~ s/(^\s+|\s+$)//g; return $local; } \
>         s/\b(?<!struct\s)ctl_table\b(\s*\*\s*|\s+\w+)/"struct ctl_table " . trim($1)/ge'
> 
> Reflow the modified lines that now exceed 80 columns.
> 
> Signed-off-by: Joe Perches <joe@perches.com>

Applied, thanks Joe.

      reply	other threads:[~2013-06-13  9:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-12  6:04 [PATCH net-next] net: Convert uses of typedef ctl_table to struct ctl_table Joe Perches
2013-06-13  9:36 ` David Miller [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130613.023634.1372572014231224544.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=joe@perches.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).