[PATCH] Staging: lustre: make obd_device_cachep static

2015-07-16 Thread Pedro Marzo Perez
Variable obd_device_cachep is only used inside the file it is declared, so it is better set as static Signed-off-by: Pedro Marzo Perez --- drivers/staging/lustre/lustre/obdclass/genops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/lustre/lustre/obdclass

[PATCH v5 1/2] Staging: rtl8192u: Simplify error check code at prism2_wep_init

2015-06-02 Thread Pedro Marzo Perez
Simplify prism2_wep_init error check code employing goto when a failure is detected. Removed pr_debug which was given a checkpatch.pl error because of literal string splitted across two lines of code, it was seldom going to be printed anyway. Signed-off-by: Pedro Marzo Perez --- .../rtl8192u

[PATCH v5 1/2] Staging: rtl8192u: Remove two useless lines at ieee80211_wep_null

2015-06-02 Thread Pedro Marzo Perez
autoload the module. Signed-off-by: Pedro Marzo Perez --- drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_wep.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_wep.c b/drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_wep.c index 651bd65

[PATCH v5 0/2] Staging: rtl8192u: Fix coding style issues at ieee80211_crypt_wep.c

2015-06-02 Thread Pedro Marzo Perez
The checkpatch.pl script reports several errors at file ieee80211_crypt_wep.c, this patch fixes them. Pedro Marzo Perez (2): Simplify error check code at prism2_wep_init Remove two useless lines at ieee80211_wep_null .../rtl8192u/ieee80211/ieee80211_crypt_wep.c | 34

[PATCH 1/3 v4] Staging: rtl8192u: Simplify error check code at prism2_wep_init

2015-05-20 Thread Pedro Marzo Perez
Simplify prism2_wep_init error check code employing goto when a failure is detected. Removed pr_debug which was given a checkpatch.pl error because of literal string splitted across two lines of code, it was seldom going to be printed anyway. Signed-off-by: Pedro Marzo Perez --- .../rtl8192u

[PATCH 3/3 v4] Staging: rtl8192u: Correct include indentation and openning braces at new line

2015-05-20 Thread Pedro Marzo Perez
Opening braces should never be in a new line. Correct include indentation. Signed-off-by: Pedro Marzo Perez --- drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_wep.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/drivers/staging/rtl8192u/ieee80211

[PATCH 0/3 v4] Staging: rtl8192u: Fix coding style issues at ieee80211_crypt_wep.c

2015-05-20 Thread Pedro Marzo Perez
The checkpatch.pl script reports several errors at file ieee80211_crypt_wep.c, this patch fixes them. Pedro Marzo Perez (3): Simplify error check code at prism2_wep_init Remove two useless lines at ieee80211_wep_null Correct include indentation and openning braces at new line .../rtl8192u

[PATCH 2/3 v4] Staging: rtl8192u: Remove two useless lines at ieee80211_wep_null

2015-05-20 Thread Pedro Marzo Perez
Remove two lines at ieee80211_wep_null which checkpatch.pl reported as errors. The first one because it has a C99 comment style and the second one because it is a void return which is useless. Signed-off-by: Pedro Marzo Perez --- drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_wep.c | 2

[PATCH 1/3 v3] Staging: rtl8192u: Simplify error check code at prism2_wep_init

2015-05-18 Thread Pedro Marzo Perez
Merge two pr_debug lines with literal strings splitted across several lines into one single line, simplifying prism2_wep_init error check code. Signed-off-by: Pedro Marzo Perez --- .../rtl8192u/ieee80211/ieee80211_crypt_wep.c | 22 +- 1 file changed, 9 insertions

[PATCH 3/3 v3] Staging: rtl8192u: Correct include indentation and openning braces at new line

2015-05-18 Thread Pedro Marzo Perez
Opening braces should never be in a new line. Correct include indentation. Signed-off-by: Pedro Marzo Perez --- drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_wep.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/drivers/staging/rtl8192u/ieee80211

[PATCH 0/3 v3] Staging: rtl8192u: Fix coding style issues at ieee80211_crypt_wep.c

2015-05-18 Thread Pedro Marzo Perez
The checkpatch.pl script reports several errors and warnings at file ieee80211_crypt_wep.c, this series of patches fixes them. Pedro Marzo Perez (3): ieee80211_crypt_wep: Simplify error check code at prism2_wep_init ieee80211_crypt_wep: Remove two useless lines at ieee80211_wep_null

[PATCH 2/3 v3] Staging: rtl8192u: Remove two useless lines at ieee80211_wep_null

2015-05-18 Thread Pedro Marzo Perez
Removed two lines at ieee80211_wep_null which checkpatch.pl reported as errors. The first one because it has a C99 comment style and the second one because it is a void return which is useless. Signed-off-by: Pedro Marzo Perez --- drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_wep.c | 2

[PATCH v2] Staging: rtl8192u: Fix coding style issues at ieee80211_crypt_wep.c

2015-05-18 Thread Pedro Marzo Perez
: Pedro Marzo Perez --- .../rtl8192u/ieee80211/ieee80211_crypt_wep.c | 33 -- 1 file changed, 12 insertions(+), 21 deletions(-) diff --git a/drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_wep.c b/drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_wep.c index 0a17f84

[PATCH] Fixed coding style issues at ieee80211_crypt_wep.c

2015-05-15 Thread Pedro Marzo Perez
Signed-off-by: Pedro Marzo Perez --- drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_wep.c | 16 +--- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_wep.c b/drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_wep.c

[PATCH 1/1] Fixed coding style issues

2015-05-15 Thread Pedro Marzo Perez
From: pmarzo This patch just fixes some errors reported by checkpatch.pl script Signed-off-by: Pedro Marzo Perez --- drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_wep.c | 16 +--- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/drivers/staging/rtl8192u