summary refs log tree commit diff
path: root/arch/mips/dec
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2012-11-08 15:53:29 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2012-11-09 06:41:46 +0100
commitc24f9f195edf8c7f78eff1081cdadd26bd272ee3 (patch)
tree27063fcac4f5fd20054b3ca45fe15d6c39762876 /arch/mips/dec
parent3d70f8c617a436c7146ecb81df2265b4626dfe89 (diff)
downloadlinux-c24f9f195edf8c7f78eff1081cdadd26bd272ee3.tar.gz
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>
Diffstat (limited to 'arch/mips/dec')
0 files changed, 0 insertions, 0 deletions