Re: [PATCH] phy: exynos-mipi-video: simplify check for coupled phy status

From: kbuild test robot
Date: Tue Aug 02 2016 - 05:33:16 EST


Hi Marek,

[auto build test ERROR on phy/next]
[also build test ERROR on v4.7 next-20160802]
[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/Marek-Szyprowski/phy-exynos-mipi-video-simplify-check-for-coupled-phy-status/20160802-170240
base: https://git.kernel.org/pub/scm/linux/kernel/git/kishon/linux-phy.git next
config: x86_64-allyesconfig (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=x86_64

All errors (new ones prefixed by >>):

drivers/phy/phy-exynos-mipi-video.c: In function '__set_phy_state':
>> drivers/phy/phy-exynos-mipi-video.c:241:22: error: 'const struct exynos_mipi_phy_desc' has no member named 'coupled_id'; did you mean 'coupled_phy_id'?
state->phys[data->coupled_id].phy->power_count == 0) {
^~

vim +241 drivers/phy/phy-exynos-mipi-video.c

235 u32 val;
236
237 spin_lock(&state->slock);
238
239 /* disable in PMU sysreg */
240 if (!on && data->coupled_phy_id >= 0 &&
> 241 state->phys[data->coupled_id].phy->power_count == 0) {
242 regmap_read(state->regmaps[data->enable_map], data->enable_reg,
243 &val);
244 val &= ~data->enable_val;

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

Attachment: .config.gz
Description: Binary data