From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Michael S. Tsirkin" Subject: Re: [net-next RFC 1/8] macvlan: switch to use IS_ENABLED() Date: Thu, 23 May 2013 14:31:44 +0300 Message-ID: <20130523113144.GA17993@redhat.com> References: <1369278753-2533-1-git-send-email-jasowang@redhat.com> <1369278753-2533-2-git-send-email-jasowang@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: davem@davemloft.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org To: Jason Wang Return-path: Content-Disposition: inline In-Reply-To: <1369278753-2533-2-git-send-email-jasowang@redhat.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org On Thu, May 23, 2013 at 11:12:26AM +0800, Jason Wang wrote: > Signed-off-by: Jason Wang Acked-by: Michael S. Tsirkin > --- > include/linux/if_macvlan.h | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/include/linux/if_macvlan.h b/include/linux/if_macvlan.h > index 84dde1d..e47ad46 100644 > --- a/include/linux/if_macvlan.h > +++ b/include/linux/if_macvlan.h > @@ -8,7 +8,7 @@ > #include > #include > > -#if defined(CONFIG_MACVTAP) || defined(CONFIG_MACVTAP_MODULE) > +#if IS_ENABLED(CONFIG_MACVTAP) > struct socket *macvtap_get_socket(struct file *); > #else > #include > -- > 1.7.1