Fix stupid typo-mistake, which lead to allocating only 4 bytes intead of sizeof(struct pci_pool).

svn path=/trunk/; revision=16726
This commit is contained in:
Aleksey Bragin 2005-07-25 21:09:21 +00:00
parent 38cd13eb67
commit 663bb3a53e

View file

@ -608,7 +608,7 @@ struct pci_pool *my_pci_pool_create(const char * name, struct pci_dev * pdev, si
} else if (allocation < size) } else if (allocation < size)
return 0; return 0;
retval = ExAllocatePool(NonPagedPool, sizeof(retval)); //FIXME: Should it be non-paged? retval = ExAllocatePool(NonPagedPool, sizeof(struct pci_pool)); // Non-paged because could be
// pci_pool is rather big struct // pci_pool is rather big struct
// fill retval structure // fill retval structure