Re: [build bug] ./drivers/crypto/hifn_795x.c

From: Evgeniy Polyakov
Date: Sat Jan 26 2008 - 05:44:43 EST


Hi.

On Sat, Jan 26, 2008 at 09:45:45AM +1100, Herbert Xu (herbert@xxxxxxxxxxxxxxxxxxx) wrote:
> On Fri, Jan 25, 2008 at 11:21:50PM +0100, Ingo Molnar 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.
>
> Thanks for the report. This is casued by
>
> > CONFIG_HW_RANDOM=m
> > CONFIG_CRYPTO_DEV_HIFN_795X=y
>
> I'll fix it with the following patch.

Thanks for fixing that up, if people who do not like select will
complain, we can make hifn rng depend on hw_random.

--
Evgeniy Polyakov
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/