git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make bitmask 'and' operators return a result code
[pandora-kernel.git]
/
include
/
linux
/
chio.h
diff --git
a/include/linux/chio.h
b/include/linux/chio.h
index
63035ae
..
519248d
100644
(file)
--- a/
include/linux/chio.h
+++ b/
include/linux/chio.h
@@
-96,7
+96,7
@@
struct changer_position {
*/
struct changer_element_status {
int ces_type;
*/
struct changer_element_status {
int ces_type;
- unsigned char *ces_data;
+ unsigned char
__user
*ces_data;
};
#define CESTATUS_FULL 0x01 /* full */
#define CESTATUS_IMPEXP 0x02 /* media was imported (inserted by sysop) */
};
#define CESTATUS_FULL 0x01 /* full */
#define CESTATUS_IMPEXP 0x02 /* media was imported (inserted by sysop) */
@@
-108,7
+108,7
@@
struct changer_element_status {
/*
* CHIOGELEM
/*
* CHIOGELEM
- * get more detailed status informtion for a single element
+ * get more detailed status inform
a
tion for a single element
*/
struct changer_get_element {
int cge_type; /* type/unit */
*/
struct changer_get_element {
int cge_type; /* type/unit */