Fixes: 6a2fb0e99f9c (ibmvnic: driver initialization for kdump/kexec)
The update to ibmvnic_init to allow an EAGAIN return code broke
the calling of ibmvnic_init from ibmvnic_probe. The code now
will return from this point in the probe routine if anything
other than EAGAIN is returned. The check should be to see if rc
is non-zero and not equal to EAGAIN.
Without this fix, the vNIC driver can return 0 (success) from
its probe routine due to ibmvnic_init returning zero, but before
completing the probe process and registering with the netdev layer.
Signed-off-by: Nathan Fontenot <redacted>
---
drivers/net/ethernet/ibm/ibmvnic.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Fixes: 6a2fb0e99f9c (ibmvnic: driver initialization for kdump/kexec)
I'm incredibly curious where you got the idea to put the Fixes: tag
at the beginning of the commit message.
Have you seen anyone else submitting patches on netdev do this?
It helps to operate by example, and look at how other people do
things.
The correct location for the Fixes: tag is at the beginning of the
singoffs and acks at the end of the commit message.
There shall be no empty lines between the Fixes: tag and those
signoffs and acks.
Thank you.
Fixes: 6a2fb0e99f9c (ibmvnic: driver initialization for kdump/kexec)
I'm incredibly curious where you got the idea to put the Fixes: tag
at the beginning of the commit message.
I have no excuse. As you mentioned I should have looked at what others
had done when using the Fixes.
Would you like me to re-send with the Fixes tag corrected?
-Nathan
Have you seen anyone else submitting patches on netdev do this?
It helps to operate by example, and look at how other people do
things.
The correct location for the Fixes: tag is at the beginning of the
singoffs and acks at the end of the commit message.
There shall be no empty lines between the Fixes: tag and those
signoffs and acks.
Thank you.
Fixes: 6a2fb0e99f9c (ibmvnic: driver initialization for kdump/kexec)
I'm incredibly curious where you got the idea to put the Fixes: tag
at the beginning of the commit message.
I have no excuse. As you mentioned I should have looked at what others
had done when using the Fixes.
Would you like me to re-send with the Fixes tag corrected?