sparse checks ipmi
From: Alexander Nyberg <[email protected]>
Sparse checks for include/linux/ipmi.h
Signed-off-by Alexander Nyberg <[email protected]>
Signed-off-by Maximilian Attems <[email protected]>
---
linux-2.6.7-max/include/linux/ipmi.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
include/linux/ipmi.h renamed from include/linux/ipmi.h~sparse-ipmi +2 -2
@@ -159,7 +159,7 @@ struct ipmi_msgunsigned char netfn;unsigned char cmd;unsigned short data_len; -unsigned char *data; +unsigned char __user *data; };/*
@@ -539,7 +539,7 @@ struct ipmi_recvint 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.
_