]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - mm/page_owner.c
IB/hfi1: Fix NULL pointer dereference when invalid num_vls is used
[linux.git] / mm / page_owner.c
index 7172e0a80e13e8e1cc6d0e55939b70ba71ac9129..75d21a2259b3b1ff9d2ac624fc9fbab10100580d 100644 (file)
@@ -35,7 +35,7 @@ static depot_stack_handle_t early_handle;
 
 static void init_early_allocated_pages(void);
 
-static int early_page_owner_param(char *buf)
+static int __init early_page_owner_param(char *buf)
 {
        if (!buf)
                return -EINVAL;