LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] crypto: switch to proc_create()
@ 2008-02-26 10:25 Alexey Dobriyan
  2008-03-05 11:28 ` Herbert Xu
  0 siblings, 1 reply; 2+ messages in thread
From: Alexey Dobriyan @ 2008-02-26 10:25 UTC (permalink / raw)
  To: herbert; +Cc: linux-kernel

Signed-off-by: Alexey Dobriyan <adobriyan@sw.ru>
---

 crypto/proc.c |    6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

--- a/crypto/proc.c
+++ b/crypto/proc.c
@@ -99,11 +99,7 @@ static const struct file_operations proc_crypto_ops = {
 
 void __init crypto_init_proc(void)
 {
-	struct proc_dir_entry *proc;
-	
-	proc = create_proc_entry("crypto", 0, NULL);
-	if (proc)
-		proc->proc_fops = &proc_crypto_ops;
+	proc_create("crypto", 0, NULL, &proc_crypto_ops);
 }
 
 void __exit crypto_exit_proc(void)


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] crypto: switch to proc_create()
  2008-02-26 10:25 [PATCH] crypto: switch to proc_create() Alexey Dobriyan
@ 2008-03-05 11:28 ` Herbert Xu
  0 siblings, 0 replies; 2+ messages in thread
From: Herbert Xu @ 2008-03-05 11:28 UTC (permalink / raw)
  To: Alexey Dobriyan; +Cc: linux-kernel

On Tue, Feb 26, 2008 at 01:25:20PM +0300, Alexey Dobriyan wrote:
> Signed-off-by: Alexey Dobriyan <adobriyan@sw.ru>

Patch applied to cryptodev-2.6.  Thanks a lot.
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-03-05 11:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-26 10:25 [PATCH] crypto: switch to proc_create() Alexey Dobriyan
2008-03-05 11:28 ` Herbert Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).