localversion-rt: Change a file name to _localversion-rt
[platform/kernel/linux-rpi.git] / security / keys / proc.c
index d0cde66..4f4e2c1 100644 (file)
@@ -198,7 +198,7 @@ static int proc_keys_show(struct seq_file *m, void *v)
 
        /* come up with a suitable timeout value */
        expiry = READ_ONCE(key->expiry);
-       if (expiry == 0) {
+       if (expiry == TIME64_MAX) {
                memcpy(xbuf, "perm", 5);
        } else if (now >= expiry) {
                memcpy(xbuf, "expd", 5);