summaryrefslogtreecommitdiffstats
path: root/drivers/staging
diff options
context:
space:
mode:
authorThomas Meyer <thomas@m3y3r.de>2013-09-19 23:45:46 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-09-25 16:53:38 -0700
commitf6853448667b3b3234331b22d34d7158b12237fd (patch)
tree25a9efa1c9a0d0e2fb34a65ae91fe4802cc5628e /drivers/staging
parent599aa6975e7a26ba1fee6a1eee21f46c2730890e (diff)
downloadblackbird-obmc-linux-f6853448667b3b3234331b22d34d7158b12237fd.tar.gz
blackbird-obmc-linux-f6853448667b3b3234331b22d34d7158b12237fd.zip
staging: r8188eu: Add files for new drive: Cocci spatch "noderef"
sizeof when applied to a pointer typed expression gives the size of the pointer. Found by coccinelle spatch "misc/noderef.cocci" Signed-off-by: Thomas Meyer <thomas@m3y3r.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/rtl8188eu/hal/rtl8188e_dm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8188eu/hal/rtl8188e_dm.c b/drivers/staging/rtl8188eu/hal/rtl8188e_dm.c
index 9c2e7a20c09e..ec0028d4e61a 100644
--- a/drivers/staging/rtl8188eu/hal/rtl8188e_dm.c
+++ b/drivers/staging/rtl8188eu/hal/rtl8188e_dm.c
@@ -57,7 +57,7 @@ static void Init_ODM_ComInfo_88E(struct adapter *Adapter)
u8 cut_ver, fab_ver;
/* Init Value */
- _rtw_memset(dm_odm, 0, sizeof(dm_odm));
+ _rtw_memset(dm_odm, 0, sizeof(*dm_odm));
dm_odm->Adapter = Adapter;
OpenPOWER on IntegriCloud