Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2525775yba; Mon, 15 Apr 2019 13:35:26 -0700 (PDT) X-Google-Smtp-Source: APXvYqyLiNqaAuYw9UCJFHbLoru7hg068UxSN0n9wbtzmiN2IEnwvDatjTR6weHDJx/GcoXIhiNr X-Received: by 2002:aa7:86ce:: with SMTP id h14mr78746855pfo.84.1555360526473; Mon, 15 Apr 2019 13:35:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555360526; cv=none; d=google.com; s=arc-20160816; b=V6ELg2h82cbpvPXDZROVO6vMrhlSkEyoE/+oTYsqHEjN1Uhku2A3cqfClku018KnY8 GmF0r0kc38RoaGVZkpBRqaYFOzHR/t3iuGe7PnS4rPpX0BZv0qtwyNr31Bh6DxuZFccI XWI6awdlpeTAeI2yjXItcHpOVtOitI9qeXWNPe6BsFkWwDkPta0fbQ6X3MS/Zhx7cVjB m5HGppmdzIygZveBNGWAG1tVnqls/zIoZak+A7Fup1pnPSUDrpVrA6oMAigPt8GVKJnS YnAw4MzPdsyWABaGejp03AYm6m9mdW2tqj+A6GjNoWC5h9IY07kqoi3SgWKb3LY3ysKN GcaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature; bh=gZo3DY3dSvEckoNYG/hjRK2tXSPUoU+I5ol6U8sAJCw=; b=lUePyoiWhq843VJrsVI+yW0O8aAYh8iBR4bT7v7OMlTDkD+OQHfYfk/G6cmJeZZkFp S2k8WbdkwKhLRipeIZyoWwpTrv0Gww73K9T/jFLcraaSHRPCdWb35cD1mnvgPURviHEj ajE8MSrZ7dlXvHAnQVMjEGUeI7FFoTrpSpQqVo8ZoB6V0yTpeaq3lkRxgStTWQgTghfi 15T5+2KM5wf37W2cso6XqygQoDsrXW3zRLXMRxxsZ4QLJ6RTzEfXPIb8q8R7UWp56OUI Vof3ijyrM6rcEmO9K4fyWD276ueHWLMrAypSQ4E7vY8UsgX6DChEW1o/aFTgwzmj5pdo I80g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=RVFpq5LG; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u19si40550073pga.100.2019.04.15.13.35.09; Mon, 15 Apr 2019 13:35:26 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=RVFpq5LG; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728114AbfDOU1R (ORCPT + 99 others); Mon, 15 Apr 2019 16:27:17 -0400 Received: from mail-ot1-f66.google.com ([209.85.210.66]:45645 "EHLO mail-ot1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727447AbfDOU1O (ORCPT ); Mon, 15 Apr 2019 16:27:14 -0400 Received: by mail-ot1-f66.google.com with SMTP id e5so1230150otk.12 for ; Mon, 15 Apr 2019 13:27:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=gZo3DY3dSvEckoNYG/hjRK2tXSPUoU+I5ol6U8sAJCw=; b=RVFpq5LG3IhT1DCY5DuYRDprrHZ4hkRNSdUXQZ16GXzIBpVNcEGc2iVMr6TWd5c5Bh OLJ5e8iSr5Mq+Z61rtxLALMXn0YIBLlHEpsRwJ6Rcu4htyiTEOT2ZVsoinNY3TG9COs7 PWKNlu+rxO7xt6xHwAN46GKZwKz1buK2jRddJmCXpLvE+69ll6hzX8U4BvhI1ZivZztn 4F/Wrp233zYFvll3Tfpnr0oALoI48JW315PgYlGJYciyz8yuSAg1idWg8+OJR7Jpc7EE zPWW+wSFA9KKw0+EbX7VtFlpKidTpQqYdFJ0+XBSOoUL775Lp5HDmtRJAs60vdthQQcN l3hA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=gZo3DY3dSvEckoNYG/hjRK2tXSPUoU+I5ol6U8sAJCw=; b=r18QMM6Vspx1SxGRuCGD0bzVq1FUnjovIdrhAwQ9hPVD9TZqB1xaluAKemAFlxRorH a/XlEFnutCR2ASDfTn7pZg0IFJ69cyN2NuzCMMyW/HMqbjsHE+U550rNQKNvlG0ywmpT +fXGdg8hWeQEnekWelE7CCLY+5IVh3i674/3CtxzEtMEQvqA1uTofzKgAPw/Q9pvqexv v3oN0vet5H2GWeTmMU81dbGkzEJHQaaBqh/uLXOZVo52l9DVHq4V+9aIiW02+7uM6iRC m4dnZquk7Exc9cpiitz0afnZI1WmUC0AZQYNRi0ZAzlBImgqiRbjvSOygN3Oi/G20bqV E0cg== X-Gm-Message-State: APjAAAXgUHFlk39D5XLuEcLTIMC1NXlkEqaBMIUDKOXEezcIPwa7AP6F aOiQ0Y+ZqV84N57nCFKICW53NE/4ETs= X-Received: by 2002:a9d:76d5:: with SMTP id p21mr45794418otl.308.1555360034037; Mon, 15 Apr 2019 13:27:14 -0700 (PDT) Received: from madhuleo ([2605:6000:1023:606d:95f5:9dbc:648:48d7]) by smtp.gmail.com with ESMTPSA id n16sm18617354oic.7.2019.04.15.13.27.13 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 15 Apr 2019 13:27:13 -0700 (PDT) From: Madhumitha Prabakaran To: gregkh@linuxfoundation.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Cc: Madhumitha Prabakaran Subject: [PATCH 2/3] Staging: rtl8723bs: Remove typedef in struct ieee_param Date: Mon, 15 Apr 2019 15:27:03 -0500 Message-Id: <6d39bc36c9d73455f9bce46ec3bc9c91d46457d4.1555358247.git.madhumithabiw@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove typedef in struct ieee_param, as the struct that has elements that can reasonably be directly accessed should never be a typedef. Signed-off-by: Madhumitha Prabakaran --- drivers/staging/rtl8723bs/include/ieee80211.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8723bs/include/ieee80211.h b/drivers/staging/rtl8723bs/include/ieee80211.h index 8077465402c6..1327728e6dff 100644 --- a/drivers/staging/rtl8723bs/include/ieee80211.h +++ b/drivers/staging/rtl8723bs/include/ieee80211.h @@ -202,7 +202,7 @@ enum NETWORK_TYPE #define IsSupportedVHT(NetType) (((NetType) & (WIRELESS_11AC)) ? true : false) -typedef struct ieee_param { +struct ieee_param { u32 cmd; u8 sta_addr[ETH_ALEN]; union { @@ -240,7 +240,7 @@ typedef struct ieee_param { u8 buf[0]; } bcn_ie; } u; -}ieee_param; +}; struct ieee_param_ex { u32 cmd; -- 2.17.1