mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 11/11] Staging: rtl8712: ieee80211: fixed coding style issue
@ 2017-06-13 16:35 Jaya Durga
  2017-06-13 18:56 ` Dan Carpenter
  0 siblings, 1 reply; 2+ messages in thread
From: Jaya Durga @ 2017-06-13 16:35 UTC (permalink / raw)
  To: gregkh
  Cc: Larry.Finger, florian.c.schilhabel, driverdev-devel, devel,
	linux-kernel, Jaya Durga

Fixed WARNING: line over 80 characters

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

diff --git a/drivers/staging/rtl8712/ieee80211.c b/drivers/staging/rtl8712/ieee80211.c
index 97ef063..b823656 100644
--- a/drivers/staging/rtl8712/ieee80211.c
+++ b/drivers/staging/rtl8712/ieee80211.c
@@ -168,13 +168,13 @@ int r8712_generate_ie(struct registry_priv *pregistrypriv)
 {
 	int sz = 0, rate_len;
 	struct wlan_bssid_ex *pdev_network = &pregistrypriv->dev_network;
+	struct NDIS_802_11_CONFIGURATION *cfg = &pdev_network->configuration;
 	u8 *ie = pdev_network->ie_s;
 
 	/*timestamp will be inserted by hardware*/
 	sz += 8;
 	ie += sz;
 	/*beacon interval : 2bytes*/
-	struct NDIS_802_11_CONFIGURATION *cfg = &pdev_network->configuration;
 	*(__le16 *)ie = cpu_to_le16(cfg->beacon_period);
 	sz += 2;
 	ie += 2;
-- 
1.9.1

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH 11/11] Staging: rtl8712: ieee80211: fixed coding style issue
  2017-06-13 16:35 [PATCH 11/11] Staging: rtl8712: ieee80211: fixed coding style issue Jaya Durga
@ 2017-06-13 18:56 ` Dan Carpenter
  0 siblings, 0 replies; 2+ messages in thread
From: Dan Carpenter @ 2017-06-13 18:56 UTC (permalink / raw)
  To: Jaya Durga
  Cc: gregkh, devel, florian.c.schilhabel, driverdev-devel,
	linux-kernel, Larry.Finger

Greg is never going to merge your patches until you fix your numbering
so you may as well do that before anything else.

This patch fixes a bug in a patch which is never going to be merged so
it's not needed.  Google "how to send a v2 patch".

regards,
dan carpenter

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-06-13 18:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-13 16:35 [PATCH 11/11] Staging: rtl8712: ieee80211: fixed coding style issue Jaya Durga
2017-06-13 18:56 ` Dan Carpenter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®