login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-netdev
»
2008
»
March
»
29
Re: [PATCH] [IXBGE]: Compilation fix for ixgbe_main.c.
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Jeff Garzik <jeff@...>
To: Denis V. Lunev <den@...>
Cc: <davem@...>, <netdev@...>, <cramerj@...>, <auke-jan.h.kok@...>
Subject:
Re: [PATCH] [IXBGE]: Compilation fix for ixgbe_main.c.
Date: Friday, March 28, 2008 - 10:15 pm
Denis V. Lunev wrote:
quoted text
> Under CONFIG_DCA the compilation is broken since the commit > bd0362dde080cef377d99fa5beb5c25308c29c73 (ixgbe: Add optional > DCA infrastructure). > > IXGBE_SUCCESS is not defined anywhere, replace it with 0. > > Signed-off-by: Denis V. Lunev <den@openvz.org> > --- > drivers/net/ixgbe/ixgbe_main.c | 6 +++--- > 1 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/drivers/net/ixgbe/ixgbe_main.c b/drivers/net/ixgbe/ixgbe_main.c > index 7ad2993..cb371a8 100644 > --- a/drivers/net/ixgbe/ixgbe_main.c > +++ b/drivers/net/ixgbe/ixgbe_main.c > @@ -367,7 +367,7 @@ static int __ixgbe_notify_dca(struct device *dev, void *data) > /* Always use CB2 mode, difference is masked > * in the CB driver. */ > IXGBE_WRITE_REG(&adapter->hw, IXGBE_DCA_CTRL, 2); > - if (dca_add_requester(dev) == IXGBE_SUCCESS) { > + if (dca_add_requester(dev) == 0) { > ixgbe_setup_dca(adapter); > break; > } > @@ -381,7 +381,7 @@ static int __ixgbe_notify_dca(struct device *dev, void *data) > break; > } > > - return IXGBE_SUCCESS; > + return 0; > } > > #endif /* CONFIG_DCA */ > @@ -3605,7 +3605,7 @@ static int __devinit ixgbe_probe(struct pci_dev *pdev, > goto err_register; > > #ifdef CONFIG_DCA > - if (dca_add_requester(&pdev->dev) == IXGBE_SUCCESS) { > + if (dca_add_requester(&pdev->dev) == 0) { > adapter->flags |= IXGBE_FLAG_DCA_ENABLED;
applied -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH] [IXBGE]: Compilation fix for ixgbe_main.c.
, Denis V. Lunev
, (Thu Mar 27, 7:39 am)
Re: [PATCH] [IXBGE]: Compilation fix for ixgbe_main.c.
, Jeff Garzik
, (Fri Mar 28, 10:15 pm)
Re: [PATCH] [IXBGE]: Compilation fix for ixgbe_main.c.
, Kok, Auke
, (Thu Mar 27, 11:26 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Mariusz Kozlowski
[PATCH 01] kmalloc + memset conversion co kzalloc
Greg Kroah-Hartman
[PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO
Vladislav Bolkhovitin
Re: Integration of SCST in the mainstream Linux kernel
Jeremy Allison
Re: [RFC] Heads up on sys_fallocate()
git
:
git-commits-head
:
linux-netdev
:
Gerrit Renker
[PATCH 0/37] dccp: Feature negotiation - last call for comments
Natalie Protasevich
[BUG] New Kernel Bugs
David Miller
Re: [GIT]: Networking
Jeff Garzik
Re: [bug?] tg3: Failed to load firmware "tigon/tg3_tso.bin"
Colocation donated by:
Who's online
There are currently
3 users
and
833 guests
online.
Online users
strcmp
shawnsample
kmatbuncitp
Syndicate