Skip to contentSkip to conversation

KEYS: fix macro

PATCH New David Howells 1 participant 1 message Jan 2, 2008 1 message not in the archive Keys/keyrings

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

David Howells

author maintainer
#1 lore raw

PATCH 1/1 KEYS: fix macro

From: Sebastian Siewior <[email protected]>

Commit 664cceb0093b755739e56572b836a99104ee8a75 changed the parameters of the function make_key_ref(). The macros that are used in case CONFIG_KEY is not defined did not change.

---

I found this while compile testing some files with a broken .config file. Currently there is no user of make_key_ref() that does not select CONFIG_KEY via Kconfig. However you may want to include this patch in your new batch :)

 include/linux/key.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
include/linux/key.h +1 -1
index fcdbd5e..a70b8a8 100644
@@ -290,7 +290,7 @@ extern void key_init(void);
 #define key_get(k) 			({ NULL; })
 #define key_put(k)			do { } while(0)
 #define key_ref_put(k)			do { } while(0)
-#define make_key_ref(k)			({ NULL; })
+#define make_key_ref(k, p)			({ NULL; })
 #define key_ref_to_ptr(k)		({ NULL; })
 #define is_key_possessed(k)		0
 #define alloc_uid_keyring(u,c)		0
Signature · 1 line
1.5.3.7