 if (!resp) return -ENOMEM; 
static int rndis_init_response (int configNr, rndis_init_msg_type *buf){	rndis_init_cmplt_type	*resp; 	rndis_resp_t            *r;		if (!rndis_per_dev_params [configNr].dev) return -ENOTSUPP;		r = rndis_add_response (configNr, sizeof (rndis_init_cmplt_type));		if (!r) return -ENOMEM;		resp = (rndis_init_cmplt_type *) r->buf;		if (!resp) return -ENOMEM;		resp->MessageType = __constant_cpu_to_le32 (			REMOTE_NDIS_INITIALIZE_CMPLT);	resp->MessageLength = __constant_cpu_to_le32 (52);	resp->RequestID = buf->RequestID; /* Still LE in msg buffer */	resp->Status = __constant_cpu_to_le32 (RNDIS_STATUS_SUCCESS);	resp->MajorVersion = __constant_cpu_to_le32 (RNDIS_MAJOR_VERSION);	resp->MinorVersion = __constant_cpu_to_le32 (RNDIS_MINOR_VERSION);	resp->DeviceFlags = __constant_cpu_to_le32 (RNDIS_DF_CONNECTIONLESS);	resp->Medium = __constant_cpu_to_le32 (RNDIS_MEDIUM_802_3);	resp->MaxPacketsPerTransfer = __constant_cpu_to_le32 (1);	resp->MaxTransferSize = cpu_to_le32 (		  rndis_per_dev_params [configNr].dev->mtu		+ sizeof (struct ethhdr)		+ sizeof (struct rndis_packet_msg_type)		+ 22);	resp->PacketAlignmentFactor = __constant_cpu_to_le32 (0);	resp->AFListOffset = __constant_cpu_to_le32 (0);	resp->AFListSize = __constant_cpu_to_le32 (0);		if (rndis_per_dev_params [configNr].ack)	    rndis_per_dev_params [configNr].ack (	    		rndis_per_dev_params [configNr].dev);		return 0;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/340600ab4cf0cc41efd01a65af97ebb7d35a7f85/rndis.c/buggy/drivers/usb/gadget/rndis.c