error->jiffies = jiffies; 
static struct ipw_fw_error *ipw_alloc_error_log(struct ipw_priv *priv){	struct ipw_fw_error *error;	u32 log_len = ipw_get_event_log_len(priv);	u32 base = ipw_read32(priv, IPW_ERROR_LOG);	u32 elem_len = ipw_read_reg32(priv, base);	error = kmalloc(sizeof(*error) +			sizeof(*error->elem) * elem_len +			sizeof(*error->log) * log_len, GFP_ATOMIC);	if (!error) {		IPW_ERROR("Memory allocation for firmware error log "			  "failed.\n");		return NULL;	}	error->status = priv->status;	error->config = priv->config;	error->elem_len = elem_len;	error->log_len = log_len;	error->elem = (struct ipw_error_elem *)error->payload;	error->log = (struct ipw_event *)(error->elem +					  (sizeof(*error->elem) * elem_len));	ipw_capture_event_log(priv, log_len, error->log);	if (elem_len)		ipw_read_indirect(priv, base + sizeof(base), (u8 *) error->elem,				  sizeof(*error->elem) * elem_len);	return error;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/f6c5cb7c6f8a85045996bfc3442af963d6578d60/ipw2200.c/buggy/drivers/net/wireless/ipw2200.c