Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2525774yba; Mon, 15 Apr 2019 13:35:26 -0700 (PDT) X-Google-Smtp-Source: APXvYqz/FLGeECRrW+jvBDydzvb4aQjPJ1ESSGZJou0SfbcUWH6wopyX+0U/BcpVjZVzw2J+O3I4 X-Received: by 2002:a62:2fc7:: with SMTP id v190mr17732235pfv.10.1555360526484; 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=PIgvh4FdTuA2LsaGNf3gOtObgqzS4Jzi1mN1ZGmvC6mNCQyspQR+SnDFSpK87e4eJU MFkCB5W/wGrtSNP9HKUkrYm5uXba7Hzg424wq9MVKmbl6Q+DWuKSeF1/LQHzaYZ6XzRp erwZPcLbiXcUD2pio//iGy7zuRec36vHdiRhC7mFjcDEoa/+o2XZkBg6z2YthCWZDl4r JmjQldtlwvihka8fce1sBd0GbtkqCV4H3HFvCOIfoyPwZ43COO3HTBnqYW10K3wHN4kw dSWfXzOYVzuOLAzuGrfPxtSzEAfPxzwXOcPlT4r+NTCGAU8AYLAnkVbjAzkCLSLemzK4 tqbg== 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=WkM4j4aIdPKGONOje49qtYbSE4hWkNyrbI/TPWgw/z0=; b=ynMQ2NwShtwzxkAhk3Ihr3iln/RA9y6JKOoctJeE4npezQ7MfukMmkK0dwgJk5FU0e sPk55ub/3tgFAgy87TryyaAqlKwAYNUdgEqzC7hXJpJtJGfcp9N1Vr2DpT0pKKjSQt97 WiH1/gdEYpPAX3GDu/+Xkq8rnJYtLGMPNmNmV4H3LELjOSaPsn5Jvbjee4A3lHbTR+AF 8/Uuj/D4Wik6s5Hy2CVtlp5RntxM8Mui9kotsv2iMWEK4+CwrdhtrRFprgP3LwDIzX21 fhkKvR4313wSBcggTv2v+j36Mq7Q6DkA738K/De8LbII5AO6UsCxh8UzkCBquNHgJRNa LnRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=bh4Etreu; 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 r13si20529155pgj.413.2019.04.15.13.35.10; 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=bh4Etreu; 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 S1727413AbfDOU1N (ORCPT + 99 others); Mon, 15 Apr 2019 16:27:13 -0400 Received: from mail-ot1-f67.google.com ([209.85.210.67]:37823 "EHLO mail-ot1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727447AbfDOU1M (ORCPT ); Mon, 15 Apr 2019 16:27:12 -0400 Received: by mail-ot1-f67.google.com with SMTP id c16so15652887otn.4 for ; Mon, 15 Apr 2019 13:27:12 -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=WkM4j4aIdPKGONOje49qtYbSE4hWkNyrbI/TPWgw/z0=; b=bh4EtreuKMqJiq5bSGidkjfz3EGnMIMlsOEw2xHpChB9+fOf/iCPBcACYbgESzFEmw 8U0ifobHdK6OaBMMTQaC23cHaGQmTnqlVS6tt0Y6IR9e4L+WzNr6tZEYUKer7hWxG9wL lNA93mcqzAWKLfmgS3wsZopn7kxe0rwsLrq9KJP6IleD6D+tqPwEul6RGlfxlzYBwTym JGLH4NcZmSS5WpcstFwMqBmchkMGZY8gM2wCKF/vRcYZDcQs48styP/p8GywJtU8Mfj/ 9Nsf7dXBkYVJZf6ldLI/7qzMEb5PHpcXDtv18bMeosBSv/bi9T1iUcnoCJJgqCc85yXi 4l3g== 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=WkM4j4aIdPKGONOje49qtYbSE4hWkNyrbI/TPWgw/z0=; b=gTk8XkqoUZ+n/LcmllQ/9Bljpl+GUPMLzGybbkRLx8E3qcvcPUy988JNwzkA5Os/u8 0looyoQZnIbT+WwsTLUqjyFcT5RD+Kp9RRr/DTgWPexRv+izNSIKvNiqrGPPUw3+lgPx xgEIcV0rMz4+CpxDoLhfuL5tzu1ckP3F0qmhtWM0jvSIWMeizKWWR3lH3nU7YKS5Geb+ Q0P3NOsyGYVatYRvBYysK+dQUQQ4i8Kwbxc5ZfubKofbrRUZr1pHErIJhETPCLCxjjIA puB12V0blMUA4GRrqrQDiVc3d9biKd55VkBQkqtUhk759rbSR+PQzaMHLO6jjxSmSpzm BKfQ== X-Gm-Message-State: APjAAAWK7ReH+f4+uUAVglRBv2QiwiQCmd5/JsVPtgsFd1O5pZjPwYmv i6mo/BCDrUKbGh8FDrSwE2I= X-Received: by 2002:a9d:5919:: with SMTP id t25mr49040180oth.133.1555360031592; Mon, 15 Apr 2019 13:27:11 -0700 (PDT) Received: from madhuleo ([2605:6000:1023:606d:95f5:9dbc:648:48d7]) by smtp.gmail.com with ESMTPSA id w2sm19575049otk.73.2019.04.15.13.27.10 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 15 Apr 2019 13:27:11 -0700 (PDT) From: Madhumitha Prabakaran To: gregkh@linuxfoundation.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Cc: Madhumitha Prabakaran Subject: [PATCH 1/3] Staging: rtl8723bs: Remove typedef in struct ieee_param_ex Date: Mon, 15 Apr 2019 15:27:02 -0500 Message-Id: <5d8187a99cd1be13aed21a5b0ea784728a43869c.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_ex, 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 9efb4dcb9d3a..8077465402c6 100644 --- a/drivers/staging/rtl8723bs/include/ieee80211.h +++ b/drivers/staging/rtl8723bs/include/ieee80211.h @@ -242,11 +242,11 @@ typedef struct ieee_param { } u; }ieee_param; -typedef struct ieee_param_ex { +struct ieee_param_ex { u32 cmd; u8 sta_addr[ETH_ALEN]; u8 data[0]; -}ieee_param_ex; +}; struct sta_data{ u16 aid; -- 2.17.1