for (i = 0; i < HVMAXARCHITECTEDLPS; ++i) { struct kobject *kobj;  if (!veth_cnx[i]) continue;  kobj = &veth_cnx[i]->kobject; kobj->parent = &veth_driver.driver.kobj; /* If the add failes, complain but otherwise continue */ if (0 != kobject_add(kobj)) veth_error("cnx %d: Failed adding to sysfs.\n", i); }  
int __init veth_module_init(void){	int i;	int rc;	this_lp = HvLpConfig_getLpIndex_outline();	for (i = 0; i < HVMAXARCHITECTEDLPS; ++i) {		rc = veth_init_connection(i);		if (rc != 0)			goto error;	}	HvLpEvent_registerHandler(HvLpEvent_Type_VirtualLan,				  &veth_handle_event);	rc = vio_register_driver(&veth_driver);	if (rc != 0)		goto error;	return 0;error:	for (i = 0; i < HVMAXARCHITECTEDLPS; ++i) {		veth_destroy_connection(veth_cnx[i]);	}	return rc;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/76812d81238cda5c5c4060da27517a08287620fc/iseries_veth.c/clean/drivers/net/iseries_veth.c