diff for duplicates of <200905121505.46063.arnd@arndb.de> diff --git a/a/1.txt b/N1/1.txt index abdda32..1201b8e 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -1,13 +1,3 @@ -On Tuesday 12 May 2009, Arnd Bergmann wrote: -> +#ifdef CONFIG_HAS_DMA -> ap->prd = dmam_alloc_coherent(dev, ATA_PRD_TBL_SZ, &ap->prd_dma, -> GFP_KERNEL); -> +#else -> + ap->prd = devres_alloc(dev, ATA_PRD_TBL_SZ, GFP_KERNEL); -> +#endif /* CONFIG_HAS_DMA */ -> if (!ap->prd) -> return -ENOMEM; - +On Tuesday 12 May 2009, Arnd Bergmann wrote:> +#ifdef CONFIG_HAS_DMA> ap->prd = dmam_alloc_coherent(dev, ATA_PRD_TBL_SZ, &ap->prd_dma,> GFP_KERNEL);> +#else> + ap->prd = devres_alloc(dev, ATA_PRD_TBL_SZ, GFP_KERNEL);> +#endif /* CONFIG_HAS_DMA */> if (!ap->prd)> return -ENOMEM; this should have been devm_kzalloc, not devres_alloc. - - Arnd <>< + Arnd <><ÿôèº{.nÇ+·®+%Ëÿ±éݶ\x17¥wÿº{.nÇ+·¥{±þG«éÿ{ayº\x1dÊÚë,j\a¢f£¢·hïêÿêçz_è®\x03(éÝ¢j"ú\x1a¶^[m§ÿÿ¾\a«þG«éÿ¢¸?¨èÚ&£ø§~á¶iOæ¬z·vØ^\x14\x04\x1a¶^[m§ÿÿÃ\fÿ¶ìÿ¢¸?I¥ diff --git a/a/content_digest b/N1/content_digest index 4d38026..d08dd3f 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -9,18 +9,8 @@ " linux-ide@vger.kernel.org\0" "\00:1\0" "b\0" - "On Tuesday 12 May 2009, Arnd Bergmann wrote:\n" - "> +#ifdef CONFIG_HAS_DMA\n" - "> \302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240ap->prd = dmam_alloc_coherent(dev, ATA_PRD_TBL_SZ, &ap->prd_dma,\n" - "> \302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240 \302\240 \302\240 \302\240GFP_KERNEL);\n" - "> +#else\n" - "> +\302\240\302\240\302\240\302\240\302\240\302\240\302\240ap->prd = devres_alloc(dev, ATA_PRD_TBL_SZ, GFP_KERNEL);\n" - "> +#endif /* CONFIG_HAS_DMA */\n" - "> \302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240if (!ap->prd)\n" - "> \302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240return -ENOMEM;\n" - "\n" + "On Tuesday 12 May 2009, Arnd Bergmann wrote:> +#ifdef CONFIG_HAS_DMA> \302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240ap->prd = dmam_alloc_coherent(dev, ATA_PRD_TBL_SZ, &ap->prd_dma,> \302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240 \302\240 \302\240 \302\240GFP_KERNEL);> +#else> +\302\240\302\240\302\240\302\240\302\240\302\240\302\240ap->prd = devres_alloc(dev, ATA_PRD_TBL_SZ, GFP_KERNEL);> +#endif /* CONFIG_HAS_DMA */> \302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240if (!ap->prd)> \302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240return -ENOMEM;\n" "this should have been devm_kzalloc, not devres_alloc.\n" - "\n" - "\tArnd <><" + "\tArnd <><\303\277\303\264\303\250\302\272{.n\303\207+\302\211\302\267\302\237\302\256\302\211\302\255\302\206+%\302\212\303\213\303\277\302\261\303\251\303\235\302\266\027\302\245\302\212w\303\277\302\272{.n\303\207+\302\211\302\267\302\245\302\212{\302\261\303\276G\302\253\302\235\303\251\303\277\302\212{ay\302\272\035\303\212\302\207\303\232\302\231\303\253,j\a\302\255\302\242f\302\243\302\242\302\267h\302\232\302\217\303\257\302\201\303\252\303\277\302\221\303\252\303\247z_\303\250\302\256\003(\302\255\303\251\302\232\302\216\302\212\303\235\302\242j\"\302\235\303\272\032\302\266\033m\302\247\303\277\303\277\302\276\a\302\253\303\276G\302\253\302\235\303\251\303\277\302\242\302\270?\302\231\302\250\303\250\302\255\303\232&\302\243\303\270\302\247~\302\217\303\241\302\266iO\302\225\303\246\302\254z\302\267\302\232v\303\230^\024\004\032\302\266\033m\302\247\303\277\303\277\303\203\f\303\277\302\266\303\254\303\277\302\242\302\270?\302\226I\302\245" -b12239eaf82044e1caad5fc78647d654f8af1b0222e957ee9bdfbb18f918f6cd +20e6b0410a466ff5ed3f56da0937dff41fd4fb075d90ee83f08c5ab93628234a
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.