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-next>] [day] [month] [year] [list]
Message-ID: <nycvar.YSQ.7.76.1802072149330.7021@knanqh.ubzr>
Date:   Wed, 7 Feb 2018 22:08:08 -0500 (EST)
From:   Nicolas Pitre <nicolas.pitre@...aro.org>
To:     Linus Torvalds <torvalds@...ux-foundation.org>
cc:     Al Viro <viro@...IV.linux.org.uk>, linux-kernel@...r.kernel.org
Subject: [PATCH] cramfs: better MTD dependency expression

Commit b9f5fb1800d8 ("cramfs: fix MTD dependency") did what it says.
Since commit 9059a3493efe ("kconfig: fix relational operators for bool
and tristate symbols") it is possible to do it slightly better though.

Signed-off-by: Nicolas Pitre <nico@...aro.org>
---

Linus,

Viro once told me that my cramfs pull requests could go either to him or 
to you. I have only this one patch at the moment, and since it depends 
on a commit that recently appeared in your tree I'm therefore sending it 
directly to you.

diff --git a/fs/cramfs/Kconfig b/fs/cramfs/Kconfig
index 58e2fe40b2..5933f99530 100644
--- a/fs/cramfs/Kconfig
+++ b/fs/cramfs/Kconfig
@@ -33,8 +33,7 @@ config CRAMFS_BLOCKDEV
 
 config CRAMFS_MTD
 	bool "Support CramFs image directly mapped in physical memory"
-	depends on CRAMFS && MTD
-	depends on CRAMFS=m || MTD=y
+	depends on CRAMFS && CRAMFS <= MTD
 	default y if !CRAMFS_BLOCKDEV
 	help
 	  This option allows the CramFs driver to load data directly from

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ