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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Tue, 14 Oct 2014 17:03:33 +0200
From:	Martin Schwidefsky <schwidefsky@...ibm.com>
To:	Josh Boyer <jwboyer@...oraproject.org>
Cc:	Heiko Carstens <heiko.carstens@...ibm.com>,
	Ralf Hoppe <rhoppe@...ibm.com>, linux-s390@...r.kernel.org,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] s390/hmcdrv: Restrict s390 HMC driver to S390 arch

On Tue, 14 Oct 2014 10:13:42 -0400
Josh Boyer <jwboyer@...oraproject.org> wrote:

> This driver is only usable on 64-bit s390 machines.  Mark the Kconfig
> dependencies to that users on other architectures are not prompted for it.
> 
> Fixes: 8f933b1043e1e5 ("s390/hmcdrv: HMC drive CD/DVD access")
> Signed-off-by: Josh Boyer <jwboyer@...oraproject.org>
> ---
>  drivers/s390/char/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/s390/char/Kconfig b/drivers/s390/char/Kconfig
> index dc24ecfac2d1..db2cb1f8a1b5 100644
> --- a/drivers/s390/char/Kconfig
> +++ b/drivers/s390/char/Kconfig
> @@ -105,7 +105,7 @@ config SCLP_ASYNC
>  config HMC_DRV
>  	def_tristate m
>  	prompt "Support for file transfers from HMC drive CD/DVD-ROM"
> -	depends on 64BIT
> +	depends on S390 && 64BIT
>  	select CRC16
>  	help
>  	  This option enables support for file transfers from a Hardware

Indeed. I'll queue this patch to the fixes branch of the s390 tree.

-- 
blue skies,
   Martin.

"Reality continues to ruin my life." - Calvin.

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ