Quote of the week
-static void stli_dohangup(void *arg) +static void stli_dohangup(struct work_struct *ugly_api) { - stliport_t *portp = (stliport_t *) arg; + stliport_t *portp = container_of(ugly_api, stliport_t, tqhangup);
Posted Dec 7, 2006 5:01 UTC (Thu)
by xoddam (guest, #2322)
[Link] (1 responses)
Posted Dec 7, 2006 15:23 UTC (Thu)
by hansl (subscriber, #5086)
[Link]
Posted Dec 7, 2006 15:53 UTC (Thu)
by trutkin (guest, #3919)
[Link]
Posted Dec 7, 2006 20:48 UTC (Thu)
by iabervon (subscriber, #722)
[Link]
Posted Dec 8, 2006 13:58 UTC (Fri)
by scarabaeus (guest, #7142)
[Link]
What a load of
Quote of the week
+__adb_probe_task(struct work_struct *bullshit)
Does (sp)arse detect such bullshit yet?Quote of the week
Kinda passive-aggressive, no?Quote of the week
I think Linus should have gotten it this week for this post:
Quote of the week
This is a quick hack from me just sitting down and seeing if I can still do kernel programming, or whether I'm just relegated to merge other peoples code.
Um, well, (void* arg) doesn't strike me as a particularly clean API either...Quote of the week