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
4e698e64
Commit
4e698e64
authored
Apr 30, 2002
by
Anthony J. Breeds-Taurima
Committed by
Jeff Garzik
Apr 30, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
s/Efoo/-Efoo/ cleanup for drivers:
etherh acorn net driver, mtdblock_ro mtd driver, and sym 2 scsi driver.
parent
30d9a4af
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
drivers/acorn/net/etherh.c
drivers/acorn/net/etherh.c
+2
-2
drivers/mtd/mtdblock_ro.c
drivers/mtd/mtdblock_ro.c
+1
-1
drivers/scsi/sym53c8xx_2/sym_hipd.c
drivers/scsi/sym53c8xx_2/sym_hipd.c
+1
-1
No files found.
drivers/acorn/net/etherh.c
View file @
4e698e64
...
@@ -513,7 +513,7 @@ static int __init etherh_addr(char *addr, struct expansion_card *ec)
...
@@ -513,7 +513,7 @@ static int __init etherh_addr(char *addr, struct expansion_card *ec)
if
(
i
==
6
)
if
(
i
==
6
)
return
0
;
return
0
;
}
}
return
ENODEV
;
return
-
ENODEV
;
}
}
/*
/*
...
@@ -524,7 +524,7 @@ static int __init etherm_addr(char *addr)
...
@@ -524,7 +524,7 @@ static int __init etherm_addr(char *addr)
unsigned
int
serial
;
unsigned
int
serial
;
if
(
system_serial_low
==
0
&&
system_serial_high
==
0
)
if
(
system_serial_low
==
0
&&
system_serial_high
==
0
)
return
ENODEV
;
return
-
ENODEV
;
serial
=
system_serial_low
|
system_serial_high
;
serial
=
system_serial_low
|
system_serial_high
;
...
...
drivers/mtd/mtdblock_ro.c
View file @
4e698e64
...
@@ -258,7 +258,7 @@ int __init init_mtdblock(void)
...
@@ -258,7 +258,7 @@ int __init init_mtdblock(void)
if
(
register_blkdev
(
MAJOR_NR
,
DEVICE_NAME
,
&
mtd_fops
))
{
if
(
register_blkdev
(
MAJOR_NR
,
DEVICE_NAME
,
&
mtd_fops
))
{
printk
(
KERN_NOTICE
"Can't allocate major number %d for Memory Technology Devices.
\n
"
,
printk
(
KERN_NOTICE
"Can't allocate major number %d for Memory Technology Devices.
\n
"
,
MTD_BLOCK_MAJOR
);
MTD_BLOCK_MAJOR
);
return
EAGAIN
;
return
-
EAGAIN
;
}
}
/* We fill it in at open() time. */
/* We fill it in at open() time. */
...
...
drivers/scsi/sym53c8xx_2/sym_hipd.c
View file @
4e698e64
...
@@ -5947,7 +5947,7 @@ int sym_hcb_attach(hcb_p np, struct sym_fw *fw)
...
@@ -5947,7 +5947,7 @@ int sym_hcb_attach(hcb_p np, struct sym_fw *fw)
*/
*/
attach_failed:
attach_failed:
sym_hcb_free
(
np
);
sym_hcb_free
(
np
);
return
ENXIO
;
return
-
ENXIO
;
}
}
/*
/*
...
...
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