diff for duplicates of <2017134.He5GnynN45@wuerfel> diff --git a/a/1.txt b/N1/1.txt index a22db9c..a3c4685 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -67,14 +67,14 @@ completely wrong. > > - cfg.slave_id = slave_id; > > cfg.direction = direction; > > -> > if (direction == DMA_DEV_TO_MEM) { +> > if (direction = DMA_DEV_TO_MEM) { > > I got error here > > > /opt/home/morimoto/linux/drivers/mmc/host/sh_mmcif.c: In function ‘sh_mmcif_request_dma_one’: > /opt/home/morimoto/linux/drivers/mmc/host/sh_mmcif.c:400:3: error: ‘slave_id’ undeclared (first use in this function) -> slave_id = direction == DMA_MEM_TO_DEV +> slave_id = direction = DMA_MEM_TO_DEV > ^ > /opt/home/morimoto/linux/drivers/mmc/host/sh_mmcif.c:400:3: note: each undeclared identifier is reported only once for each function it appears in > /opt/home/morimoto/linux/drivers/mmc/host/sh_mmcif.c:391:8: warning: unused variable ‘slave_data’ [-Wunused-variable] @@ -84,9 +84,9 @@ completely wrong. > Maybe you are missing this > > if (pdata) -> - slave_id = direction == DMA_MEM_TO_DEV +> - slave_id = direction = DMA_MEM_TO_DEV > - ? pdata->slave_id_tx : pdata->slave_id_rx; -> + slave_data = direction == DMA_MEM_TO_DEV +> + slave_data = direction = DMA_MEM_TO_DEV > + ? (void *)pdata->slave_id_tx : (void *)pdata->slave_id_rx; > else > - slave_id = 0; @@ -95,7 +95,7 @@ completely wrong. > chan = dma_request_slave_channel_compat(mask, shdma_chan_filter, > - (void *)(unsigned long)slave_id, &host->pd->dev, > + slave_data, &host->pd->dev, -> direction == DMA_MEM_TO_DEV ? "tx" : "rx"); +> direction = DMA_MEM_TO_DEV ? "tx" : "rx"); > > dev_dbg(&host->pd->dev, "%s: %s: got channel %p\n", __func__, > diff --git a/a/content_digest b/N1/content_digest index 61d0e72..bdfd49a 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -3,7 +3,7 @@ "ref\087fvbnpblr.wl%kuninori.morimoto.gx@renesas.com\0" "From\0Arnd Bergmann <arnd@arndb.de>\0" "Subject\0Re: [PATCH 2/9] mmc: tmio: tmio_mmc_host has .dma\0" - "Date\0Wed, 07 Jan 2015 10:23:49 +0100\0" + "Date\0Wed, 07 Jan 2015 09:23:49 +0000\0" "To\0Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>\0" "Cc\0Ulf Hansson <ulf.hansson@linaro.org>" Chris Ball <cjb@laptop.org> @@ -81,14 +81,14 @@ "> > -\tcfg.slave_id = slave_id;\n" "> > \tcfg.direction = direction;\n" "> > \n" - "> > \tif (direction == DMA_DEV_TO_MEM) {\n" + "> > \tif (direction = DMA_DEV_TO_MEM) {\n" "> \n" "> I got error here\n" "> \n" "> \n" "> /opt/home/morimoto/linux/drivers/mmc/host/sh_mmcif.c: In function \342\200\230sh_mmcif_request_dma_one\342\200\231:\n" "> /opt/home/morimoto/linux/drivers/mmc/host/sh_mmcif.c:400:3: error: \342\200\230slave_id\342\200\231 undeclared (first use in this function)\n" - "> slave_id = direction == DMA_MEM_TO_DEV\n" + "> slave_id = direction = DMA_MEM_TO_DEV\n" "> ^\n" "> /opt/home/morimoto/linux/drivers/mmc/host/sh_mmcif.c:400:3: note: each undeclared identifier is reported only once for each function it appears in\n" "> /opt/home/morimoto/linux/drivers/mmc/host/sh_mmcif.c:391:8: warning: unused variable \342\200\230slave_data\342\200\231 [-Wunused-variable]\n" @@ -98,9 +98,9 @@ "> Maybe you are missing this\n" "> \n" "> if (pdata)\n" - "> - slave_id = direction == DMA_MEM_TO_DEV\n" + "> - slave_id = direction = DMA_MEM_TO_DEV\n" "> - ? pdata->slave_id_tx : pdata->slave_id_rx;\n" - "> + slave_data = direction == DMA_MEM_TO_DEV\n" + "> + slave_data = direction = DMA_MEM_TO_DEV\n" "> + ? (void *)pdata->slave_id_tx : (void *)pdata->slave_id_rx;\n" "> else\n" "> - slave_id = 0;\n" @@ -109,7 +109,7 @@ "> chan = dma_request_slave_channel_compat(mask, shdma_chan_filter,\n" "> - (void *)(unsigned long)slave_id, &host->pd->dev,\n" "> + slave_data, &host->pd->dev,\n" - "> direction == DMA_MEM_TO_DEV ? \"tx\" : \"rx\");\n" + "> direction = DMA_MEM_TO_DEV ? \"tx\" : \"rx\");\n" "> \n" "> dev_dbg(&host->pd->dev, \"%s: %s: got channel %p\\n\", __func__,\n" "> \n" @@ -123,4 +123,4 @@ "\n" "\tArnd" -2bd67b04a94ba0a25ac26d956acbf9191a547f171208b37f320470e6df594d78 +43d893ebf24c51b92ee4bf0c18f887010bdff172f1453b29215fd3a4f2376d7c
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.