Skip to contentSkip to conversation

omap_hsmmc: fix missing parenthesis in pr_info

PATCH In review Juergen Kilb 4 participants 5 messages Oct 29, 2011 – Nov 3, 2011

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 omap_hsmmc: fix missing parenthesis in pr_info

In commit a3c76eb9 (mmc: replace printk with appropriate display macro) the opening parenthesis of pr_info was missing.

---
 drivers/mmc/host/omap_hsmmc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/mmc/host/omap_hsmmc.c +1 -1
index e8ff123..101cd31 100644
@@ -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;
Signature · 1 line
1.7.0.4
#1 lore raw

Hi,

Quoted 13 lines · Juergen Kilb

In commit a3c76eb9 (mmc: replace printk with appropriate display macro) the opening parenthesis of pr_info was missing.

---
 drivers/mmc/host/omap_hsmmc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/mmc/host/omap_hsmmc.c +0 -0
index e8ff123..101cd31 100644

drivers/mmc/host/omap_hsmmc.c static void omap_hsmmc_protect_card(struct omap_hsmmc_host *host) · line 1276

Quoted 8 lines
drivers/mmc/host/omap_hsmmc.c +1 -1
@@ -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;

Oops. Thank you; I've pushed this to mmc-next now, and will send the fix to Linus. I've checked for other errors in the original patch.

- Chris.

Signature · 2 lines
Chris Ball   <[email protected]>   <http://printf.net/>
One Laptop Per Child
#2 lore raw

Hi Chris,

Chris Ball <[email protected]> writes:

[...]

Quoted 2 lines

Oops. Thank you; I've pushed this to mmc-next now, and will send the fix to Linus. I've checked for other errors in the original patch.

Where did you push this fix?

I don't see this in the mmc-next branch of git://dev.laptop.org/users/cjb/mmc

Thanks,

Kevin

#4 lore raw

Hi,

Quoted 9 lines · Venkatraman
Quoted 7 lines
Quoted 2 lines

Oops.  Thank you; I've pushed this to mmc-next now, and will send the fix to Linus.  I've checked for other errors in the original patch.

Where did you push this fix?

I don't see this in the mmc-next branch of git://dev.laptop.org/users/cjb/mmc

MMC tree is back to kernel.org
http://git.kernel.org/?p=linux/kernel/git/cjb/mmc.git;a=summary

I've deleted the dev.laptop.org mmc tree now, so that there's a clue that it's moved back to kernel.org. (linux-next is already back to pulling the kernel.org tree.)

Thanks,

- Chris.

Signature · 6 lines
Chris Ball   <[email protected]>   <http://printf.net/>
One Laptop Per Child
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html