2010-12-15 00:27:55

by Randy Dunlap

[permalink] [raw]
Subject: [PATCH] crypto: ghash-clmulni-intel_glue needs err.h

From: Randy Dunlap <[email protected]>

Add missing header file:

arch/x86/crypto/ghash-clmulni-intel_glue.c:256: error: implicit declaration of function 'IS_ERR'
arch/x86/crypto/ghash-clmulni-intel_glue.c:257: error: implicit declaration of function 'PTR_ERR'

Signed-off-by: Randy Dunlap <[email protected]>
---
arch/x86/crypto/ghash-clmulni-intel_glue.c | 1 +
1 file changed, 1 insertion(+)

--- linux-next-20101214.orig/arch/x86/crypto/ghash-clmulni-intel_glue.c
+++ linux-next-20101214/arch/x86/crypto/ghash-clmulni-intel_glue.c
@@ -10,6 +10,7 @@
* by the Free Software Foundation.
*/

+#include <linux/err.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/kernel.h>


2010-12-15 09:59:27

by Herbert Xu

[permalink] [raw]
Subject: Re: [PATCH] crypto: ghash-clmulni-intel_glue needs err.h

On Tue, Dec 14, 2010 at 04:26:41PM -0800, Randy Dunlap wrote:
> From: Randy Dunlap <[email protected]>
>
> Add missing header file:
>
> arch/x86/crypto/ghash-clmulni-intel_glue.c:256: error: implicit declaration of function 'IS_ERR'
> arch/x86/crypto/ghash-clmulni-intel_glue.c:257: error: implicit declaration of function 'PTR_ERR'
>
> Signed-off-by: Randy Dunlap <[email protected]>

Patch applied. Thanks!
--
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt