[PATCH] Staging:BCM:DDRInit.c:Replacing __FUNCTION__

Greg KH gregkh at linuxfoundation.org
Fri Aug 16 00:19:18 UTC 2013


On Thu, Aug 15, 2013 at 10:21:29PM +0100, paulmcquad at gmail.com wrote:
> 
> __Function__ gets replaced with __func__
> 
> Signed-Off-By: Paul McQuade <paulmcquad at gmail.com>
> ---
>  drivers/staging/bcm/DDRInit.c |   54 
> ++++++++++++++++++++---------------------
>  1 file changed, 27 insertions(+), 27 deletions(-)
> 
> diff --git a/drivers/staging/bcm/DDRInit.c b/drivers/staging/bcm/DDRInit.c
> index 8c696b6..f5eda96 100644
> --- a/drivers/staging/bcm/DDRInit.c
> +++ b/drivers/staging/bcm/DDRInit.c
> @@ -828,13 +828,13 @@ int ddr_init(struct bcm_mini_adapter *Adapter)
>  		{
>  				retval= rdmalt(Adapter,(UINT)0x0f000830, 
> &uiResetValue, sizeof(uiResetValue));
>  				if(retval < 0) {
> -					BCM_DEBUG_PRINT(Adapter,CMHOST, 
> RDM, DBG_LVL_ALL, "%s:%d RDM failed\n", __FUNCTION__, __LINE__);
> +					BCM_DEBUG_PRINT(Adapter, CMHOST, 
> RDM, DBG_LVL_ALL, "%s:%d RDM failed\n", __func__, __LINE__);

This patch is line-wrapped, and can't be applied :(

Can you take a look at the file, Documentation/email_clients.txt and fix
up your email client so that you can send patches properly?

thanks,

greg k-h


More information about the devel mailing list