avail = audit_expand(ab, max_t(AUDIT_BUFSIZ, 1+len-avail)); 
avail = audit_expand(ab, max_t(unsigned, AUDIT_BUFSIZ, 1+len-avail)); 
static void audit_log_vformat(struct audit_buffer *ab, const char *fmt,			      va_list args){	int len, avail;	struct sk_buff *skb;	va_list args2;	if (!ab)		return;	BUG_ON(!ab->skb);	skb = ab->skb;	avail = skb_tailroom(skb);	if (avail == 0) {		avail = audit_expand(ab, AUDIT_BUFSIZ);		if (!avail)			goto out;	}	va_copy(args2, args);	len = vsnprintf(skb->tail, avail, fmt, args);	if (len >= avail) {		/* The printk buffer is 1024 bytes long, so if we get		 * here and AUDIT_BUFSIZ is at least 1024, then we can		 * log everything that printk could have logged. */		avail = audit_expand(ab, max_t(AUDIT_BUFSIZ, 1+len-avail));		if (!avail)			goto out;		len = vsnprintf(skb->tail, avail, fmt, args2);	}	skb_put(skb, (len < avail) ? len : avail);out:	return;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/5e014b10ef8477c32a939a48fa02aedcad35a226/audit.c/buggy/kernel/audit.c