Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 59033 Details for
Bug 92816
linux-headers: i2c-dev.h is incorrect for user applications
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to modify i2c-dev.h in linux-headers to be userland friendly
i2cdev.patch (text/plain), 698 bytes, created by
Jordan Crouse
on 2005-05-16 11:08:04 UTC
(
hide
)
Description:
Patch to modify i2c-dev.h in linux-headers to be userland friendly
Filename:
MIME Type:
Creator:
Jordan Crouse
Created:
2005-05-16 11:08:04 UTC
Size:
698 bytes
patch
obsolete
>--- /usr/include/linux/i2c-dev.h 2005-05-09 09:32:31.000000000 -0700 >+++ linux/i2c-dev.h 2005-05-16 10:58:18.186613849 -0700 >@@ -24,6 +24,7 @@ > #ifndef _LINUX_I2C_DEV_H > #define _LINUX_I2C_DEV_H > >+#include <linux/i2c.h> > #include <linux/types.h> > > /* Some IOCTL commands are defined in <linux/i2c.h> */ >@@ -34,12 +35,12 @@ > __u8 read_write; > __u8 command; > __u32 size; >- union i2c_smbus_data __user *data; >+ union i2c_smbus_data *data; > }; > > /* This is the structure as used in the I2C_RDWR ioctl call */ > struct i2c_rdwr_ioctl_data { >- struct i2c_msg __user *msgs; /* pointers to i2c_msgs */ >+ struct i2c_msg *msgs; /* pointers to i2c_msgs */ > __u32 nmsgs; /* number of i2c_msgs */ > }; >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 92816
: 59033 |
92552