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
Kirill Smelkov
linux
Commits
8e8804a5
Commit
8e8804a5
authored
May 14, 2003
by
Andrew Morton
Committed by
Patrick Mochel
May 14, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] ipmi warning fixes
CPU flags are unsigned long.
parent
917ba3a6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
drivers/char/ipmi/ipmi_msghandler.c
drivers/char/ipmi/ipmi_msghandler.c
+4
-4
No files found.
drivers/char/ipmi/ipmi_msghandler.c
View file @
8e8804a5
...
@@ -174,7 +174,7 @@ struct ipmi_smi
...
@@ -174,7 +174,7 @@ struct ipmi_smi
int
int
ipmi_register_all_cmd_rcvr
(
ipmi_user_t
user
)
ipmi_register_all_cmd_rcvr
(
ipmi_user_t
user
)
{
{
int
flags
;
unsigned
long
flags
;
int
rv
=
-
EBUSY
;
int
rv
=
-
EBUSY
;
write_lock_irqsave
(
&
(
user
->
intf
->
users_lock
),
flags
);
write_lock_irqsave
(
&
(
user
->
intf
->
users_lock
),
flags
);
...
@@ -193,7 +193,7 @@ ipmi_register_all_cmd_rcvr(ipmi_user_t user)
...
@@ -193,7 +193,7 @@ ipmi_register_all_cmd_rcvr(ipmi_user_t user)
int
int
ipmi_unregister_all_cmd_rcvr
(
ipmi_user_t
user
)
ipmi_unregister_all_cmd_rcvr
(
ipmi_user_t
user
)
{
{
int
flags
;
unsigned
long
flags
;
int
rv
=
-
EINVAL
;
int
rv
=
-
EINVAL
;
write_lock_irqsave
(
&
(
user
->
intf
->
users_lock
),
flags
);
write_lock_irqsave
(
&
(
user
->
intf
->
users_lock
),
flags
);
...
@@ -1023,7 +1023,7 @@ int ipmi_register_smi(struct ipmi_smi_handlers *handlers,
...
@@ -1023,7 +1023,7 @@ int ipmi_register_smi(struct ipmi_smi_handlers *handlers,
int
rv
;
int
rv
;
ipmi_smi_t
new_intf
;
ipmi_smi_t
new_intf
;
struct
list_head
*
entry
;
struct
list_head
*
entry
;
unsigned
int
flags
;
unsigned
long
flags
;
/* Make sure the driver is actually initialized, this handles
/* Make sure the driver is actually initialized, this handles
...
@@ -1148,7 +1148,7 @@ int ipmi_unregister_smi(ipmi_smi_t intf)
...
@@ -1148,7 +1148,7 @@ int ipmi_unregister_smi(ipmi_smi_t intf)
int
rv
=
-
ENODEV
;
int
rv
=
-
ENODEV
;
int
i
;
int
i
;
struct
list_head
*
entry
;
struct
list_head
*
entry
;
unsigned
int
flags
;
unsigned
long
flags
;
down_write
(
&
interfaces_sem
);
down_write
(
&
interfaces_sem
);
if
(
list_empty
(
&
(
intf
->
users
)))
if
(
list_empty
(
&
(
intf
->
users
)))
...
...
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