Re: [PATCH] mmc: omap_hsmmc: fix compile break

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> From: Vikram Pandita <vikram.pandita@xxxxxx>
> 
> omap_hsmmc.c: In function 'omap_hsmmc_protect_card':
> omap_hsmmc.c:1273: error: 'pr_info' undeclared (first use in this function)
> omap_hsmmc.c:1273: error: (Each undeclared identifier is reported only once
> omap_hsmmc.c:1273: error: for each function it appears in.)
> omap_hsmmc.c:1273: error: expected ';' before string constant
> omap_hsmmc.c:1275: error: expected statement before ')' token
> 
> Signed-off-by: Vikram Pandita <vikram.pandita@xxxxxx>
> ---
>  drivers/mmc/host/omap_hsmmc.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c
> index e8ff123..101cd31 100644
> --- a/drivers/mmc/host/omap_hsmmc.c
> +++ b/drivers/mmc/host/omap_hsmmc.c
> @@ -1270,7 +1270,7 @@ static void omap_hsmmc_protect_card(struct
> omap_hsmmc_host *host) }
>  	} else {
>  		if (!host->protect_card) {
> -			pr_info"%s: cover is open, "
> +			pr_info("%s: cover is open, "
>  					 "card is now inaccessible\n",
>  					 mmc_hostname(host->mmc));
>  			host->protect_card = 1;

Hey,

please care to check mailing list next time before you submit patch. This is 
already fixed for about five hours now. Actually, the last patch submitted to 
the mailing list fixes exactly this problem:

[PATCH] omap_hsmmc: fix missing parenthesis in pr_info
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux