Re: [PATCH][NET] gianfar: fix obviously wrong #ifdef CONFIG_GFAR_NAPI placement

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Anton Vorontsov <avorontsov@...>
Cc: <leoli@...>, <jgarzik@...>, <paulus@...>, <galak@...>, <afleming@...>, <linuxppc-dev@...>, <netdev@...>, <linux-kernel@...>
Date: Thursday, October 18, 2007 - 5:40 am

The check then is to see if a non {}'d block has no statements in it if the
ifdef is null.  Hmmm.  May be possible.  Will think on it.

        if (err)
+#ifdef CONFIG_GFAR_NAPI
                napi_disable(&priv->napi);
+#endif

-apw
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH][NET] gianfar: fix obviously wrong #ifdef CONFIG_..., Andy Whitcroft, (Thu Oct 18, 5:40 am)