* [renesas:topic/sdhi-gen3-dma-v2 5/5] drivers/mmc/host/sh_mobile_sdhi.c:148:1: warning: control reach
@ 2016-06-30 2:04 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2016-06-30 2:04 UTC (permalink / raw)
To: linux-sh
[-- Attachment #1: Type: text/plain, Size: 1770 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git topic/sdhi-gen3-dma-v2
head: 8af14f568146e167ad76dbf416246cd3be557f7c
commit: 8af14f568146e167ad76dbf416246cd3be557f7c [5/5] mmc: renesas_sdhi: add support for R-Car Gen3 SDHI DMAC
config: arm-shmobile_defconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 5.3.1-8) 5.3.1 20160205
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 8af14f568146e167ad76dbf416246cd3be557f7c
# save the attached .config to linux build tree
make.cross ARCH=arm
All warnings (new ones prefixed by >>):
drivers/mmc/host/sh_mobile_sdhi.c: In function 'sh_mobile_sdhi_init_dma':
>> drivers/mmc/host/sh_mobile_sdhi.c:148:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
vim +148 drivers/mmc/host/sh_mobile_sdhi.c
132 #else
133 static int sdhi_internal_dmac_init_dma(void)
134 {
135 return -EINVAL;
136 }
137 #endif
138
139 static int sh_mobile_sdhi_init_dma(enum tmio_mmc_dmac_type dmac_type)
140 {
141 switch (dmac_type) {
142 case TMIO_MMC_INTERNAL_DMAC:
143 return sdhi_internal_dmac_init_dma();
144
145 case TMIO_MMC_SYSC_DMAC:
146 return sdhi_sysc_dmac_init_dma();
147 }
> 148 }
149
150 static void sh_mobile_sdhi_sdbuf_width(struct tmio_mmc_host *host, int width)
151 {
152 u32 val;
153
154 /*
155 * see also
156 * sh_mobile_sdhi_of_data :: dma_buswidth
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 25691 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-06-30 2:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-30 2:04 [renesas:topic/sdhi-gen3-dma-v2 5/5] drivers/mmc/host/sh_mobile_sdhi.c:148:1: warning: control reach kbuild test robot
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.