lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20210831083747.4c958890@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com>
Date:   Tue, 31 Aug 2021 08:37:47 -0700
From:   Jakub Kicinski <kuba@...nel.org>
To:     Slark Xiao <slark_xiao@....com>
Cc:     davem@...emloft.net, joel@....id.au, gsomlo@...il.com,
        netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: Add depends on OF_NET for LiteX's LiteETH

On Tue, 31 Aug 2021 10:40:25 +0800 Slark Xiao wrote:
> Current settings may produce a build error when
> CONFIG_OF_NET is disabled. The CONFIG_OF_NET controls
> a headfile <linux/of.h> and some functions
>  in <linux/of_net.h>.
> 
> Signed-off-by: Slark Xiao <slark_xiao@....com>
> ---
>  drivers/net/ethernet/litex/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/net/ethernet/litex/Kconfig b/drivers/net/ethernet/litex/Kconfig
> index 265dba414b41..63bf01d28f0c 100644
> --- a/drivers/net/ethernet/litex/Kconfig
> +++ b/drivers/net/ethernet/litex/Kconfig
> @@ -17,6 +17,7 @@ if NET_VENDOR_LITEX
>  
>  config LITEX_LITEETH
>  	tristate "LiteX Ethernet support"
> +	depends on OF_NET
>  	help
>  	  If you wish to compile a kernel for hardware with a LiteX LiteEth
>  	  device then you should answer Y to this.

Applied, thanks!

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ