From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751306AbbGXEiv (ORCPT ); Fri, 24 Jul 2015 00:38:51 -0400 Received: from mail-yk0-f169.google.com ([209.85.160.169]:33203 "EHLO mail-yk0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750905AbbGXEit (ORCPT ); Fri, 24 Jul 2015 00:38:49 -0400 From: Joshua Clayton To: Larry Finger , Florian Schilhabel , Greg Kroah-Hartman Cc: Nitin Kuppelur , Sudip Mukherjee , Joshua Clayton , Tapasweni Pathak , Vaishali Thakkar , devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/5] Date: Thu, 23 Jul 2015 21:38:32 -0700 Message-Id: <1437712717-7287-1-git-send-email-stillcompiling@gmail.com> X-Mailer: git-send-email 2.4.6 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The main goal of this series is to get rid of a needless and ugly typedef in the rtl8712 wlan driver. In the course of fixing that, I found a bug thati will can might (at least in theory) lead to a overrun during a memcpy, as well as a duplicate struct. Finally after cleaning up the typedef, I could not bring myself to leave a variable called SupportedRates in the kernel with my name on it. I have tested this on amd64. cwthe module loads and doesn't explode Joshua Clayton (5): staging: rtl8712: fix buggy size calculation staging: rtl8712: simplify size calculation staging: rtl8712: remove duplicate struct staging: rtl8712: remove typedefs staging: rtl8712: style fix: drivers/staging/rtl8712/ieee80211.c | 22 ++++++------- drivers/staging/rtl8712/rtl871x_cmd.c | 28 +++++----------- drivers/staging/rtl8712/rtl871x_cmd.h | 4 +-- drivers/staging/rtl8712/rtl871x_event.h | 2 +- drivers/staging/rtl8712/rtl871x_ioctl_linux.c | 33 +++++++++---------- drivers/staging/rtl8712/rtl871x_mlme.c | 47 ++++++++++----------------- drivers/staging/rtl8712/rtl871x_mlme.h | 2 +- drivers/staging/rtl8712/rtl871x_mp_ioctl.c | 6 ++-- drivers/staging/rtl8712/wlan_bssdef.h | 32 +++--------------- 9 files changed, 63 insertions(+), 113 deletions(-) -- 2.4.6