summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Spiegel <richard.spiegel@amd.corp-partner.google.com>2018-10-23 14:30:09 -0700
committerMartin Roth <martinroth@google.com>2018-10-25 16:51:08 +0000
commitbb49bfce679950a8e8a5eb14c0d90af4b3df3e98 (patch)
tree76c326e7674ca61f0d6928954c5f29e1f3d41d3a
parent8c614f2017c170209b6981eaac9af826758037d2 (diff)
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@silverbackltd.com> Reviewed-on: https://review.coreboot.org/29245 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
-rw-r--r--src/mainboard/google/kahlee/irq_tables.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/google/kahlee/irq_tables.c b/src/mainboard/google/kahlee/irq_tables.c
index bf1daec8a6..31cfbc199d 100644
--- a/src/mainboard/google/kahlee/irq_tables.c
+++ b/src/mainboard/google/kahlee/irq_tables.c
@@ -94,7 +94,7 @@ unsigned long write_pirq_routing_table(unsigned long addr)
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;
}