projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b453872
)
[PATCH] net/ieee80211/ieee80211_tx.c: swapped memset arguments
author
Adrian Bunk
<bunk@stusta.de>
Mon, 11 Apr 2005 23:52:15 +0000
(16:52 -0700)
committer
Jeff Garzik
<jgarzik@pobox.com>
Mon, 16 May 2005 03:21:19 +0000
(23:21 -0400)
Fix swapped memset() arguments in net/ieee80211/ieee80211_tx.c found by
Maciej Soltysiak.
Patch by Jesper Juhl.
Signed-off-by: Jesper Juhl <juhl-lkml@dif.dk>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
net/ieee80211/ieee80211_tx.c
patch
|
blob
|
history
diff --git
a/net/ieee80211/ieee80211_tx.c
b/net/ieee80211/ieee80211_tx.c
index d70e6b82715e09e849d8bc731b29d7ec976dad83..308fcd9ab1e3f21b988609a01bc813eb0d939760 100644
(file)
--- a/
net/ieee80211/ieee80211_tx.c
+++ b/
net/ieee80211/ieee80211_tx.c
@@
-223,7
+223,7
@@
struct ieee80211_txb *ieee80211_alloc_txb(int nr_frags, int txb_size,
if (!txb)
return NULL;
- memset(txb,
sizeof(struct ieee80211_txb), 0
);
+ memset(txb,
0, sizeof(struct ieee80211_txb)
);
txb->nr_frags = nr_frags;
txb->frag_size = txb_size;