struct hpsb_packet *hpsb_make_writepacket (struct hpsb_host *host, nodeid_t node, u64 addr, quadlet_t *buffer, size_t length) 
struct hpsb_packet *hpsb_make_writepacket(struct hpsb_host *host, nodeid_t node, u64 addr, quadlet_t * buffer, size_t length) 
struct hpsb_packet *hpsb_make_writepacket (struct hpsb_host *host, nodeid_t node,					   u64 addr, quadlet_t *buffer, size_t length){	struct hpsb_packet *packet;	if (length == 0)		return NULL;	packet = hpsb_alloc_packet(length);	if (!packet)		return NULL;	if (length % 4) { /* zero padding bytes */		packet->data[length >> 2] = 0;	}	packet->host = host;	packet->node_id = node;	if (hpsb_get_tlabel(packet)) {		hpsb_free_packet(packet);		return NULL;	}	if (length == 4) {		fill_async_writequad(packet, addr, buffer ? *buffer : 0);	} else {		fill_async_writeblock(packet, addr, length);		if (buffer)			memcpy(packet->data, buffer, length);	}	return packet;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/16c333a34a1a0441c54c4fe5cf6052716f95c2fa/ieee1394_transactions.c/buggy/drivers/ieee1394/ieee1394_transactions.c