Skip to contentSkip to conversation

Sparse checks #11

Kernel-janitors Alexander Nyberg 1 participant 1 message Jun 16, 2004

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Sparse checks for drivers/

===== include/linux/ipmi.h 1.3 vs edited =====

include/linux/ipmi.h 2004-06-15 23:59:31 +02:00 renamed from include/linux/ipmi.h 2004-04-12 19:54:18 +02:00 +2 -2
@@ -159,7 +159,7 @@
        unsigned char  netfn;
        unsigned char  cmd;
        unsigned short data_len;
-       unsigned char  *data;
+       unsigned char  __user *data;
 };
 
 /*
@@ -539,7 +539,7 @@
        int     recv_type; /* Is this a command, response or an
                              asyncronous event. */
 
-       unsigned char *addr;    /* Address the message was from is put
+       unsigned char __user *addr;/* Address the message was from is put
                                   here.  The caller must supply the
                                   memory. */
        unsigned int  addr_len; /* The size of the address buffer.

_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors