mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@elte.hu>
To: linux-kernel@vger.kernel.org,
	Linus Torvalds <torvalds@linux-foundation.org>,
	Herbert Xu <herbert@gondor.apana.org.au>
Subject: Re: [build bug] ./drivers/crypto/hifn_795x.c
Date: Sat, 26 Jan 2008 00:51:31 +0100	[thread overview]
Message-ID: <20080125235131.GA19980@elte.hu> (raw)
In-Reply-To: <20080125222150.GA22401@elte.hu>


* Ingo Molnar <mingo@elte.hu> wrote:

> randconfig testing found this (post-v2.6.24) build bug:
> 
>  drivers/built-in.o: In function `hifn_unregister_rng':
>  hifn_795x.c:(.text+0x17bbd9): undefined reference to `hwrng_unregister'
>  drivers/built-in.o: In function `hifn_probe':
>  hifn_795x.c:(.text+0x17df70): undefined reference to `hwrng_register'
> 
> config attached.

find a workaround below - but i'm not sure it's the right one.

	Ingo

Index: linux/drivers/crypto/Kconfig
===================================================================
--- linux.orig/drivers/crypto/Kconfig
+++ linux/drivers/crypto/Kconfig
@@ -89,6 +89,7 @@ config CRYPTO_DEV_HIFN_795X
 	select CRYPTO_ALGAPI
 	select CRYPTO_BLKCIPHER
 	depends on PCI
+	depends on DEV_HIFN_795X = HW_RANDOM
 	help
 	  This option allows you to have support for HIFN 795x crypto adapters.
 

  parent reply	other threads:[~2008-01-25 23:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-25 22:21 Ingo Molnar
2008-01-25 22:45 ` Herbert Xu
2008-01-26 10:43   ` Evgeniy Polyakov
2008-01-25 23:51 ` Ingo Molnar [this message]
2008-01-25 23:53   ` Herbert Xu
2008-01-25 23:59     ` Ingo Molnar

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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

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

  git send-email \
    --in-reply-to=20080125235131.GA19980@elte.hu \
    --to=mingo@elte.hu \
    --cc=herbert@gondor.apana.org.au \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®