LKML Archive on
help / color / mirror / Atom feed
From: Adrian Bunk <>
Subject: [2.6 patch] crypto/digest.c should #include "internal.h"
Date: Wed, 27 Feb 2008 23:21:03 +0200	[thread overview]
Message-ID: <> (raw)

Every file should include the headers containing the externs for its 
global code (in this case for struct crypto_{init,exit}_digest_ops()).

Signed-off-by: Adrian Bunk <>

8680cc7b83fdcef7fbb84f9eac3f26f3d3e16b45 foobar
diff --git a/crypto/digest.c b/crypto/digest.c
index 6fd43bd..b526cc3 100644
--- a/crypto/digest.c
+++ b/crypto/digest.c
@@ -21,6 +21,8 @@
 #include <linux/module.h>
 #include <linux/scatterlist.h>
+#include "internal.h"
 static int init(struct hash_desc *desc)
 	struct crypto_tfm *tfm = crypto_hash_tfm(desc->tfm);

             reply	other threads:[~2008-02-27 21:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-27 21:21 Adrian Bunk [this message]
2008-03-05 11:06 ` Herbert Xu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \
    --subject='Re: [2.6 patch] crypto/digest.c should #include "internal.h"' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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