Malcolm Priestley
cf07bb8e84
staging: vt6656: vRunCommand remove camel case.
...
pDevice -> priv
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-12 13:20:14 -07:00
Malcolm Priestley
43878a363b
staging: vt6656: wcmd remove unused commands
...
WLAN_CMD_CHANGE_BBSENSITIVITY and WLAN_CMD_MAC_DISPOWERSAVING
are already implemented and don't need the command timer.
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-12 13:20:14 -07:00
Malcolm Priestley
c06b1ad093
staging: vt6656: wcmd Remove command WLAN_CMD_RADIO
...
Part of it has already been removed. checking isr1 & ISR_GPIO3
serves no purpose.
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-12 13:20:14 -07:00
Malcolm Priestley
e30546d6aa
staging: vt6656: vCommandTimerWait remove camel case.
...
camel case changes
pDevice -> priv
MSecond -> msecs
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-12 13:20:14 -07:00
Greg Kroah-Hartman
913827ee9a
staging: lustre: fid: fid_request.c: checkpatch cleanup: align arguments to parenthesis
...
whitespace changes only - git diff -w shows no difference
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-12 01:09:15 -07:00
Greg Kroah-Hartman
699503bcab
staging: lustre: remove cfs_time_before()
...
Just call time_before() instead.
Cc: Andreas Dilger <andreas.dilger@intel.com >
Cc: Oleg Drokin <oleg.drokin@intel.com >
Cc: hpdd-discuss <hpdd-discuss@lists.01.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-12 01:03:41 -07:00
Greg Kroah-Hartman
88c03eae2d
staging: lustre: cfs_time_sub() must return unsigned long
...
It looks like someone ment for it to return this value (there's a cast),
but the funtion says 'long' which causes problems when comparing values
from this function.
Cc: Andreas Dilger <andreas.dilger@intel.com >
Cc: Oleg Drokin <oleg.drokin@intel.com >
Cc: hpdd-discuss <hpdd-discuss@lists.01.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-12 00:54:26 -07:00
Greg Kroah-Hartman
b2d201bd16
staging: lustre: remove cfs_duration_t typedef
...
Just use 'long' as that is what it was defined as.
Cc: Andreas Dilger <andreas.dilger@intel.com >
Cc: Oleg Drokin <oleg.drokin@intel.com >
Cc: hpdd-discuss <hpdd-discuss@lists.01.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-12 00:45:51 -07:00
Greg Kroah-Hartman
7264b8a5db
staging: lustre: remove cfs_time_current_sec wrapper
...
Just call get_seconds() directly.
Cc: Andreas Dilger <andreas.dilger@intel.com >
Cc: Oleg Drokin <oleg.drokin@intel.com >
Cc: hpdd-discuss <hpdd-discuss@lists.01.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-12 00:38:48 -07:00
Greg Kroah-Hartman
82173c6292
staging: lustre: remove cfs_time_beforeq wrapper
...
Use time_before_eq() call instead.
Cc: Andreas Dilger <andreas.dilger@intel.com >
Cc: Oleg Drokin <oleg.drokin@intel.com >
Cc: hpdd-discuss <hpdd-discuss@lists.01.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-12 00:31:18 -07:00
Greg Kroah-Hartman
a649ad1d7b
staging: lustre: remove cfs_time_t typedef
...
Just use unsigned long everywhere, like the rest of the kernel does.
Cc: Andreas Dilger <andreas.dilger@intel.com >
Cc: Oleg Drokin <oleg.drokin@intel.com >
Cc: hpdd-discuss <hpdd-discuss@lists.01.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-12 00:27:46 -07:00
Greg Kroah-Hartman
8718c63e5f
staging: lustre: remove unused functions from linux-time.h
...
No one was using them, so delete them.
Cc: Andreas Dilger <andreas.dilger@intel.com >
Cc: Oleg Drokin <oleg.drokin@intel.com >
Cc: hpdd-discuss <hpdd-discuss@lists.01.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-12 00:10:33 -07:00
Greg Kroah-Hartman
61b3508ae3
staging: lustre: remove cfs_fs_time_t
...
Use 'struct timespec' like the rest of the kernel does
Cc: Andreas Dilger <andreas.dilger@intel.com >
Cc: Oleg Drokin <oleg.drokin@intel.com >
Cc: hpdd-discuss <hpdd-discuss@lists.01.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-12 00:04:53 -07:00
Greg Kroah-Hartman
fb4a153994
staging: lustre: remove linux-tcpip.h
...
There were just a few macros being used, remove them and have the places
where they were being used to make the proper kernel api call instead.
Cc: Andreas Dilger <andreas.dilger@intel.com >
Cc: Oleg Drokin <oleg.drokin@intel.com >
Cc: hpdd-discuss <hpdd-discuss@lists.01.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-12 00:01:03 -07:00
Greg Kroah-Hartman
e12517f34b
staging: lustre: linux-tcpip.h: remove unused macros
...
Some macros are never used, so remove them.
Cc: Andreas Dilger <andreas.dilger@intel.com >
Cc: Oleg Drokin <oleg.drokin@intel.com >
Cc: hpdd-discuss <hpdd-discuss@lists.01.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-11 23:52:29 -07:00
Greg Kroah-Hartman
490e7dd4f9
staging: lustre: fix makefile build breakage
...
Forgot to test with infiniband enabled.
Reported-by: kbuild test robot <fengguang.wu@intel.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-11 23:49:54 -07:00
Greg Kroah-Hartman
e327dc882d
staging: lustre: remove socket_t typedef
...
Use 'struct socket' like the rest of the kernel does.
Cc: Andreas Dilger <andreas.dilger@intel.com >
Cc: Oleg Drokin <oleg.drokin@intel.com >
Cc: hpdd-discuss <hpdd-discuss@lists.01.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org
2014-07-11 23:42:52 -07:00
Greg Kroah-Hartman
691bc0eb29
staging: lustre: remove ctl_table typedefs
...
No need for these, just use the "real" struct the kernel provides.
Cc: Andreas Dilger <andreas.dilger@intel.com >
Cc: Oleg Drokin <oleg.drokin@intel.com >
Cc: hpdd-discuss <hpdd-discuss@lists.01.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-11 23:38:41 -07:00
Greg Kroah-Hartman
9fc48d006f
staging: lustre: remove linux-types.h
...
It's an empty file, so remove it.
Cc: Andreas Dilger <andreas.dilger@intel.com >
Cc: Oleg Drokin <oleg.drokin@intel.com >
Cc: hpdd-discuss <hpdd-discuss@lists.01.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-11 23:32:19 -07:00
Greg Kroah-Hartman
86e5b63d67
staging: lustre: fix build breakage on microblaze
...
I missed an include path that microblaze found in it's build paths.
Cc: Andreas Dilger <andreas.dilger@intel.com >
Cc: Oleg Drokin <oleg.drokin@intel.com >
Cc: hpdd-discuss <hpdd-discuss@lists.01.org >
Reported-by: kbuild test robot <fengguang.wu@intel.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-11 23:29:34 -07:00
Greg Kroah-Hartman
6de9710b24
staging: lustre: delete linux-lock.h
...
It was a few empty defines, so just remove the thing.
Cc: Andreas Dilger <andreas.dilger@intel.com >
Cc: Oleg Drokin <oleg.drokin@intel.com >
Cc: hpdd-discuss <hpdd-discuss@lists.01.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-11 23:28:12 -07:00
Greg Kroah-Hartman
ebf7b77818
staging: lustre: linux-cpu.h
...
Remove large commented out section for compatibility stuff that will
never be needed again.
Cc: Andreas Dilger <andreas.dilger@intel.com >
Cc: Oleg Drokin <oleg.drokin@intel.com >
Cc: hpdd-discuss <hpdd-discuss@lists.01.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-11 23:20:31 -07:00
Greg Kroah-Hartman
d2bc118d0b
staging: lustre: remove include/libcfs/linux/linux-bitops.h
...
It was just includeing bitops.h so do that instead in the one place that
was calling it.
Cc: Andreas Dilger <andreas.dilger@intel.com >
Cc: Oleg Drokin <oleg.drokin@intel.com >
Cc: hpdd-discuss <hpdd-discuss@lists.01.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-11 23:15:15 -07:00
Greg Kroah-Hartman
13636be4b6
staging: lustre: make include/linux/libcfs/linux/linux-crypto.h private
...
There are only 2 functions that are actually called from it, so move it
to the local place where it is needed, no need for it to be "global" for
the rest of lustre to see it.
Also remove the unneeded EXPORT_SYMBOL() markings for these functions,
as no one else calls them.
Cc: Andreas Dilger <andreas.dilger@intel.com >
Cc: Oleg Drokin <oleg.drokin@intel.com >
Cc: hpdd-discuss <hpdd-discuss@lists.01.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-11 23:12:04 -07:00
Greg Kroah-Hartman
30f38472f7
staging: lustre: remove unneeded DECLARE_LL_PROC_PPOS_DECL macro
...
It did nothing, so remove it.
Cc: Andreas Dilger <andreas.dilger@intel.com >
Cc: Oleg Drokin <oleg.drokin@intel.com >
Cc: hpdd-discuss <hpdd-discuss@lists.01.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-11 23:05:14 -07:00
Greg Kroah-Hartman
e4265658ce
staging: lustre: remove l_filep_open define
...
Just call filep_open(), no need to rename the thing.
Cc: Andreas Dilger <andreas.dilger@intel.com >
Cc: Oleg Drokin <oleg.drokin@intel.com >
Cc: hpdd-discuss <hpdd-discuss@lists.01.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-11 22:57:40 -07:00
Greg Kroah-Hartman
1668b82116
staging: lustre: remove l_file define
...
It's a "file" structure, so use it instead of trying to rename it.
Cc: Andreas Dilger <andreas.dilger@intel.com >
Cc: Oleg Drokin <oleg.drokin@intel.com >
Cc: hpdd-discuss <hpdd-discuss@lists.01.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-11 22:56:16 -07:00
Greg Kroah-Hartman
178b690132
staging: lustre: remove l_dentry define
...
It's a 'dentry', so use it instead of something else.
Cc: Andreas Dilger <andreas.dilger@intel.com >
Cc: Oleg Drokin <oleg.drokin@intel.com >
Cc: hpdd-discuss <hpdd-discuss@lists.01.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-11 22:53:32 -07:00
Greg Kroah-Hartman
ee9c1c1637
staging: lustre: remove empty bitmap.h
...
The file was empty, remove it as it wasn't doing anything.
Cc: Andreas Dilger <andreas.dilger@intel.com >
Cc: Oleg Drokin <oleg.drokin@intel.com >
Cc: hpdd-discuss <hpdd-discuss@lists.01.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-11 22:50:23 -07:00
Greg Kroah-Hartman
a393fd545f
staging: lustre: libcfs: include: minor whitespace fixes
...
Found by the checkpatch.pl tool
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-11 22:47:02 -07:00
Greg Kroah-Hartman
681fc80725
staging: lustre: lnet: include: minor whitespace fixes
...
Found by the checkpatch.pl tool
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-11 22:40:51 -07:00
Greg Kroah-Hartman
b78560200d
staging: lustre: ptlrpc: gss: delete unused code
...
The gss code has never been built, there is no Kconfig option for it, so
delete it as code that can not build goes bad really fast.
If someone wants it back, they can revert this and fix any build errors
that might be in it.
Cc: Andreas Dilger <andreas.dilger@intel.com >
Cc: Oleg Drokin <oleg.drokin@intel.com >
Cc: hpdd-discuss <hpdd-discuss@lists.01.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-11 22:30:54 -07:00
Greg Kroah-Hartman
e27db14919
staging: lustre: ptlrpc/ldlm: remove ccflags from Makefile
...
Fix up the relative paths in the .c files to properly build with the
Makefile change.
Cc: Andreas Dilger <andreas.dilger@intel.com >
Cc: Oleg Drokin <oleg.drokin@intel.com >
Cc: hpdd-discuss <hpdd-discuss@lists.01.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-11 22:29:36 -07:00
Greg Kroah-Hartman
7f2d973a7c
staging: lustre: obdecho: remove ccflags from Makefile
...
Fix up the relative paths in the .c files to properly build with the
Makefile change.
Cc: Andreas Dilger <andreas.dilger@intel.com >
Cc: Oleg Drokin <oleg.drokin@intel.com >
Cc: hpdd-discuss <hpdd-discuss@lists.01.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-11 22:17:53 -07:00
Greg Kroah-Hartman
3ee3001538
staging: lustre: osc: remove ccflags from Makefile
...
Fix up the relative paths in the .c files to properly build with the
Makefile change.
Cc: Andreas Dilger <andreas.dilger@intel.com >
Cc: Oleg Drokin <oleg.drokin@intel.com >
Cc: hpdd-discuss <hpdd-discuss@lists.01.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-11 22:16:18 -07:00
Greg Kroah-Hartman
73060ed93a
staging: lustre: mgc: remove ccflags from Makefile
...
Fix up the relative paths in the .c files to properly build with the
Makefile change.
Cc: Andreas Dilger <andreas.dilger@intel.com >
Cc: Oleg Drokin <oleg.drokin@intel.com >
Cc: hpdd-discuss <hpdd-discuss@lists.01.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-11 22:16:07 -07:00
Greg Kroah-Hartman
610f73773a
staging: lustre: obdclass: remove ccflags from Makefile
...
Fix up the relative paths in the .c files to properly build with the
Makefile change.
Cc: Andreas Dilger <andreas.dilger@intel.com >
Cc: Oleg Drokin <oleg.drokin@intel.com >
Cc: hpdd-discuss <hpdd-discuss@lists.01.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-11 22:15:24 -07:00
Greg Kroah-Hartman
0593230743
staging: lustre: mdc: remove ccflags from Makefile
...
Fix up the relative paths in the .c files to properly build with the
Makefile change.
Cc: Andreas Dilger <andreas.dilger@intel.com >
Cc: Oleg Drokin <oleg.drokin@intel.com >
Cc: hpdd-discuss <hpdd-discuss@lists.01.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-11 22:04:56 -07:00
Greg Kroah-Hartman
e0a30a6b7c
staging: lustre: lvfs: remove ccflags from Makefile
...
Fix up the relative paths in the .c files to properly build with the
Makefile change.
Cc: Andreas Dilger <andreas.dilger@intel.com >
Cc: Oleg Drokin <oleg.drokin@intel.com >
Cc: hpdd-discuss <hpdd-discuss@lists.01.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-11 22:02:26 -07:00
Greg Kroah-Hartman
0cf0f7a722
staging: lustre: lov: remove ccflags from Makefile
...
Fix up the relative paths in the .c files to properly build with the
Makefile change.
Cc: Andreas Dilger <andreas.dilger@intel.com >
Cc: Oleg Drokin <oleg.drokin@intel.com >
Cc: hpdd-discuss <hpdd-discuss@lists.01.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-11 22:01:58 -07:00
Greg Kroah-Hartman
a8c495aca9
staging: lustre: lmv: remove ccflags from Makefile
...
Fix up the relative paths in the .c files to properly build with the
Makefile change.
Cc: Andreas Dilger <andreas.dilger@intel.com >
Cc: Oleg Drokin <oleg.drokin@intel.com >
Cc: hpdd-discuss <hpdd-discuss@lists.01.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-11 21:57:32 -07:00
Greg Kroah-Hartman
67a235f5e5
staging: lustre: llite: remove ccflags from Makefile
...
Fix up the relative paths in the .c files to properly build with the
Makefile change.
Cc: Andreas Dilger <andreas.dilger@intel.com >
Cc: Oleg Drokin <oleg.drokin@intel.com >
Cc: hpdd-discuss <hpdd-discuss@lists.01.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-11 21:57:19 -07:00
Greg Kroah-Hartman
0e9ad0efe2
staging: lustre: fld: remove ccflags from Makefile
...
Also fix up the relative paths in the .c files to properly build
now
Cc: Andreas Dilger <andreas.dilger@intel.com >
Cc: Oleg Drokin <oleg.drokin@intel.com >
Cc: hpdd-discuss <hpdd-discuss@lists.01.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-11 21:51:13 -07:00
Greg Kroah-Hartman
615663918a
staging: lustre: fid: remove ccflags from Makefile
...
Also fix up the relative paths in the .c files to properly build now
Cc: Andreas Dilger <andreas.dilger@intel.com >
Cc: Oleg Drokin <oleg.drokin@intel.com >
Cc: hpdd-discuss <hpdd-discuss@lists.01.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-11 21:50:29 -07:00
Greg Kroah-Hartman
1accaadf2a
staging: lustre: fix include relative paths
...
In drivers/staging/lustre/lustre/include there was a bunch of .h files
relying on ccflags to be set up right. Make all of them proper relative
paths so that ccflags for different subdirs can be now removed.
Cc: Andreas Dilger <andreas.dilger@intel.com >
Cc: Oleg Drokin <oleg.drokin@intel.com >
Cc: hpdd-discuss <hpdd-discuss@lists.01.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-11 21:34:24 -07:00
Greg Kroah-Hartman
da0e6a7a9a
staging: lustre: libcfs: remove ccflags from Makefile
...
There were two paths being added, yet only one was needed. Remove both,
and fix up the 3 .c files to point to the location of the needed .h
file.
Cc: Andreas Dilger <andreas.dilger@intel.com >
Cc: Oleg Drokin <oleg.drokin@intel.com >
Cc: hpdd-discuss <hpdd-discuss@lists.01.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-11 21:00:57 -07:00
Greg Kroah-Hartman
5c4fcfbe3f
staging: lustre: remove some unneeded cflags
...
The lnet code did not even need the cflags setting in the Makefile, so
remove it, as it is not doing anything at all.
Cc: Andreas Dilger <andreas.dilger@intel.com >
Cc: Oleg Drokin <oleg.drokin@intel.com >
Cc: hpdd-discuss <hpdd-discuss@lists.01.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-11 20:58:15 -07:00
Greg Kroah-Hartman
9fdaf8c0b9
staging: lustre: remove top level ccflags variable
...
We need to remove the ccflags from the Lustre code as it prevents
individual object files from building properly in the kernel build
system. It also hids the horrid mess that the Lustre include files are
made up of.
Start out by removing the toplevel ccflags variable pointing to
drivers/staging/lustre/include/ as a valid include path. This requires
the absolute include markings of a bunch of .h and .c files, which is
also done here.
Cc: Andreas Dilger <andreas.dilger@intel.com >
Cc: Oleg Drokin <oleg.drokin@intel.com >
Cc: hpdd-discuss <hpdd-discuss@lists.01.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-11 20:51:16 -07:00
Greg Kroah-Hartman
f81d2eaa55
staging: lnet: ptllnd_wire.h: checkpatch cleanup: whitespace neatening
...
whitespace changes only - git diff -w shows no difference
Cc: Joe Perches <joe@perches.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-11 18:47:33 -07:00
Greg Kroah-Hartman
1c9d9e908e
staging: lnet: lnetctl.h: checkpatch cleanup: whitespace neatening
...
whitespace changes only - git diff -w shows no difference
Cc: Joe Perches <joe@perches.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-11 18:47:33 -07:00