Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6104503c authored by Amit Ghadge's avatar Amit Ghadge Committed by David S. Miller
Browse files

net: Fix coding style warnings and errors.



This is a patch to clean checkpatch warnings and errors
in the Space.c file.
Clean up the following warnings and errors.

WARNING :
* Block comments use * on subsequent lines
* Missing a blank line after declarations
* networking block comments don't use an empty /* line, use /*
* please, no space before tabs
* please, no spaces at the start of a line
* line over 80 characters

ERROR :
* code indent should use tabs where possible
* space prohibited after that open parenthesis '('

Signed-off-by: default avatarAmit Ghadge <amitg.b14@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 87553aa5
Loading
Loading
Loading
Loading
+10 −11
Original line number Diff line number Diff line
@@ -35,7 +35,7 @@
#include <net/Space.h>

/* A unified ethernet device probe.  This is the easiest way to have every
   ethernet adaptor have the name "eth[0123...]".
 * ethernet adaptor have the name "eth[0123...]".
 */

struct devprobe2 {
@@ -46,6 +46,7 @@ struct devprobe2 {
static int __init probe_list2(int unit, struct devprobe2 *p, int autoprobe)
{
	struct net_device *dev;

	for (; p->probe; p++) {
		if (autoprobe && p->status)
			continue;
@@ -58,8 +59,7 @@ static int __init probe_list2(int unit, struct devprobe2 *p, int autoprobe)
	return -ENODEV;
}

/*
 * ISA probes that touch addresses < 0x400 (including those that also
/* ISA probes that touch addresses < 0x400 (including those that also
 * look for EISA/PCI cards in addition to ISA cards).
 */
static struct devprobe2 isa_probes[] __initdata = {
@@ -89,8 +89,8 @@ static struct devprobe2 isa_probes[] __initdata = {
	{cs89x0_probe, 0},
#endif
#endif
#if defined(CONFIG_MVME16x_NET) || defined(CONFIG_BVME6000_NET)	/* Intel I82596 */
	{i82596_probe, 0},
#if defined(CONFIG_MVME16x_NET) || defined(CONFIG_BVME6000_NET)	/* Intel */
	{i82596_probe, 0},					/* I82596 */
#endif
#ifdef CONFIG_NI65
	{ni65_probe, 0},
@@ -123,8 +123,7 @@ static struct devprobe2 m68k_probes[] __initdata = {
	{NULL, 0},
};

/*
 * Unified ethernet device probe, segmented per architecture and
/* Unified ethernet device probe, segmented per architecture and
 * per bus interface. This drives the legacy devices only for now.
 */