[openib-general] [PATCH 05/17] ehca: InfiniBand query and multicast functionality

Roland Dreier rdreier at cisco.com
Thu Mar 2 12:04:26 PST 2006


 > +	rblock = kmalloc(PAGE_SIZE, GFP_KERNEL);
 > +	if (rblock == NULL) {
 > +		EDEB_ERR(4, "Can't allocate rblock memory.");
 > +		ret = -ENOMEM;
 > +		goto query_device0;
 > +	}
 > +
 > +	memset(rblock, 0, PAGE_SIZE);

kzalloc again :)



More information about the general mailing list