| To: | jgarzik@xxxxxxxxx |
|---|---|
| Subject: | wireless.h and sparse warnings |
| From: | margitsw@xxxxxxxxxxx (Margit Schubert-While) |
| Date: | Sat, 09 Oct 2004 16:01:33 +0200 |
| Cc: | netdev@xxxxxxxxxxx |
| Sender: | netdev-bounce@xxxxxxxxxxx |
Problem getting rid of sparse warnings. Using wireless_send_event for a custom event (eg, in prism54 driver), we need to use the union "iwreq_data" (from wireless.h), specifically the "data.pointer" member initialized to a kmalloc'd area. Therein lies the problem as "data.pointer" has attribute "__user"; so a "iwrqun.data.pointer = memptr;" throws sparse warnings. Anybody got any ideas ? Margit |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH 1/1 linux-2.4.28-pre3] prism54 status to 2.6, Margit Schubert-While |
|---|---|
| Next by Date: | Re: [PATCH 5/5] PKT_SCHED: Qdisc are not supposed to dump TCA_STATS themselves, jamal |
| Previous by Thread: | [PATCH 1/1 linux-2.4.28-pre3] prism54 status to 2.6, Margit Schubert-While |
| Next by Thread: | udp_recvmsg: possible bug causing infinite hang?, Chad N. Tindel |
| Indexes: | [Date] [Thread] [Top] [All Lists] |