wireless.h and sparse warnings

From: Margit Schubert-While <hidden>
Date: 2004-10-09 14:01:33

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help