All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] KEYS: fix macro
       [not found] <20080101231517.GA15303@Chamillionaire.breakpoint.cc>
@ 2008-01-02 15:10 ` David Howells
  0 siblings, 0 replies; only message in thread
From: David Howells @ 2008-01-02 15:10 UTC (permalink / raw)
  To: torvalds, akpm; +Cc: Sebastian Siewior, dhowells, linux-kernel


From: Sebastian Siewior <sebastian@breakpoint.cc>

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.

Cc: David Howells <dhowells@redhat.com>
Signed-off-by: Sebastian Siewior <sebastian@breakpoint.cc>
Acked-by: David Howells <dhowells@redhat.com>
---

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(-)

diff --git a/include/linux/key.h b/include/linux/key.h
index fcdbd5e..a70b8a8 100644
--- a/include/linux/key.h
+++ b/include/linux/key.h
@@ -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
-- 
1.5.3.7

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2008-01-02 15:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20080101231517.GA15303@Chamillionaire.breakpoint.cc>
2008-01-02 15:10 ` [PATCH] KEYS: fix macro David Howells

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.