lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1403205620-10219-5-git-send-email-Johannes.Stadlinger@fau.de>
Date:	Thu, 19 Jun 2014 21:20:17 +0200
From:	Johannes Stadlinger <Johannes.Stadlinger@....de>
To:	devel@...uxdriverproject.org
Cc:	Johannes Stadlinger <Johannes.Stadlinger@....de>,
	Maximilian Eschenbacher <maximilian@...henbacher.email>,
	linux-kernel@...cs.fau.de,
	Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
	Josh Triplett <josh@...htriplett.org>,
	Vitaly Osipov <vitaly.osipov@...il.com>,
	Himangi Saraogi <himangi774@...il.com>,
	devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org
Subject: [PATCH 5/8] wlan-ng/prism2mib:checkpatch: Insert blank lines

This patch inserts blank lines after declarations to avoid checkpatch
warning.

After our fixes in 'wlan-ng/prism2mib.c' there are still two checkpatch
warnings about lines over 80 characters remaining.

Signed-off-by: Johannes Stadlinger <Johannes.Stadlinger@....de>
Signed-off-by: Maximilian Eschenbacher <maximilian@...henbacher.email>
CC: linux-kernel@...cs.fau.de
CC: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
CC: Josh Triplett <josh@...htriplett.org>
CC: Vitaly Osipov <vitaly.osipov@...il.com>
CC: Himangi Saraogi <himangi774@...il.com>
CC: devel@...verdev.osuosl.org
CC: linux-kernel@...r.kernel.org
---
 drivers/staging/wlan-ng/prism2mib.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/drivers/staging/wlan-ng/prism2mib.c b/drivers/staging/wlan-ng/prism2mib.c
index bdd3b4c..3ea24d6 100644
--- a/drivers/staging/wlan-ng/prism2mib.c
+++ b/drivers/staging/wlan-ng/prism2mib.c
@@ -85,7 +85,8 @@ struct mibrec {
 	u16 parm1;
 	u16 parm2;
 	u16 parm3;
-	int (*func) (struct mibrec *mib,
+
+	int (*func)(struct mibrec *mib,
 		     int isget,
 		     wlandevice_t *wlandev,
 		     hfa384x_t *hw,
@@ -722,6 +723,7 @@ static int prism2mib_priv(struct mibrec *mib,
 	switch (mib->did) {
 	case DIDmib_lnx_lnxConfigTable_lnxRSNAIE:{
 			hfa384x_WPAData_t wpa;
+
 			if (isget) {
 				hfa384x_drvr_getconfig(hw,
 						       HFA384x_RID_CNFWPADATA,
-- 
1.9.1

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ