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
9d726c3a
Commit
9d726c3a
authored
Jul 19, 2002
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
net/sched/sch_htb.c: Kill 64-bit platform build warnings.
parent
d5467c0b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
net/sched/sch_htb.c
net/sched/sch_htb.c
+9
-3
No files found.
net/sched/sch_htb.c
View file @
9d726c3a
...
...
@@ -814,7 +814,10 @@ static void htb_charge_class(struct htb_sched *q,struct htb_class *cl,
if
(
diff
>
cl
->
mbuffer
||
diff
<
0
||
PSCHED_TLESS
(
q
->
now
,
cl
->
t_c
))
{
if
(
net_ratelimit
())
printk
(
KERN_ERR
"HTB: bad diff in charge, cl=%X diff=%lX now=%Lu then=%Lu j=%lu
\n
"
,
cl
->
classid
,
diff
,
q
->
now
,
cl
->
t_c
,
jiffies
);
cl
->
classid
,
diff
,
(
unsigned
long
long
)
q
->
now
,
(
unsigned
long
long
)
cl
->
t_c
,
jiffies
);
diff
=
1000
;
}
#endif
...
...
@@ -881,7 +884,10 @@ static long htb_do_events(struct htb_sched *q,int level)
if
(
diff
>
cl
->
mbuffer
||
diff
<
0
||
PSCHED_TLESS
(
q
->
now
,
cl
->
t_c
))
{
if
(
net_ratelimit
())
printk
(
KERN_ERR
"HTB: bad diff in events, cl=%X diff=%lX now=%Lu then=%Lu j=%lu
\n
"
,
cl
->
classid
,
diff
,
q
->
now
,
cl
->
t_c
,
jiffies
);
cl
->
classid
,
diff
,
(
unsigned
long
long
)
q
->
now
,
(
unsigned
long
long
)
cl
->
t_c
,
jiffies
);
diff
=
1000
;
}
#endif
...
...
@@ -1098,7 +1104,7 @@ static void htb_reset(struct Qdisc* sch)
{
struct
htb_sched
*
q
=
(
struct
htb_sched
*
)
sch
->
data
;
int
i
;
HTB_DBG
(
0
,
1
,
"htb_reset sch=%
X, handle=%X
\n
"
,(
int
)
sch
,
sch
->
handle
);
HTB_DBG
(
0
,
1
,
"htb_reset sch=%
p, handle=%X
\n
"
,
sch
,
sch
->
handle
);
for
(
i
=
0
;
i
<
HTB_HSIZE
;
i
++
)
{
struct
list_head
*
p
;
...
...
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