Messages in this thread | | | Subject | Re: [PATCH] checkpatch: don't encourage new code to use "networking" style comments | From | Joe Perches <> | Date | Fri, 28 Apr 2017 14:05:18 -0700 |
| |
On Fri, 2017-04-28 at 12:51 -0700, Brian Norris wrote: > FWIW, I don't see this consistently applied at all. Unless my regexes > are completely wrong [*], it's roughly 50/50 in drivers/net/ and net/, > and roughly 40/60 (favoring "net" style) in net/core/.
More like 5:1 in net/
$ git grep -E -n "/\*[ \t]*\w" net | grep -v ":1:" | wc -l 30461 $ git grep -E -n "/\*[ \t]*$" net | grep -v ":1:" | wc -l 6061
grep -v ":1:" is to avoid the first line in the file comment
| |