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]
Message-ID: <20120723165226.GB4105@x1.osrc.amd.com>
Date:	Mon, 23 Jul 2012 18:52:26 +0200
From:	Borislav Petkov <bp@...en8.de>
To:	wei_wang@...lsil.com.cn
Cc:	gregkh@...uxfoundation.org, devel@...uxdriverproject.org,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH 3/3] drivers/mmc/host: Add realtek sdmmc interface driver

On Mon, Jul 23, 2012 at 05:42:51PM +0800, wei_wang@...lsil.com.cn wrote:
> +static void realtek_init_host(struct realtek_sdmmc *host)
> +{
> +	struct mmc_host *mmc = host->mmc;
> +
> +	mmc->f_min = 250000;
> +	mmc->f_max = 208000000;
> +	mmc->ocr_avail = MMC_VDD_32_33 | MMC_VDD_33_34 | MMC_VDD_165_195;
> +	mmc->caps = MMC_CAP_4_BIT_DATA | MMC_CAP_SD_HIGHSPEED |
> +		MMC_CAP_MMC_HIGHSPEED | MMC_CAP_BUS_WIDTH_TEST |
> +		MMC_CAP_UHS_SDR12 | MMC_CAP_UHS_SDR25 |
> +		MMC_CAP_MAX_CURRENT_200 | MMC_CAP_MAX_CURRENT_400 |
> +		MMC_CAP_MAX_CURRENT_600 | MMC_CAP_MAX_CURRENT_800;

drivers/mmc/host/rtsx_sdmmc.c: In function ‘realtek_init_host’:
drivers/mmc/host/rtsx_sdmmc.c:263:3: error: ‘MMC_CAP_MAX_CURRENT_200’ undeclared (first use in this function)
drivers/mmc/host/rtsx_sdmmc.c:263:3: note: each undeclared identifier is reported only once for each function it appears in
drivers/mmc/host/rtsx_sdmmc.c:263:29: error: ‘MMC_CAP_MAX_CURRENT_400’ undeclared (first use in this function)
drivers/mmc/host/rtsx_sdmmc.c:264:3: error: ‘MMC_CAP_MAX_CURRENT_600’ undeclared (first use in this function)
drivers/mmc/host/rtsx_sdmmc.c:264:29: error: ‘MMC_CAP_MAX_CURRENT_800’ undeclared (first use in this function)
make[3]: *** [drivers/mmc/host/rtsx_sdmmc.o] Error 1
make[2]: *** [drivers/mmc/host] Error 2
make[1]: *** [drivers/mmc] Error 2
make: *** [drivers] Error 2

This happens when I enable CONFIG_MMC_REALTEK to build rtsx_sdmmc.c

Config attached.

-- 
Regards/Gruss,
Boris.

Download attachment "config.gz" of type "application/octet-stream" (18240 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ