summaryrefslogtreecommitdiff
path: root/src/vendorcode/cavium/bdk/libbdk-boot
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2020-06-18 15:20:37 +0200
committerAngel Pons <th3fanbus@gmail.com>2020-06-21 09:24:42 +0000
commit08e8cab57841cd1e2cc47bb9899b16a531e1a1f5 (patch)
tree0b3da67c24d9db58890b6cf644ea435901aa8073 /src/vendorcode/cavium/bdk/libbdk-boot
parentfe1d80cb08213a302a80714114ea3b9e632411ff (diff)
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 <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/42516 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Felix Singer <felixsinger@posteo.net> Reviewed-by: Christian Walter <christian.walter@9elements.com>
Diffstat (limited to 'src/vendorcode/cavium/bdk/libbdk-boot')
-rw-r--r--src/vendorcode/cavium/bdk/libbdk-boot/bdk-boot-qlm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vendorcode/cavium/bdk/libbdk-boot/bdk-boot-qlm.c b/src/vendorcode/cavium/bdk/libbdk-boot/bdk-boot-qlm.c
index 0f75da2567..81e1a78be7 100644
--- a/src/vendorcode/cavium/bdk/libbdk-boot/bdk-boot-qlm.c
+++ b/src/vendorcode/cavium/bdk/libbdk-boot/bdk-boot-qlm.c
@@ -162,7 +162,7 @@ static void find_bgx(int node, int qlm, int *bgx, int *bgx_lane_mask)
}
}
else
- bdk_error("N%d.QLM%d: Unsupported chip, update %s()\n", node, qlm, __FUNCTION__);
+ bdk_error("N%d.QLM%d: Unsupported chip, update %s()\n", node, qlm, __func__);
}
/**