lkml.org 
[lkml]   [2012]   [Dec]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [PATCH 1/2] megaraid: fix BUG_ON() from incorrect use of delayed work
    From
    On Tue, Dec 4, 2012 at 4:54 PM, Tejun Heo <tj@kernel.org> 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?

    --nX


    \
     
     \ /
      Last update: 2012-12-05 12:42    [W:2.244 / U:0.044 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site