module: Fix up module_notifier return values
[sfrench/cifs-2.6.git] / kernel / trace / trace_events.c
index a85effb2373bf0eb56fcf65df288a620481cbe6c..beebf2cd364b13c79d111ae441d2daaa4249346c 100644 (file)
@@ -2646,7 +2646,7 @@ static int trace_module_notify(struct notifier_block *self,
        mutex_unlock(&trace_types_lock);
        mutex_unlock(&event_mutex);
 
-       return 0;
+       return NOTIFY_OK;
 }
 
 static struct notifier_block trace_module_nb = {