Re: [PATCH 4/4] Staging: lustre: sparse lock warning fix

2015-05-21 Thread AdrianRemonda
On Tue, May 19, 2015 at 12:21:15AM +0300, Dan Carpenter wrote: On Mon, May 18, 2015 at 08:34:51PM +0200, Adrian Remonda wrote: Fixed sparse warning: context imbalance in 'nrs_resource_put_safe' - 'different lock contexts for basic block' by releasing the lock on each iteration of the for

Re: [PATCH 6/6] MAINTAINERS: maintain parport

2015-05-21 Thread Greg Kroah-Hartman
On Thu, May 21, 2015 at 07:51:18AM +0200, Willy Tarreau wrote: On Wed, May 20, 2015 at 05:46:44PM +0200, Richard Weinberger wrote: On Wed, May 20, 2015 at 5:27 PM, Sudip Mukherjee sudipm.mukher...@gmail.com wrote: Lets give the parport subsystem a proper name and start maintaining the

[PATCH v2 4/6] i2c-parport: use new parport device model

2015-05-21 Thread Sudip Mukherjee
Modify i2c-parport driver to use the new parallel port device model. Tested-by: Jean Delvare jdelv...@suse.de Acked-by: Wolfram Sang w...@the-dreams.de Signed-off-by: Sudip Mukherjee su...@vectorindia.org --- v2: Changed to one space instead of tab in i2c_parport_driver. i2c_parport_cb is made

Re: [PATCH 6/6] MAINTAINERS: maintain parport

2015-05-21 Thread Sudip Mukherjee
On Wed, May 20, 2015 at 10:36:04PM +0200, Richard Weinberger wrote: Am 20.05.2015 um 18:33 schrieb One Thousand Gnomes: On Wed, 20 May 2015 17:46:44 +0200 Richard Weinberger richard.weinber...@gmail.com wrote: On Wed, May 20, 2015 at 5:27 PM, Sudip Mukherjee sudipm.mukher...@gmail.com

Re: [PATCH v4 10/13] staging: lustre: lnet: lnet: checkpatch.pl fixes

2015-05-21 Thread Joe Perches
On Thu, 2015-05-21 at 15:50 -0400, Mike Shuey wrote: Fix many checkpatch.pl warnings. [] diff --git a/drivers/staging/lustre/lnet/lnet/acceptor.c b/drivers/staging/lustre/lnet/lnet/acceptor.c [] @@ -99,38 +99,42 @@ lnet_connect_console_error(int rc, lnet_nid_t peer_nid, switch (rc) {

[PATCH 40/58] stagng/lustre/obdclass: Remove unused function lprocfs_rd_num_exports

2015-05-21 Thread green
From: Oleg Drokin gr...@linuxhacker.ru This function is unused in client code. Signed-off-by: Oleg Drokin gr...@linuxhacker.ru --- drivers/staging/lustre/lustre/include/lprocfs_status.h | 1 - drivers/staging/lustre/lustre/obdclass/lprocfs_status.c | 10 -- 2 files changed, 11

[PATCH 07/13] staging: lustre: lnet: selftest: code cleanup - variable spacing, indentation

2015-05-21 Thread Mike Shuey
Unify spacing in variable declarations, and align indentation in headers. General whitespace cleanups. Signed-off-by: Mike Shuey sh...@purdue.edu --- drivers/staging/lustre/lnet/selftest/brw_test.c | 60 ++-- drivers/staging/lustre/lnet/selftest/conctl.c| 54 ++--

Re: [PATCH v4 10/13] staging: lustre: lnet: lnet: checkpatch.pl fixes

2015-05-21 Thread Julia Lawall
On Thu, 21 May 2015, Joe Perches wrote: On Thu, 2015-05-21 at 15:50 -0400, Mike Shuey wrote: Fix many checkpatch.pl warnings. [] diff --git a/drivers/staging/lustre/lnet/lnet/acceptor.c b/drivers/staging/lustre/lnet/lnet/acceptor.c [] @@ -99,38 +99,42 @@

[PATCH] staging: fbtft: Add support for Himax HX8357D controller

2015-05-21 Thread Heiner Kallweit
The Himax HX8357D is used e.g. by the Adafruit PITFT Plus 3.5. They added HX8357D support to an own fork of fbtft and support Raspbian only (https://github.com/adafruit/adafruit-rpi-fbtft/). They don't intend to push it upstream but gave me the ok to do so. I just applied small changes to the

[PATCH 0/2] staging: rtl8192u: r819xU_firmware.h: fix coding style issues

2015-05-21 Thread Buţiu Alexandru Octavian
Buţiu Alexandru Octavian (2): staging: rtl8192u: r819xU_firmware.h: fix do not use c99 comments staging: rtl8192u: r819xU_firmware.h: fix line over 80 characters drivers/staging/rtl8192u/r819xU_firmware.h | 20 1 file changed, 12 insertions(+), 8 deletions(-) -- 2.1.4

[PATCH 1/2] staging: rtl8192u: r819xU_firmware.h: fix do not use c99 comments

2015-05-21 Thread Buţiu Alexandru Octavian
Fixed coding style error do not use c99 comments detected by checkpatch.pl in r819xU_firmware.h Signed-off-by: Buţiu Alexandru Octavian predator5...@gmail.com --- drivers/staging/rtl8192u/r819xU_firmware.h | 17 ++--- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git

[PATCH 2/2] staging: rtl8192u: r819xU_firmware.h: fix line over 80 characters

2015-05-21 Thread Buţiu Alexandru Octavian
Fixed coding style issue line over 80 characters detected by checkpatch.pl in r819xU_firmware.h Signed-off-by: Buţiu Alexandru Octavian predator5...@gmail.com --- drivers/staging/rtl8192u/r819xU_firmware.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

Re: Anybody working on rtl8712?

2015-05-21 Thread Xose Vazquez Perez
On 05/07/2015 12:37 AM, Jes Sorensen wrote: Christian Lamparter chunk...@googlemail.com writes: But as I mentioned before: I would recommend adding just a _friendly_ printk I'm happy adding a printk - what would you like it to say? Christian, ping! BTW, why rtl8192su is not inside the

Re: [PATCH 4/4] Staging: lustre: sparse lock warning fix

2015-05-21 Thread Dan Carpenter
Oh, sorry, I didn't read your patch very carefully. It won't cause a deadlock. But I'm going to assume it's still not right until lustre expert Acks it. How well do you understand lustre locking? regards, dan carpenter ___ devel mailing list

[PATCH 0/3] First set of Intel branch merger for libcfs/lnet

2015-05-21 Thread James Simmons
This is the first set of patches that are current in the Intel branch which are apart of the effort to cleanup LNet/libcfs. James Simmons (3): staging:lustre: remove tcpip abstraction from libcfs staging:lustre: remove kernel defines in userland headers staging:lustre: cleanup libcfs lock

Re: [PATCH 6/6] staging: vme_user: provide DMA functionality

2015-05-21 Thread Dmitry Kalinkin
On Tue, May 19, 2015 at 12:18 PM, Dan Carpenter dan.carpen...@oracle.com wrote: On Mon, May 18, 2015 at 09:56:33PM +0300, Dmitry Kalinkin wrote: + for_each_sg(sgt-sgl, sg, sg_count, i) { + struct vme_dma_attr *pci_attr, *vme_attr, *dest, *src; + dma_addr_t

[PATCH 2/3] staging:lustre: remove kernel defines in userland headers

2015-05-21 Thread James Simmons
From: James Simmons uja.o...@yahoo.com Currently the lnet headers used for user land applications contain various kernel definations. This is due to the fact libcfs contains kernel wrappers for user land which will be going away. This patch sorted the header data so all kernel containing

[PATCH 1/3] staging:lustre: remove tcpip abstraction from libcfs

2015-05-21 Thread James Simmons
From: James Simmons uja.o...@yahoo.com Since libcfs no longer builds for user land we can move the TCPIP abstraction that exist to the LNET layer which is the only place that uses it. Also the migrated code will use native linux kernel APIs directly instead of with wrappers. Signed-off-by: James

[PATCH 3/3] staging:lustre: cleanup libcfs lock handling

2015-05-21 Thread James Simmons
Previously with libcfs being built for user land and kernel space wrappers were created to transparently handle locking. Now that user land support has been removed we delete all those locking wrappers with this patch. Many of those changes landed upstream but some nice cleanups still remain that

Re: [PATCH 4/4] Staging: lustre: sparse lock warning fix

2015-05-21 Thread Nikitas Angelinas
(Apologies for the double-posting to individual recipients; resending in plain text to get through vger list filters.) The current code does not have a bug in this path (until we find one, of course). nrs_resource_put_safe() releases references to the related NRS resource hierarchies and policies

Re: [PATCH v4 10/13] staging: lustre: lnet: lnet: checkpatch.pl fixes

2015-05-21 Thread Joe Perches
On Thu, 2015-05-21 at 18:04 -0400, Michael Shuey wrote: That's a task (of many) I've been putting on the back burner until the code is cleaner. It's also a HUGE change, since there are debug macros everywhere, and they all check a #define'd mask to see if they should fire, and the behavior is

Re: [PATCH v4 10/13] staging: lustre: lnet: lnet: checkpatch.pl fixes

2015-05-21 Thread Joe Perches
On Thu, 2015-05-21 at 17:47 -0400, Michael Shuey wrote: Any suggestions on other checkpatch warnings? Most of what remains are don't introduce new typedefs warnings - should these be removed as well, or am I safe to leave these? I'm personally not a big fan of non-enum typedefs unless the

[PATCH] staging: rtl8188eu: Remove redundant CONFIG_88EU_AP_MODE tests

2015-05-21 Thread Jakub Sitnicki
Remove #ifdef's enclosed by an #ifdef test for the same macro to improve readability. No code changes: md5, CONFIG_88EU_AP_MODE=y: b819a33f65133607ebc33b8999ee3a79 r8188eu.o.before b819a33f65133607ebc33b8999ee3a79 r8188eu.o.after md5, CONFIG_88EU_AP_MODE=n:

[PATCH 05/58] staging/lustre/llite: move /proc/fs/lustre/llite/kbytes* to sysfs

2015-05-21 Thread green
From: Oleg Drokin gr...@linuxhacker.ru Move kbytestotal, kbytesavail and kbytesfree files from /proc/fs/lustre/llite/* to /sys/fs/lustre/llite/*/ Signed-off-by: Oleg Drokin gr...@linuxhacker.ru --- drivers/staging/lustre/lustre/llite/lproc_llite.c | 45 ---

[PATCH 15/58] staging/lustre/llite: move /proc/fs/lustre/llite/stats_track* to sysfs

2015-05-21 Thread green
From: Oleg Drokin gr...@linuxhacker.ru Move stats_track_pid, stats_track_ppid and stats_track_gid files from /proc/fs/lustre/llite/* to /sys/fs/lustre/llite/*/ Signed-off-by: Oleg Drokin gr...@linuxhacker.ru --- drivers/staging/lustre/lustre/llite/lproc_llite.c | 99 ---

[PATCH 08/58] staging/lustre/llite: move /proc/fs/lustre/llite/fstype to sysfs

2015-05-21 Thread green
From: Oleg Drokin gr...@linuxhacker.ru Move fstype file from /proc/fs/lustre/llite/* to /sys/fs/lustre/llite/*/ Signed-off-by: Oleg Drokin gr...@linuxhacker.ru --- drivers/staging/lustre/lustre/llite/lproc_llite.c | 14 +++--- drivers/staging/lustre/sysfs-fs-lustre| 6

[PATCH 13/58] staging/lustre/llite: move /proc/fs/lustre/llite/checksum_pages to sysfs

2015-05-21 Thread green
From: Oleg Drokin gr...@linuxhacker.ru Move checksum_pages file from /proc/fs/lustre/llite/* to /sys/fs/lustre/llite/*/ Signed-off-by: Oleg Drokin gr...@linuxhacker.ru --- drivers/staging/lustre/lustre/llite/llite_lib.c | 2 +- drivers/staging/lustre/lustre/llite/lproc_llite.c | 30

[PATCH 51/58] staging/lustre/fid: move all files from procfs to debugfs

2015-05-21 Thread green
From: Dmitry Eremin dmitry4e...@gmail.com Signed-off-by: Dmitry Eremin dmiter4e...@gmail.com --- drivers/staging/lustre/lustre/fid/fid_internal.h | 6 +-- drivers/staging/lustre/lustre/fid/fid_request.c| 63 +- drivers/staging/lustre/lustre/fid/lproc_fid.c | 49

[PATCH 48/58] staging/lustre/lov: Move suitable variables from procfs to sysfs

2015-05-21 Thread green
From: Oleg Drokin gr...@linuxhacker.ru Signed-off-by: Oleg Drokin gr...@linuxhacker.ru --- drivers/staging/lustre/lustre/include/obd.h | 2 ++ drivers/staging/lustre/lustre/lov/lov_obd.c | 44 ++- drivers/staging/lustre/lustre/lov/lproc_lov.c | 39

[PATCH 45/58] drivers/staging/llite: Move all remaining procfs entries to debugfs

2015-05-21 Thread green
From: Oleg Drokin gr...@linuxhacker.ru This moves all remaining procfs handling in llite layer to debugfs. Signed-off-by: Dmitry Eremin dmitry.ere...@intel.com Signed-off-by: Oleg Drokin oleg.dro...@intel.com --- .../staging/lustre/lustre/llite/llite_internal.h | 27 +++-

[PATCH 56/58] staging/lustre/obd: remove unused lprocfs_exp_setup() and related functions

2015-05-21 Thread green
From: Oleg Drokin gr...@linuxhacker.ru This code only made sense on servers. Signed-off-by: Dmitry Eremin dmiter4e...@gmail.com Signed-off-by: Oleg Drokin oleg.dro...@intel.com --- .../staging/lustre/lustre/include/lprocfs_status.h | 2 - drivers/staging/lustre/lustre/include/obd.h|

[PATCH 14/58] staging/lustre/llite: remove unused ll_max_rw_chunk

2015-05-21 Thread green
From: Oleg Drokin gr...@linuxhacker.ru ll_max_rw_chunk seems to be unused ever since we implemented CLIO in 2.0, so remove it and all supporting infrastructure. Signed-off-by: Oleg Drokin gr...@linuxhacker.ru --- .../staging/lustre/lustre/llite/llite_internal.h | 5 -

[PATCH 37/58] staging/lustre/ldlm: move all remaining files from procfs to debugfs

2015-05-21 Thread green
From: Dmitry Eremin dmitry4e...@gmail.com Move all files except stats. It will be moved later after change type of obddev-obd_proc_entry member. Signed-off-by: Dmitry Eremin dmiter4e...@gmail.com Signed-off-by: Oleg Drokin oleg.dro...@intel.com ---

[PATCH 32/58] staging/lustre: Add debugfs root

2015-05-21 Thread green
From: Oleg Drokin gr...@linuxhacker.ru This is just plumbing for migrating remaining procfs to debugfs support Signed-off-by: Dmitry Eremin dmitry.ere...@intel.com Signed-off-by: Oleg Drokin oleg.dro...@intel.com --- .../staging/lustre/lustre/include/lprocfs_status.h | 25 -

[PATCH 34/58] staging/lustre/ptlrpc: Add infrastructure for sysfs migration

2015-05-21 Thread green
From: Oleg Drokin gr...@linuxhacker.ru Added necessary plumbing for ptlrpc sysfs integration for registered services, sysfs directory registration. Signed-off-by: Oleg Drokin oleg.dro...@intel.com --- drivers/staging/lustre/lustre/include/lustre_net.h | 5 +++

[PATCH 31/58] staging/lustre/ldlm: move procfs ldlm pool stats to sysfs

2015-05-21 Thread green
From: Oleg Drokin gr...@linuxhacker.ru Suitable contents of /proc/fs/lustre/ldlm/namespaces/.../pools/ is moved to /sys/fs/lustre/ldlm/namespaces/.../pools/: cancel_rate grant_plan grant_speed lock_volume_factor server_lock_volume granted grant_rate limit recalc_period Signed-off-by: Oleg Drokin

[PATCH v4 05/13] staging: lustre: lnet: o2iblnd: code cleanup - align whitespace

2015-05-21 Thread Mike Shuey
Unify variable declarations to use a single whitespace. Also line up declarations and comments in o2iblnd.h. Signed-off-by: Mike Shuey sh...@purdue.edu --- .../staging/lustre/lnet/klnds/o2iblnd/o2iblnd.c| 458 +++--- .../staging/lustre/lnet/klnds/o2iblnd/o2iblnd.h| 680

[PATCH 12/13] staging: lustre: lnet: socklnd: checkpatch.pl cleanups

2015-05-21 Thread Mike Shuey
More checkpatch.pl warnings code cleanup. Signed-off-by: Mike Shuey sh...@purdue.edu --- .../staging/lustre/lnet/klnds/socklnd/socklnd.c| 94 +++-- .../staging/lustre/lnet/klnds/socklnd/socklnd.h| 20 +- .../staging/lustre/lnet/klnds/socklnd/socklnd_cb.c | 419 +++-

[PATCH 10/13] staging: lustre: lnet: lnet: checkpatch.pl fixes

2015-05-21 Thread Mike Shuey
Fix many checkpatch.pl warnings. Signed-off-by: Mike Shuey sh...@purdue.edu --- drivers/staging/lustre/lnet/lnet/acceptor.c| 69 ++- drivers/staging/lustre/lnet/lnet/api-ni.c | 18 -- drivers/staging/lustre/lnet/lnet/config.c |2 +-

[PATCH 13/13] staging: lustre: lnet: selftest: checkpatch.pl fixes

2015-05-21 Thread Mike Shuey
Cleaning up more checkpatch.pl issues. Signed-off-by: Mike Shuey sh...@purdue.edu --- drivers/staging/lustre/lnet/selftest/brw_test.c |3 +- drivers/staging/lustre/lnet/selftest/conctl.c|4 +- drivers/staging/lustre/lnet/selftest/conrpc.c| 41

[PATCH 00/58] Remove lustre procfs usage

2015-05-21 Thread green
From: Oleg Drokin gr...@linuxhacker.ru This somewhat long patch series removes all procfs usage in Lustre client. sysfs-fs-lustre file at the root of the lustre tree is added listing the files content added to sysfs for files that were moved to sysfs. Some other content taht did not fit sysfs or

[PATCH 01/58] staging/lustre: Generic helpers for sysfs

2015-05-21 Thread green
From: Oleg Drokin gr...@linuxhacker.ru Add generic helpers to allow displaying oof lustre-specific values in /sys/fs/lustre Signed-off-by: Oleg Drokin gr...@linuxhacker.ru --- .../staging/lustre/lustre/include/lprocfs_status.h | 21 +++

[PATCH 58/58] staging/lustre/obd: final removal of procfs stuff

2015-05-21 Thread green
From: Dmitry Eremin dmiter4e...@gmail.com Signed-off-by: Dmitry Eremin dmiter4e...@gmail.com Signed-off-by: Oleg Drokin oleg.dro...@intel.com --- .../lustre/include/linux/libcfs/linux/libcfs.h | 1 - drivers/staging/lustre/lustre/fid/Makefile | 3 +-

[PATCH v4 01/13] staging: lustre: lnet: lnet: code cleanups - variable declarations

2015-05-21 Thread Mike Shuey
Unify variable declarations to use a single space, and any other obvious spacing flaws. Signed-off-by: Mike Shuey sh...@purdue.edu --- drivers/staging/lustre/lnet/lnet/acceptor.c| 32 ++-- drivers/staging/lustre/lnet/lnet/api-ni.c | 198 ++--

[PATCH v4 11/13] staging: lnet: o2iblnd: checkpatch.pl fixes

2015-05-21 Thread Mike Shuey
Clean up most checkpatch.pl warnings (primarily line length warnings). Signed-off-by: Mike Shuey sh...@purdue.edu --- .../staging/lustre/lnet/klnds/o2iblnd/o2iblnd.c| 25 ++- .../staging/lustre/lnet/klnds/o2iblnd/o2iblnd.h| 204 +++-

[PATCH v4 12/13] staging: lustre: lnet: socklnd: checkpatch.pl cleanups

2015-05-21 Thread Mike Shuey
More checkpatch.pl warnings code cleanup. Signed-off-by: Mike Shuey sh...@purdue.edu --- .../staging/lustre/lnet/klnds/socklnd/socklnd.c| 94 +++-- .../staging/lustre/lnet/klnds/socklnd/socklnd.h| 20 +- .../staging/lustre/lnet/klnds/socklnd/socklnd_cb.c | 419 +++-

[PATCH 11/13] staging: lnet: o2iblnd: checkpatch.pl fixes

2015-05-21 Thread Mike Shuey
Clean up most checkpatch.pl warnings (primarily line length warnings). Signed-off-by: Mike Shuey sh...@purdue.edu --- .../staging/lustre/lnet/klnds/o2iblnd/o2iblnd.c| 25 ++- .../staging/lustre/lnet/klnds/o2iblnd/o2iblnd.h| 204 +++-

[PATCH v4 10/13] staging: lustre: lnet: lnet: checkpatch.pl fixes

2015-05-21 Thread Mike Shuey
Fix many checkpatch.pl warnings. Signed-off-by: Mike Shuey sh...@purdue.edu --- drivers/staging/lustre/lnet/lnet/acceptor.c| 69 ++- drivers/staging/lustre/lnet/lnet/api-ni.c | 18 -- drivers/staging/lustre/lnet/lnet/config.c |2 +-

[PATCH 47/58] staging/lustre/osc: move suitable values from procfs to sysfs

2015-05-21 Thread green
From: Oleg Drokin gr...@linuxhacker.ru All single-value controls are moved from /proc/fs/lustre/osc/.../ to /sys/fs/lustre/osc/.../ Signed-off-by: Oleg Drokin gr...@linuxhacker.ru --- drivers/staging/lustre/lustre/osc/lproc_osc.c | 371 +++---

[PATCH 42/58] staging/lustre/obdclass: Prepare for procfs to sysfs migration

2015-05-21 Thread green
From: Oleg Drokin gr...@linuxhacker.ru Add necessary plumbing to register obd types and instances under /sys/fs/lustre Signed-off-by: Oleg Drokin oleg.dro...@intel.com --- .../staging/lustre/lustre/include/lprocfs_status.h | 4 ++- drivers/staging/lustre/lustre/include/obd.h| 4 +++

[PATCH 33/58] staging/lustre: move /proc/fs/lustre/devices to debugfs

2015-05-21 Thread green
From: Oleg Drokin gr...@linuxhacker.ru the devices file prints out status information about all obd devices in the system in human readable form. Signed-off-by: Dmitry Eremin dmitry.ere...@intel.com Signed-off-by: Oleg Drokin oleg.dro...@intel.com ---

[PATCH 38/58] staging/lustre/ptlrpc: move sptlrpc procfs entry to debugfs

2015-05-21 Thread green
From: Dmitry Eremin dmiter4e...@gmail.com We might want eventuall split it into a bunch of single-value sysfs entries, I imagine, but there is no urgent need now. Signed-off-by: Dmitry Eremin dmiter4e...@gmail.com Signed-off-by: Oleg Drokin oleg.dro...@intel.com ---

[PATCH 36/58] staging/lustre/ptlrpc: move procfs high_priority_ratio file to sysfs

2015-05-21 Thread green
From: Oleg Drokin gr...@linuxhacker.ru Move ptlrpc service high_priority_ratio entry from procfs to sysfs. Currently in use only by ldlm callback service only in /sys/fs/lustre/ldlm/services/ldlm_cbd/ Signed-off-by: Oleg Drokin oleg.dro...@intel.com ---

[PATCH v4 02/13] staging: lustre: lnet: dead code - remove lnet_fini_locks

2015-05-21 Thread Mike Shuey
lnet_fini_locks() does nothing. Remove. Signed-off-by: Mike Shuey sh...@purdue.edu --- drivers/staging/lustre/lnet/lnet/api-ni.c |8 1 files changed, 0 insertions(+), 8 deletions(-) diff --git a/drivers/staging/lustre/lnet/lnet/api-ni.c b/drivers/staging/lustre/lnet/lnet/api-ni.c

[PATCH v4 03/13] staging: lustre: lnet: dead code - remove LNetSetAsync

2015-05-21 Thread Mike Shuey
LNetSetAsync() returns 0, and is never called. Doesn't exist in the Intel tree, either. Remove it. Signed-off-by: Mike Shuey sh...@purdue.edu --- drivers/staging/lustre/include/linux/lnet/api.h |1 - drivers/staging/lustre/lnet/lnet/lib-move.c | 24 --- 2 files

[PATCH 03/13] staging: lustre: lnet: dead code - remove LNetSetAsync

2015-05-21 Thread Mike Shuey
LNetSetAsync() returns 0, and is never called. Doesn't exist in the Intel tree, either. Remove it. Signed-off-by: Mike Shuey sh...@purdue.edu --- drivers/staging/lustre/include/linux/lnet/api.h |1 - drivers/staging/lustre/lnet/lnet/lib-move.c | 24 --- 2 files

[PATCH v4 08/13] staging: lustre: lnet: remove LNET_MUTEX_LOCK macro

2015-05-21 Thread Mike Shuey
LNET_MUTEX_LOCK and LNET_MUTEX_UNLOCK are verbose wrappers to mutex_lock and mutex_unlock. Get rid of these. Signed-off-by: Mike Shuey sh...@purdue.edu --- .../staging/lustre/include/linux/lnet/lib-lnet.h |2 - drivers/staging/lustre/lnet/lnet/api-ni.c | 26 ++--

[PATCH 02/13] staging: lustre: lnet: dead code - remove lnet_fini_locks

2015-05-21 Thread Mike Shuey
lnet_fini_locks() does nothing. Remove. Signed-off-by: Mike Shuey sh...@purdue.edu --- drivers/staging/lustre/lnet/lnet/api-ni.c |8 1 files changed, 0 insertions(+), 8 deletions(-) diff --git a/drivers/staging/lustre/lnet/lnet/api-ni.c b/drivers/staging/lustre/lnet/lnet/api-ni.c

[PATCH v4 04/13] staging: lustre: lnet: lnet: Module is LNet, not Portals

2015-05-21 Thread Mike Shuey
Fix the module version to match upstream development. Signed-off-by: Mike Shuey sh...@purdue.edu --- drivers/staging/lustre/lnet/lnet/module.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/staging/lustre/lnet/lnet/module.c

[PATCH 08/13] staging: lustre: lnet: remove LNET_MUTEX_LOCK macro

2015-05-21 Thread Mike Shuey
LNET_MUTEX_LOCK and LNET_MUTEX_UNLOCK are verbose wrappers to mutex_lock and mutex_unlock. Get rid of these. Signed-off-by: Mike Shuey sh...@purdue.edu --- .../staging/lustre/include/linux/lnet/lib-lnet.h |2 - drivers/staging/lustre/lnet/lnet/api-ni.c | 26 ++--

[PATCH 04/13] staging: lustre: lnet: lnet: Module is LNet, not Portals

2015-05-21 Thread Mike Shuey
Fix the module version to match upstream development. Signed-off-by: Mike Shuey sh...@purdue.edu --- drivers/staging/lustre/lnet/lnet/module.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/staging/lustre/lnet/lnet/module.c

[PATCH 09/13] staging: lustre: lnet: lnet: remove dead code, fix checkpatch.pl issue

2015-05-21 Thread Mike Shuey
Some debug code was left in the tree, blocked by a #if 0. Also kicked out checkpatch.pl warnings. Remove it. Signed-off-by: Mike Shuey sh...@purdue.edu --- drivers/staging/lustre/lnet/lnet/lib-msg.c | 17 - 1 files changed, 0 insertions(+), 17 deletions(-) diff --git

[PATCH 18/58] staging/lustre/llite: move /proc/fs/lustre/llite/*_easize to sysfs

2015-05-21 Thread green
From: Oleg Drokin gr...@linuxhacker.ru Move max_easize and default_easize files from /proc/fs/lustre/llite/* to /sys/fs/lustre/llite/*/ Signed-off-by: Oleg Drokin gr...@linuxhacker.ru --- drivers/staging/lustre/lustre/llite/lproc_llite.c | 30 ---

[PATCH 16/58] staging/lustre/llite: move /proc/fs/lustre/llite/statahead_{max, agl} to sysfs

2015-05-21 Thread green
From: Oleg Drokin gr...@linuxhacker.ru Move statahead_max and statahead_agl files from /proc/fs/lustre/llite/* to /sys/fs/lustre/llite/*/ Signed-off-by: Oleg Drokin gr...@linuxhacker.ru --- drivers/staging/lustre/lustre/llite/lproc_llite.c | 66 ---

[PATCH 50/58] staging/lustre/obdclass: remove unused sysctl enum definition

2015-05-21 Thread green
From: Dmitry Eremin dmitry.ere...@intel.com Since we are removing lustre sysctls, this enum is no longer needed. Signed-off-by: Dmitry Eremin dmitry.ere...@intel.com --- .../lustre/lustre/obdclass/linux/linux-sysctl.c| 24 -- 1 file changed, 24 deletions(-) diff --git

[PATCH 46/58] staging/lustre/mdc: move mdc-specific procfs files to sysfs

2015-05-21 Thread green
From: Oleg Drokin gr...@linuxhacker.ru This moves max_rpcs_in_flight and max_pages_per_rpc to /proc/fs/lustre/mdc/.../ Signed-off-by: Oleg Drokin gr...@linuxhacker.ru --- drivers/staging/lustre/lustre/mdc/lproc_mdc.c | 68 +-- drivers/staging/lustre/sysfs-fs-lustre

[PATCH 19/58] staging/lustre/llite: remove llite/*_cookiesize proc files

2015-05-21 Thread green
From: Oleg Drokin gr...@linuxhacker.ru Since Lustre 2.5, cookiesize is unused on the clients since MDS now does final object unlink by itself, so drop these max_cookiesize and default_cookiesize files. Signed-off-by: Oleg Drokin gr...@linuxhacker.ru ---

[PATCH 17/58] staging/lustre/llite: move /proc/fs/lustre/llite/lazystatfs to sysfs

2015-05-21 Thread green
From: Oleg Drokin gr...@linuxhacker.ru Move lazystatfs file from /proc/fs/lustre/llite/* to /sys/fs/lustre/llite/*/ Signed-off-by: Oleg Drokin gr...@linuxhacker.ru --- drivers/staging/lustre/lustre/llite/lproc_llite.c | 31 +-- drivers/staging/lustre/sysfs-fs-lustre

[PATCH 20/58] staging/lustre/llite: move /proc/fs/lustre/llite/xattr_cache to sysfs

2015-05-21 Thread green
From: Oleg Drokin gr...@linuxhacker.ru Move xattr_cache file from /proc/fs/lustre/llite/* to /sys/fs/lustre/llite/*/ Signed-off-by: Oleg Drokin gr...@linuxhacker.ru --- drivers/staging/lustre/lustre/llite/lproc_llite.c | 33 --- drivers/staging/lustre/sysfs-fs-lustre

[PATCH 55/58] staging/lustre/obd: Rename lprocfs_add_symlink to ldebugfs_add_symlink

2015-05-21 Thread green
From: Oleg Drokin gr...@linuxhacker.ru Signed-off-by: Dmitry Eremin dmiter4e...@gmail.com --- drivers/staging/lustre/lustre/include/lprocfs_status.h | 12 ++-- drivers/staging/lustre/lustre/obdclass/lprocfs_status.c | 16 +--- 2 files changed, 11 insertions(+), 17

[PATCH 26/58] staging/lustre/ldlm: move namespaces/early_lock_cancel to sysfs

2015-05-21 Thread green
From: Oleg Drokin gr...@linuxhacker.ru Move ldlm display of early_lock_cancel from procfs to sysfs Signed-off-by: Oleg Drokin gr...@linuxhacker.ru --- drivers/staging/lustre/lustre/ldlm/ldlm_resource.c | 28 -- drivers/staging/lustre/sysfs-fs-lustre | 13

[PATCH 12/58] staging/lustre/llite: move llite/max_read_ahead_whole_mb to sysfs

2015-05-21 Thread green
From: Oleg Drokin gr...@linuxhacker.ru Move max_read_ahead_whole_mb file from /proc/fs/lustre/llite/* to /sys/fs/lustre/llite/*/ Signed-off-by: Oleg Drokin gr...@linuxhacker.ru --- drivers/staging/lustre/lustre/llite/lproc_llite.c | 34 ---

[PATCH 27/58] staging/lustre/ldlm: move namespaces/lock_unused_count to sysfs

2015-05-21 Thread green
From: Oleg Drokin gr...@linuxhacker.ru Move ldlm display of lock_unused_count from procfs to sysfs Signed-off-by: Oleg Drokin gr...@linuxhacker.ru --- drivers/staging/lustre/lustre/ldlm/ldlm_resource.c | 14 -- drivers/staging/lustre/sysfs-fs-lustre | 7 +++ 2 files

[PATCH 57/58] staging/lustre/obd: Remove nid_stats tracking

2015-05-21 Thread green
From: Oleg Drokin gr...@linuxhacker.ru This nid_stats tracking only makes sense on the server side, on the client there are no other clients to keep track of anyway. Signed-off-by: Dmitry Eremin dmiter4e...@gmail.com Signed-off-by: Oleg Drokin gr...@linuxhacker.ru ---

[PATCH 23/58] staging/lustre/ldlm: move namespaces/resource_count to sysfs

2015-05-21 Thread green
From: Oleg Drokin gr...@linuxhacker.ru Move ldlm display of resource_count from procfs to sysfs Signed-off-by: Oleg Drokin gr...@linuxhacker.ru --- drivers/staging/lustre/lustre/ldlm/ldlm_resource.c | 12 +++- drivers/staging/lustre/sysfs-fs-lustre | 7 +++ 2 files

[PATCH 28/58] staging/lustre/ldlm: move namespaces/lru_max_age to sysfs

2015-05-21 Thread green
From: Oleg Drokin gr...@linuxhacker.ru Move ldlm display of lru_max_age from procfs to sysfs Signed-off-by: Oleg Drokin gr...@linuxhacker.ru --- drivers/staging/lustre/lustre/ldlm/ldlm_resource.c | 30 -- drivers/staging/lustre/sysfs-fs-lustre | 7 + 2 files

[PATCH 39/58] staging/lustre: Remove useless num_refs procfs variable

2015-05-21 Thread green
From: Oleg Drokin gr...@linuxhacker.ru Every obd type registers it, but it's not really needed by anybody. Remove all the supporting infrastructure too. Signed-off-by: Oleg Drokin gr...@linuxhacker.ru --- drivers/staging/lustre/lustre/include/lprocfs_status.h | 2 --

[PATCH 41/58] staging/lustre/obdecho: Remove procfs registration

2015-05-21 Thread green
From: Oleg Drokin gr...@linuxhacker.ru obdecho client seems to be only registering useless proc values that are of no use to anybody. Remove them. Signed-off-by: Oleg Drokin oleg.dro...@intel.com --- drivers/staging/lustre/lustre/obdecho/Makefile | 2 +-

[PATCH 10/58] staging/lustre/llite: move /proc/fs/lustre/llite/max_read_ahead_mb to sysfs

2015-05-21 Thread green
From: Oleg Drokin gr...@linuxhacker.ru Move max_read_ahead_mb file from /proc/fs/lustre/llite/* to /sys/fs/lustre/llite/*/ Signed-off-by: Oleg Drokin gr...@linuxhacker.ru --- drivers/staging/lustre/lustre/llite/lproc_llite.c | 35 +-- drivers/staging/lustre/sysfs-fs-lustre

[PATCH 43/58] staging/lustre/obdclass: Move common obd proc files to sysfs

2015-05-21 Thread green
From: Oleg Drokin gr...@linuxhacker.ru This moves uuid display and also underlying fs statistics. Signed-off-by: Oleg Drokin oleg.dro...@intel.com --- .../staging/lustre/lustre/include/lprocfs_status.h | 7 -- drivers/staging/lustre/lustre/lmv/lproc_lmv.c | 3 -

[PATCH 09/58] staging/lustre/llite: move /proc/fs/lustre/llite/uuid to sysfs

2015-05-21 Thread green
From: Oleg Drokin gr...@linuxhacker.ru Move uuid file from /proc/fs/lustre/llite/* to /sys/fs/lustre/llite/*/ Signed-off-by: Oleg Drokin gr...@linuxhacker.ru --- drivers/staging/lustre/lustre/llite/lproc_llite.c | 14 +++--- drivers/staging/lustre/sysfs-fs-lustre| 6 ++

[PATCH 22/58] staging/lustre/ldlm: move cancel_unused_locks_before_replay to sysfs

2015-05-21 Thread green
From: Oleg Drokin gr...@linuxhacker.ru /proc/fs/lustre/ldlm/cancel_unused_locks_before_replay is moved to /sys/fs/lustre/ldlm/cancel_unused_locks_before_replay Signed-off-by: Oleg Drokin gr...@linuxhacker.ru --- drivers/staging/lustre/lustre/ldlm/ldlm_lockd.c| 29 +-

[PATCH 52/58] staging/lustre/fld: move all files from procfs to debugfs

2015-05-21 Thread green
From: Dmitry Eremin dmitry4e...@gmail.com Signed-off-by: Dmitry Eremin dmiter4e...@gmail.com --- drivers/staging/lustre/lustre/fld/fld_internal.h | 5 +- drivers/staging/lustre/lustre/fld/fld_request.c| 66 -- drivers/staging/lustre/lustre/fld/lproc_fld.c | 42

[PATCH 21/58] staging/lustre/ldlm: Preparation to move /proc/fs/lustre/ldlm to sysfs

2015-05-21 Thread green
From: Oleg Drokin gr...@linuxhacker.ru Add necessary infrastructure, register /sys/fs/lustre/ldlm, /sys/fs/lustre/ldlm/namespaces and /sys/fs/lustre/ldlm/services Signed-off-by: Oleg Drokin gr...@linuxhacker.ru --- drivers/staging/lustre/lustre/include/lustre_dlm.h | 6 +++

[PATCH 24/58] staging/lustre/ldlm: move namespace/lock_count to sysfs

2015-05-21 Thread green
From: Oleg Drokin gr...@linuxhacker.ru Move ldlm display of lock_count from procfs to sysfs Signed-off-by: Oleg Drokin gr...@linuxhacker.ru --- drivers/staging/lustre/lustre/ldlm/ldlm_resource.c | 29 -- drivers/staging/lustre/sysfs-fs-lustre | 6 + 2 files

[PATCH 25/58] staging/lustre/ldlm: move namespaces/lru_size to sysfs

2015-05-21 Thread green
From: Oleg Drokin gr...@linuxhacker.ru Move ldlm display of lru_size from procfs to sysfs Signed-off-by: Oleg Drokin gr...@linuxhacker.ru --- drivers/staging/lustre/lustre/ldlm/ldlm_resource.c | 31 ++ drivers/staging/lustre/sysfs-fs-lustre | 9 +++ 2 files

[PATCH 06/13] staging: lustre: lnet: socklnd: code cleanup - align spacing

2015-05-21 Thread Mike Shuey
Unify variable declarations to use a single space. Also include several miscellaneous whitespace cleanups, particularly in socklnd.h. Signed-off-by: Mike Shuey sh...@purdue.edu --- .../staging/lustre/lnet/klnds/socklnd/socklnd.c| 468

[PATCH v4 06/13] staging: lustre: lnet: socklnd: code cleanup - align spacing

2015-05-21 Thread Mike Shuey
Unify variable declarations to use a single space. Also include several miscellaneous whitespace cleanups, particularly in socklnd.h. Signed-off-by: Mike Shuey sh...@purdue.edu --- .../staging/lustre/lnet/klnds/socklnd/socklnd.c| 468

[PATCH v4 00/35] staging: rtl8192e: Fix more checkpatch.pl warnings

2015-05-21 Thread Mateusz Kulikowski
Updated series of patches for rtl8192. Rebased to latest staging-next (936a0cd52aa). Built and target tested (tests like for v3 + download of 1Mb file over http). Side note: quality/performance of this driver is still poor - it drops a lot of packets (at least when talking to 802.11N/ 2.4G /

[PATCH v4 04/35] staging: rtl8192e: Mark unaligned memcpy()

2015-05-21 Thread Mateusz Kulikowski
Comment unaligned memcpy() that trigger PREFER_ETHER_ADDR_COPY checkpatch.pl warning. It will prevent accidential Fix to ether_addr_copy(). Signed-off-by: Mateusz Kulikowski mateusz.kulikow...@gmail.com --- drivers/staging/rtl8192e/rtllib_rx.c | 20 1 file changed, 12

[PATCH v4 17/35] staging: rtl8192e: Remove RTLLIB_DEBUG()

2015-05-21 Thread Mateusz Kulikowski
- Use netdev_dbg or netdev_vdbg instead of RTLLIB_DEBUG() - Reformat some messages for better readability - Remove RTLLIB_DEBUG messages that make no sense Signed-off-by: Mateusz Kulikowski mateusz.kulikow...@gmail.com --- drivers/staging/rtl8192e/rtl819x_BAProc.c | 35 +

[PATCH v4 22/35] staging: rtl8192e: Fix LONG_LINE warnings

2015-05-21 Thread Mateusz Kulikowski
Fix most of simple LONG_LINE warnings. None of the changes should affect behaviour of code, so several modifications are included in this patch: - Code is reindented where needed - Local variable names are compacted (priv - p) - Unnecessary casts are removed - Nested ifs are replaced with logical

[PATCH v4 23/35] staging: rtl8192e: Fix LONG_LING in rtllib_parse_info_param()

2015-05-21 Thread Mateusz Kulikowski
Take out MIFE_TYPE_HT_CAP processing into separate function - rtllib_parse_mfie_ht_cap() Signed-off-by: Mateusz Kulikowski mateusz.kulikow...@gmail.com --- drivers/staging/rtl8192e/rtllib_rx.c | 49 +--- 1 file changed, 29 insertions(+), 20 deletions(-) diff

[PATCH v4 35/35] staging: rtl8192e: Fix SPACING error

2015-05-21 Thread Mateusz Kulikowski
Fix SPACING error in rtl8192_hw_to_sleep(). Signed-off-by: Mateusz Kulikowski mateusz.kulikow...@gmail.com --- drivers/staging/rtl8192e/rtl8192e/rtl_ps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8192e/rtl8192e/rtl_ps.c

[PATCH v4 29/35] staging: rtl8192e: Replace ?: with max

2015-05-21 Thread Mateusz Kulikowski
All get_key implementations return either -1 or small buffers, so cast int-u16 is not a problem. Signed-off-by: Mateusz Kulikowski mateusz.kulikow...@gmail.com --- drivers/staging/rtl8192e/rtllib_wx.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[PATCH v4 32/35] staging: rtl8192e: Replace RT_TRACE(COMP_ERR, ...) with netdev_*

2015-05-21 Thread Mateusz Kulikowski
- Use netdev_* with log level depending on how serious error is - Rework some messages to be more readable - Pass net_device where needed for pretty prints Signed-off-by: Mateusz Kulikowski mateusz.kulikow...@gmail.com --- drivers/staging/rtl8192e/rtl8192e/r8190P_rtl8256.c | 24 +++--

[PATCH v4 15/35] staging: rtl8192e: Remove RTLLIB_DEBUG_MGMT()

2015-05-21 Thread Mateusz Kulikowski
- Use netdev_dbg() instead of RTLLIB_DEBUG_MGMT() - Remove RTLLIB_DEBUG_MGMT() - Pass net_device to auth_parse(), auth_rq_parse() and assoc_rq_parse() - Remove duplicated messages Signed-off-by: Mateusz Kulikowski mateusz.kulikow...@gmail.com --- drivers/staging/rtl8192e/rtllib.h | 2 -

[PATCH v4 19/35] staging: rtl8192e: Remove remains of RTLLIB_*_DEBUG() (including proc entry)

2015-05-21 Thread Mateusz Kulikowski
Remove rest of rtllib debug system - it is no longer used - proper netdev_* functions are used in most cases. Signed-off-by: Mateusz Kulikowski mateusz.kulikow...@gmail.com --- drivers/staging/rtl8192e/rtllib.h| 45 -- drivers/staging/rtl8192e/rtllib_module.c | 55

[PATCH v4 01/35] staging: rtl8192e: accept const MAC address

2015-05-21 Thread Mateusz Kulikowski
Make set_swcam, setKey and rtllib_probe_resp parameter (MAC address) const. Signed-off-by: Mateusz Kulikowski mateusz.kulikow...@gmail.com --- drivers/staging/rtl8192e/rtl8192e/rtl_cam.c | 4 ++-- drivers/staging/rtl8192e/rtl8192e/rtl_cam.h | 4 ++-- drivers/staging/rtl8192e/rtllib_softmac.c |

[PATCH v4 24/35] staging: rtl8192e: Remove unimplemented iwpriv handlers

2015-05-21 Thread Mateusz Kulikowski
Remove the following private variables: - force_mic_error - changes force_mic_error that is not used - radio - changes sw_radio_on that is not used - adhoc_peer_list - unimplemented - firm_ver - unimplemented Signed-off-by: Mateusz Kulikowski mateusz.kulikow...@gmail.com ---

  1   2   >