RE: [Intel-wired-lan] [PATCH linux-next v2] iavf: Replace __FUNCTION__ with __func__
From: Jankowski, Konrad0
Date: Thu Oct 27 2022 - 02:17:16 EST
> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-bounces@xxxxxxxxxx> On Behalf Of
> yexingchen116@xxxxxxxxx
> Sent: Tuesday, October 18, 2022 3:52 AM
> To: Brandeburg, Jesse <jesse.brandeburg@xxxxxxxxx>
> Cc: intel-wired-lan@xxxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx;
> joe@xxxxxxxxxxx; edumazet@xxxxxxxxxx; ye xingchen
> <ye.xingchen@xxxxxxxxxx>; netdev@xxxxxxxxxxxxxxx; kuba@xxxxxxxxxx;
> pabeni@xxxxxxxxxx; davem@xxxxxxxxxxxxx
> Subject: [Intel-wired-lan] [PATCH linux-next v2] iavf: Replace __FUNCTION__ with
> __func__
>
> From: ye xingchen <ye.xingchen@xxxxxxxxxx>
>
> __FUNCTION__ exists only for backwards compatibility reasons with old gcc
> versions. Replace it with __func__.
>
> Signed-off-by: ye xingchen <ye.xingchen@xxxxxxxxxx>
> Reviewed-by: Jesse Brandeburg <jesse.brandeburg@xxxxxxxxx>
> ---
> v1 -> v2
> Fix the message up to use ("message in %s\n", __func__)
> drivers/net/ethernet/intel/iavf/iavf_main.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/net/ethernet/intel/iavf/iavf_main.c
> b/drivers/net/ethernet/intel/iavf/iavf_main.c
> index 3fc572341781..efa2692af577 100644
> --- a/drivers/net/ethernet/intel/iavf/iavf_main.c
> +++ b/drivers/net/ethernet/intel/iavf/iavf_main.c
Tested-by: Konrad Jankowski <konrad0.jankowski@xxxxxxxxx>