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: <1475086820-24695-30-git-send-email-sergio.paracuellos@gmail.com>
Date:   Wed, 28 Sep 2016 20:19:22 +0200
From:   Sergio Paracuellos <sergio.paracuellos@...il.com>
To:     gregkh@...uxfoundation.org
Cc:     devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org
Subject: [PATCH 29/87] staging: wlang-ng: avoid new typedef: hfa384x_usb_txfrm_t

This patch fixes the following checkpatch.pl warning in hfa384x.h:
WARNING: do not add new typedefs

It applies for typedef hfa384x_usb_txfrm_t

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@...il.com>
---
 drivers/staging/wlan-ng/hfa384x.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/wlan-ng/hfa384x.h b/drivers/staging/wlan-ng/hfa384x.h
index 29d9bc5..2d6f6a9 100644
--- a/drivers/staging/wlan-ng/hfa384x.h
+++ b/drivers/staging/wlan-ng/hfa384x.h
@@ -808,10 +808,10 @@ struct hfa384x_InfFrame {
 /*------------------------------------*/
 /* Request (bulk OUT) packet contents */
 
-typedef struct hfa384x_usb_txfrm {
+struct hfa384x_usb_txfrm {
 	struct hfa384x_tx_frame desc;
 	u8 data[WLAN_DATA_MAXLEN];
-} __packed hfa384x_usb_txfrm_t;
+} __packed;
 
 typedef struct hfa384x_usb_cmdreq {
 	u16 type;
@@ -905,7 +905,7 @@ struct hfa384x_InfFrame {
 
 typedef union hfa384x_usbout {
 	__le16 type;
-	hfa384x_usb_txfrm_t txfrm;
+	struct hfa384x_usb_txfrm txfrm;
 	hfa384x_usb_cmdreq_t cmdreq;
 	hfa384x_usb_wridreq_t wridreq;
 	hfa384x_usb_rridreq_t rridreq;
@@ -916,7 +916,7 @@ struct hfa384x_InfFrame {
 typedef union hfa384x_usbin {
 	__le16 type;
 	hfa384x_usb_rxfrm_t rxfrm;
-	hfa384x_usb_txfrm_t txfrm;
+	struct hfa384x_usb_txfrm txfrm;
 	hfa384x_usb_infofrm_t infofrm;
 	hfa384x_usb_cmdresp_t cmdresp;
 	hfa384x_usb_wridresp_t wridresp;
-- 
1.9.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ