From 08e8cab57841cd1e2cc47bb9899b16a531e1a1f5 Mon Sep 17 00:00:00 2001 From: Angel Pons Date: Thu, 18 Jun 2020 15:20:37 +0200 Subject: src: Substitute `__FUNCTION__` with `__func__` The former is not standard C, and we primarily use the latter form. Change-Id: Ia7091b494ff72588fb6910710fd72165693c1ac5 Signed-off-by: Angel Pons Reviewed-on: https://review.coreboot.org/c/coreboot/+/42516 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Felix Singer Reviewed-by: Christian Walter --- src/vendorcode/cavium/bdk/libbdk-hal/qlm/bdk-qlm-cn81xx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/vendorcode/cavium/bdk/libbdk-hal/qlm') diff --git a/src/vendorcode/cavium/bdk/libbdk-hal/qlm/bdk-qlm-cn81xx.c b/src/vendorcode/cavium/bdk/libbdk-hal/qlm/bdk-qlm-cn81xx.c index 303b276a8b..5582e08110 100644 --- a/src/vendorcode/cavium/bdk/libbdk-hal/qlm/bdk-qlm-cn81xx.c +++ b/src/vendorcode/cavium/bdk/libbdk-hal/qlm/bdk-qlm-cn81xx.c @@ -773,7 +773,7 @@ static void __bdk_qlm_sff81xx_set_reference(bdk_node_t node, int qlm, int ref_cl } else { - bdk_error("Update %s for qlm auto config of this chip\n",__FUNCTION__); + bdk_error("Update %s for qlm auto config of this chip\n",__func__); return; } BDK_CSR_MODIFY(c, node, BDK_GSERX_REFCLK_SEL(qlm), -- cgit v1.2.3