Re: [PATCH][RFC/v1][4/12] Add InfiniBand SA (Subnet Administration) query support

From: Sam Ravnborg
Date: Mon Nov 22 2004 - 14:57:30 EST


Nitpicking.

Sam

> --- linux-bk.orig/drivers/infiniband/core/Makefile 2004-11-21 21:25:53.101323036 -0800
> +++ linux-bk/drivers/infiniband/core/Makefile 2004-11-21 21:25:53.879207651 -0800
> @@ -2,7 +2,8 @@
>
> obj-$(CONFIG_INFINIBAND) += \
> ib_core.o \
> - ib_mad.o
> + ib_mad.o \
> + ib_sa.o
It's more readable to keep .o files on one line.


>
> ib_core-objs := \
> packer.o \

For new stuff please use ib_core-y :=

> @@ -17,3 +18,5 @@
> mad.o \
> smi.o \
> agent.o
> +
> +ib_sa-objs := sa_query.o
ib_sa-y := please.

> +#include <linux/idr.h>
> +
> +#include <ib_pack.h>
> +#include <ib_sa.h>
If they are in same dir as .c file use:
#include "ib_pack.h"
#include "ib_sa.h"

> Index: linux-bk/drivers/infiniband/include/ib_sa.h

.h files for a subsystem like this ought to be placed in include/infiniband
if they will be used by files in other directories than drivers/infiniband


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/