[U-Boot] [PATCH 1/2] cosmetic: Replace __FUNCTION__ with __func__ in part_efi.c

Richard Retanubun RichardRetanubun at ruggedcom.com
Wed Oct 19 21:24:40 CEST 2011


On 10/19/11 14:04, Doug Anderson wrote:
> This makes checkpatch happy.
>
> Signed-off-by: Doug Anderson<dianders at chromium.org>
> ---
>   disk/part_efi.c |   28 ++++++++++++++--------------
>   1 files changed, 14 insertions(+), 14 deletions(-)
>
> diff --git a/disk/part_efi.c b/disk/part_efi.c
> index 0a513c6..6a139a9 100644
> --- a/disk/part_efi.c
> +++ b/disk/part_efi.c
> @@ -125,17 +125,17 @@ void print_part_efi(block_dev_desc_t * dev_desc)
>   	int i = 0;
>
>   	if (!dev_desc) {
> -		printf("%s: Invalid Argument(s)\n", __FUNCTION__);
> +		printf("%s: Invalid Argument(s)\n", __func__);
>   		return;
<snip>
Hi Doug,

ACK, thanks for the cleanup!

- Richard


More information about the U-Boot mailing list