Re: [PATCH 1/2] megaraid: fix BUG_ON() from incorrect use of delayed work

From: Daniel Vacek
Date: Wed Dec 05 2012 - 06:16:05 EST


On Wed, Dec 5, 2012 at 12:02 PM, Daniel Vacek <neelx.g@xxxxxxxxx> wrote:
> On Tue, Dec 4, 2012 at 4:54 PM, Tejun Heo <tj@xxxxxxxxxx> wrote:
>> @@ -5190,7 +5188,7 @@ static void
>> megasas_aen_polling(struct work_struct *work)
>> {
>> struct megasas_aen_event *ev =
>> - container_of(work, struct megasas_aen_event, hotplug_work);
>> + container_of(work, struct megasas_aen_event, hotplug_work.work);
>> struct megasas_instance *instance = ev->instance;
>> union megasas_evt_class_locale class_locale;
>> struct Scsi_Host *host;
>
> -megasas_aen_polling(struct work_struct *work)
> +megasas_aen_polling(struct delayed_work *work)
>
> Not really sure. Just asking?

Never mind, it's ok. Now I get it. Sorry for the buzz.

--nX
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/