KEYS: Make the key matching functions return bool
[deliverable/linux.git] / security / keys / keyring.c
index 253c9a0eb092e2add086d5da72f0811e11007534..8177010174f7b3d47773a43e48bf2b171b264c5f 100644 (file)
@@ -513,8 +513,8 @@ EXPORT_SYMBOL(keyring_alloc);
 /*
  * By default, we keys found by getting an exact match on their descriptions.
  */
-int key_default_cmp(const struct key *key,
-                   const struct key_match_data *match_data)
+bool key_default_cmp(const struct key *key,
+                    const struct key_match_data *match_data)
 {
        return strcmp(key->description, match_data->raw_data) == 0;
 }
This page took 0.058124 seconds and 5 git commands to generate.