Re: [PATCH] ieee1394: sbp2: avoid DMA bounce buffers for ORBs | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
On 8 Aug, Stefan Richter wrote:
> --- linux-2.6.27-rc2.orig/drivers/ieee1394/sbp2.c
> +++ linux-2.6.27-rc2/drivers/ieee1394/sbp2.c
> @@ -531,7 +531,7 @@ static int sbp2util_create_command_orb_p
> int i, orbs = sbp2_serialize_io ? 2 : SBP2_MAX_CMDS;
>
> for (i = 0; i < orbs; i++) {
> - cmd = kzalloc(sizeof(*cmd), GFP_KERNEL);
> + cmd = kzalloc(sizeof(*cmd), GFP_KERNEL | GFP_DMA32);
> if (!cmd)
> return -ENOMEM;
> cmd->command_orb_dma = dma_map_single(hi->host->device.parent,
>
This patch is bogus.
I cannot use GFP_DMA32 in slab allocations.
--
Stefan Richter
-=====-==--- =--- -=---
http://arcgraph.de/sr/
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Site Home] [Kernel Newbies] [Share Photos] [IDE] [Security] [Git] [Netfilter] [Bugtraq] [Rubini] [Photo] [Yosemite] [Yosemite News] [MIPS Linux] [ARM Linux] [Linux Security] [Linux RAID] [Linux ATA RAID] [Samba] [Video 4 Linux] [Device Mapper] [Linux Resources]
![]() |
![]() |