Unified · Split
| @@ -209,7 +209,7 @@ int digsig_verify(struct key *keyring, const char *sig, int siglen, · 208 unmodified lines | ||
| 209 | 209 | kref = keyring_search(make_key_ref(keyring, 1UL), |
| 210 | 210 | &key_type_user, name); |
| 211 | 211 | if (IS_ERR(kref)) |
| 212 | − key = ERR_PTR(PTR_ERR(kref)); | |
| 212 | + key = ERR_CAST(kref); | |
| 213 | 213 | else |
| 214 | 214 | key = key_ref_to_ptr(kref); |
| 215 | 215 | } else { |