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:	Thu, 29 Aug 2013 17:42:35 +0800
From:	Chen Gang <gang.chen@...anux.com>
To:	Yoshinori Sato <ysato@...rs.sourceforge.jp>,
	Geert Uytterhoeven <geert@...ux-m68k.org>,
	David Miller <davem@...emloft.net>
CC:	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	linux-ide@...r.kernel.org
Subject: [PATCH] drivers: ide: Kconfig: let IDE_H8300 depends on H8300H_AKI3068NET
 or H8300H_H8MAX

According to the code in "arch/h8300/Kbuild.ide", IDE_H8300 need depend
on "H8300H_AKI3068NET || H8300H_H8MAX", or can not pass compiling with
allmodconfig for h8300.

The related error:

  drivers/ide/ide-h8300.c: In function 'hw_setup':
  drivers/ide/ide-h8300.c:73:27: error: 'CONFIG_H8300_IDE_BASE' undeclared (first use in this function)
  drivers/ide/ide-h8300.c:73:27: note: each undeclared identifier is reported only once for each function it appears in
  drivers/ide/ide-h8300.c:74:26: error: 'CONFIG_H8300_IDE_ALT' undeclared (first use in this function)
  drivers/ide/ide-h8300.c:75:23: error: 'CONFIG_H8300_IDE_IRQ' undeclared (first use in this function)
  drivers/ide/ide-h8300.c: In function 'h8300_ide_init':
  drivers/ide/ide-h8300.c:90:7: error: 'CONFIG_H8300_IDE_BASE' undeclared (first use in this function)
  drivers/ide/ide-h8300.c:92:7: error: 'CONFIG_H8300_IDE_ALT' undeclared (first use in this function)
  drivers/ide/ide-h8300.c: At top level:
  drivers/ide/ide-h8300.c:109:16: error: expected declaration specifiers or '...' before string constant


Signed-off-by: Chen Gang <gang.chen@...anux.com>
---
 drivers/ide/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/ide/Kconfig b/drivers/ide/Kconfig
index 02906ca..f79b49f 100644
--- a/drivers/ide/Kconfig
+++ b/drivers/ide/Kconfig
@@ -724,7 +724,7 @@ config BLK_DEV_IDE_RAPIDE
 
 config IDE_H8300
 	tristate "H8300 IDE support"
-	depends on H8300
+	depends on H8300H_AKI3068NET || H8300H_H8MAX
 	default y
 	help
 	  Enables the H8300 IDE driver.
-- 
1.7.7.6
--
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