summaryrefslogtreecommitdiffstats
path: root/net/sched/sch_cbq.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2009-08-24 19:37:05 -0700
committerDavid S. Miller <davem@davemloft.net>2009-08-24 19:37:05 -0700
commita2cb6a4dd470d7a64255a10b843b0d188416b78f (patch)
tree33596c7aa4b444e96b112d92173e88dc8ea8a8d7 /net/sched/sch_cbq.c
parent8ff499e43c537648399fca8ba39d24c0768b3fab (diff)
downloadop-kernel-dev-a2cb6a4dd470d7a64255a10b843b0d188416b78f.zip
op-kernel-dev-a2cb6a4dd470d7a64255a10b843b0d188416b78f.tar.gz
pkt_sched: Fix bogon in tasklet_hrtimer changes.
Reported by Stephen Rothwell, luckily it's harmless: net/sched/sch_api.c: In function 'qdisc_watchdog': net/sched/sch_api.c:460: warning: initialization from incompatible pointer type net/sched/sch_cbq.c: In function 'cbq_undelay': net/sched/sch_cbq.c:595: warning: initialization from incompatible pointer type Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/sch_cbq.c')
-rw-r--r--net/sched/sch_cbq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/sch_cbq.c b/net/sched/sch_cbq.c
index 81652d6..149b040 100644
--- a/net/sched/sch_cbq.c
+++ b/net/sched/sch_cbq.c
@@ -593,7 +593,7 @@ static psched_tdiff_t cbq_undelay_prio(struct cbq_sched_data *q, int prio,
static enum hrtimer_restart cbq_undelay(struct hrtimer *timer)
{
struct cbq_sched_data *q = container_of(timer, struct cbq_sched_data,
- delay_timer);
+ delay_timer.timer);
struct Qdisc *sch = q->watchdog.qdisc;
psched_time_t now;
psched_tdiff_t delay = 0;
OpenPOWER on IntegriCloud