Skip to content

Commit

Permalink
staging: lustre: lnet: selftest: add include path to Makefile
Browse files Browse the repository at this point in the history
Rationalize include paths in the lnet selftest source code files.

Signed-off-by: James Simmons <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
jamesasimmons authored and gregkh committed Aug 23, 2017
1 parent 8d4fafa commit a33e20b
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 18 deletions.
3 changes: 3 additions & 0 deletions drivers/staging/lustre/lnet/selftest/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
subdir-ccflags-y += -I$(srctree)/drivers/staging/lustre/include
subdir-ccflags-y += -I$(srctree)/drivers/staging/lustre/lustre/include

obj-$(CONFIG_LNET_SELFTEST) := lnet_selftest.o

lnet_selftest-y := console.o conrpc.o conctl.o framework.o timer.o rpc.o \
Expand Down
6 changes: 3 additions & 3 deletions drivers/staging/lustre/lnet/selftest/conctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@
* Author: Liang Zhen <[email protected]>
*/

#include "../../include/linux/libcfs/libcfs.h"
#include "../../include/linux/lnet/lib-lnet.h"
#include "../../include/uapi/linux/lnet/lnetst.h"
#include <linux/libcfs/libcfs.h>
#include <linux/lnet/lib-lnet.h>
#include <uapi/linux/lnet/lnetst.h>
#include "console.h"

static int
Expand Down
4 changes: 2 additions & 2 deletions drivers/staging/lustre/lnet/selftest/conrpc.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
* Author: Liang Zhen <[email protected]>
*/

#include "../../include/linux/libcfs/libcfs.h"
#include "../../include/linux/lnet/lib-lnet.h"
#include <linux/libcfs/libcfs.h>
#include <linux/lnet/lib-lnet.h>
#include "timer.h"
#include "conrpc.h"
#include "console.h"
Expand Down
6 changes: 3 additions & 3 deletions drivers/staging/lustre/lnet/selftest/conrpc.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@
#ifndef __LST_CONRPC_H__
#define __LST_CONRPC_H__

#include "../../include/linux/libcfs/libcfs.h"
#include "../../include/linux/lnet/lib-types.h"
#include "../../include/uapi/linux/lnet/lnetst.h"
#include <linux/libcfs/libcfs.h>
#include <linux/lnet/lib-types.h>
#include <uapi/linux/lnet/lnetst.h>
#include "rpc.h"
#include "selftest.h"

Expand Down
4 changes: 2 additions & 2 deletions drivers/staging/lustre/lnet/selftest/console.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
* Author: Liang Zhen <[email protected]>
*/

#include "../../include/linux/libcfs/libcfs.h"
#include "../../include/linux/lnet/lib-lnet.h"
#include <linux/libcfs/libcfs.h>
#include <linux/lnet/lib-lnet.h>
#include "console.h"
#include "conrpc.h"

Expand Down
6 changes: 3 additions & 3 deletions drivers/staging/lustre/lnet/selftest/console.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@
#ifndef __LST_CONSOLE_H__
#define __LST_CONSOLE_H__

#include "../../include/linux/libcfs/libcfs.h"
#include "../../include/linux/lnet/lib-types.h"
#include "../../include/uapi/linux/lnet/lnetst.h"
#include <linux/libcfs/libcfs.h>
#include <linux/lnet/lib-types.h>
#include <uapi/linux/lnet/lnetst.h>
#include "selftest.h"
#include "conrpc.h"

Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/lustre/lnet/selftest/rpc.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
#ifndef __SELFTEST_RPC_H__
#define __SELFTEST_RPC_H__

#include "../../include/uapi/linux/lnet/lnetst.h"
#include <uapi/linux/lnet/lnetst.h>

/*
* LST wired structures
Expand Down
8 changes: 4 additions & 4 deletions drivers/staging/lustre/lnet/selftest/selftest.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@

#define LNET_ONLY

#include "../../include/linux/libcfs/libcfs.h"
#include "../../include/linux/lnet/lib-lnet.h"
#include "../../include/linux/lnet/lib-types.h"
#include "../../include/uapi/linux/lnet/lnetst.h"
#include <linux/libcfs/libcfs.h>
#include <linux/lnet/lib-lnet.h>
#include <linux/lnet/lib-types.h>
#include <uapi/linux/lnet/lnetst.h>

#include "rpc.h"
#include "timer.h"
Expand Down

0 comments on commit a33e20b

Please sign in to comment.