Re: Question about work queues

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

 



Hi Brian,

not sure this solves the problem but:

2007/11/16, Wood, Brian J <brian.j.wood@xxxxxxxxx>:

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
--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel

[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux