|
|
Subscribe / Log in / New account

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);
-- Al Viro adapts to the new workqueue API

to post comments

Quote of the week

Posted Dec 7, 2006 5:01 UTC (Thu) by xoddam (guest, #2322) [Link] (1 responses)

What a load of
+__adb_probe_task(struct work_struct *bullshit)

Quote of the week

Posted Dec 7, 2006 15:23 UTC (Thu) by hansl (subscriber, #5086) [Link]

Does (sp)arse detect such bullshit yet?

Quote of the week

Posted Dec 7, 2006 15:53 UTC (Thu) by trutkin (guest, #3919) [Link]

Kinda passive-aggressive, no?

Quote of the week

Posted Dec 7, 2006 20:48 UTC (Thu) by iabervon (subscriber, #722) [Link]

I think Linus should have gotten it this week for this post:
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.

Quote of the week

Posted Dec 8, 2006 13:58 UTC (Fri) by scarabaeus (guest, #7142) [Link]

Um, well, (void* arg) doesn't strike me as a particularly clean API either...


Copyright © 2006, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds