netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] (2/3) skfp -- sparse __user annotation
@ 2004-06-22 21:21 Stephen Hemminger
  2004-07-01  3:24 ` Jeff Garzik
  0 siblings, 1 reply; 2+ messages in thread
From: Stephen Hemminger @ 2004-06-22 21:21 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: netdev

Add __user annotation to the device specific ioctl.
 
diff -Nru a/drivers/net/skfp/h/targetos.h b/drivers/net/skfp/h/targetos.h
--- a/drivers/net/skfp/h/targetos.h	2004-06-22 13:57:04 -07:00
+++ b/drivers/net/skfp/h/targetos.h	2004-06-22 13:57:04 -07:00
@@ -110,7 +110,7 @@
 struct s_skfp_ioctl {
 	unsigned short cmd;                /* Command to run */
 	unsigned short len;                /* Length of the data buffer */
-	unsigned char  *data;              /* Pointer to the data buffer */
+	unsigned char __user *data;        /* Pointer to the data buffer */
 };
 
 /* 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-07-01  3:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-22 21:21 [PATCH] (2/3) skfp -- sparse __user annotation Stephen Hemminger
2004-07-01  3:24 ` Jeff Garzik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).