Thread (33 messages) 33 messages, 7 authors, 2009-03-31

Re: [Updated patch] Re: [PATCH] igb: fix kexec with igb

From: Rafael J. Wysocki <hidden>
Date: 2009-03-31 20:27:39
Also in: lkml

On Tuesday 31 March 2009, Jeff Kirsher wrote:
On Tue, Mar 31, 2009 at 12:14 PM, Tantilov, Emil S
[off-list ref] wrote:
quoted
The patch checks out. I tested suspend/resume (including WOL) and kexec. There is only a small issue with warning on compile when CONFIG_PM is disabled:
diff --git a/drivers/net/igb/igb_main.c b/drivers/net/igb/igb_main.c
index 13fe162..0a4f8f4 100644
--- a/drivers/net/igb/igb_main.c
+++ b/drivers/net/igb/igb_main.c
@@ -135,8 +135,8 @@ static inline int igb_set_vf_rlpml(struct igb_adapter *, int, int);
 static int igb_set_vf_mac(struct igb_adapter *adapter, int, unsigned char *);
 static void igb_restore_vf_multicasts(struct igb_adapter *adapter);

-static int igb_suspend(struct pci_dev *, pm_message_t);
 #ifdef CONFIG_PM
+static int igb_suspend(struct pci_dev *, pm_message_t);
 static int igb_resume(struct pci_dev *);
 #endif
 static void igb_shutdown(struct pci_dev *);
Thanks,
Emil
Rafael - Based on Emil's testing, I will modify the patch with Emil's
suggestion and push to Dave, ok?
Fine with me.

Thanks,
Rafael
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help