mirror of
https://github.com/xcat2/xNBA.git
synced 2024-11-26 19:29:04 +00:00
[list] Fix typographical error from previous commit
Fix typographical error from commit ea631f6
("[list] Add
list_first_entry()"). The symptom was PXELINUX 3.86 causing a stack
overflow under VMware.
Tested-by: Shao Miller <shao.miller@yrdsb.edu.on.ca>
Signed-off-by: Shao Miller <shao.miller@yrdsb.edu.on.ca>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
parent
8e718df5e1
commit
98b3599a65
@ -982,7 +982,8 @@ struct ib_device * find_ibdev ( union ib_gid *gid ) {
|
||||
struct ib_device * last_opened_ibdev ( void ) {
|
||||
struct ib_device *ibdev;
|
||||
|
||||
ibdev = list_first_entry ( &open_ib_devices, struct ib_device, list );
|
||||
ibdev = list_first_entry ( &open_ib_devices, struct ib_device,
|
||||
open_list );
|
||||
if ( ! ibdev )
|
||||
return NULL;
|
||||
|
||||
|
@ -594,7 +594,7 @@ struct net_device * last_opened_netdev ( void ) {
|
||||
struct net_device *netdev;
|
||||
|
||||
netdev = list_first_entry ( &open_net_devices, struct net_device,
|
||||
list );
|
||||
open_list );
|
||||
if ( ! netdev )
|
||||
return NULL;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user