[ltp] DMA hotswap 0.2.0
Henrique de Moraes Holschuh
linux-thinkpad@linux-thinkpad.org
Wed, 22 Feb 2006 16:24:56 -0300
On Wed, 22 Feb 2006, Henrique de Moraes Holschuh wrote:
> On Wed, 22 Feb 2006, mario wrote:
> > needed to make some adjustments. Basically i didn't have
> > PCI_DEVICE_ID_REVOLUTION and kzalloc. I changed the script because it
>
> ...
>
> > - lh = (struct lths_handler *)kzalloc(sizeof(struct lths_handler),
> > GFP_KERNEL);
> > + lh = (struct lths_handler *)kcalloc(1, sizeof(struct lths_handler),
> > GFP_KERNEL);
>
> This is not the same. See http://lwn.net/Articles/147014/
Never mind, it *is* the same. Sorry about that.
--
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot
Henrique Holschuh