Re: [PATCH 1/2] Support SD UHS for hikey-mainline-rebase

From: kbuild test robot
Date: Sat Jul 30 2016 - 21:47:21 EST


Hi,

[auto build test ERROR on robh/for-next]
[also build test ERROR on v4.7 next-20160729]
[cannot apply to ulf.hansson-mmc/next]
[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/Jin-Guojun/Support-SD-UHS-for-hikey-mainline-rebase/20160725-102555
base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next
config: i386-allmodconfig (attached as .config)
compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
# save the attached .config to linux build tree
make ARCH=i386

All errors (new ones prefixed by >>):

>> drivers/mmc/host/dw_mmc-k3.c:137:2: error: unknown field 'prepare_command' specified in initializer
.prepare_command = dw_mci_hi6220_prepare_command,
^
>> drivers/mmc/host/dw_mmc-k3.c:137:28: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.prepare_command = dw_mci_hi6220_prepare_command,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/mmc/host/dw_mmc-k3.c:137:28: note: (near initialization for 'hi6220_data.execute_tuning')
cc1: some warnings being treated as errors

vim +/prepare_command +137 drivers/mmc/host/dw_mmc-k3.c

131 }
132
133 static const struct dw_mci_drv_data hi6220_data = {
134 .switch_voltage = dw_mci_hi6220_switch_voltage,
135 .set_ios = dw_mci_hi6220_set_ios,
136 .parse_dt = dw_mci_hi6220_parse_dt,
> 137 .prepare_command = dw_mci_hi6220_prepare_command,
138 };
139
140 static const struct of_device_id dw_mci_k3_match[] = {

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

Attachment: .config.gz
Description: Binary data