staging: lustre: fix integer as NULL pointer warnings
[firefly-linux-kernel-4.4.55.git] / drivers / staging / lustre / lustre / obdecho / lproc_echo.c
index b9abac1c4dcacc4ad3aca8bbae18a6de03295465..8fe9245a8aad90899c95a1f1fe9c71d0e4ad2f36 100644 (file)
 #ifdef LPROCFS
 LPROC_SEQ_FOPS_RO_TYPE(echo, uuid);
 static struct lprocfs_vars lprocfs_echo_obd_vars[] = {
-       { "uuid",        &echo_uuid_fops,       0, 0 },
+       { "uuid",        &echo_uuid_fops,       NULL, 0 },
        { 0 }
 };
 
 LPROC_SEQ_FOPS_RO_TYPE(echo, numrefs);
 static struct lprocfs_vars lprocfs_echo_module_vars[] = {
-       { "num_refs",     &echo_numrefs_fops,     0, 0 },
+       { "num_refs",     &echo_numrefs_fops,     NULL, 0 },
        { 0 }
 };