Joe Perches c24f9f195e checkpatch: improve network block comment style checking
Some comment styles in net and drivers/net are flagged inappropriately.

Avoid proclaiming inline comments like:
	int a = b;	/* some comment */
and block comments like:
	/*********************
	 * some comment
	 ********************/
are defective.

Tested with
$ cat drivers/net/t.c
/* foo */

/*
 * foo
 */

/* foo
 */

/* foo
 * bar */

/****************************
 * some long block comment
 ***************************/

struct foo {
	int bar;	/* another test */
};
$

Signed-off-by: Joe Perches <joe@perches.com>
Reported-by: Larry Finger <Larry.Finger@lwfinger.net>
Cc: David Miller <davem@davemloft.net>
Cc: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2012-11-09 06:41:46 +01:00
..
2011-09-09 11:45:47 +02:00
2011-03-31 11:26:23 -03:00
2011-05-19 15:59:38 -07:00
2012-10-11 15:11:12 +02:00
2008-07-25 22:12:41 +02:00
2011-06-16 20:40:03 +02:00
2011-08-31 16:12:17 +02:00
2012-10-03 09:03:24 +02:00
2012-06-27 12:44:29 -07:00
2010-03-23 12:26:38 +01:00
2008-04-25 20:18:48 +02:00
2012-07-20 10:36:05 +02:00
2009-06-09 22:37:54 +02:00