[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <516D8649.4030604@cogentembedded.com>
Date: Tue, 16 Apr 2013 21:11:37 +0400
From: Sergei Shtylyov <sergei.shtylyov@...entembedded.com>
To: Fabio Estevam <festevam@...il.com>
CC: Fabio Estevam <fabio.estevam@...escale.com>, davem@...emloft.net,
netdev@...r.kernel.org, Joe Perches <joe@...ches.com>
Subject: Re: [PATCH] fec: Use SIMPLE_DEV_PM_OPS
Hello.
On 16-04-2013 19:22, Fabio Estevam wrote:
>>> +static SIMPLE_DEV_PM_OPS(fec_pm_ops, fec_suspend, fec_resume);
>>> +#define FEC_PM_OPS (&fec_pm_ops)
>> Nit: parens are useless here.
> Have you tried removing parenthesis and run checkpatch?
Oops, I haven't.
> ERROR: Macros with complex values should be enclosed in parenthesis
> #45: FILE: drivers/net/ethernet/freescale/fec_main.c:1950:
> +#define FEC_PM_OPS &fec_pm_ops
Didn't know about this, sorry for the noise.
WBR, Sergei
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists