Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1492783
| Path | csiph.com!1.us.feeder.erje.net!feeder.erje.net!1.eu.feeder.erje.net!weretis.net!feeder4.news.weretis.net!news.unit0.net!news.panservice.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomod |
|---|---|
| From | Sergio Paracuellos <sergio.paracuellos@gmail.com> |
| Newsgroups | linux.kernel |
| Subject | [PATCH 84/87] staging: wlang-ng: avoid new typedef: hfa384x_usbctlxq_t |
| Date | Wed, 28 Sep 2016 19:20:02 +0200 |
| Message-ID | <smqGu-1bL-7@gated-at.bofh.it> (permalink) |
| X-Original-To | gregkh@linuxfoundation.org |
| Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=ry2lVWHBLMWB1+lZsOPBeBpZyyhZJFKd4nScgK9sz3I=; b=uC7OwpmLG/znoPBADjn1yPS/W/DeOHcCcXZY8M5gr+4aatzJ+Vx5ihRySHcNBg9wK8 +f7oBDx5CTBkEf+ceCn5rCZoc8pd38rwov/eVQlAQpzyM80KFlYlsNlMVlIGncPQJHdb 2wtP0rCxGvTjMveNq8tOd1LBgm84cPefj84Ebn1FWcTwVLOAJ8HGUigXOJ6L/YPqEbQS N3QU+tWAMcPEIaT3ODhf9BkrcS6xQWG0kY8x5jmxViExJ7F7WijH+VVfxZaRvukuccCO WaoEW5NGWaEvCHh37C73CDMXrfcsQqmB9P+WonevO2VmpPXfnp4Ck9xmfi1sjeGP3xvq oTaQ== |
| X-Google-Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=ry2lVWHBLMWB1+lZsOPBeBpZyyhZJFKd4nScgK9sz3I=; b=IN+J09luhPJ1Qn68LbGgNUDdtee4PSCGjDwIq8AIFhN9U/udzmAvsGzSFZeoNymT92 WcgXZ2QTelbzONcCflGPGH4PRkTAIWfRHl1Qm47yE7sratVoXyKJTK5In2uT+qoWQAGU d1LPU9peIV2hlPAdQum+kEECxDRX/0T5SIo7dRbZ0Es80M6KY39oWpc+cIF9tgRNixbC fcNYHChuwqOP8hyrMrpOLyM2dLJ1q3WapFMCmiO5s1BjXa4Qqo3eORtH36+6TOv+jmS5 7NmlSok8LcJzCgRJ4bPH2aAtok2vvc7ds/Uiq2Gn83BwHbFuPNuFRhoyDU+CK6ixWCe1 9/rQ== |
| X-Gm-Message-State | AE9vXwOGVswoYKpxtH7tPmJveIH6ekGlxvb/fbBSy0WeahubGRWcUM6b8CchdzNf2MQTOg== |
| X-Received | by 10.194.79.199 with SMTP id l7mr35364838wjx.122.1475083033589; Wed, 28 Sep 2016 10:17:13 -0700 (PDT) |
| X-Mailer | git-send-email 1.9.1 |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 41 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org |
| X-Original-Date | Wed, 28 Sep 2016 19:17:13 +0200 |
| X-Original-Message-ID | <1475083033-17470-1-git-send-email-sergio.paracuellos@gmail.com> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1492783 |
Show key headers only | View raw
This patch fixes the following checkpatch.pl warning in hfa384x.h:
WARNING: do not add new typedefs
It applies for typedef hfa384x_usbctlxq_t
Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
---
drivers/staging/wlan-ng/hfa384x.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/wlan-ng/hfa384x.h b/drivers/staging/wlan-ng/hfa384x.h
index f38b195..736ac31 100644
--- a/drivers/staging/wlan-ng/hfa384x.h
+++ b/drivers/staging/wlan-ng/hfa384x.h
@@ -1198,13 +1198,13 @@ struct hfa384x_usbctlx {
int variant; /* Identifies cmd variant */
};
-typedef struct hfa384x_usbctlxq {
+struct hfa384x_usbctlxq {
spinlock_t lock;
struct list_head pending;
struct list_head active;
struct list_head completing;
struct list_head reapable;
-} hfa384x_usbctlxq_t;
+};
typedef struct hfa484x_metacmd {
u16 cmd;
@@ -1249,7 +1249,7 @@ struct prism2sta_accesslist {
struct urb tx_urb;
struct urb ctlx_urb;
union hfa384x_usbout txbuff;
- hfa384x_usbctlxq_t ctlxq;
+ struct hfa384x_usbctlxq ctlxq;
struct timer_list reqtimer;
struct timer_list resptimer;
--
1.9.1
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
[PATCH 84/87] staging: wlang-ng: avoid new typedef: hfa384x_usbctlxq_t Sergio Paracuellos <sergio.paracuellos@gmail.com> - 2016-09-28 19:20 +0200
csiph-web