[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [dm-devel] Question about work queues



Hi Brian,

not sure this solves the problem but:

2007/11/16, Wood, Brian J <brian j wood intel com>:

static void trigger_event(struct work_struct *work);

This should be
static void trigger_event(void *data);

/* Initialize the work_struct */
INIT_WORK(&sc->trigger_event, trigger_event);

INIT_WORK takes three arguments:

INIT_WORK(&sc->trigger_event, trigger_event,  xxx);

xxx is the pointer passed to the function call. Might probably be ti...


Regards,
Stefan

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]