mirror of https://github.com/ipxe/ipxe.git
[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>
pull/1/head
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 * last_opened_ibdev ( void ) {
|
||||||
struct ib_device *ibdev;
|
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 )
|
if ( ! ibdev )
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
|
|
|
@ -594,7 +594,7 @@ struct net_device * last_opened_netdev ( void ) {
|
||||||
struct net_device *netdev;
|
struct net_device *netdev;
|
||||||
|
|
||||||
netdev = list_first_entry ( &open_net_devices, struct net_device,
|
netdev = list_first_entry ( &open_net_devices, struct net_device,
|
||||||
list );
|
open_list );
|
||||||
if ( ! netdev )
|
if ( ! netdev )
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue