Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1452742
| From | Joe Perches <joe@perches.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] KEYS: Sort out big_key initialisation |
| Date | 2016-07-30 22:20 +0200 |
| Message-ID | <s0ITL-79Q-7@gated-at.bofh.it> (permalink) |
| References | <s0IK5-768-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Sat, 2016-07-30 at 22:03 +0200, Kirill Marinushkin wrote: > big_key has two separate initialisation functions, one that registers the > key type and one that registers the crypto. If the key type fails to > register, there's no problem if the crypto registers successfully because > there's no way to reach the crypto except through the key type. trivia: > diff --git a/security/keys/big_key.c b/security/keys/big_key.c [] > @@ -9,6 +9,7 @@ > * 2 of the Licence, or (at your option) any later version. > */ > > +#define pr_fmt(fmt) "big_key: "fmt It's much more common to use #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] KEYS: Sort out big_key initialisation Kirill Marinushkin <k.marinushkin@gmail.com> - 2016-07-30 22:10 +0200 Re: [PATCH] KEYS: Sort out big_key initialisation Joe Perches <joe@perches.com> - 2016-07-30 22:20 +0200
csiph-web