Subject: Could this be a bug?
To: None <tech-kern@NetBSD.org>
From: Chapman Flack <nblists@anastigmatix.net>
List: tech-kern
Date: 01/12/2006 21:45:29
spotted in passing in kern_kcont.c:
371: SIMPLEQ_INIT(&kcq_softclock);
372: kc_si_softclock = softintr_establish(IPL_SOFTCLOCK,
373: kcont_run_softclock, &kcq_softnet);
374:
375: SIMPLEQ_INIT(&kcq_softnet);
376: kc_si_softnet = softintr_establish(IPL_SOFTNET,
377: kcont_run_softnet, &kcq_softnet);
378:
379: SIMPLEQ_INIT(&kcq_softserial);
380: kc_si_softserial = softintr_establish(IPL_SOFTSERIAL,
381: kcont_run_softserial, &kcq_softserial);
Should the last argument in line 373 be &kcq_softclock? Looks
almost like a copy and paste artifact. Apparently doesn't break
much of anything, as it's been that way since 1.1 - but it makes
me wonder.
-Chap