[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150812.165006.368049193878368755.davem@davemloft.net>
Date: Wed, 12 Aug 2015 16:50:06 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: festevam@...il.com
Cc: Julia.Lawall@...6.fr, netdev@...r.kernel.org,
fabio.estevam@...escale.com
Subject: Re: [PATCH net-next] net: fec: Remove unneeded use of
IS_ERR_VALUE() macro
From: Fabio Estevam <festevam@...il.com>
Date: Wed, 12 Aug 2015 12:10:23 -0300
> From: Fabio Estevam <fabio.estevam@...escale.com>
>
> There is no need to use the IS_ERR_VALUE() macro for checking
> the return value from pm_runtime_* functions.
>
> Just do a simple negative test instead.
>
> The semantic patch that makes this change is available
> in scripts/coccinelle/api/pm_runtime.cocci.
>
> Signed-off-by: Fabio Estevam <fabio.estevam@...escale.com>
Applied, thanks.
--
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