Re: [PATCH 2/2] mmc: use new functions mmc_dma_(un)map_sg in host drivers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Heiner,

[auto build test ERROR on next-20170328]
[cannot apply to linus/master linux/master ulf.hansson-mmc/next v4.9-rc8 v4.9-rc7 v4.9-rc6 v4.11-rc4]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Heiner-Kallweit/mmc-core-add-functions-mmc_dma_-un-map_sg/20170328-162040
config: x86_64-allyesdebian (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   drivers/mmc//host/sdhci.c: In function 'sdhci_post_req':
>> drivers/mmc//host/sdhci.c:2212:40: error: 'dataa' undeclared (first use in this function)
      mmc_dma_unmap_sg(mmc_dev(host->mmc), dataa);
                                           ^~~~~
   drivers/mmc//host/sdhci.c:2212:40: note: each undeclared identifier is reported only once for each function it appears in

vim +/dataa +2212 drivers/mmc//host/sdhci.c

  2196			if (enable)
  2197				host->flags |= SDHCI_PV_ENABLED;
  2198			else
  2199				host->flags &= ~SDHCI_PV_ENABLED;
  2200	
  2201			host->preset_enabled = enable;
  2202		}
  2203	}
  2204	
  2205	static void sdhci_post_req(struct mmc_host *mmc, struct mmc_request *mrq,
  2206					int err)
  2207	{
  2208		struct sdhci_host *host = mmc_priv(mmc);
  2209		struct mmc_data *data = mrq->data;
  2210	
  2211		if (data->host_cookie != COOKIE_UNMAPPED)
> 2212			mmc_dma_unmap_sg(mmc_dev(host->mmc), dataa);
  2213	
  2214		data->host_cookie = COOKIE_UNMAPPED;
  2215	}
  2216	
  2217	static void sdhci_pre_req(struct mmc_host *mmc, struct mmc_request *mrq)
  2218	{
  2219		struct sdhci_host *host = mmc_priv(mmc);
  2220	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux