2
0
mirror of https://github.com/xcat2/xNBA.git synced 2024-11-27 03:39:15 +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:
Shao Miller 2010-11-09 02:11:32 +00:00 committed by Michael Brown
parent 8e718df5e1
commit 98b3599a65
2 changed files with 3 additions and 2 deletions

View File

@ -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;

View File

@ -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;