[coreboot-gerrit] Change in coreboot[master]: mb/google/kahlee/irq_tables.c: Prefer using '"%s...", __func__'

Richard Spiegel (Code Review) gerrit at coreboot.org
Tue Oct 23 23:34:40 CEST 2018


Richard Spiegel has uploaded this change for review. ( https://review.coreboot.org/29245


Change subject: mb/google/kahlee/irq_tables.c: Prefer using '"%s...", __func__'
......................................................................

mb/google/kahlee/irq_tables.c: Prefer using '"%s...", __func__'

In function write_pirq_routing_table(), the function name is used in a print
string. Use __func__ instead.

BUG=b:117642170
TEST=Build grunt.

Change-Id: Ibf8673c5b2cda1105aae1edb46f6589d55208c50
Signed-off-by: Richard Spiegel <richard.spiegel at silverbackltd.com>
---
M src/mainboard/google/kahlee/irq_tables.c
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/45/29245/1

diff --git a/src/mainboard/google/kahlee/irq_tables.c b/src/mainboard/google/kahlee/irq_tables.c
index bf1daec..31cfbc1 100644
--- a/src/mainboard/google/kahlee/irq_tables.c
+++ b/src/mainboard/google/kahlee/irq_tables.c
@@ -94,7 +94,7 @@
 	if (sum != pirq->checksum)
 		pirq->checksum = sum;
 
-	printk(BIOS_INFO, "write_pirq_routing_table done.\n");
+	printk(BIOS_INFO, "%s done.\n", __func__);
 
 	return (unsigned long)pirq_info;
 }

-- 
To view, visit https://review.coreboot.org/29245
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibf8673c5b2cda1105aae1edb46f6589d55208c50
Gerrit-Change-Number: 29245
Gerrit-PatchSet: 1
Gerrit-Owner: Richard Spiegel <richard.spiegel at silverbackltd.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20181023/b9abe7c1/attachment.html>


More information about the coreboot-gerrit mailing list