|
@@ -845,7 +845,7 @@ static int aac_send_raw_srb(struct aac_dev* dev, void __user * arg)
|
|
rcode = -EINVAL;
|
|
rcode = -EINVAL;
|
|
goto cleanup;
|
|
goto cleanup;
|
|
}
|
|
}
|
|
- p = kmalloc(sg_count[i], GFP_KERNEL|GFP_DMA32);
|
|
|
|
|
|
+ p = kmalloc(sg_count[i], GFP_KERNEL);
|
|
if (!p) {
|
|
if (!p) {
|
|
dprintk((KERN_DEBUG"aacraid: Could not allocate SG buffer - size = %d buffer number %d of %d\n",
|
|
dprintk((KERN_DEBUG"aacraid: Could not allocate SG buffer - size = %d buffer number %d of %d\n",
|
|
sg_count[i], i, usg->count));
|
|
sg_count[i], i, usg->count));
|
|
@@ -886,7 +886,7 @@ static int aac_send_raw_srb(struct aac_dev* dev, void __user * arg)
|
|
rcode = -EINVAL;
|
|
rcode = -EINVAL;
|
|
goto cleanup;
|
|
goto cleanup;
|
|
}
|
|
}
|
|
- p = kmalloc(sg_count[i], GFP_KERNEL|GFP_DMA32);
|
|
|
|
|
|
+ p = kmalloc(sg_count[i], GFP_KERNEL);
|
|
if (!p) {
|
|
if (!p) {
|
|
dprintk((KERN_DEBUG"aacraid: Could not allocate SG buffer - size = %d buffer number %d of %d\n",
|
|
dprintk((KERN_DEBUG"aacraid: Could not allocate SG buffer - size = %d buffer number %d of %d\n",
|
|
sg_count[i], i, upsg->count));
|
|
sg_count[i], i, upsg->count));
|