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

From: Greg KH
Date: Thu Aug 15 2013 - 20:17:47 EST


On Thu, Aug 15, 2013 at 10:21:29PM +0100, paulmcquad@xxxxxxxxx wrote:
>
> __Function__ gets replaced with __func__
>
> Signed-Off-By: Paul McQuade <paulmcquad@xxxxxxxxx>
> ---
> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/