Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
1c95bb40
Commit
1c95bb40
authored
May 28, 2004
by
Alexander Viro
Committed by
Linus Torvalds
May 28, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] sparse: acpi __user annotation
parent
79f21235
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
17 additions
and
17 deletions
+17
-17
drivers/acpi/battery.c
drivers/acpi/battery.c
+1
-1
drivers/acpi/debug.c
drivers/acpi/debug.c
+1
-1
drivers/acpi/event.c
drivers/acpi/event.c
+1
-1
drivers/acpi/fan.c
drivers/acpi/fan.c
+1
-1
drivers/acpi/processor.c
drivers/acpi/processor.c
+2
-2
drivers/acpi/system.c
drivers/acpi/system.c
+4
-4
drivers/acpi/thermal.c
drivers/acpi/thermal.c
+6
-6
drivers/acpi/toshiba_acpi.c
drivers/acpi/toshiba_acpi.c
+1
-1
No files found.
drivers/acpi/battery.c
View file @
1c95bb40
...
...
@@ -582,7 +582,7 @@ acpi_battery_read_alarm (
static
int
acpi_battery_write_alarm
(
struct
file
*
file
,
const
char
*
buffer
,
const
char
__user
*
buffer
,
unsigned
long
count
,
void
*
data
)
{
...
...
drivers/acpi/debug.c
View file @
1c95bb40
...
...
@@ -55,7 +55,7 @@ acpi_system_read_debug (
static
int
acpi_system_write_debug
(
struct
file
*
file
,
const
char
*
buffer
,
const
char
__user
*
buffer
,
unsigned
long
count
,
void
*
data
)
{
...
...
drivers/acpi/event.c
View file @
1c95bb40
...
...
@@ -42,7 +42,7 @@ acpi_system_open_event(struct inode *inode, struct file *file)
static
ssize_t
acpi_system_read_event
(
struct
file
*
file
,
char
*
buffer
,
char
__user
*
buffer
,
size_t
count
,
loff_t
*
ppos
)
{
...
...
drivers/acpi/fan.c
View file @
1c95bb40
...
...
@@ -114,7 +114,7 @@ acpi_fan_read_state (
static
int
acpi_fan_write_state
(
struct
file
*
file
,
const
char
*
buffer
,
const
char
__user
*
buffer
,
unsigned
long
count
,
void
*
data
)
{
...
...
drivers/acpi/processor.c
View file @
1c95bb40
...
...
@@ -1948,7 +1948,7 @@ static int acpi_processor_throttling_open_fs(struct inode *inode, struct file *f
static
ssize_t
acpi_processor_write_throttling
(
struct
file
*
file
,
const
char
*
buffer
,
const
char
__user
*
buffer
,
size_t
count
,
loff_t
*
data
)
{
...
...
@@ -2009,7 +2009,7 @@ static int acpi_processor_limit_open_fs(struct inode *inode, struct file *file)
static
ssize_t
acpi_processor_write_limit
(
struct
file
*
file
,
const
char
*
buffer
,
const
char
__user
*
buffer
,
size_t
count
,
loff_t
*
data
)
{
...
...
drivers/acpi/system.c
View file @
1c95bb40
...
...
@@ -77,7 +77,7 @@ acpi_system_read_info (
return_VALUE
(
size
);
}
static
ssize_t
acpi_system_read_dsdt
(
struct
file
*
,
char
*
,
size_t
,
loff_t
*
);
static
ssize_t
acpi_system_read_dsdt
(
struct
file
*
,
char
__user
*
,
size_t
,
loff_t
*
);
static
struct
file_operations
acpi_system_dsdt_ops
=
{
.
read
=
acpi_system_read_dsdt
,
...
...
@@ -86,7 +86,7 @@ static struct file_operations acpi_system_dsdt_ops = {
static
ssize_t
acpi_system_read_dsdt
(
struct
file
*
file
,
char
*
buffer
,
char
__user
*
buffer
,
size_t
count
,
loff_t
*
ppos
)
{
...
...
@@ -120,7 +120,7 @@ acpi_system_read_dsdt (
}
static
ssize_t
acpi_system_read_fadt
(
struct
file
*
,
char
*
,
size_t
,
loff_t
*
);
static
ssize_t
acpi_system_read_fadt
(
struct
file
*
,
char
__user
*
,
size_t
,
loff_t
*
);
static
struct
file_operations
acpi_system_fadt_ops
=
{
.
read
=
acpi_system_read_fadt
,
...
...
@@ -129,7 +129,7 @@ static struct file_operations acpi_system_fadt_ops = {
static
ssize_t
acpi_system_read_fadt
(
struct
file
*
file
,
char
*
buffer
,
char
__user
*
buffer
,
size_t
count
,
loff_t
*
ppos
)
{
...
...
drivers/acpi/thermal.c
View file @
1c95bb40
...
...
@@ -84,11 +84,11 @@ static int acpi_thermal_remove (struct acpi_device *device, int type);
static
int
acpi_thermal_state_open_fs
(
struct
inode
*
inode
,
struct
file
*
file
);
static
int
acpi_thermal_temp_open_fs
(
struct
inode
*
inode
,
struct
file
*
file
);
static
int
acpi_thermal_trip_open_fs
(
struct
inode
*
inode
,
struct
file
*
file
);
static
ssize_t
acpi_thermal_write_trip_points
(
struct
file
*
,
const
char
*
,
size_t
,
loff_t
*
);
static
ssize_t
acpi_thermal_write_trip_points
(
struct
file
*
,
const
char
__user
*
,
size_t
,
loff_t
*
);
static
int
acpi_thermal_cooling_open_fs
(
struct
inode
*
inode
,
struct
file
*
file
);
static
ssize_t
acpi_thermal_write_cooling_mode
(
struct
file
*
,
const
char
*
,
size_t
,
loff_t
*
);
static
ssize_t
acpi_thermal_write_cooling_mode
(
struct
file
*
,
const
char
__user
*
,
size_t
,
loff_t
*
);
static
int
acpi_thermal_polling_open_fs
(
struct
inode
*
inode
,
struct
file
*
file
);
static
ssize_t
acpi_thermal_write_polling
(
struct
file
*
,
const
char
*
,
size_t
,
loff_t
*
);
static
ssize_t
acpi_thermal_write_polling
(
struct
file
*
,
const
char
__user
*
,
size_t
,
loff_t
*
);
static
struct
acpi_driver
acpi_thermal_driver
=
{
.
name
=
ACPI_THERMAL_DRIVER_NAME
,
...
...
@@ -885,7 +885,7 @@ static int acpi_thermal_trip_open_fs(struct inode *inode, struct file *file)
static
ssize_t
acpi_thermal_write_trip_points
(
struct
file
*
file
,
const
char
*
buffer
,
const
char
__user
*
buffer
,
size_t
count
,
loff_t
*
ppos
)
{
...
...
@@ -954,7 +954,7 @@ static int acpi_thermal_cooling_open_fs(struct inode *inode, struct file *file)
static
ssize_t
acpi_thermal_write_cooling_mode
(
struct
file
*
file
,
const
char
*
buffer
,
const
char
__user
*
buffer
,
size_t
count
,
loff_t
*
ppos
)
{
...
...
@@ -1015,7 +1015,7 @@ static int acpi_thermal_polling_open_fs(struct inode *inode, struct file *file)
static
ssize_t
acpi_thermal_write_polling
(
struct
file
*
file
,
const
char
*
buffer
,
const
char
__user
*
buffer
,
size_t
count
,
loff_t
*
ppos
)
{
...
...
drivers/acpi/toshiba_acpi.c
View file @
1c95bb40
...
...
@@ -252,7 +252,7 @@ dispatch_read(char* page, char** start, off_t off, int count, int* eof,
}
static
int
dispatch_write
(
struct
file
*
file
,
__user
const
char
*
buffer
,
dispatch_write
(
struct
file
*
file
,
const
char
__user
*
buffer
,
unsigned
long
count
,
ProcItem
*
item
)
{
int
result
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment