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
9849f0b9
Commit
9849f0b9
authored
Oct 31, 2002
by
Alan Cox
Committed by
Linus Torvalds
Oct 31, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] fix warnings
parent
3b8e8cc4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
drivers/atm/zatm.c
drivers/atm/zatm.c
+4
-4
No files found.
drivers/atm/zatm.c
View file @
9849f0b9
...
...
@@ -1260,13 +1260,13 @@ static void zatm_int(int irq,void *dev_id,struct pt_regs *regs)
/* don't handle RD */
if
(
reason
&
uPD98401_INT_SPE
)
printk
(
KERN_ALERT
DEV_LABEL
"(itf %d): system parity "
"error at 0x%08
l
x
\n
"
,
dev
->
number
,
zin
(
ADDR
));
"error at 0x%08x
\n
"
,
dev
->
number
,
zin
(
ADDR
));
if
(
reason
&
uPD98401_INT_CPE
)
printk
(
KERN_ALERT
DEV_LABEL
"(itf %d): control memory "
"parity error at 0x%08
l
x
\n
"
,
dev
->
number
,
zin
(
ADDR
));
"parity error at 0x%08x
\n
"
,
dev
->
number
,
zin
(
ADDR
));
if
(
reason
&
uPD98401_INT_SBE
)
{
printk
(
KERN_ALERT
DEV_LABEL
"(itf %d): system bus "
"error at 0x%08
l
x
\n
"
,
dev
->
number
,
zin
(
ADDR
));
"error at 0x%08x
\n
"
,
dev
->
number
,
zin
(
ADDR
));
event_dump
();
}
/* don't handle IND */
...
...
@@ -1448,7 +1448,7 @@ static int __init zatm_init(struct atm_dev *dev)
}
while
(
t0
>
t1
||
t1
>
t2
);
/* loop if wrapping ... */
zatm_dev
->
khz
=
t2
-
2
*
t1
+
t0
;
printk
(
KERN_NOTICE
DEV_LABEL
"(itf %d): uPD98401 %
ld.%l
d at %d.%03d "
printk
(
KERN_NOTICE
DEV_LABEL
"(itf %d): uPD98401 %
d.%
d at %d.%03d "
"MHz
\n
"
,
dev
->
number
,
(
zin
(
VER
)
&
uPD98401_MAJOR
)
>>
uPD98401_MAJOR_SHIFT
,
zin
(
VER
)
&
uPD98401_MINOR
,
zatm_dev
->
khz
/
1000
,
zatm_dev
->
khz
%
1000
);
...
...
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