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-next>] [day] [month] [year] [list]
Message-Id: <1497206646-20998-1-git-send-email-jayad@cdac.in>
Date:   Mon, 12 Jun 2017 00:14:06 +0530
From:   Jaya Durga <jayad@...c.in>
To:     gregkh@...uxfoundation.org
Cc:     Larry.Finger@...inger.net, florian.c.schilhabel@...glemail.com,
        driverdev-devel@...uxdriverproject.org, devel@...verdev.osuosl.org,
        linux-kernel@...r.kernel.org, Jaya Durga <jayad@...c.in>
Subject: [PATCH 10/10] Staging: rtl8712: ieee80211: fixed coding style issue

Fixed WARNING: line over 80 characters

Signed-off-by: Jaya Durga <jayad@...c.in>
---
 drivers/staging/rtl8712/ieee80211.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/rtl8712/ieee80211.c b/drivers/staging/rtl8712/ieee80211.c
index 6e673c1..97ef063 100644
--- a/drivers/staging/rtl8712/ieee80211.c
+++ b/drivers/staging/rtl8712/ieee80211.c
@@ -174,8 +174,8 @@ int r8712_generate_ie(struct registry_priv *pregistrypriv)
	sz += 8;
	ie += sz;
	/*beacon interval : 2bytes*/
-	*(__le16 *)ie = cpu_to_le16(
-				(u16)pdev_network->configuration.beacon_period);
+	struct NDIS_802_11_CONFIGURATION *cfg = &pdev_network->configuration;
+	*(__le16 *)ie = cpu_to_le16(cfg->beacon_period);
	sz += 2;
	ie += 2;
	/*capability info*/
--
1.9.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ