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
d824e08a
Commit
d824e08a
authored
May 25, 2004
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't return void types from void functions.
This helps reduce sparse noise.
parent
a9c2138d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
drivers/net/tokenring/olympic.c
drivers/net/tokenring/olympic.c
+1
-1
include/asm-ppc64/eeh.h
include/asm-ppc64/eeh.h
+3
-3
No files found.
drivers/net/tokenring/olympic.c
View file @
d824e08a
...
...
@@ -1806,7 +1806,7 @@ static int __init olympic_pci_init(void)
static
void
__exit
olympic_pci_cleanup
(
void
)
{
return
pci_unregister_driver
(
&
olympic_driver
)
;
pci_unregister_driver
(
&
olympic_driver
)
;
}
...
...
include/asm-ppc64/eeh.h
View file @
d824e08a
...
...
@@ -215,7 +215,7 @@ static inline u8 eeh_inb(unsigned long port) {
static
inline
void
eeh_outb
(
u8
val
,
unsigned
long
port
)
{
if
(
_IO_IS_VALID
(
port
))
return
out_8
((
u8
*
)(
port
+
pci_io_base
),
val
);
out_8
((
u8
*
)(
port
+
pci_io_base
),
val
);
}
static
inline
u16
eeh_inw
(
unsigned
long
port
)
{
...
...
@@ -230,7 +230,7 @@ static inline u16 eeh_inw(unsigned long port) {
static
inline
void
eeh_outw
(
u16
val
,
unsigned
long
port
)
{
if
(
_IO_IS_VALID
(
port
))
return
out_le16
((
u16
*
)(
port
+
pci_io_base
),
val
);
out_le16
((
u16
*
)(
port
+
pci_io_base
),
val
);
}
static
inline
u32
eeh_inl
(
unsigned
long
port
)
{
...
...
@@ -245,7 +245,7 @@ static inline u32 eeh_inl(unsigned long port) {
static
inline
void
eeh_outl
(
u32
val
,
unsigned
long
port
)
{
if
(
_IO_IS_VALID
(
port
))
return
out_le32
((
u32
*
)(
port
+
pci_io_base
),
val
);
out_le32
((
u32
*
)(
port
+
pci_io_base
),
val
);
}
/* in-string eeh macros */
...
...
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