[renesas-drivers:topic/renesas-overlays 18/89] (.text+0x21): multiple definition of `of_changeset_add_property_copy'
tree: https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git topic/renesas-overlays head: 692ce4d39051a7c3f7be831fc62956c7a9876c45 commit: 5350bc00df5ea64d628b596f967526641605d91b [18/89] of: changesets: Introduce changeset helper methods config: i386-tinyconfig (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: git checkout 5350bc00df5ea64d628b596f967526641605d91b # save the attached .config to linux build tree make ARCH=i386 Note: the renesas-drivers/topic/renesas-overlays HEAD 692ce4d39051a7c3f7be831fc62956c7a9876c45 builds fine. It only hurts bisectibility. All errors (new ones prefixed by >>): init/mounts.o: In function `of_changeset_add_property_copy': >> (.text+0x21): multiple definition of `of_changeset_add_property_copy' init/main.o:main.c:(.text+0x19): first defined here init/mounts.o: In function `of_changeset_add_property_string': >> (.text+0x27): multiple definition of `of_changeset_add_property_string' init/main.o:main.c:(.text+0x1f): first defined here --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
[renesas-drivers:topic/renesas-overlays 33/89] ERROR: "of_fixed_clk_setup" [drivers/clk/clk-generic-fixed.ko] undefined!
tree: https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git topic/renesas-overlays head: 692ce4d39051a7c3f7be831fc62956c7a9876c45 commit: 775b662de839bc8ed8825a403f41dc258ba10547 [33/89] clk: add generic driver for fixed rate clock config: i386-allmodconfig (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: git checkout 775b662de839bc8ed8825a403f41dc258ba10547 # save the attached .config to linux build tree make ARCH=i386 All errors (new ones prefixed by >>): >> ERROR: "of_fixed_clk_setup" [drivers/clk/clk-generic-fixed.ko] undefined! --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
[renesas-drivers:topic/renesas-overlays 33/89] WARNING: drivers/clk/built-in.o(.text+0xaa9c): Section mismatch in reference from the function generic_fixed_clk_probe() to the function .init.text:of_fi
tree: https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git topic/renesas-overlays head: 692ce4d39051a7c3f7be831fc62956c7a9876c45 commit: 775b662de839bc8ed8825a403f41dc258ba10547 [33/89] clk: add generic driver for fixed rate clock config: arm-allyesconfig (attached as .config) compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705 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 775b662de839bc8ed8825a403f41dc258ba10547 # save the attached .config to linux build tree make.cross ARCH=arm All warnings (new ones prefixed by >>): >> WARNING: drivers/clk/built-in.o(.text+0xaa9c): Section mismatch in reference >> from the function generic_fixed_clk_probe() to the function >> .init.text:of_fixed_clk_setup() The function generic_fixed_clk_probe() references the function __init of_fixed_clk_setup(). This is often because generic_fixed_clk_probe lacks a __init annotation or the annotation of of_fixed_clk_setup is wrong. --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
Re: [PATCH 2/2] arm64: avoid increasing DMA masks above what hardware supports
Hi Nikita, [auto build test ERROR on linus/master] [also build test ERROR on v4.10-rc3 next-20170112] [cannot apply to arm64/for-next/core] [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/Nikita-Yushchenko/dma-mapping-let-arch-know-origin-of-dma-range-passed-to-arch_setup_dma_ops/20170113-152733 config: arm64-defconfig (attached as .config) compiler: aarch64-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705 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 # save the attached .config to linux build tree make.cross ARCH=arm64 All errors (new ones prefixed by >>): arch/arm64/mm/dma-mapping.c: In function 'dma_set_mask': >> arch/arm64/mm/dma-mapping.c:210:6: error: 'mask' undeclared (first use in >> this function) if (mask > dev->archdata.parent_dma_mask) ^~~~ arch/arm64/mm/dma-mapping.c:210:6: note: each undeclared identifier is reported only once for each function it appears in vim +/mask +210 arch/arm64/mm/dma-mapping.c 204 } 205 206 int dma_set_mask(struct device *dev, u64 dma_mask) 207 { 208 const struct dma_map_ops *ops = get_dma_ops(dev); 209 > 210 if (mask > dev->archdata.parent_dma_mask) 211 mask = dev->archdata.parent_dma_mask; 212 213 if (ops->set_dma_mask) --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
Re: [PATCH 1/2] dma-mapping: let arch know origin of dma range passed to arch_setup_dma_ops()
Hi Nikita, [auto build test ERROR on linus/master] [also build test ERROR on v4.10-rc3 next-20170112] [cannot apply to arm64/for-next/core] [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/Nikita-Yushchenko/dma-mapping-let-arch-know-origin-of-dma-range-passed-to-arch_setup_dma_ops/20170113-152733 config: x86_64-randconfig-u0-01131618 (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/acpi/scan.c: In function 'acpi_dma_configure': >> drivers/acpi/scan.c:1388:2: error: too many arguments to function >> 'arch_setup_dma_ops' arch_setup_dma_ops(dev, 0, dev->coherent_dma_mask + 1, false, iommu, ^~ In file included from drivers/acpi/scan.c:15:0: include/linux/dma-mapping.h:611:20: note: declared here static inline void arch_setup_dma_ops(struct device *dev, u64 dma_base, ^~ vim +/arch_setup_dma_ops +1388 drivers/acpi/scan.c 1382 iommu = iort_iommu_configure(dev); 1383 1384 /* 1385 * Assume dma valid range starts at 0 and covers the whole 1386 * coherent_dma_mask. 1387 */ > 1388 arch_setup_dma_ops(dev, 0, dev->coherent_dma_mask + 1, false, > iommu, 1389 attr == DEV_DMA_COHERENT); 1390 } 1391 EXPORT_SYMBOL_GPL(acpi_dma_configure); --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
[renesas:topic/ravb-gigabit 45/45] net/mpls/af_mpls.c:207:9: error: too few arguments to function 'mpls_multipath_hash'
tree: https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git topic/ravb-gigabit head: 434fe0e99b1f7855e0b43ec7b90dd4566d9114c3 commit: 434fe0e99b1f7855e0b43ec7b90dd4566d9114c3 [45/45] Merge branches 'topic/ravb-gigabit-integration' and 'topic/ravb-gigabit-driver-v2' into topic/ravb-gigabit config: m68k-sun3_defconfig (attached as .config) compiler: m68k-linux-gcc (GCC) 4.9.0 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 434fe0e99b1f7855e0b43ec7b90dd4566d9114c3 # save the attached .config to linux build tree make.cross ARCH=m68k All errors (new ones prefixed by >>): net/mpls/af_mpls.c: In function 'mpls_select_multipath': >> net/mpls/af_mpls.c:207:9: error: too few arguments to function >> 'mpls_multipath_hash' hash = mpls_multipath_hash(rt, skb); ^ net/mpls/af_mpls.c:122:12: note: declared here static u32 mpls_multipath_hash(struct mpls_route *rt, ^ vim +/mpls_multipath_hash +207 net/mpls/af_mpls.c 9f427a0e David Ahern 2017-01-20 191 struct sk_buff *skb) c89359a4 Roopa Prabhu 2015-12-01 192 { c89359a4 Roopa Prabhu 2015-12-01 193 int alive = ACCESS_ONCE(rt->rt_nhn_alive); c89359a4 Roopa Prabhu 2015-12-01 194 u32 hash = 0; c89359a4 Roopa Prabhu 2015-12-01 195 int nh_index = 0; c89359a4 Roopa Prabhu 2015-12-01 196 int n = 0; c89359a4 Roopa Prabhu 2015-12-01 197 c89359a4 Roopa Prabhu 2015-12-01 198 /* No need to look further into packet if there's only c89359a4 Roopa Prabhu 2015-12-01 199* one path c89359a4 Roopa Prabhu 2015-12-01 200*/ c89359a4 Roopa Prabhu 2015-12-01 201 if (rt->rt_nhn == 1) c89359a4 Roopa Prabhu 2015-12-01 202 goto out; c89359a4 Roopa Prabhu 2015-12-01 203 c89359a4 Roopa Prabhu 2015-12-01 204 if (alive <= 0) c89359a4 Roopa Prabhu 2015-12-01 205 return NULL; c89359a4 Roopa Prabhu 2015-12-01 206 9f427a0e David Ahern 2017-01-20 @207 hash = mpls_multipath_hash(rt, skb); c89359a4 Roopa Prabhu 2015-12-01 208 nh_index = hash % alive; c89359a4 Roopa Prabhu 2015-12-01 209 if (alive == rt->rt_nhn) c89359a4 Roopa Prabhu 2015-12-01 210 goto out; c89359a4 Roopa Prabhu 2015-12-01 211 for_nexthops(rt) { c89359a4 Roopa Prabhu 2015-12-01 212 if (nh->nh_flags & (RTNH_F_DEAD | RTNH_F_LINKDOWN)) c89359a4 Roopa Prabhu 2015-12-01 213 continue; c89359a4 Roopa Prabhu 2015-12-01 214 if (n == nh_index) c89359a4 Roopa Prabhu 2015-12-01 215 return nh; :: The code at line 207 was first introduced by commit :: 9f427a0e474a67b454420c131709600d44850486 net: mpls: Fix multipath selection for LSR use case :: TO: David Ahern :: CC: David S. Miller --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
[renesas:topic/ravb-gigabit 45/45] net/mpls/af_mpls.c:207:35: sparse: not enough arguments for function mpls_multipath_hash
tree: https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git topic/ravb-gigabit head: 434fe0e99b1f7855e0b43ec7b90dd4566d9114c3 commit: 434fe0e99b1f7855e0b43ec7b90dd4566d9114c3 [45/45] Merge branches 'topic/ravb-gigabit-integration' and 'topic/ravb-gigabit-driver-v2' into topic/ravb-gigabit reproduce: # apt-get install sparse git checkout 434fe0e99b1f7855e0b43ec7b90dd4566d9114c3 make ARCH=x86_64 allmodconfig make C=1 CF=-D__CHECK_ENDIAN__ sparse warnings: (new ones prefixed by >>) include/linux/compiler.h:253:8: sparse: attribute 'no_sanitize_address': unknown attribute >> net/mpls/af_mpls.c:207:35: sparse: not enough arguments for function >> mpls_multipath_hash net/mpls/af_mpls.c: In function 'mpls_select_multipath': net/mpls/af_mpls.c:207:9: error: too few arguments to function 'mpls_multipath_hash' hash = mpls_multipath_hash(rt, skb); ^~~ net/mpls/af_mpls.c:122:12: note: declared here static u32 mpls_multipath_hash(struct mpls_route *rt, ^~~ vim +207 net/mpls/af_mpls.c 9f427a0e David Ahern 2017-01-20 191 struct sk_buff *skb) c89359a4 Roopa Prabhu 2015-12-01 192 { c89359a4 Roopa Prabhu 2015-12-01 193 int alive = ACCESS_ONCE(rt->rt_nhn_alive); c89359a4 Roopa Prabhu 2015-12-01 194 u32 hash = 0; c89359a4 Roopa Prabhu 2015-12-01 195 int nh_index = 0; c89359a4 Roopa Prabhu 2015-12-01 196 int n = 0; c89359a4 Roopa Prabhu 2015-12-01 197 c89359a4 Roopa Prabhu 2015-12-01 198 /* No need to look further into packet if there's only c89359a4 Roopa Prabhu 2015-12-01 199* one path c89359a4 Roopa Prabhu 2015-12-01 200*/ c89359a4 Roopa Prabhu 2015-12-01 201 if (rt->rt_nhn == 1) c89359a4 Roopa Prabhu 2015-12-01 202 goto out; c89359a4 Roopa Prabhu 2015-12-01 203 c89359a4 Roopa Prabhu 2015-12-01 204 if (alive <= 0) c89359a4 Roopa Prabhu 2015-12-01 205 return NULL; c89359a4 Roopa Prabhu 2015-12-01 206 9f427a0e David Ahern 2017-01-20 @207 hash = mpls_multipath_hash(rt, skb); c89359a4 Roopa Prabhu 2015-12-01 208 nh_index = hash % alive; c89359a4 Roopa Prabhu 2015-12-01 209 if (alive == rt->rt_nhn) c89359a4 Roopa Prabhu 2015-12-01 210 goto out; c89359a4 Roopa Prabhu 2015-12-01 211 for_nexthops(rt) { c89359a4 Roopa Prabhu 2015-12-01 212 if (nh->nh_flags & (RTNH_F_DEAD | RTNH_F_LINKDOWN)) c89359a4 Roopa Prabhu 2015-12-01 213 continue; c89359a4 Roopa Prabhu 2015-12-01 214 if (n == nh_index) c89359a4 Roopa Prabhu 2015-12-01 215 return nh; :: The code at line 207 was first introduced by commit :: 9f427a0e474a67b454420c131709600d44850486 net: mpls: Fix multipath selection for LSR use case :: TO: David Ahern :: CC: David S. Miller --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
[renesas-drivers:topic/dma-attr-force-contiguous-v4 53/53] drivers/tty/serial/sh-sci.c:1346:6: error: implicit declaration of function 'dma_to_phys'
tree: https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git topic/dma-attr-force-contiguous-v4 head: eed2b654e58fdefff043be4464cc3963725e6415 commit: eed2b654e58fdefff043be4464cc3963725e6415 [53/53] [TEST] DMA_ATTR_FORCE_CONTIGUOUS test code config: alpha-allyesconfig (attached as .config) compiler: alpha-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705 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 eed2b654e58fdefff043be4464cc3963725e6415 # save the attached .config to linux build tree make.cross ARCH=alpha All errors (new ones prefixed by >>): drivers/tty/serial/sh-sci.c: In function '__test_dma_attr_force_contiguous': >> drivers/tty/serial/sh-sci.c:1346:6: error: implicit declaration of function >> 'dma_to_phys' [-Werror=implicit-function-declaration] : dma_to_phys(dev, iova); ^~~ cc1: some warnings being treated as errors vim +/dma_to_phys +1346 drivers/tty/serial/sh-sci.c 1340 goto fail; 1341 } 1342 1343 virt = virt_base; 1344 iova = iova_base; 1345 phys = domain ? iommu_iova_to_phys(domain, iova) > 1346 : dma_to_phys(dev, iova); 1347 pr_info("[0] virt 0x%p phys %pa iova %pad\n", virt, &phys, &iova); 1348 for (i = 0; i < pages; i++) { 1349 phys_addr_t p = domain ? iommu_iova_to_phys(domain, iova) --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
[renesas-drivers:topic/drm-du-hdmi-2017-01-10-rebased2 9/61] drivers/tty/serial/st-asc.c:578:12: error: implicit declaration of function 'devm_get_gpiod_from_child'
tree: https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git topic/drm-du-hdmi-2017-01-10-rebased2 head: b0fbd5b1a47540958fc4fbefb2a8765caf16f62b commit: 84b0e3b21d957717dcc028b4a0332c33bb46fef3 [9/61] Merge remote-tracking branch 'tty/tty-next' into renesas-drivers config: i386-allyesconfig (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: git checkout 84b0e3b21d957717dcc028b4a0332c33bb46fef3 # save the attached .config to linux build tree make ARCH=i386 All errors (new ones prefixed by >>): drivers/tty/serial/st-asc.c: In function 'asc_set_termios': >> drivers/tty/serial/st-asc.c:578:12: error: implicit declaration of function >> 'devm_get_gpiod_from_child' [-Werror=implicit-function-declaration] gpiod = devm_get_gpiod_from_child(port->dev, "rts", ^ drivers/tty/serial/st-asc.c:578:10: warning: assignment makes pointer from integer without a cast [-Wint-conversion] gpiod = devm_get_gpiod_from_child(port->dev, "rts", ^ cc1: some warnings being treated as errors vim +/devm_get_gpiod_from_child +578 drivers/tty/serial/st-asc.c d7356256 Lee Jones 2017-02-03 572 } else { d7356256 Lee Jones 2017-02-03 573 /* If flow-control disabled, it's safe to handle RTS manually */ d7356256 Lee Jones 2017-02-03 574 if (!ascport->rts && ascport->states[NO_HW_FLOWCTRL]) { d7356256 Lee Jones 2017-02-03 575 pinctrl_select_state(ascport->pinctrl, d7356256 Lee Jones 2017-02-03 576 ascport->states[NO_HW_FLOWCTRL]); d7356256 Lee Jones 2017-02-03 577 d7356256 Lee Jones 2017-02-03 @578 gpiod = devm_get_gpiod_from_child(port->dev, "rts", d7356256 Lee Jones 2017-02-03 579 &np->fwnode); d7356256 Lee Jones 2017-02-03 580 if (!IS_ERR(gpiod)) { d7356256 Lee Jones 2017-02-03 581 gpiod_direction_output(gpiod, 0); :: The code at line 578 was first introduced by commit :: d7356256488c544b8fdc2c3a775ce069546d7933 serial: st-asc: (De)Register GPIOD and swap Pinctrl profiles :: TO: Lee Jones :: CC: Greg Kroah-Hartman --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
[renesas-drivers:topic/renesas-overlays 17/88] (.text+0x21): multiple definition of `of_changeset_add_property_copy'
tree: https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git topic/renesas-overlays head: b4a161ee9ee38a2396d64d3ed345341410b71ac1 commit: 5ec47e147859cf571034795c7ff5b01013a40a89 [17/88] of: changesets: Introduce changeset helper methods config: i386-tinyconfig (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: git checkout 5ec47e147859cf571034795c7ff5b01013a40a89 # save the attached .config to linux build tree make ARCH=i386 Note: the renesas-drivers/topic/renesas-overlays HEAD b4a161ee9ee38a2396d64d3ed345341410b71ac1 builds fine. It only hurts bisectibility. All errors (new ones prefixed by >>): init/mounts.o: In function `of_changeset_add_property_copy': >> (.text+0x21): multiple definition of `of_changeset_add_property_copy' init/main.o:main.c:(.text+0x19): first defined here init/mounts.o: In function `of_changeset_add_property_string': >> (.text+0x27): multiple definition of `of_changeset_add_property_string' init/main.o:main.c:(.text+0x1f): first defined here --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
[renesas-drivers:topic/rcar2-cpg-mssr 10/32] drivers/clk/renesas/renesas-cpg-mssr.c:323:14-21: ERROR: PTR_ERR applied after initialization to constant on line 260
Hi Geert, First bad commit (maybe != root cause): tree: https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git topic/rcar2-cpg-mssr head: bd948f4b8c455dfdbc8175b5c2bc29c91b048971 commit: bb107dc7b20e9c63fb44a9fa132d6581a6b69944 [10/32] [RFC] clk: renesas: Rework Kconfig and Makefile logic config: i386-allmodconfig (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: git checkout bb107dc7b20e9c63fb44a9fa132d6581a6b69944 # save the attached .config to linux build tree make ARCH=i386 Note: it may well be a FALSE warning. FWIW you are at least aware of it now. http://gcc.gnu.org/wiki/Better_Uninitialized_Warnings All warnings (new ones prefixed by >>): drivers/clk/renesas/clk-sh73a0.c: In function 'sh73a0_cpg_clocks_init': >> drivers/clk/renesas/clk-sh73a0.c:155:10: warning: 'parent_name' may be used >> uninitialized in this function [-Wmaybe-uninitialized] return clk_register_fixed_factor(NULL, name, parent_name, 0, ^ mult, div); ~~ drivers/clk/renesas/clk-sh73a0.c:82:14: note: 'parent_name' was declared here const char *parent_name; ^~~ coccinelle warnings: (new ones prefixed by >>) >> drivers/clk/renesas/renesas-cpg-mssr.c:323:14-21: ERROR: PTR_ERR applied >> after initialization to constant on line 260 vim +323 drivers/clk/renesas/renesas-cpg-mssr.c f793d1e5 drivers/clk/shmobile/renesas-cpg-mssr.c Geert Uytterhoeven 2015-10-16 254 } f793d1e5 drivers/clk/shmobile/renesas-cpg-mssr.c Geert Uytterhoeven 2015-10-16 255 f793d1e5 drivers/clk/shmobile/renesas-cpg-mssr.c Geert Uytterhoeven 2015-10-16 256 static void __init cpg_mssr_register_core_clk(const struct cpg_core_clk *core, f793d1e5 drivers/clk/shmobile/renesas-cpg-mssr.c Geert Uytterhoeven 2015-10-16 257 const struct cpg_mssr_info *info, f793d1e5 drivers/clk/shmobile/renesas-cpg-mssr.c Geert Uytterhoeven 2015-10-16 258 struct cpg_mssr_priv *priv) f793d1e5 drivers/clk/shmobile/renesas-cpg-mssr.c Geert Uytterhoeven 2015-10-16 259 { f793d1e5 drivers/clk/shmobile/renesas-cpg-mssr.c Geert Uytterhoeven 2015-10-16 @260 struct clk *clk = NULL, *parent; f793d1e5 drivers/clk/shmobile/renesas-cpg-mssr.c Geert Uytterhoeven 2015-10-16 261 struct device *dev = priv->dev; 5d3927f6 drivers/clk/renesas/renesas-cpg-mssr.c Wolfram Sang 2016-03-30 262 unsigned int id = core->id, div = core->div; f793d1e5 drivers/clk/shmobile/renesas-cpg-mssr.c Geert Uytterhoeven 2015-10-16 263 const char *parent_name; f793d1e5 drivers/clk/shmobile/renesas-cpg-mssr.c Geert Uytterhoeven 2015-10-16 264 f793d1e5 drivers/clk/shmobile/renesas-cpg-mssr.c Geert Uytterhoeven 2015-10-16 265 WARN_DEBUG(id >= priv->num_core_clks); f793d1e5 drivers/clk/shmobile/renesas-cpg-mssr.c Geert Uytterhoeven 2015-10-16 266 WARN_DEBUG(PTR_ERR(priv->clks[id]) != -ENOENT); f793d1e5 drivers/clk/shmobile/renesas-cpg-mssr.c Geert Uytterhoeven 2015-10-16 267 48d0341e drivers/clk/renesas/renesas-cpg-mssr.c Geert Uytterhoeven 2016-09-29 268 if (!core->name) { 48d0341e drivers/clk/renesas/renesas-cpg-mssr.c Geert Uytterhoeven 2016-09-29 269 /* Skip NULLified clock */ 48d0341e drivers/clk/renesas/renesas-cpg-mssr.c Geert Uytterhoeven 2016-09-29 270 return; 48d0341e drivers/clk/renesas/renesas-cpg-mssr.c Geert Uytterhoeven 2016-09-29 271 } 48d0341e drivers/clk/renesas/renesas-cpg-mssr.c Geert Uytterhoeven 2016-09-29 272 f793d1e5 drivers/clk/shmobile/renesas-cpg-mssr.c Geert Uytterhoeven 2015-10-16 273 switch (core->type) { f793d1e5 drivers/clk/shmobile/renesas-cpg-mssr.c Geert Uytterhoeven 2015-10-16 274 case CLK_TYPE_IN: f793d1e5 drivers/clk/shmobile/renesas-cpg-mssr.c Geert Uytterhoeven 2015-10-16 275 clk = of_clk_get_by_name(priv->dev->of_node, core->name); f793d1e5 drivers/clk/shmobile/renesas-cpg-mssr.c Geert Uytterhoeven 2015-10-16 276 break; f793d1e5 drivers/clk/shmobile/renesas-cpg-mssr.c Geert Uytterhoeven 2015-10-16 277 f793d1e5 drivers/clk/shmobile/renesas-cpg-mssr.c Geert Uytterhoeven 2015-10-16 278 case CLK_TYPE_FF: f793d1e5 drivers/clk/shmobile/renesas-cpg-mssr.c Geert Uytterhoeven 2015-10-16 279 case CLK_TYPE_DIV6P1: 5d3927f6 drivers/clk/renesas/renesas-cpg-mssr.c Wolfram Sang 2016-03-30 280 case CLK_TYPE_DIV6_RO: f793d1e5 drivers/clk/shmobile/renesas-cpg-mssr.c Geert Uytterhoeven 2015-10-16 281 WARN_DEBUG(core->parent >= priv->num_core_clks); f793d1e5 drivers/clk/shmobile/renesas-cpg-mssr.c Geert Uytterhoeven 2015-10-16 282 parent = priv->clks[core->parent]; f793d1e5 drivers/clk/shmobile/renesas-cpg-mssr.c Geert Uytterhoeven 2015-10-16 283 if (IS_ERR(parent)) { f793d1e5 drivers/clk/
[renesas-drivers:topic/rcar2-cpg-mssr 11/32] drivers/soc/renesas/rcar-sysc.c:141:11: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int'
tree: https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git topic/rcar2-cpg-mssr head: bd948f4b8c455dfdbc8175b5c2bc29c91b048971 commit: 2cf8d523ad52acbc77845a2634c229a55e849762 [11/32] [RFC] soc: renesas: Rework Kconfig and Makefile logic config: m32r-allyesconfig (attached as .config) compiler: m32r-linux-gcc (GCC) 6.2.0 reproduce: wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout 2cf8d523ad52acbc77845a2634c229a55e849762 # save the attached .config to linux build tree make.cross ARCH=m32r All warnings (new ones prefixed by >>): In file included from include/linux/kernel.h:13:0, from include/linux/delay.h:21, from drivers/soc/renesas/rcar-sysc.c:13: drivers/soc/renesas/rcar-sysc.c: In function 'rcar_sysc_power': >> drivers/soc/renesas/rcar-sysc.c:141:11: warning: format '%x' expects >> argument of type 'unsigned int', but argument 5 has type 'long unsigned int' >> [-Wformat=] pr_debug("sysc power %s domain %d: %08x -> %d\n", on ? "on" : "off", ^ include/linux/printk.h:285:21: note: in definition of macro 'pr_fmt' #define pr_fmt(fmt) fmt ^~~ include/linux/printk.h:333:2: note: in expansion of macro 'dynamic_pr_debug' dynamic_pr_debug(fmt, ##__VA_ARGS__) ^~~~ >> drivers/soc/renesas/rcar-sysc.c:141:2: note: in expansion of macro 'pr_debug' pr_debug("sysc power %s domain %d: %08x -> %d\n", on ? "on" : "off", ^~~~ vim +141 drivers/soc/renesas/rcar-sysc.c a6557eb7 arch/arm/mach-shmobile/pm-rcar.c Magnus Damm2014-01-157 * This file is subject to the terms and conditions of the GNU General Public a6557eb7 arch/arm/mach-shmobile/pm-rcar.c Magnus Damm2014-01-158 * License. See the file "COPYING" in the main directory of this archive a6557eb7 arch/arm/mach-shmobile/pm-rcar.c Magnus Damm2014-01-159 * for more details. a6557eb7 arch/arm/mach-shmobile/pm-rcar.c Magnus Damm2014-01-15 10 */ a6557eb7 arch/arm/mach-shmobile/pm-rcar.c Magnus Damm2014-01-15 11 1c8c77f5 drivers/soc/renesas/rcar-sysc.c Geert Uytterhoeven 2016-04-20 12 #include a6557eb7 arch/arm/mach-shmobile/pm-rcar.c Magnus Damm2014-01-15 @13 #include a6557eb7 arch/arm/mach-shmobile/pm-rcar.c Magnus Damm2014-01-15 14 #include a6557eb7 arch/arm/mach-shmobile/pm-rcar.c Magnus Damm2014-01-15 15 #include dcc09fd1 drivers/soc/renesas/rcar-sysc.c Geert Uytterhoeven 2016-04-20 16 #include dcc09fd1 drivers/soc/renesas/rcar-sysc.c Geert Uytterhoeven 2016-04-20 17 #include dcc09fd1 drivers/soc/renesas/rcar-sysc.c Geert Uytterhoeven 2016-04-20 18 #include a6557eb7 arch/arm/mach-shmobile/pm-rcar.c Magnus Damm2014-01-15 19 #include 2584cf83 arch/arm/mach-shmobile/pm-rcar.c Dan Williams 2015-08-10 20 #include be32bcbb drivers/soc/renesas/rcar-sysc.c Geert Uytterhoeven 2016-04-20 21 #include a6557eb7 arch/arm/mach-shmobile/pm-rcar.c Magnus Damm2014-01-15 22 dcc09fd1 drivers/soc/renesas/rcar-sysc.c Geert Uytterhoeven 2016-04-20 23 #include "rcar-sysc.h" dcc09fd1 drivers/soc/renesas/rcar-sysc.c Geert Uytterhoeven 2016-04-20 24 577d104d arch/arm/mach-shmobile/pm-rcar.c Geert Uytterhoeven 2015-06-04 25 /* SYSC Common */ 577d104d arch/arm/mach-shmobile/pm-rcar.c Geert Uytterhoeven 2015-06-04 26 #define SYSCSR0x00/* SYSC Status Register */ 577d104d arch/arm/mach-shmobile/pm-rcar.c Geert Uytterhoeven 2015-06-04 27 #define SYSCISR 0x04/* Interrupt Status Register */ 577d104d arch/arm/mach-shmobile/pm-rcar.c Geert Uytterhoeven 2015-06-04 28 #define SYSCISCR 0x08/* Interrupt Status Clear Register */ 577d104d arch/arm/mach-shmobile/pm-rcar.c Geert Uytterhoeven 2015-06-04 29 #define SYSCIER 0x0c/* Interrupt Enable Register */ 577d104d arch/arm/mach-shmobile/pm-rcar.c Geert Uytterhoeven 2015-06-04 30 #define SYSCIMR 0x10/* Interrupt Mask Register */ 577d104d arch/arm/mach-shmobile/pm-rcar.c Geert Uytterhoeven 2015-06-04 31 577d104d arch/arm/mach-shmobile/pm-rcar.c Geert Uytterhoeven 2015-06-04 32 /* SYSC Status Register */ 577d104d arch/arm/mach-shmobile/pm-rcar.c Geert Uytterhoeven 2015-06-04 33 #define SYSCSR_PONENB 1 /* Ready for power resume requests */ 577d104d arch/arm/mach-shmobile/pm-rcar.c Geert Uytterhoeven 2015-06-04 34 #define SYSCSR_POFFENB0 /* Ready for power shutoff requests */ 577d104d arch/arm/mach-shmobile/pm-rcar.c Geert Uytterhoeven 2015-06-04 35 577d104d arch/arm/mach-shmobile/pm-rcar.c Geert Uytterhoeven 2015-06-04 36 /* 577d104d arch/arm/mach-shmobile/pm-rcar.c Geert Uytterhoeven 2015-06-04 37 * Power Co
[renesas-drivers:topic/rcar2-cpg-mssr 5/32] arch/mips//lantiq/clk.c:163:13: error: redefinition of 'of_clk_get_from_provider'
tree: https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git topic/rcar2-cpg-mssr head: bd948f4b8c455dfdbc8175b5c2bc29c91b048971 commit: 647a9d3c4f83250fd1f4e6519cf785319c9afe4c [5/32] clk: Provide dummy of_clk_get_from_provider() for compile-testing config: mips-xway_defconfig (attached as .config) compiler: mips-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705 reproduce: wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout 647a9d3c4f83250fd1f4e6519cf785319c9afe4c # save the attached .config to linux build tree make.cross ARCH=mips All errors (new ones prefixed by >>): >> arch/mips//lantiq/clk.c:163:13: error: redefinition of >> 'of_clk_get_from_provider' struct clk *of_clk_get_from_provider(struct of_phandle_args *clkspec) ^~~~ In file included from arch/mips//lantiq/clk.c:14:0: include/linux/clk.h:542:27: note: previous definition of 'of_clk_get_from_provider' was here static inline struct clk *of_clk_get_from_provider(struct of_phandle_args *clkspec) ^~~~ vim +/of_clk_get_from_provider +163 arch/mips//lantiq/clk.c 287e3f3f John Crispin 2012-04-17 157 287e3f3f John Crispin 2012-04-17 158 if (clk->deactivate) 287e3f3f John Crispin 2012-04-17 159 clk->deactivate(clk); 287e3f3f John Crispin 2012-04-17 160 } 287e3f3f John Crispin 2012-04-17 161 EXPORT_SYMBOL(clk_deactivate); 287e3f3f John Crispin 2012-04-17 162 b902d9a9 John Crispin 2012-07-22 @163 struct clk *of_clk_get_from_provider(struct of_phandle_args *clkspec) b902d9a9 John Crispin 2012-07-22 164 { b902d9a9 John Crispin 2012-07-22 165 return NULL; b902d9a9 John Crispin 2012-07-22 166 } :: The code at line 163 was first introduced by commit :: b902d9a98e2bd0d3a2b7ddf7bca850b7f853569a MIPS: Lantiq: Platform specific CLK fixup :: TO: John Crispin :: CC: Ralf Baechle --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
[renesas-drivers:topic/renesas-overlays 1/89] drivers/of/configfs.c:48:2: error: implicit declaration of function 'of_fdt_unflatten_tree'
tree: https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git topic/renesas-overlays head: 85464a2def291406ca925e116563279dcfbc39ad commit: 80ff838084a7bff831cf17bd939dc736b48d6a12 [1/89] OF: DT-Overlay configfs interface (v7) config: sparc64-allmodconfig (attached as .config) compiler: sparc64-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705 reproduce: wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout 80ff838084a7bff831cf17bd939dc736b48d6a12 # save the attached .config to linux build tree make.cross ARCH=sparc64 All errors (new ones prefixed by >>): drivers/of/configfs.c: In function 'create_overlay': >> drivers/of/configfs.c:48:2: error: implicit declaration of function >> 'of_fdt_unflatten_tree' [-Werror=implicit-function-declaration] of_fdt_unflatten_tree(blob, NULL, &overlay->overlay); ^ In file included from include/linux/kernel.h:13:0, from include/linux/list.h:8, from include/linux/kobject.h:20, from include/linux/device.h:17, from include/linux/node.h:17, from include/linux/cpu.h:16, from drivers/of/configfs.c:12: drivers/of/configfs.c: In function 'cfs_overlay_item_dtbo_read': drivers/of/configfs.c:153:11: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'size_t {aka long unsigned int}' [-Wformat=] pr_debug("%s: buf=%p max_count=%u\n", __func__, ^ include/linux/printk.h:285:21: note: in definition of macro 'pr_fmt' #define pr_fmt(fmt) fmt ^~~ include/linux/printk.h:333:2: note: in expansion of macro 'dynamic_pr_debug' dynamic_pr_debug(fmt, ##__VA_ARGS__) ^~~~ drivers/of/configfs.c:153:2: note: in expansion of macro 'pr_debug' pr_debug("%s: buf=%p max_count=%u\n", __func__, ^~~~ cc1: some warnings being treated as errors vim +/of_fdt_unflatten_tree +48 drivers/of/configfs.c 42 43 static int create_overlay(struct cfs_overlay_item *overlay, void *blob) 44 { 45 int err; 46 47 /* unflatten the tree */ > 48 of_fdt_unflatten_tree(blob, NULL, &overlay->overlay); 49 if (overlay->overlay == NULL) { 50 pr_err("%s: failed to unflatten tree\n", __func__); 51 err = -EINVAL; --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
[renesas-drivers:topic/spi-slave-v3-integration 4/10] htmldocs: include/linux/spi/spi.h:578: warning: No description found for parameter 'slave'
tree: https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git topic/spi-slave-v3-integration head: fa7cc511d594456e5e10890ab059a026b6d8f8ca commit: 2ad35b53babd55932362c5d46e51c6a9ed529ba5 [4/10] spi: core: Add support for registering SPI slave controllers reproduce: make htmldocs All warnings (new ones prefixed by >>): include/linux/init.h:1: warning: no structured comments found kernel/sched/core.c:2085: warning: No description found for parameter 'rf' kernel/sched/core.c:2085: warning: Excess function parameter 'cookie' description in 'try_to_wake_up_local' include/linux/kthread.h:26: warning: Excess function parameter '...' description in 'kthread_create' kernel/sys.c:1: warning: no structured comments found include/linux/device.h:969: warning: No description found for parameter 'dma_ops' drivers/dma-buf/seqno-fence.c:1: warning: no structured comments found include/linux/iio/iio.h:597: warning: No description found for parameter 'trig_readonly' include/linux/iio/trigger.h:151: warning: No description found for parameter 'indio_dev' include/linux/iio/trigger.h:151: warning: No description found for parameter 'trig' include/linux/device.h:970: warning: No description found for parameter 'dma_ops' drivers/regulator/core.c:1467: warning: Excess function parameter 'ret' description in 'regulator_dev_lookup' >> include/linux/spi/spi.h:578: warning: No description found for parameter >> 'slave' include/drm/drm_drv.h:438: warning: No description found for parameter 'open' include/drm/drm_drv.h:438: warning: No description found for parameter 'preclose' include/drm/drm_drv.h:438: warning: No description found for parameter 'postclose' include/drm/drm_drv.h:438: warning: No description found for parameter 'lastclose' include/drm/drm_drv.h:438: warning: No description found for parameter 'set_busid' include/drm/drm_drv.h:438: warning: No description found for parameter 'irq_handler' include/drm/drm_drv.h:438: warning: No description found for parameter 'irq_preinstall' include/drm/drm_drv.h:438: warning: No description found for parameter 'irq_postinstall' include/drm/drm_drv.h:438: warning: No description found for parameter 'irq_uninstall' include/drm/drm_drv.h:438: warning: No description found for parameter 'debugfs_init' include/drm/drm_drv.h:438: warning: No description found for parameter 'debugfs_cleanup' include/drm/drm_drv.h:438: warning: No description found for parameter 'gem_open_object' include/drm/drm_drv.h:438: warning: No description found for parameter 'gem_close_object' include/drm/drm_drv.h:438: warning: No description found for parameter 'prime_handle_to_fd' include/drm/drm_drv.h:438: warning: No description found for parameter 'prime_fd_to_handle' include/drm/drm_drv.h:438: warning: No description found for parameter 'gem_prime_export' include/drm/drm_drv.h:438: warning: No description found for parameter 'gem_prime_import' include/drm/drm_drv.h:438: warning: No description found for parameter 'gem_prime_pin' include/drm/drm_drv.h:438: warning: No description found for parameter 'gem_prime_unpin' include/drm/drm_drv.h:438: warning: No description found for parameter 'gem_prime_res_obj' include/drm/drm_drv.h:438: warning: No description found for parameter 'gem_prime_get_sg_table' include/drm/drm_drv.h:438: warning: No description found for parameter 'gem_prime_import_sg_table' include/drm/drm_drv.h:438: warning: No description found for parameter 'gem_prime_vmap' include/drm/drm_drv.h:438: warning: No description found for parameter 'gem_prime_vunmap' include/drm/drm_drv.h:438: warning: No description found for parameter 'gem_prime_mmap' include/drm/drm_drv.h:438: warning: No description found for parameter 'gem_vm_ops' include/drm/drm_drv.h:438: warning: No description found for parameter 'major' include/drm/drm_drv.h:438: warning: No description found for parameter 'minor' include/drm/drm_drv.h:438: warning: No description found for parameter 'patchlevel' include/drm/drm_drv.h:438: warning: No description found for parameter 'name' include/drm/drm_drv.h:438: warning: No description found for parameter 'desc' include/drm/drm_drv.h:438: warning: No description found for parameter 'date' include/drm/drm_drv.h:438: warning: No description found for parameter 'driver_features' include/drm/drm_drv.h:438: warning: No description found for parameter 'ioctls' include/drm/drm_drv.h:438: warning: No description found for parameter 'num_ioctls' include/drm/drm_drv.h:438: warning: No description found for parameter 'fops' include/drm/drm_color_mgmt.h:1: warning: no structured comments found drivers/gpu/drm/drm_fb_cma_helper.c:557: warning: Excess function parameter 'num_crtc' description in 'drm_fbdev_cma_init' drivers/gpu/drm/drm_fb_cma_helper.c:558: warning: Excess function paramete
[renesas-drivers:topic/spi-slave-v3-integration 6/10] ERROR: "signal_wake_up_state" [drivers/spi/spi-sh-msiof.ko] undefined!
tree: https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git topic/spi-slave-v3-integration head: fa7cc511d594456e5e10890ab059a026b6d8f8ca commit: 57b3e64f8211aba57ad17ad1a172ac35593e2c72 [6/10] spi: sh-msiof: Add slave mode support config: i386-allmodconfig (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: git checkout 57b3e64f8211aba57ad17ad1a172ac35593e2c72 # save the attached .config to linux build tree make ARCH=i386 All errors (new ones prefixed by >>): >> ERROR: "signal_wake_up_state" [drivers/spi/spi-sh-msiof.ko] undefined! --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
Re: [PATCH v2 3/5] dmaengine: rcar-dmac: add iommu support for slave transfers
Hi Niklas, [auto build test ERROR on renesas/next] [also build test ERROR on v4.4] [cannot apply to next-20160121] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Niklas-S-derlund/dmaengine-rcar-dmac-add-iommu-support-for-slave-transfers/20160121-220503 base: https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git next config: m68k-allyesconfig (attached as .config) 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 # save the attached .config to linux build tree make.cross ARCH=m68k All errors (new ones prefixed by >>): drivers/dma/sh/rcar-dmac.c: In function '__rcar_dmac_device_config': >> drivers/dma/sh/rcar-dmac.c:1121:3: error: implicit declaration of function >> 'dma_unmap_page_attrs' [-Werror=implicit-function-declaration] dma_unmap_page_attrs(chan->device->dev, slave->slave_addr, ^ >> drivers/dma/sh/rcar-dmac.c:1132:3: error: implicit declaration of function >> 'dma_map_page_attrs' [-Werror=implicit-function-declaration] slave->slave_addr = dma_map_page_attrs(chan->device->dev, page, ^ cc1: some warnings being treated as errors vim +/dma_unmap_page_attrs +1121 drivers/dma/sh/rcar-dmac.c 1115 struct rcar_dmac_chan *rchan = to_rcar_dmac_chan(chan); 1116 struct page *page; 1117 size_t offset; 1118 1119 /* unmap old */ 1120 if (slave->slave_addr) { > 1121 dma_unmap_page_attrs(chan->device->dev, > slave->slave_addr, 1122 slave->xfer_size, dir, attrs); 1123 slave->slave_addr = 0; 1124 slave->xfer_size = 0; 1125 } 1126 1127 /* map new */ 1128 if (addr) { 1129 /* phys_to_page not available on all platforms */ 1130 page = pfn_to_page(addr >> PAGE_SHIFT); 1131 offset = addr - page_to_phys(page); > 1132 slave->slave_addr = > dma_map_page_attrs(chan->device->dev, page, 1133 offset, size, dir, attrs); 1134 1135 if (dma_mapping_error(chan->device->dev, slave->slave_addr)) { --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: Binary data
Re: [alsa-devel] [PATCH 2/4] ASoC: add of_parse_snd_connection_with_args() for sound-dai/graph connection
Hi Kuninori, [auto build test WARNING on asoc/for-next] [also build test WARNING on v4.6-rc3 next-20160413] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Kuninori-Morimoto/ASoC-add-graph-base-connection-on-simple-card/20160414-135303 base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next config: x86_64-randconfig-x013-201615 (attached as .config) reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All warnings (new ones prefixed by >>): sound/soc/soc-core.c: In function 'of_parse_snd_soc_connection_with_args': >> sound/soc/soc-core.c:3848:35: warning: passing argument 1 of >> 'of_parse_phandle_with_args' discards 'const' qualifier from pointer target >> type [-Wdiscarded-qualifiers] ret = of_parse_phandle_with_args(np, "sound-dai", ^ In file included from sound/soc/soc-core.c:36:0: include/linux/of.h:588:19: note: expected 'struct device_node *' but argument is of type 'const struct device_node *' static inline int of_parse_phandle_with_args(struct device_node *np, ^ vim +3848 sound/soc/soc-core.c 3832 *dai_name = pos->dai_drv[id].name; 3833 if (!*dai_name) 3834 *dai_name = pos->name; 3835 } 3836 3837 break; 3838 } 3839 mutex_unlock(&client_mutex); 3840 return ret; 3841 } 3842 3843 int of_parse_snd_soc_connection_with_args(const struct device_node *np, 3844struct of_phandle_args *out_args) 3845 { 3846 int ret; 3847 > 3848 ret = of_parse_phandle_with_args(np, "sound-dai", 3849 "#sound-dai-cells", 0, out_args); 3850 if (ret) { 3851 struct device_node *p_node = NULL; 3852 struct device_node *ep_node = NULL; 3853 struct of_endpoint ep; 3854 3855 /* try graph base parse */ 3856 p_node = of_graph_get_remote_port_parent(np); --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: Binary data
Re: [PATCH] [media] rcar-csi2: add Renesas R-Car MIPI CSI-2 driver
Hi, [auto build test ERROR on linuxtv-media/master] [also build test ERROR on next-20160627] [cannot apply to v4.7-rc5] [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/Niklas-S-derlund/rcar-csi2-add-Renesas-R-Car-MIPI-CSI-2-driver/20160628-015917 base: git://linuxtv.org/media_tree.git master config: cris-allmodconfig (attached as .config) compiler: cris-linux-gcc (GCC) 4.6.3 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 # save the attached .config to linux build tree make.cross ARCH=cris All error/warnings (new ones prefixed by >>): >> drivers/media/platform/rcar-vin/rcar-csi2.c:371:2: error: unknown field >> 's_stream' specified in initializer >> drivers/media/platform/rcar-vin/rcar-csi2.c:371:2: warning: initialization >> from incompatible pointer type [enabled by default] drivers/media/platform/rcar-vin/rcar-csi2.c:371:2: warning: (near initialization for 'rcar_csi2_pad_ops.init_cfg') [enabled by default] vim +/s_stream +371 drivers/media/platform/rcar-vin/rcar-csi2.c 365 366 static struct v4l2_subdev_core_ops rcar_csi2_subdev_core_ops = { 367 .s_power = rcar_csi2_s_power, 368 }; 369 370 static const struct v4l2_subdev_pad_ops rcar_csi2_pad_ops = { > 371 .s_stream = rcar_csi2_s_stream, 372 .set_fmt = rcar_csi2_set_pad_format, 373 }; 374 --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: Binary data
Re: [PATCH] [media] rcar-csi2: add Renesas R-Car MIPI CSI-2 driver
Hi, [auto build test ERROR on linuxtv-media/master] [also build test ERROR on next-20160627] [cannot apply to v4.7-rc5] [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/Niklas-S-derlund/rcar-csi2-add-Renesas-R-Car-MIPI-CSI-2-driver/20160628-015917 base: git://linuxtv.org/media_tree.git master config: i386-allmodconfig (attached as .config) compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430 reproduce: # save the attached .config to linux build tree make ARCH=i386 All errors (new ones prefixed by >>): drivers/media/platform/rcar-vin/rcar-csi2.c:371:2: error: unknown field 's_stream' specified in initializer .s_stream = rcar_csi2_s_stream, ^ >> drivers/media/platform/rcar-vin/rcar-csi2.c:371:14: error: initialization >> from incompatible pointer type [-Werror=incompatible-pointer-types] .s_stream = rcar_csi2_s_stream, ^~ drivers/media/platform/rcar-vin/rcar-csi2.c:371:14: note: (near initialization for 'rcar_csi2_pad_ops.init_cfg') cc1: some warnings being treated as errors vim +371 drivers/media/platform/rcar-vin/rcar-csi2.c 365 366 static struct v4l2_subdev_core_ops rcar_csi2_subdev_core_ops = { 367 .s_power = rcar_csi2_s_power, 368 }; 369 370 static const struct v4l2_subdev_pad_ops rcar_csi2_pad_ops = { > 371 .s_stream = rcar_csi2_s_stream, 372 .set_fmt = rcar_csi2_set_pad_format, 373 }; 374 --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: Binary data
Re: [PATCH] thermal: rcar-thermal: enable hwmon when thermal_zone
Hi, [auto build test ERROR on thermal/next] [also build test ERROR on v4.7-rc5 next-20160701] [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/Kuninori-Morimoto/thermal-rcar-thermal-enable-hwmon-when-thermal_zone/20160622-083954 base: https://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux.git next config: s390-allmodconfig (attached as .config) compiler: s390x-linux-gnu-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 # save the attached .config to linux build tree make.cross ARCH=s390 All errors (new ones prefixed by >>): >> ERROR: "thermal_remove_hwmon_sysfs" [drivers/thermal/rcar_thermal.ko] >> undefined! >> ERROR: "thermal_add_hwmon_sysfs" [drivers/thermal/rcar_thermal.ko] undefined! --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: Binary data
Re: [PATCH v5 4/4] rcar-vin: implement EDID control ioctls
Hi, [auto build test ERROR on next-20160706] [cannot apply to linuxtv-media/master renesas/next v4.7-rc6 v4.7-rc5 v4.7-rc4 v4.7-rc6] [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/Ulrich-Hecht/media-adv7604-automatic-default-input-selection/20160706-234332 config: i386-allmodconfig (attached as .config) compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430 reproduce: # save the attached .config to linux build tree make ARCH=i386 All error/warnings (new ones prefixed by >>): drivers/media/platform/rcar-vin/rcar-v4l2.c: In function 'rvin_g_edid': >> drivers/media/platform/rcar-vin/rcar-v4l2.c:561:9: error: implicit >> declaration of function 'rvin_subdev_call' >> [-Werror=implicit-function-declaration] return rvin_subdev_call(vin, pad, get_edid, edid); ^~~~ >> drivers/media/platform/rcar-vin/rcar-v4l2.c:561:31: error: 'pad' undeclared >> (first use in this function) return rvin_subdev_call(vin, pad, get_edid, edid); ^~~ drivers/media/platform/rcar-vin/rcar-v4l2.c:561:31: note: each undeclared identifier is reported only once for each function it appears in >> drivers/media/platform/rcar-vin/rcar-v4l2.c:561:36: error: 'get_edid' >> undeclared (first use in this function) return rvin_subdev_call(vin, pad, get_edid, edid); ^~~~ drivers/media/platform/rcar-vin/rcar-v4l2.c: In function 'rvin_s_edid': drivers/media/platform/rcar-vin/rcar-v4l2.c:568:31: error: 'pad' undeclared (first use in this function) return rvin_subdev_call(vin, pad, set_edid, edid); ^~~ >> drivers/media/platform/rcar-vin/rcar-v4l2.c:568:36: error: 'set_edid' >> undeclared (first use in this function) return rvin_subdev_call(vin, pad, set_edid, edid); ^~~~ >> drivers/media/platform/rcar-vin/rcar-v4l2.c:569:1: warning: control reaches >> end of non-void function [-Wreturn-type] } ^ drivers/media/platform/rcar-vin/rcar-v4l2.c: In function 'rvin_g_edid': drivers/media/platform/rcar-vin/rcar-v4l2.c:562:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ cc1: some warnings being treated as errors vim +/rvin_subdev_call +561 drivers/media/platform/rcar-vin/rcar-v4l2.c 555 } 556 557 static int rvin_g_edid(struct file *file, void *fh, struct v4l2_edid *edid) 558 { 559 struct rvin_dev *vin = video_drvdata(file); 560 > 561 return rvin_subdev_call(vin, pad, get_edid, edid); 562 } 563 564 static int rvin_s_edid(struct file *file, void *fh, struct v4l2_edid *edid) 565 { 566 struct rvin_dev *vin = video_drvdata(file); 567 > 568 return rvin_subdev_call(vin, pad, set_edid, edid); > 569 } 570 571 static const struct v4l2_ioctl_ops rvin_ioctl_ops = { 572 .vidioc_querycap= rvin_querycap, --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: Binary data
Re: [PATCH] packet: fix second argument of sock_tx_timestamp()
Hi, [auto build test ERROR on net-next/master] [also build test ERROR on v4.7-rc7 next-20160719] [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/Yoshihiro-Shimoda/packet-fix-second-argument-of-sock_tx_timestamp/20160719-194240 config: i386-defconfig (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 >>): net/packet/af_packet.c: In function 'tpacket_snd': >> net/packet/af_packet.c:2645:18: error: 'sk' undeclared (first use in this >> function) sockc.tsflags = sk->sk_tsflags; ^~ net/packet/af_packet.c:2645:18: note: each undeclared identifier is reported only once for each function it appears in vim +/sk +2645 net/packet/af_packet.c 2639 goto out; 2640 proto = saddr->sll_protocol; 2641 addr= saddr->sll_addr; 2642 dev = dev_get_by_index(sock_net(&po->sk), saddr->sll_ifindex); 2643 } 2644 > 2645 sockc.tsflags = sk->sk_tsflags; 2646 if (msg->msg_controllen) { 2647 err = sock_cmsg_send(&po->sk, msg, &sockc); 2648 if (unlikely(err)) --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: Binary data
Re: [alsa-devel] [PATCH 2/xx][sample] ASoC: codec duplicated callback function goes to component on wm8978
Hi Kuninori, [auto build test ERROR on asoc/for-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/Kuninori-Morimoto/ASoC-codec-duplicated-callback-function-goes-to-component-on-wm8978/20160803-130055 base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next config: x86_64-randconfig-x015-201631 (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 >>): >> sound/soc/codecs/wm8978.c:1003:3: error: implicit declaration of function >> 'COMPONENT_FUNC' [-Werror=implicit-function-declaration] COMPONENT_FUNC(controls, wm8978_snd_controls), ^~ >> sound/soc/codecs/wm8978.c:1003:18: error: 'controls' undeclared here (not in >> a function) COMPONENT_FUNC(controls, wm8978_snd_controls), ^~~~ >> sound/soc/codecs/wm8978.c:1004:18: error: 'dapm_widgets' undeclared here >> (not in a function) COMPONENT_FUNC(dapm_widgets, wm8978_dapm_widgets), ^~~~ >> sound/soc/codecs/wm8978.c:1005:18: error: 'dapm_routes' undeclared here (not >> in a function) COMPONENT_FUNC(dapm_routes, wm8978_dapm_routes), ^~~ cc1: some warnings being treated as errors vim +/COMPONENT_FUNC +1003 sound/soc/codecs/wm8978.c 997 .probe =wm8978_probe, 998 .suspend = wm8978_suspend, 999 .resume = wm8978_resume, 1000 .set_bias_level = wm8978_set_bias_level, 1001 1002 .component_driver = { > 1003 COMPONENT_FUNC(controls,wm8978_snd_controls), > 1004 COMPONENT_FUNC(dapm_widgets,wm8978_dapm_widgets), > 1005 COMPONENT_FUNC(dapm_routes, wm8978_dapm_routes), 1006 }, 1007 }; 1008 --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: Binary data
Re: [alsa-devel] [PATCH 3/xx][sample] ASoC: remove codec duplicated callback function
Hi Kuninori, [auto build test ERROR on asoc/for-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/Kuninori-Morimoto/ASoC-remove-codec-duplicated-callback-function/20160803-130552 base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next config: i386-randconfig-s1-201631 (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 error/warnings (new ones prefixed by >>): >> sound/soc/codecs/adau1701.c:768:2: error: unknown field 'controls' specified >> in initializer .controls = adau1701_controls, ^ >> sound/soc/codecs/adau1701.c:768:2: warning: the address of >> 'adau1701_controls' will always evaluate as 'true' [-Waddress] >> sound/soc/codecs/adau1701.c:769:2: error: unknown field 'num_controls' >> specified in initializer .num_controls = ARRAY_SIZE(adau1701_controls), ^ In file included from include/linux/list.h:8:0, from include/linux/module.h:9, from sound/soc/codecs/adau1701.c:11: include/linux/kernel.h:54:25: warning: initialization makes pointer from integer without a cast [-Wint-conversion] #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr)) ^ >> sound/soc/codecs/adau1701.c:769:19: note: in expansion of macro 'ARRAY_SIZE' .num_controls = ARRAY_SIZE(adau1701_controls), ^~ include/linux/kernel.h:54:25: note: (near initialization for 'adau1701_codec_drv.seq_notifier') #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr)) ^ >> sound/soc/codecs/adau1701.c:769:19: note: in expansion of macro 'ARRAY_SIZE' .num_controls = ARRAY_SIZE(adau1701_controls), ^~ >> sound/soc/codecs/adau1701.c:770:2: error: unknown field 'dapm_widgets' >> specified in initializer .dapm_widgets = adau1701_dapm_widgets, ^ >> sound/soc/codecs/adau1701.c:770:2: warning: the address of >> 'adau1701_dapm_widgets' will always evaluate as 'true' [-Waddress] >> sound/soc/codecs/adau1701.c:771:2: error: unknown field 'num_dapm_widgets' >> specified in initializer .num_dapm_widgets = ARRAY_SIZE(adau1701_dapm_widgets), ^ In file included from include/linux/list.h:8:0, from include/linux/module.h:9, from sound/soc/codecs/adau1701.c:11: include/linux/kernel.h:54:25: warning: excess elements in struct initializer #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr)) ^ sound/soc/codecs/adau1701.c:771:22: note: in expansion of macro 'ARRAY_SIZE' .num_dapm_widgets = ARRAY_SIZE(adau1701_dapm_widgets), ^~ include/linux/kernel.h:54:25: note: (near initialization for 'adau1701_codec_drv') #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr)) ^ sound/soc/codecs/adau1701.c:771:22: note: in expansion of macro 'ARRAY_SIZE' .num_dapm_widgets = ARRAY_SIZE(adau1701_dapm_widgets), ^~ >> sound/soc/codecs/adau1701.c:772:2: error: unknown field 'dapm_routes' >> specified in initializer .dapm_routes = adau1701_dapm_routes, ^ >> sound/soc/codecs/adau1701.c:772:18: warning: excess elements in struct >> initializer .dapm_routes = adau1701_dapm_routes, ^~~~ sound/soc/codecs/adau1701.c:772:18: note: (near initialization for 'adau1701_codec_drv') >> sound/soc/codecs/adau1701.c:773:2: error: unknown field 'num_dapm_routes' >> specified in initializer .num_dapm_routes = ARRAY_SIZE(adau1701_dapm_routes), ^ In file included from include/linux/list.h:8:0, from include/linux/module.h:9, from sound/soc/codecs/adau1701.c:11: include/linux/kernel.h:54:25: warning: excess elements in struct initializer #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr)) ^ sound/soc/codecs/adau1701.c:773:21: note: in expansion of macro 'ARRAY_SIZE' .num_dapm_routes = ARRAY_SIZE(adau1701_dapm_routes), ^~ include/linux/kernel.h:54:25: note: (near initialization for 'adau1701_codec_drv') #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr)) ^ sound/soc/codecs/adau1701.c:773:21: note: in expansion of macro 'ARRAY_SIZE' .num_dapm_routes = ARRAY_SIZE(adau1701_dapm_routes), ^~ -- >> sound/soc/codecs/ak4104.c:248:2: error: unknown field 'dapm_widgets' >> specified in initializ
[renesas-drivers:topic/fdp1-v2-rebased2 8/8] drivers/media/platform/rcar_fdp1.c:2264:2: error: implicit declaration of function 'vb2_dma_contig_init_ctx'
tree: https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git topic/fdp1-v2-rebased2 head: 86b4ca1f09bb40114845c618868d447769aef33e commit: 86b4ca1f09bb40114845c618868d447769aef33e [8/8] v4l: platform: Add Renesas R-Car FDP1 Driver config: openrisc-allyesconfig (attached as .config) compiler: or32-linux-gcc (GCC) 4.5.1-or32-1.0rc1 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 86b4ca1f09bb40114845c618868d447769aef33e # save the attached .config to linux build tree make.cross ARCH=openrisc All errors (new ones prefixed by >>): drivers/media/platform/rcar_fdp1.c:1972:2: warning: initialization from incompatible pointer type drivers/media/platform/rcar_fdp1.c: In function 'fdp1_probe': >> drivers/media/platform/rcar_fdp1.c:2264:2: error: implicit declaration of >> function 'vb2_dma_contig_init_ctx' drivers/media/platform/rcar_fdp1.c:2264:18: warning: assignment makes pointer from integer without a cast >> drivers/media/platform/rcar_fdp1.c:2331:2: error: implicit declaration of >> function 'vb2_dma_contig_cleanup_ctx' drivers/media/platform/rcar_fdp1.c: At top level: drivers/media/platform/rcar_fdp1.c:2349:12: warning: 'fdp1_pm_runtime_suspend' defined but not used drivers/media/platform/rcar_fdp1.c:2358:12: warning: 'fdp1_pm_runtime_resume' defined but not used vim +/vb2_dma_contig_init_ctx +2264 drivers/media/platform/rcar_fdp1.c 2258 return PTR_ERR(clk); 2259 2260 fdp1->clk_rate = clk_get_rate(clk); 2261 clk_put(clk); 2262 2263 /* Memory allocation contexts */ > 2264 fdp1->alloc_ctx = vb2_dma_contig_init_ctx(&pdev->dev); 2265 if (IS_ERR(fdp1->alloc_ctx)) { 2266 v4l2_err(&fdp1->v4l2_dev, "Failed to init memory allocator\n"); 2267 return PTR_ERR(fdp1->alloc_ctx); 2268 } 2269 2270 /* V4L2 device registration */ 2271 ret = v4l2_device_register(&pdev->dev, &fdp1->v4l2_dev); 2272 if (ret) { 2273 v4l2_err(&fdp1->v4l2_dev, "Failed to register video device\n"); 2274 goto vb2_allocator_rollback; 2275 } 2276 2277 /* M2M registration */ 2278 fdp1->m2m_dev = v4l2_m2m_init(&m2m_ops); 2279 if (IS_ERR(fdp1->m2m_dev)) { 2280 v4l2_err(&fdp1->v4l2_dev, "Failed to init mem2mem device\n"); 2281 ret = PTR_ERR(fdp1->m2m_dev); 2282 goto unreg_dev; 2283 } 2284 2285 /* Video registration */ 2286 fdp1->vfd = fdp1_videodev; 2287 vfd = &fdp1->vfd; 2288 vfd->lock = &fdp1->dev_mutex; 2289 vfd->v4l2_dev = &fdp1->v4l2_dev; 2290 video_set_drvdata(vfd, fdp1); 2291 strlcpy(vfd->name, fdp1_videodev.name, sizeof(vfd->name)); 2292 2293 ret = video_register_device(vfd, VFL_TYPE_GRABBER, 0); 2294 if (ret) { 2295 v4l2_err(&fdp1->v4l2_dev, "Failed to register video device\n"); 2296 goto release_m2m; 2297 } 2298 2299 v4l2_info(&fdp1->v4l2_dev, 2300 "Device registered as /dev/video%d\n", vfd->num); 2301 2302 /* Power up the cells to read HW */ 2303 pm_runtime_enable(&pdev->dev); 2304 pm_runtime_get_sync(fdp1->dev); 2305 2306 hw_version = fdp1_read(fdp1, FD1_IP_INTDATA); 2307 switch (hw_version) { 2308 case FD1_IP_H3: 2309 dprintk(fdp1, "FDP1 Version R-Car H3\n"); 2310 break; 2311 case FD1_IP_M3W: 2312 dprintk(fdp1, "FDP1 Version R-Car M3-W\n"); 2313 break; 2314 default: 2315 dev_err(fdp1->dev, "FDP1 Unidentifiable (0x%08x)\n", 2316 hw_version); 2317 } 2318 2319 /* Allow the hw to sleep until an open call puts it to use */ 2320 pm_runtime_put(fdp1->dev); 2321 2322 return 0; 2323 2324 release_m2m: 2325 v4l2_m2m_release(fdp1->m2m_dev); 2326 2327 unreg_dev: 2328 v4l2_device_unregister(&fdp1->v4l2_dev); 2329 2330 vb2_allocator_rollback: > 2331 vb2_dma_contig_cleanup_ctx(fdp1->alloc_ctx); 2332 2333 return ret; 2334 } --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: Binary data
[renesas-drivers:topic/fdp1-v2-rebased2 8/8] drivers/media/platform/rcar_fdp1.c:1972:18: error: initialization from incompatible pointer type
tree: https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git topic/fdp1-v2-rebased2 head: 86b4ca1f09bb40114845c618868d447769aef33e commit: 86b4ca1f09bb40114845c618868d447769aef33e [8/8] v4l: platform: Add Renesas R-Car FDP1 Driver config: sparc64-allmodconfig (attached as .config) compiler: sparc64-linux-gnu-gcc (Debian 5.4.0-6) 5.4.0 20160609 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 86b4ca1f09bb40114845c618868d447769aef33e # save the attached .config to linux build tree make.cross ARCH=sparc64 All errors (new ones prefixed by >>): >> drivers/media/platform/rcar_fdp1.c:1972:18: error: initialization from >> incompatible pointer type [-Werror=incompatible-pointer-types] .queue_setup = fdp1_queue_setup, ^ drivers/media/platform/rcar_fdp1.c:1972:18: note: (near initialization for 'fdp1_qops.queue_setup') drivers/media/platform/rcar_fdp1.c: In function 'fdp1_probe': drivers/media/platform/rcar_fdp1.c:2264:20: error: implicit declaration of function 'vb2_dma_contig_init_ctx' [-Werror=implicit-function-declaration] fdp1->alloc_ctx = vb2_dma_contig_init_ctx(&pdev->dev); ^ drivers/media/platform/rcar_fdp1.c:2264:18: warning: assignment makes pointer from integer without a cast [-Wint-conversion] fdp1->alloc_ctx = vb2_dma_contig_init_ctx(&pdev->dev); ^ drivers/media/platform/rcar_fdp1.c:2331:2: error: implicit declaration of function 'vb2_dma_contig_cleanup_ctx' [-Werror=implicit-function-declaration] vb2_dma_contig_cleanup_ctx(fdp1->alloc_ctx); ^ cc1: some warnings being treated as errors vim +1972 drivers/media/platform/rcar_fdp1.c 1966 WARN(!list_empty(&ctx->fdp1->hw_job_list), 1967 "HW Job list not empty"); 1968 } 1969 } 1970 1971 static struct vb2_ops fdp1_qops = { > 1972 .queue_setup = fdp1_queue_setup, 1973 .buf_prepare = fdp1_buf_prepare, 1974 .buf_queue = fdp1_buf_queue, 1975 .start_streaming = fdp1_start_streaming, --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: Binary data
[renesas-drivers:topic/gen3-latest 911/1492] include/linux/module.h:213:27: error: '__mod_of__adv7482_of_ids_device_table' aliased to undefined symbol 'adv7482_of_ids'
tree: https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git topic/gen3-latest head: 88f41090789e9cdfe3715fb77bd9542b75536d60 commit: c585bda5a818d6c75430e57587c7e529395ddfbf [911/1492] [media] i2c: adv7482: add adv7482 driver config: i386-allmodconfig (attached as .config) compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705 reproduce: git checkout c585bda5a818d6c75430e57587c7e529395ddfbf # save the attached .config to linux build tree make ARCH=i386 All error/warnings (new ones prefixed by >>): In file included from drivers/media/i2c/adv7482.c:15:0: drivers/media/i2c/adv7482.c:1368:25: error: 'adv7482_of_ids' undeclared here (not in a function) MODULE_DEVICE_TABLE(of, adv7482_of_ids); ^ include/linux/module.h:213:21: note: in definition of macro 'MODULE_DEVICE_TABLE' extern const typeof(name) __mod_##type##__##name##_device_table \ ^~~~ >> include/linux/module.h:213:27: error: >> '__mod_of__adv7482_of_ids_device_table' aliased to undefined symbol >> 'adv7482_of_ids' extern const typeof(name) __mod_##type##__##name##_device_table \ ^ >> drivers/media/i2c/adv7482.c:1368:1: note: in expansion of macro >> 'MODULE_DEVICE_TABLE' MODULE_DEVICE_TABLE(of, adv7482_of_ids); ^~~ drivers/media/i2c/adv7482.c:807:12: warning: 'adv7482_query_dv_timings' defined but not used [-Wunused-function] static int adv7482_query_dv_timings(struct v4l2_subdev *sd, ^~~~ drivers/media/i2c/adv7482.c:795:12: warning: 'adv7482_g_dv_timings' defined but not used [-Wunused-function] static int adv7482_g_dv_timings(struct v4l2_subdev *sd, ^~~~ drivers/media/i2c/adv7482.c:761:12: warning: 'adv7482_s_dv_timings' defined but not used [-Wunused-function] static int adv7482_s_dv_timings(struct v4l2_subdev *sd, ^~~~ vim +213 include/linux/module.h ^1da177e Linus Torvalds 2005-04-16 207 /* What your module does. */ ^1da177e Linus Torvalds 2005-04-16 208 #define MODULE_DESCRIPTION(_description) MODULE_INFO(description, _description) ^1da177e Linus Torvalds 2005-04-16 209 cff26a51 Rusty Russell 2014-02-03 210 #ifdef MODULE cff26a51 Rusty Russell 2014-02-03 211 /* Creates an alias so file2alias.c can find device table. */ ^1da177e Linus Torvalds 2005-04-16 212 #define MODULE_DEVICE_TABLE(type, name) \ 6301939d Andrey Ryabinin 2015-02-13 @213 extern const typeof(name) __mod_##type##__##name##_device_table \ cff26a51 Rusty Russell 2014-02-03 214__attribute__ ((unused, alias(__stringify(name cff26a51 Rusty Russell 2014-02-03 215 #else /* !MODULE */ cff26a51 Rusty Russell 2014-02-03 216 #define MODULE_DEVICE_TABLE(type, name) :: The code at line 213 was first introduced by commit :: 6301939d97d079f0d3dbe71e750f4daf5d39fc33 module: fix types of device tables aliases :: TO: Andrey Ryabinin :: CC: Linus Torvalds --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: Binary data
[renesas-drivers:topic/renesas-overlays 18/87] (.text+0x21): multiple definition of `of_changeset_add_property_copy'
tree: https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git topic/renesas-overlays head: 1bebb616e30100a487cc295752fc575bbb35ef5e commit: 4787d76c83e84701506d2df7f08fb194dd7cf1c4 [18/87] of: changesets: Introduce changeset helper methods config: i386-tinyconfig (attached as .config) compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705 reproduce: git checkout 4787d76c83e84701506d2df7f08fb194dd7cf1c4 # save the attached .config to linux build tree make ARCH=i386 Note: the renesas-drivers/topic/renesas-overlays HEAD 1bebb616e30100a487cc295752fc575bbb35ef5e builds fine. It only hurts bisectibility. All errors (new ones prefixed by >>): init/mounts.o: In function `of_changeset_add_property_copy': >> (.text+0x21): multiple definition of `of_changeset_add_property_copy' init/main.o:main.c:(.text+0x19): first defined here init/mounts.o: In function `of_changeset_add_property_string': >> (.text+0x27): multiple definition of `of_changeset_add_property_string' init/main.o:main.c:(.text+0x1f): first defined here --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: Binary data
[renesas-drivers:topic/salvator-x-hdmi-prototype-v3 14233/14988] drivers/media/i2c/adv7482.c:1368:25: error: 'adv7482_of_ids' undeclared here (not in a function)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git topic/salvator-x-hdmi-prototype-v3 head: 9c8bcea840842aa5160e89e4bfd450021c26f524 commit: c585bda5a818d6c75430e57587c7e529395ddfbf [14233/14988] [media] i2c: adv7482: add adv7482 driver config: i386-allmodconfig (attached as .config) compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705 reproduce: git checkout c585bda5a818d6c75430e57587c7e529395ddfbf # save the attached .config to linux build tree make ARCH=i386 All errors (new ones prefixed by >>): In file included from drivers/media/i2c/adv7482.c:15:0: >> drivers/media/i2c/adv7482.c:1368:25: error: 'adv7482_of_ids' undeclared here >> (not in a function) MODULE_DEVICE_TABLE(of, adv7482_of_ids); ^ include/linux/module.h:213:21: note: in definition of macro 'MODULE_DEVICE_TABLE' extern const typeof(name) __mod_##type##__##name##_device_table \ ^~~~ >> include/linux/module.h:213:27: error: >> '__mod_of__adv7482_of_ids_device_table' aliased to undefined symbol >> 'adv7482_of_ids' extern const typeof(name) __mod_##type##__##name##_device_table \ ^ drivers/media/i2c/adv7482.c:1368:1: note: in expansion of macro 'MODULE_DEVICE_TABLE' MODULE_DEVICE_TABLE(of, adv7482_of_ids); ^~~ drivers/media/i2c/adv7482.c:807:12: warning: 'adv7482_query_dv_timings' defined but not used [-Wunused-function] static int adv7482_query_dv_timings(struct v4l2_subdev *sd, ^~~~ drivers/media/i2c/adv7482.c:795:12: warning: 'adv7482_g_dv_timings' defined but not used [-Wunused-function] static int adv7482_g_dv_timings(struct v4l2_subdev *sd, ^~~~ drivers/media/i2c/adv7482.c:761:12: warning: 'adv7482_s_dv_timings' defined but not used [-Wunused-function] static int adv7482_s_dv_timings(struct v4l2_subdev *sd, ^~~~ vim +/adv7482_of_ids +1368 drivers/media/i2c/adv7482.c 1362 }; 1363 1364 static const struct of_device_id adv7482_of_table[] = { 1365 { .compatible = "adi,adv7482", }, 1366 { } 1367 }; > 1368 MODULE_DEVICE_TABLE(of, adv7482_of_ids); 1369 1370 static struct i2c_driver adv7482_driver = { 1371 .driver = { --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: Binary data
[renesas-drivers:topic/salvator-x-hdmi-prototype-2016-08-30-v4.8-rc4 915/2661] drivers/media/i2c/adv7482.c:1368:1: error: '__mod_of__adv7482_of_ids_device_table' aliased to undefined symbol 'adv7482_o
tree: https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git topic/salvator-x-hdmi-prototype-2016-08-30-v4.8-rc4 head: 734ea84d5f5e0cb742993e87fb99f934b5719d38 commit: c585bda5a818d6c75430e57587c7e529395ddfbf [915/2661] [media] i2c: adv7482: add adv7482 driver config: tile-allmodconfig (attached as .config) compiler: tilegx-linux-gcc (GCC) 4.6.2 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 c585bda5a818d6c75430e57587c7e529395ddfbf # save the attached .config to linux build tree make.cross ARCH=tile All errors (new ones prefixed by >>): drivers/media/i2c/adv7482.c:1368:1: error: 'adv7482_of_ids' undeclared here (not in a function) drivers/media/i2c/adv7482.c:761:12: warning: 'adv7482_s_dv_timings' defined but not used [-Wunused-function] drivers/media/i2c/adv7482.c:795:12: warning: 'adv7482_g_dv_timings' defined but not used [-Wunused-function] drivers/media/i2c/adv7482.c:807:12: warning: 'adv7482_query_dv_timings' defined but not used [-Wunused-function] >> drivers/media/i2c/adv7482.c:1368:1: error: >> '__mod_of__adv7482_of_ids_device_table' aliased to undefined symbol >> 'adv7482_of_ids' vim +1368 drivers/media/i2c/adv7482.c 1362 }; 1363 1364 static const struct of_device_id adv7482_of_table[] = { 1365 { .compatible = "adi,adv7482", }, 1366 { } 1367 }; > 1368 MODULE_DEVICE_TABLE(of, adv7482_of_ids); 1369 1370 static struct i2c_driver adv7482_driver = { 1371 .driver = { --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: Binary data
[renesas:topic/sdhi-gen3-dma-v3.rebase 1/6] ERROR: "tmio_mmc_init_dma" [drivers/mmc/host/sh_mobile_sdhi.ko] undefined!
tree: https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git topic/sdhi-gen3-dma-v3.rebase head: 7865a530e8363ec2eaa051cd969bc82705213d03 commit: c15367c72eab4da84bcf8a084a12a0bd7db36ac2 [1/6] mmc: sh_mobile_sdhi, tmio: make dma more modular config: arm64-allmodconfig (attached as .config) compiler: aarch64-linux-gnu-gcc (Debian 5.4.0-6) 5.4.0 20160609 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 c15367c72eab4da84bcf8a084a12a0bd7db36ac2 # save the attached .config to linux build tree make.cross ARCH=arm64 Note: the renesas/topic/sdhi-gen3-dma-v3.rebase HEAD 7865a530e8363ec2eaa051cd969bc82705213d03 builds fine. It only hurts bisectibility. All errors (new ones prefixed by >>): >> ERROR: "tmio_mmc_init_dma" [drivers/mmc/host/sh_mobile_sdhi.ko] undefined! --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: Binary data
[renesas:topic/sdhi-gen3-dma-v3.rebase 5/6] ERROR: "sdhi_internal_dmac_init_dma" [drivers/mmc/host/sh_mobile_sdhi.ko] undefined!
tree: https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git topic/sdhi-gen3-dma-v3.rebase head: 7865a530e8363ec2eaa051cd969bc82705213d03 commit: 2298d8ff39cb6422a70e2168b9622a069497b490 [5/6] mmc: renesas_sdhi: add support for R-Car Gen3 SDHI DMAC config: arm64-allmodconfig (attached as .config) compiler: aarch64-linux-gnu-gcc (Debian 5.4.0-6) 5.4.0 20160609 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 2298d8ff39cb6422a70e2168b9622a069497b490 # save the attached .config to linux build tree make.cross ARCH=arm64 All errors (new ones prefixed by >>): ERROR: "sdhi_sys_dmac_init_dma" [drivers/mmc/host/sh_mobile_sdhi.ko] undefined! >> ERROR: "sdhi_internal_dmac_init_dma" [drivers/mmc/host/sh_mobile_sdhi.ko] >> undefined! --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: Binary data
[renesas-drivers:topic/gen3-latest 941/3738] drivers/media/i2c/adv7482.c:1368:25: error: 'adv7482_of_ids' undeclared here (not in a function)
Hi Niklas, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git topic/gen3-latest head: 5922f3ba5fa117f3a148a87644eb101abf9a1623 commit: c585bda5a818d6c75430e57587c7e529395ddfbf [941/3738] [media] i2c: adv7482: add adv7482 driver config: i386-allmodconfig (attached as .config) compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705 reproduce: git checkout c585bda5a818d6c75430e57587c7e529395ddfbf # save the attached .config to linux build tree make ARCH=i386 All errors (new ones prefixed by >>): In file included from drivers/media/i2c/adv7482.c:15:0: >> drivers/media/i2c/adv7482.c:1368:25: error: 'adv7482_of_ids' undeclared here >> (not in a function) MODULE_DEVICE_TABLE(of, adv7482_of_ids); ^ include/linux/module.h:213:21: note: in definition of macro 'MODULE_DEVICE_TABLE' extern const typeof(name) __mod_##type##__##name##_device_table \ ^~~~ >> include/linux/module.h:213:27: error: >> '__mod_of__adv7482_of_ids_device_table' aliased to undefined symbol >> 'adv7482_of_ids' extern const typeof(name) __mod_##type##__##name##_device_table \ ^ drivers/media/i2c/adv7482.c:1368:1: note: in expansion of macro 'MODULE_DEVICE_TABLE' MODULE_DEVICE_TABLE(of, adv7482_of_ids); ^~~ drivers/media/i2c/adv7482.c:807:12: warning: 'adv7482_query_dv_timings' defined but not used [-Wunused-function] static int adv7482_query_dv_timings(struct v4l2_subdev *sd, ^~~~ drivers/media/i2c/adv7482.c:795:12: warning: 'adv7482_g_dv_timings' defined but not used [-Wunused-function] static int adv7482_g_dv_timings(struct v4l2_subdev *sd, ^~~~ drivers/media/i2c/adv7482.c:761:12: warning: 'adv7482_s_dv_timings' defined but not used [-Wunused-function] static int adv7482_s_dv_timings(struct v4l2_subdev *sd, ^~~~ vim +/adv7482_of_ids +1368 drivers/media/i2c/adv7482.c 1362 }; 1363 1364 static const struct of_device_id adv7482_of_table[] = { 1365 { .compatible = "adi,adv7482", }, 1366 { } 1367 }; > 1368 MODULE_DEVICE_TABLE(of, adv7482_of_ids); 1369 1370 static struct i2c_driver adv7482_driver = { 1371 .driver = { --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: Binary data
[renesas-drivers:topic/spi-slave-v2-integration 5/8] ERROR: "signal_wake_up_state" [drivers/spi/spi-sh-msiof.ko] undefined!
tree: https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git topic/spi-slave-v2-integration head: 99f79882624a9a1c94c784d6359426069ed62c2e commit: 688a353f485dbed2c5c415b54170ebfa76677310 [5/8] [RFC] spi: sh-msiof: Add slave mode support config: i386-allmodconfig (attached as .config) compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705 reproduce: git checkout 688a353f485dbed2c5c415b54170ebfa76677310 # save the attached .config to linux build tree make ARCH=i386 All errors (new ones prefixed by >>): >> ERROR: "signal_wake_up_state" [drivers/spi/spi-sh-msiof.ko] undefined! --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: Binary data
[renesas-drivers:topic/renesas-overlays 2/85] drivers/of/configfs.c:48:2: error: implicit declaration of function 'of_fdt_unflatten_tree'
tree: https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git topic/renesas-overlays head: c62872358e9767f9b0d00fa4b023484d59e4ba65 commit: 3cc2e4a7426c6f0d2e4de08283737840ed495779 [2/85] OF: DT-Overlay configfs interface (v7) config: sparc64-allyesconfig (attached as .config) compiler: sparc64-linux-gnu-gcc (Debian 5.4.0-6) 5.4.0 20160609 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 3cc2e4a7426c6f0d2e4de08283737840ed495779 # save the attached .config to linux build tree make.cross ARCH=sparc64 All errors (new ones prefixed by >>): drivers/of/configfs.c: In function 'create_overlay': >> drivers/of/configfs.c:48:2: error: implicit declaration of function >> 'of_fdt_unflatten_tree' [-Werror=implicit-function-declaration] of_fdt_unflatten_tree(blob, NULL, &overlay->overlay); ^ In file included from include/linux/kernel.h:13:0, from include/linux/list.h:8, from include/linux/kobject.h:20, from include/linux/device.h:17, from include/linux/node.h:17, from include/linux/cpu.h:16, from drivers/of/configfs.c:12: drivers/of/configfs.c: In function 'cfs_overlay_item_dtbo_read': drivers/of/configfs.c:153:11: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'size_t {aka long unsigned int}' [-Wformat=] pr_debug("%s: buf=%p max_count=%u\n", __func__, ^ include/linux/printk.h:260:21: note: in definition of macro 'pr_fmt' #define pr_fmt(fmt) fmt ^ include/linux/printk.h:326:2: note: in expansion of macro 'dynamic_pr_debug' dynamic_pr_debug(fmt, ##__VA_ARGS__) ^ drivers/of/configfs.c:153:2: note: in expansion of macro 'pr_debug' pr_debug("%s: buf=%p max_count=%u\n", __func__, ^ cc1: some warnings being treated as errors vim +/of_fdt_unflatten_tree +48 drivers/of/configfs.c 42 43 static int create_overlay(struct cfs_overlay_item *overlay, void *blob) 44 { 45 int err; 46 47 /* unflatten the tree */ > 48 of_fdt_unflatten_tree(blob, NULL, &overlay->overlay); 49 if (overlay->overlay == NULL) { 50 pr_err("%s: failed to unflatten tree\n", __func__); 51 err = -EINVAL; --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: Binary data
[renesas-drivers:topic/gen3-latest 12/52] drivers/gpu/drm/i915/intel_ddi.c:453:3: error: 'n_hdmi_entries' undeclared
tree: https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git topic/gen3-latest head: c78265667b735cc07e53731abd2140d1bf4e7a41 commit: 8c26677f9f655eea278f4fc5395a3a0251db9c65 [12/52] Merge remote-tracking branch 'drm/drm-next' into renesas-drivers config: i386-allmodconfig (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: git checkout 8c26677f9f655eea278f4fc5395a3a0251db9c65 # save the attached .config to linux build tree make ARCH=i386 All errors (new ones prefixed by >>): drivers/gpu/drm/i915/intel_ddi.c: In function 'intel_prepare_dp_ddi_buffers': >> drivers/gpu/drm/i915/intel_ddi.c:453:3: error: 'n_hdmi_entries' undeclared >> (first use in this function) n_hdmi_entries = ARRAY_SIZE(bdw_ddi_translations_hdmi); ^~ drivers/gpu/drm/i915/intel_ddi.c:453:3: note: each undeclared identifier is reported only once for each function it appears in vim +/n_hdmi_entries +453 drivers/gpu/drm/i915/intel_ddi.c f8896f5d David Weinehall 2015-06-25 437ddi_translations_edp = 78ab0bae Ville Syrjälä 2015-12-08 438 skl_get_buf_trans_edp(dev_priv, &n_edp_entries); 32bdc400 Ville Syrjälä 2016-07-12 439 75067dde Antti Koskipaa 2015-07-10 440/* If we're boosting the current, set bit 31 of trans1 */ 1edaaa2f Ville Syrjälä 2016-07-12 441if (dev_priv->vbt.ddi_port_info[port].dp_boost_level) c110ae6c Ville Syrjälä 2016-07-12 442iboost_bit = DDI_BUF_BALANCE_LEG_ENABLE; 10afa0b6 Ville Syrjälä 2015-12-08 443 ceccad59 Ville Syrjälä 2016-01-12 444if (WARN_ON(encoder->type == INTEL_OUTPUT_EDP && ceccad59 Ville Syrjälä 2016-01-12 445port != PORT_A && port != PORT_E && ceccad59 Ville Syrjälä 2016-01-12 446 n_edp_entries > 9)) 10afa0b6 Ville Syrjälä 2015-12-08 447n_edp_entries = 9; 78ab0bae Ville Syrjälä 2015-12-08 448} else if (IS_BROADWELL(dev_priv)) { e58623cb Art Runyan 2013-11-02 449ddi_translations_fdi = bdw_ddi_translations_fdi; e58623cb Art Runyan 2013-11-02 450ddi_translations_dp = bdw_ddi_translations_dp; a930acd9 Ville Syrjälä 2016-07-12 451ddi_translations_edp = bdw_get_buf_trans_edp(dev_priv, &n_edp_entries); 7ad14a29 Sonika Jindal 2015-02-25 452n_dp_entries = ARRAY_SIZE(bdw_ddi_translations_dp); 10122051 Jani Nikula 2014-08-27 @453n_hdmi_entries = ARRAY_SIZE(bdw_ddi_translations_hdmi); 78ab0bae Ville Syrjälä 2015-12-08 454} else if (IS_HASWELL(dev_priv)) { e58623cb Art Runyan 2013-11-02 455ddi_translations_fdi = hsw_ddi_translations_fdi; e58623cb Art Runyan 2013-11-02 456ddi_translations_dp = hsw_ddi_translations_dp; 300644c7 Paulo Zanoni2013-11-02 457ddi_translations_edp = hsw_ddi_translations_dp; 7ad14a29 Sonika Jindal 2015-02-25 458n_dp_entries = n_edp_entries = ARRAY_SIZE(hsw_ddi_translations_dp); 10122051 Jani Nikula 2014-08-27 459n_hdmi_entries = ARRAY_SIZE(hsw_ddi_translations_hdmi); e58623cb Art Runyan 2013-11-02 460} else { e58623cb Art Runyan 2013-11-02 461WARN(1, "ddi translation table missing\n"); :: The code at line 453 was first introduced by commit :: 1012205182fb9470a1bd1620872103a09f566225 drm/i915/ddi: use struct for ddi buf translation tables :: TO: Jani Nikula :: CC: Daniel Vetter --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
[renesas-drivers:topic/renesas-overlays 2/85] drivers/of/configfs.c:48:2: error: implicit declaration of function 'of_fdt_unflatten_tree'
tree: https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git topic/renesas-overlays head: 0315c3f86cfcdd4575fc47ffd28e03a96bab4c49 commit: a01d53666eca78c35c67fd6facbd89116b7d9edc [2/85] OF: DT-Overlay configfs interface (v7) config: sparc-allmodconfig (attached as .config) compiler: sparc64-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705 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 a01d53666eca78c35c67fd6facbd89116b7d9edc # save the attached .config to linux build tree make.cross ARCH=sparc All errors (new ones prefixed by >>): drivers/of/configfs.c: In function 'create_overlay': >> drivers/of/configfs.c:48:2: error: implicit declaration of function >> 'of_fdt_unflatten_tree' [-Werror=implicit-function-declaration] of_fdt_unflatten_tree(blob, NULL, &overlay->overlay); ^ In file included from include/linux/kernel.h:13:0, from include/linux/list.h:8, from include/linux/kobject.h:20, from include/linux/device.h:17, from include/linux/node.h:17, from include/linux/cpu.h:16, from drivers/of/configfs.c:12: drivers/of/configfs.c: In function 'cfs_overlay_item_dtbo_read': drivers/of/configfs.c:153:11: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'size_t {aka long unsigned int}' [-Wformat=] pr_debug("%s: buf=%p max_count=%u\n", __func__, ^ include/linux/printk.h:260:21: note: in definition of macro 'pr_fmt' #define pr_fmt(fmt) fmt ^~~ include/linux/printk.h:308:2: note: in expansion of macro 'dynamic_pr_debug' dynamic_pr_debug(fmt, ##__VA_ARGS__) ^~~~ drivers/of/configfs.c:153:2: note: in expansion of macro 'pr_debug' pr_debug("%s: buf=%p max_count=%u\n", __func__, ^~~~ cc1: some warnings being treated as errors vim +/of_fdt_unflatten_tree +48 drivers/of/configfs.c 42 43 static int create_overlay(struct cfs_overlay_item *overlay, void *blob) 44 { 45 int err; 46 47 /* unflatten the tree */ > 48 of_fdt_unflatten_tree(blob, NULL, &overlay->overlay); 49 if (overlay->overlay == NULL) { 50 pr_err("%s: failed to unflatten tree\n", __func__); 51 err = -EINVAL; --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
[renesas-drivers:topic/gen3-latest 15/23] htmldocs: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git topic/gen3-latest head: 16609b0b44ac7ad775224e727c53e208336836e4 commit: c12058c404f2b908e86c6f6fe80d7112987b0941 [15/23] Merge branch 'histogram' of https://git.ragnatech.se/linux into renesas-drivers reproduce: make htmldocs All warnings (new ones prefixed by >>): >> warning: jobserver unavailable: using -j1. Add '+' to parent make rule. include/linux/init.h:1: warning: no structured comments found include/linux/workqueue.h:392: warning: No description found for parameter '...' include/linux/workqueue.h:392: warning: Excess function parameter 'args' description in 'alloc_workqueue' include/linux/workqueue.h:413: warning: No description found for parameter '...' include/linux/workqueue.h:413: warning: Excess function parameter 'args' description in 'alloc_ordered_workqueue' include/linux/kthread.h:26: warning: No description found for parameter '...' kernel/sys.c:1: warning: no structured comments found drivers/dma-buf/seqno-fence.c:1: warning: no structured comments found include/linux/fence-array.h:61: warning: No description found for parameter 'fence' include/sound/core.h:324: warning: No description found for parameter '...' include/sound/core.h:335: warning: No description found for parameter '...' include/sound/core.h:388: warning: No description found for parameter '...' include/media/media-entity.h:1054: warning: No description found for parameter '...' --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
[renesas:next-for-geert 92/122] arch/arm/boot/dts/r8a7745.dtsi:14:44: fatal error: dt-bindings/power/r8a7745-sysc.h: No such file or directory
tree: https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git next-for-geert head: f34ef8c6e7bc713a4a0110f84b4dff4855f6be25 commit: f8bc53dae2f6ceb9668f8e9db0b856146d4bdf38 [92/122] ARM: dts: sk-rzg1e: initial device tree config: arm-mv78xx0_defconfig (attached as .config) compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705 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 f8bc53dae2f6ceb9668f8e9db0b856146d4bdf38 # save the attached .config to linux build tree make.cross ARCH=arm Note: the renesas/next-for-geert HEAD f34ef8c6e7bc713a4a0110f84b4dff4855f6be25 builds fine. It only hurts bisectibility. All errors (new ones prefixed by >>): In file included from arch/arm/boot/dts/r8a7745-sk-rzg1e.dts:12:0: >> arch/arm/boot/dts/r8a7745.dtsi:14:44: fatal error: >> dt-bindings/power/r8a7745-sysc.h: No such file or directory #include ^ compilation terminated. vim +14 arch/arm/boot/dts/r8a7745.dtsi 89addbdbc Sergei Shtylyov 2016-11-05 1 /* 89addbdbc Sergei Shtylyov 2016-11-05 2 * Device Tree Source for the r8a7745 SoC 89addbdbc Sergei Shtylyov 2016-11-05 3 * 89addbdbc Sergei Shtylyov 2016-11-05 4 * Copyright (C) 2016 Cogent Embedded Inc. 89addbdbc Sergei Shtylyov 2016-11-05 5 * 89addbdbc Sergei Shtylyov 2016-11-05 6 * This file is licensed under the terms of the GNU General Public License 89addbdbc Sergei Shtylyov 2016-11-05 7 * version 2. This program is licensed "as is" without any warranty of any 89addbdbc Sergei Shtylyov 2016-11-05 8 * kind, whether express or implied. 89addbdbc Sergei Shtylyov 2016-11-05 9 */ 89addbdbc Sergei Shtylyov 2016-11-05 10 89addbdbc Sergei Shtylyov 2016-11-05 11 #include 89addbdbc Sergei Shtylyov 2016-11-05 12 #include 89addbdbc Sergei Shtylyov 2016-11-05 13 #include 89addbdbc Sergei Shtylyov 2016-11-05 @14 #include 89addbdbc Sergei Shtylyov 2016-11-05 15 89addbdbc Sergei Shtylyov 2016-11-05 16 / { 89addbdbc Sergei Shtylyov 2016-11-05 17compatible = "renesas,r8a7745"; 89addbdbc Sergei Shtylyov 2016-11-05 18#address-cells = <2>; 89addbdbc Sergei Shtylyov 2016-11-05 19#size-cells = <2>; 89addbdbc Sergei Shtylyov 2016-11-05 20 89addbdbc Sergei Shtylyov 2016-11-05 21cpus { 89addbdbc Sergei Shtylyov 2016-11-05 22#address-cells = <1>; :: The code at line 14 was first introduced by commit :: 89addbdbc93dc718293187bf1099460ce5bab07e ARM: dts: r8a7745: initial SoC device tree :: TO: Sergei Shtylyov :: CC: Simon Horman --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
[renesas-drivers:topic/renesas-overlays 18/89] (.text+0x21): multiple definition of `of_changeset_add_property_copy'
tree: https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git topic/renesas-overlays head: a1cbc059d0a208214bf7f30d522f2b642ba1a928 commit: 238a29fd337541df2445f9768a551e47ea81c572 [18/89] of: changesets: Introduce changeset helper methods config: i386-tinyconfig (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: git checkout 238a29fd337541df2445f9768a551e47ea81c572 # save the attached .config to linux build tree make ARCH=i386 Note: the renesas-drivers/topic/renesas-overlays HEAD a1cbc059d0a208214bf7f30d522f2b642ba1a928 builds fine. It only hurts bisectibility. All errors (new ones prefixed by >>): init/mounts.o: In function `of_changeset_add_property_copy': >> (.text+0x21): multiple definition of `of_changeset_add_property_copy' init/main.o:main.c:(.text+0x19): first defined here init/mounts.o: In function `of_changeset_add_property_string': >> (.text+0x27): multiple definition of `of_changeset_add_property_string' init/main.o:main.c:(.text+0x1f): first defined here --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
[renesas-drivers:topic/renesas-overlays 2/89] drivers/of/configfs.c:48:2: error: implicit declaration of function 'of_fdt_unflatten_tree'
tree: https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git topic/renesas-overlays head: a1cbc059d0a208214bf7f30d522f2b642ba1a928 commit: 1aa3421a4ea92f3a107ffea0663c920fb8c18097 [2/89] OF: DT-Overlay configfs interface (v7) config: sparc64-allyesconfig (attached as .config) compiler: sparc64-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705 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 1aa3421a4ea92f3a107ffea0663c920fb8c18097 # save the attached .config to linux build tree make.cross ARCH=sparc64 All errors (new ones prefixed by >>): drivers/of/configfs.c: In function 'create_overlay': >> drivers/of/configfs.c:48:2: error: implicit declaration of function >> 'of_fdt_unflatten_tree' [-Werror=implicit-function-declaration] of_fdt_unflatten_tree(blob, NULL, &overlay->overlay); ^ In file included from include/linux/kernel.h:13:0, from include/linux/list.h:8, from include/linux/kobject.h:20, from include/linux/device.h:17, from include/linux/node.h:17, from include/linux/cpu.h:16, from drivers/of/configfs.c:12: drivers/of/configfs.c: In function 'cfs_overlay_item_dtbo_read': drivers/of/configfs.c:153:11: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'size_t {aka long unsigned int}' [-Wformat=] pr_debug("%s: buf=%p max_count=%u\n", __func__, ^ include/linux/printk.h:261:21: note: in definition of macro 'pr_fmt' #define pr_fmt(fmt) fmt ^~~ include/linux/printk.h:309:2: note: in expansion of macro 'dynamic_pr_debug' dynamic_pr_debug(fmt, ##__VA_ARGS__) ^~~~ drivers/of/configfs.c:153:2: note: in expansion of macro 'pr_debug' pr_debug("%s: buf=%p max_count=%u\n", __func__, ^~~~ cc1: some warnings being treated as errors vim +/of_fdt_unflatten_tree +48 drivers/of/configfs.c 42 43 static int create_overlay(struct cfs_overlay_item *overlay, void *blob) 44 { 45 int err; 46 47 /* unflatten the tree */ > 48 of_fdt_unflatten_tree(blob, NULL, &overlay->overlay); 49 if (overlay->overlay == NULL) { 50 pr_err("%s: failed to unflatten tree\n", __func__); 51 err = -EINVAL; --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
[renesas-drivers:topic/renesas-overlays 33/89] WARNING: drivers/built-in.o(.text+0x20268f): Section mismatch in reference from the function generic_fixed_clk_probe() to the function .init.text:of_fixe
tree: https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git topic/renesas-overlays head: a1cbc059d0a208214bf7f30d522f2b642ba1a928 commit: 4cdd484c2b8423c10ecd22e98cd2f6998ce81e22 [33/89] clk: add generic driver for fixed rate clock config: i386-allyesconfig (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: git checkout 4cdd484c2b8423c10ecd22e98cd2f6998ce81e22 # save the attached .config to linux build tree make ARCH=i386 All warnings (new ones prefixed by >>): >> WARNING: drivers/built-in.o(.text+0x20268f): Section mismatch in reference >> from the function generic_fixed_clk_probe() to the function >> .init.text:of_fixed_clk_setup() The function generic_fixed_clk_probe() references the function __init of_fixed_clk_setup(). This is often because generic_fixed_clk_probe lacks a __init annotation or the annotation of of_fixed_clk_setup is wrong. --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
Re: [PATCH pci/next] PCI: rcar: Add gen3 fallback compatibility string for pcie-rcar
Hi Simon, [auto build test ERROR on pci/next] url: https://github.com/0day-ci/linux/commits/Simon-Horman/PCI-rcar-Add-gen3-fallback-compatibility-string-for-pcie-rcar/20161203-030440 base: https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git next config: arm64-allmodconfig (attached as .config) compiler: aarch64-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705 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 # save the attached .config to linux build tree make.cross ARCH=arm64 All errors (new ones prefixed by >>): >> drivers/pci/host/pcie-rcar.c:1081:12: error: 'rcar_pcie_hw_init_hw_init' >> undeclared here (not in a function) .data = rcar_pcie_hw_init_hw_init }, ^ vim +/rcar_pcie_hw_init_hw_init +1081 drivers/pci/host/pcie-rcar.c 1075.data = rcar_pcie_hw_init_gen2 }, 1076 { .compatible = "renesas,pcie-r8a7790", 1077.data = rcar_pcie_hw_init_gen2 }, 1078 { .compatible = "renesas,pcie-r8a7791", 1079.data = rcar_pcie_hw_init_gen2 }, 1080 { .compatible = "renesas,pcie-rcar-gen3", > 1081.data = rcar_pcie_hw_init_hw_init }, 1082 { .compatible = "renesas,pcie-r8a7795", .data = rcar_pcie_hw_init }, 1083 {}, 1084 }; --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
[renesas:soc-for-v4.11 3/8] make[4]: *** No rule to make target 'drivers/soc/renesas/renesas-soc.o', needed by 'drivers/soc/renesas/built-in.o'.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git soc-for-v4.11 head: d22b40a6a05125debadedf78d35ce172e92b96f5 commit: 68122e60d3a6d1e7e312909108b8459489393894 [3/8] Merge branch 'rcar-rst' of https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers into soc-for-v4.11 config: arm-allmodconfig (attached as .config) compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705 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 68122e60d3a6d1e7e312909108b8459489393894 # save the attached .config to linux build tree make.cross ARCH=arm All errors (new ones prefixed by >>): >> make[4]: *** No rule to make target 'drivers/soc/renesas/renesas-soc.o', >> needed by 'drivers/soc/renesas/built-in.o'. make[4]: Target '__build' not remade because of errors. --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
[renesas:soc-for-v4.17 6/6] drivers/soc/renesas/r8a77980-sysc.c:12:10: fatal error: dt-bindings/power/r8a77980-sysc.h: No such file or directory
tree: https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git soc-for-v4.17 head: 8b49a80541c565d5d8482f15350ab861f60455a1 commit: 8b49a80541c565d5d8482f15350ab861f60455a1 [6/6] soc: renesas: rcar-sysc: add R8A77980 support config: i386-allmodconfig (attached as .config) compiler: gcc-7 (Debian 7.3.0-1) 7.3.0 reproduce: git checkout 8b49a80541c565d5d8482f15350ab861f60455a1 # save the attached .config to linux build tree make ARCH=i386 All errors (new ones prefixed by >>): >> drivers/soc/renesas/r8a77980-sysc.c:12:10: fatal error: >> dt-bindings/power/r8a77980-sysc.h: No such file or directory #include ^~~ compilation terminated. vim +12 drivers/soc/renesas/r8a77980-sysc.c 11 > 12 #include 13 --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
Re: [PATCH v9 03/11] media: platform: Add Renesas CEU driver
Hi Jacopo, Thank you for the patch! Yet something to improve: [auto build test ERROR on linuxtv-media/master] [also build test ERROR on v4.16-rc2 next-20180220] [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/Jacopo-Mondi/Renesas-Capture-Engine-Unit-CEU-V4L2-driver/20180220-101027 base: git://linuxtv.org/media_tree.git master config: i386-allmodconfig (attached as .config) compiler: gcc-7 (Debian 7.3.0-1) 7.3.0 reproduce: # save the attached .config to linux build tree make ARCH=i386 All errors (new ones prefixed by >>): drivers/media/platform/renesas-ceu.c: In function 'ceu_g_parm': >> drivers/media/platform/renesas-ceu.c:1177:9: error: implicit declaration of >> function 'v4l2_g_parm_cap'; did you mean 'v4l2_g_ctrl'? >> [-Werror=implicit-function-declaration] return v4l2_g_parm_cap(video_devdata(file), ceudev->sd->v4l2_sd, a); ^~~ v4l2_g_ctrl drivers/media/platform/renesas-ceu.c: In function 'ceu_s_parm': >> drivers/media/platform/renesas-ceu.c:1184:9: error: implicit declaration of >> function 'v4l2_s_parm_cap'; did you mean 'v4l2_s_ctrl'? >> [-Werror=implicit-function-declaration] return v4l2_s_parm_cap(video_devdata(file), ceudev->sd->v4l2_sd, a); ^~~ v4l2_s_ctrl drivers/media/platform/renesas-ceu.c: In function 'ceu_start_streaming': drivers/media/platform/renesas-ceu.c:290:2: warning: 'cdwdr' may be used uninitialized in this function [-Wmaybe-uninitialized] iowrite32(data, priv->base + reg_offs); ^~ drivers/media/platform/renesas-ceu.c:338:27: note: 'cdwdr' was declared here u32 camcr, cdocr, cfzsr, cdwdr, capwr; ^ drivers/media/platform/renesas-ceu.c:290:2: warning: 'cfzsr' may be used uninitialized in this function [-Wmaybe-uninitialized] iowrite32(data, priv->base + reg_offs); ^~ drivers/media/platform/renesas-ceu.c:338:20: note: 'cfzsr' was declared here u32 camcr, cdocr, cfzsr, cdwdr, capwr; ^ drivers/media/platform/renesas-ceu.c:418:8: warning: 'camcr' may be used uninitialized in this function [-Wmaybe-uninitialized] camcr |= mbus_flags & V4L2_MBUS_HSYNC_ACTIVE_LOW ? 1 << 0 : 0; ~~^~~ drivers/media/platform/renesas-ceu.c:338:6: note: 'camcr' was declared here u32 camcr, cdocr, cfzsr, cdwdr, capwr; ^ drivers/media/platform/renesas-ceu.c: In function 'ceu_probe': drivers/media/platform/renesas-ceu.c:1623:9: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized] return ret; ^~~ cc1: some warnings being treated as errors vim +1177 drivers/media/platform/renesas-ceu.c 1172 1173 static int ceu_g_parm(struct file *file, void *fh, struct v4l2_streamparm *a) 1174 { 1175 struct ceu_device *ceudev = video_drvdata(file); 1176 > 1177 return v4l2_g_parm_cap(video_devdata(file), > ceudev->sd->v4l2_sd, a); 1178 } 1179 1180 static int ceu_s_parm(struct file *file, void *fh, struct v4l2_streamparm *a) 1181 { 1182 struct ceu_device *ceudev = video_drvdata(file); 1183 > 1184 return v4l2_s_parm_cap(video_devdata(file), > ceudev->sd->v4l2_sd, a); 1185 } 1186 --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
Re: [PATCH v9 07/11] media: i2c: ov772x: Support frame interval handling
Hi Jacopo, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on linuxtv-media/master] [also build test WARNING on v4.16-rc2 next-20180220] [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/Jacopo-Mondi/Renesas-Capture-Engine-Unit-CEU-V4L2-driver/20180220-101027 base: git://linuxtv.org/media_tree.git master config: i386-allmodconfig (attached as .config) compiler: gcc-7 (Debian 7.3.0-1) 7.3.0 reproduce: # save the attached .config to linux build tree make ARCH=i386 Note: it may well be a FALSE warning. FWIW you are at least aware of it now. http://gcc.gnu.org/wiki/Better_Uninitialized_Warnings All warnings (new ones prefixed by >>): drivers/media/i2c/ov772x.c: In function 'ov772x_set_frame_rate.isra.2': >> drivers/media/i2c/ov772x.c:643:7: warning: 'fsize' may be used uninitialized >> in this function [-Wmaybe-uninitialized] pclk = fps * fsize; ~^ vim +/fsize +643 drivers/media/i2c/ov772x.c 604 605 static int ov772x_set_frame_rate(struct ov772x_priv *priv, 606 struct v4l2_fract *tpf, 607 const struct ov772x_color_format *cfmt, 608 const struct ov772x_win_size *win) 609 { 610 struct i2c_client *client = v4l2_get_subdevdata(&priv->subdev); 611 unsigned long fin = clk_get_rate(priv->clk); 612 unsigned int fps = tpf->numerator ? 613 tpf->denominator / tpf->numerator : 614 tpf->denominator; 615 unsigned int best_diff; 616 unsigned int fsize; 617 unsigned int pclk; 618 unsigned int diff; 619 unsigned int idx; 620 unsigned int i; 621 u8 clkrc = 0; 622 u8 com4 = 0; 623 int ret; 624 625 /* Approximate to the closest supported frame interval. */ 626 best_diff = ~0L; 627 for (i = 0, idx = 0; i < OV772X_N_FRAME_INTERVALS; i++) { 628 diff = abs(fps - ov772x_frame_intervals[i]); 629 if (diff < best_diff) { 630 idx = i; 631 best_diff = diff; 632 } 633 } 634 fps = ov772x_frame_intervals[idx]; 635 636 /* Use image size (with blankings) to calculate desired pixel clock. */ 637 if ((cfmt->com7 & OFMT_MASK) == OFMT_RGB || 638 (cfmt->com7 & OFMT_MASK) == OFMT_YUV) 639 fsize = win->sizeimage * 2; 640 else if ((cfmt->com7 & OFMT_MASK) == OFMT_BRAW) 641 fsize = win->sizeimage; 642 > 643 pclk = fps * fsize; 644 645 /* 646 * Pixel clock generation circuit is pretty simple: 647 * 648 * Fin -> [ / CLKRC_div] -> [ * PLL_mult] -> pclk 649 * 650 * Try to approximate the desired pixel clock testing all available 651 * PLL multipliers (1x, 4x, 6x, 8x) and calculate corresponding 652 * divisor with: 653 * 654 * div = PLL_mult * Fin / pclk 655 * 656 * and re-calculate the pixel clock using it: 657 * 658 * pclk = Fin * PLL_mult / CLKRC_div 659 * 660 * Choose the PLL_mult and CLKRC_div pair that gives a pixel clock 661 * closer to the desired one. 662 * 663 * The desired pixel clock is calculated using a known frame size 664 * (blanking included) and FPS. 665 */ 666 best_diff = ~0L; 667 for (i = 0; i < ARRAY_SIZE(ov772x_pll); i++) { 668 unsigned int pll_mult = ov772x_pll[i].mult; 669 unsigned int pll_out = pll_mult * fin; 670 unsigned int t_pclk; 671 unsigned int div; 672 673 if (pll_out < pclk) 674 continue; 675 676 div = DIV_ROUND_CLOSEST(pll_out, pclk); 677 t_pclk = DIV_ROUND_CLOSEST(fin * pll_mult, div); 678 diff = abs(pclk - t_pclk); 679 if (diff < best_diff) { 680 best_diff = diff; 681 clkrc = CLKRC_DIV(div); 682 com4 = ov772x_pll[i].com4; 683 } 684 } 685 686 ret = ov772x_write(client, COM4, com4 | COM4_RESERVED); 687 if (ret < 0) 688 return ret; 689 690 ret = ov772x_write(client, CLKRC, clkrc | CLKRC_RESERVED); 691 if (ret < 0) 692
[RFC PATCH] media: i2c: ov772x: ov772x_frame_intervals[] can be static
Fixes: 42b7d5be5f1f ("media: i2c: ov772x: Support frame interval handling") Signed-off-by: Fengguang Wu --- ov772x.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/i2c/ov772x.c b/drivers/media/i2c/ov772x.c index eba71d97..0d8ce2a 100644 --- a/drivers/media/i2c/ov772x.c +++ b/drivers/media/i2c/ov772x.c @@ -532,7 +532,7 @@ static const struct ov772x_win_size ov772x_win_sizes[] = { /* * frame rate settings lists */ -unsigned int ov772x_frame_intervals[] = { 5, 10, 15, 20, 30, 60 }; +static unsigned int ov772x_frame_intervals[] = { 5, 10, 15, 20, 30, 60 }; #define OV772X_N_FRAME_INTERVALS ARRAY_SIZE(ov772x_frame_intervals) /*
Re: [PATCH v9 07/11] media: i2c: ov772x: Support frame interval handling
Hi Jacopo, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on linuxtv-media/master] [also build test WARNING on v4.16-rc2 next-20180220] [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/Jacopo-Mondi/Renesas-Capture-Engine-Unit-CEU-V4L2-driver/20180220-101027 base: git://linuxtv.org/media_tree.git master reproduce: # apt-get install sparse make ARCH=x86_64 allmodconfig make C=1 CF=-D__CHECK_ENDIAN__ sparse warnings: (new ones prefixed by >>) >> drivers/media/i2c/ov772x.c:386:3: sparse: symbol 'ov772x_pll' was not >> declared. Should it be >> drivers/media/i2c/ov772x.c:535:14: sparse: symbol 'ov772x_frame_intervals' >> was not declared. Should it be drivers/media/i2c/ov772x.c: In function 'ov772x_set_frame_rate.isra.2': drivers/media/i2c/ov772x.c:643:7: warning: 'fsize' may be used uninitialized in this function pclk = fps COPYING CREDITS Documentation Kbuild Kconfig LICENSES MAINTAINERS Makefile README arch block certs crypto drivers firmware fs include init ipc kernel lib mm net samples scripts security sound tools usr virt fsize; ~^ Please review and possibly fold the followup patch. --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
[RFC PATCH renesas-drivers] media: vsp1: vsp1_dl_cmd_pool_create can be static
Fixes: 02dcefdd58c7 ("media: vsp1: Provide support for extended command pools") Signed-off-by: Fengguang Wu --- vsp1_dl.c |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/media/platform/vsp1/vsp1_dl.c b/drivers/media/platform/vsp1/vsp1_dl.c index 6d17b8b..7b99d47 100644 --- a/drivers/media/platform/vsp1/vsp1_dl.c +++ b/drivers/media/platform/vsp1/vsp1_dl.c @@ -392,7 +392,7 @@ struct vsp1_extended_command_info { * * Return a pointer to a pool on success or NULL if memory can't be allocated. */ -struct vsp1_dl_cmd_pool * +static struct vsp1_dl_cmd_pool * vsp1_dl_cmd_pool_create(struct vsp1_device *vsp1, enum vsp1_extcmd_type type, unsigned int num_cmds) { @@ -450,7 +450,7 @@ vsp1_dl_cmd_pool_create(struct vsp1_device *vsp1, enum vsp1_extcmd_type type, return pool; } -struct vsp1_dl_ext_cmd *vsp1_dl_ext_cmd_get(struct vsp1_dl_cmd_pool *pool) +static struct vsp1_dl_ext_cmd *vsp1_dl_ext_cmd_get(struct vsp1_dl_cmd_pool *pool) { struct vsp1_dl_ext_cmd *cmd = NULL; unsigned long flags; @@ -468,7 +468,7 @@ struct vsp1_dl_ext_cmd *vsp1_dl_ext_cmd_get(struct vsp1_dl_cmd_pool *pool) return cmd; } -void vsp1_dl_ext_cmd_put(struct vsp1_dl_ext_cmd *cmd) +static void vsp1_dl_ext_cmd_put(struct vsp1_dl_ext_cmd *cmd) { unsigned long flags; @@ -483,7 +483,7 @@ void vsp1_dl_ext_cmd_put(struct vsp1_dl_ext_cmd *cmd) spin_unlock_irqrestore(&cmd->pool->lock, flags); } -void vsp1_dl_ext_cmd_pool_destroy(struct vsp1_dl_cmd_pool *pool) +static void vsp1_dl_ext_cmd_pool_destroy(struct vsp1_dl_cmd_pool *pool) { if (!pool) return;
[renesas-drivers:master 4329/4669] drivers/media/platform/vsp1/vsp1_dl.c:378:3: sparse: symbol 'vsp1_extended_commands' was not declared. Should it be static?
tree: https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git master head: b67ea3b553661cb76397afbf73701c3ea14b19de commit: 02dcefdd58c734623b9caf2513316380feb9f993 [4329/4669] media: vsp1: Provide support for extended command pools reproduce: # apt-get install sparse git checkout 02dcefdd58c734623b9caf2513316380feb9f993 make ARCH=x86_64 allmodconfig make C=1 CF=-D__CHECK_ENDIAN__ sparse warnings: (new ones prefixed by >>) >> drivers/media/platform/vsp1/vsp1_dl.c:378:3: sparse: symbol >> 'vsp1_extended_commands' was not declared. Should it be static? >> drivers/media/platform/vsp1/vsp1_dl.c:395:25: sparse: symbol >> 'vsp1_dl_cmd_pool_create' was not declared. Should it be static? >> drivers/media/platform/vsp1/vsp1_dl.c:453:24: sparse: symbol >> 'vsp1_dl_ext_cmd_get' was not declared. Should it be static? >> drivers/media/platform/vsp1/vsp1_dl.c:471:6: sparse: symbol >> 'vsp1_dl_ext_cmd_put' was not declared. Should it be static? >> drivers/media/platform/vsp1/vsp1_dl.c:486:6: sparse: symbol >> 'vsp1_dl_ext_cmd_pool_destroy' was not declared. Should it be static? Please review and possibly fold the followup patch. --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Re: [PATCH v3 5/8] arm: shmobile: Add the RZ/N1 arch to the shmobile Kconfig
Hi Michel, Thank you for the patch! Yet something to improve: [auto build test ERROR on renesas/devel] [also build test ERROR on v4.16-rc7 next-20180329] [cannot apply to robh/for-next power-supply/for-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/Michel-Pollet/arm-Base-support-for-Renesas-RZN1D-DB-Board/20180330-103029 base: https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git devel config: arm-allmodconfig (attached as .config) compiler: arm-linux-gnueabi-gcc (Debian 7.2.0-11) 7.2.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree make.cross ARCH=arm All error/warnings (new ones prefixed by >>): drivers/power/reset/rzn1-reboot.c: In function 'rzn1_reboot_probe': >> drivers/power/reset/rzn1-reboot.c:70:2: warning: this 'if' clause does not >> guard... [-Wmisleading-indentation] if (!parent || !parent->of_node) ^~ drivers/power/reset/rzn1-reboot.c:72:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return -ENODEV; ^~ drivers/power/reset/rzn1-reboot.c:66:6: warning: unused variable 'err' [-Wunused-variable] int err; ^~~ drivers/power/reset/rzn1-reboot.c: At top level: >> drivers/power/reset/rzn1-reboot.c:74:2: warning: data definition has no type >> or storage class sysctrl = syscon_node_to_regmap(parent->of_node); ^~~ >> drivers/power/reset/rzn1-reboot.c:74:2: error: type defaults to 'int' in >> declaration of 'sysctrl' [-Werror=implicit-int] >> drivers/power/reset/rzn1-reboot.c:74:2: error: conflicting types for >> 'sysctrl' drivers/power/reset/rzn1-reboot.c:37:23: note: previous declaration of 'sysctrl' was here static struct regmap *sysctrl; ^~~ >> drivers/power/reset/rzn1-reboot.c:74:34: error: 'parent' undeclared here >> (not in a function); did you mean 'pte_t'? sysctrl = syscon_node_to_regmap(parent->of_node); ^~ pte_t >> drivers/power/reset/rzn1-reboot.c:75:2: error: expected identifier or '(' >> before 'if' if (IS_ERR(sysctrl)) { ^~ drivers/power/reset/rzn1-reboot.c:79:2: warning: data definition has no type or storage class err = register_restart_handler(&rzn1_reboot_nb); ^~~ >> drivers/power/reset/rzn1-reboot.c:79:2: error: type defaults to 'int' in >> declaration of 'err' [-Werror=implicit-int] >> drivers/power/reset/rzn1-reboot.c:79:8: error: initializer element is not >> constant err = register_restart_handler(&rzn1_reboot_nb); ^~~~ drivers/power/reset/rzn1-reboot.c:80:2: error: expected identifier or '(' before 'if' if (err) { ^~ >> drivers/power/reset/rzn1-reboot.c:85:2: error: expected identifier or '(' >> before 'return' return err; ^~ >> drivers/power/reset/rzn1-reboot.c:86:1: error: expected identifier or '(' >> before '}' token } ^ cc1: some warnings being treated as errors vim +74 drivers/power/reset/rzn1-reboot.c a673cd20 Michel Pollet 2018-03-29 63 a673cd20 Michel Pollet 2018-03-29 64 static int rzn1_reboot_probe(struct platform_device *pdev) a673cd20 Michel Pollet 2018-03-29 65 { a673cd20 Michel Pollet 2018-03-29 @66 int err; a673cd20 Michel Pollet 2018-03-29 67 struct device *parent; a673cd20 Michel Pollet 2018-03-29 68 a673cd20 Michel Pollet 2018-03-29 69 parent = pdev->dev.parent; a673cd20 Michel Pollet 2018-03-29 @70 if (!parent || !parent->of_node) a673cd20 Michel Pollet 2018-03-29 71 dev_err(&pdev->dev, "couldn't find sysctrl node\n"); a673cd20 Michel Pollet 2018-03-29 @72 return -ENODEV; a673cd20 Michel Pollet 2018-03-29 73 } a673cd20 Michel Pollet 2018-03-29 @74 sysctrl = syscon_node_to_regmap(parent->of_node); a673cd20 Michel Pollet 2018-03-29 @75 if (IS_ERR(sysctrl)) { a673cd20 Michel Pollet 2018-03-29 76 dev_err(&pdev->dev, "couldn't find find regmap\n"); a673cd20 Michel Pollet 2018-03-29 77 return PTR_ERR(sysctrl); a673cd20 Michel Pollet 2018-03-29 78 } a673cd20 Michel Pollet 2018-03-29 @79 err = register_restart_handler(&rzn1_reboot_nb); a673cd20 Michel Pollet 2018-03-29 80 if (err) { a673cd20 Michel Pollet 2018-03-29 81 dev_err(&pdev->dev, "register restart handler failed(err=%d)\n", a673cd20 Michel Pollet 2018-03-29 82 err); a673cd20 Michel Pollet 2018-03-29 83 } a673cd20 Michel Pollet 2018-03-29 84 a673cd20 Michel Pollet 2018-03-29 @85 return err; a673cd20 Michel Pollet 2018-03-29 @86 } a673cd20 Michel Pollet 2018-03-29 87 :: The code at line 74 was first introduced by commit :: a673cd202aba192
Re: [PATCH v2 1/2] gpio: dwapb: Add support for 1 interrupt per port A GPIO
Hi Phil, Thank you for the patch! Yet something to improve: [auto build test ERROR on gpio/for-next] [also build test ERROR on v4.16 next-20180413] [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/Phil-Edworthy/gpio-dwapb-Add-support-for-1-interrupt-per-port-A-GPIO/20180414-042450 base: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio.git for-next config: sparc64-allyesconfig (attached as .config) compiler: sparc64-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree make.cross ARCH=sparc64 All errors (new ones prefixed by >>): drivers/gpio/gpio-dwapb.o: In function `dwapb_gpio_probe': >> gpio-dwapb.c:(.text+0x1444): undefined reference to `of_irq_parse_one' `.exit.data' referenced in section `.exit.text' of drivers/tty/n_hdlc.o: defined in discarded section `.exit.data' of drivers/tty/n_hdlc.o `.exit.data' referenced in section `.exit.text' of drivers/tty/n_hdlc.o: defined in discarded section `.exit.data' of drivers/tty/n_hdlc.o `.exit.data' referenced in section `.exit.text' of drivers/tty/n_hdlc.o: defined in discarded section `.exit.data' of drivers/tty/n_hdlc.o `.exit.data' referenced in section `.exit.text' of drivers/tty/n_hdlc.o: defined in discarded section `.exit.data' of drivers/tty/n_hdlc.o --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
Re: [PATCH v2 1/2] gpio: dwapb: Add support for 1 interrupt per port A GPIO
Hi Phil, Thank you for the patch! Yet something to improve: [auto build test ERROR on gpio/for-next] [also build test ERROR on v4.16 next-20180413] [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/Phil-Edworthy/gpio-dwapb-Add-support-for-1-interrupt-per-port-A-GPIO/20180414-042450 base: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio.git for-next config: x86_64-randconfig-ne0-04140637 (attached as .config) compiler: gcc-6 (Debian 6.4.0-9) 6.4.0 20171026 reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All errors (new ones prefixed by >>): >> ERROR: "of_irq_parse_one" [drivers/gpio/gpio-dwapb.ko] undefined! --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
Re: [PATCH v6 01/11] ARM: sunxi: smp: Move assembly code into a file
Hi Mylène, Thank you for the patch! Yet something to improve: [auto build test ERROR on arm-soc/for-next] [also build test ERROR on v4.17-rc1 next-20180416] [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/Myl-ne-Josserand/Sunxi-Add-SMP-support-on-A83T/20180417-113911 base: https://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc.git for-next config: arm-sunxi_defconfig (attached as .config) compiler: arm-linux-gnueabi-gcc (Debian 7.2.0-11) 7.2.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree make.cross ARCH=arm All errors (new ones prefixed by >>): include/asm-generic/bitops/sched.h:14: Error: junk at end of line, first unrecognized character is `{' include/asm-generic/bitops/sched.h:20: Error: bad instruction `if (b[0])' include/asm-generic/bitops/sched.h:21: Error: bad instruction `return __ffs(b[0])' include/asm-generic/bitops/sched.h:22: Error: bad instruction `if (b[1])' include/asm-generic/bitops/sched.h:23: Error: bad instruction `return __ffs(b[1])+32' include/asm-generic/bitops/sched.h:24: Error: bad instruction `if (b[2])' include/asm-generic/bitops/sched.h:25: Error: bad instruction `return __ffs(b[2])+64' include/asm-generic/bitops/sched.h:26: Error: bad instruction `return __ffs(b[3])+96' include/asm-generic/bitops/sched.h:30: Error: junk at end of line, first unrecognized character is `}' include/asm-generic/bitops/arch_hweight.h:7: Error: bad instruction `static inline unsigned int __arch_hweight32(unsigned int w)' include/asm-generic/bitops/arch_hweight.h:8: Error: junk at end of line, first unrecognized character is `{' include/asm-generic/bitops/arch_hweight.h:9: Error: bad instruction `return __sw_hweight32(w)' include/asm-generic/bitops/arch_hweight.h:10: Error: junk at end of line, first unrecognized character is `}' include/asm-generic/bitops/arch_hweight.h:12: Error: bad instruction `static inline unsigned int __arch_hweight16(unsigned int w)' include/asm-generic/bitops/arch_hweight.h:13: Error: junk at end of line, first unrecognized character is `{' include/asm-generic/bitops/arch_hweight.h:14: Error: bad instruction `return __sw_hweight16(w)' include/asm-generic/bitops/arch_hweight.h:15: Error: junk at end of line, first unrecognized character is `}' include/asm-generic/bitops/arch_hweight.h:17: Error: bad instruction `static inline unsigned int __arch_hweight8(unsigned int w)' include/asm-generic/bitops/arch_hweight.h:18: Error: junk at end of line, first unrecognized character is `{' include/asm-generic/bitops/arch_hweight.h:19: Error: bad instruction `return __sw_hweight8(w)' include/asm-generic/bitops/arch_hweight.h:20: Error: junk at end of line, first unrecognized character is `}' include/asm-generic/bitops/arch_hweight.h:22: Error: bad instruction `static inline unsigned long __arch_hweight64(__u64 w)' include/asm-generic/bitops/arch_hweight.h:23: Error: junk at end of line, first unrecognized character is `{' include/asm-generic/bitops/arch_hweight.h:24: Error: bad instruction `return __sw_hweight64(w)' include/asm-generic/bitops/arch_hweight.h:25: Error: junk at end of line, first unrecognized character is `}' include/asm-generic/bitops/find.h:30: Error: bad instruction `extern unsigned long find_next_and_bit(const unsigned long*addr1,' include/asm-generic/bitops/find.h:31: Error: bad instruction `const unsigned long*addr2,unsigned long size,' include/asm-generic/bitops/find.h:32: Error: bad instruction `unsigned long offset)' arch/arm/include/asm/swab.h:23: Error: bad instruction `static inline __u32 __arch_swahb32(__u32 x)' arch/arm/include/asm/swab.h:24: Error: junk at end of line, first unrecognized character is `{' arch/arm/include/asm/swab.h:25: Error: bad instruction `__asm__ ("rev16 %0, %1":"=r"(x):"r"(x))' arch/arm/include/asm/swab.h:26: Error: bad instruction `return x' arch/arm/include/asm/swab.h:27: Error: junk at end of line, first unrecognized character is `}' arch/arm/include/asm/swab.h:31: Error: bad instruction `static inline __u32 __arch_swab32(__u32 x)' arch/arm/include/asm/swab.h:32: Error: junk at end of line, first unrecognized character is `{' arch/arm/include/asm/swab.h:33: Error: bad instruction `__asm__ ("rev %0, %1":"=r"(x):"r"(x))' arch/arm/include/asm/swab.h:34: Error: bad instruction `return x' arch/arm/include/asm/swab.h:35: Error: junk at end of line, first unrecognized character is `}' include/uapi/linux/swab.h:47: Error: bad instruction `static inline __u16 __fswab16(__u16 val)' include/uapi/linux/swab.h:48: Error: junk at end of line, first unrecognized character is `{' include/uapi/linux/swab.h:50: Error
Re: [PATCH v6 01/11] ARM: sunxi: smp: Move assembly code into a file
Hi Mylène, Thank you for the patch! Yet something to improve: [auto build test ERROR on arm-soc/for-next] [also build test ERROR on v4.17-rc1 next-20180417] [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/Myl-ne-Josserand/Sunxi-Add-SMP-support-on-A83T/20180417-113911 base: https://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc.git for-next config: arm-allmodconfig (attached as .config) compiler: arm-linux-gnueabi-gcc (Debian 7.2.0-11) 7.2.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree make.cross ARCH=arm All error/warnings (new ones prefixed by >>): In file included from arch/arm/include/asm/cputype.h:6:0, from arch/arm/mach-sunxi/headsmp.S:15: >> include/linux/kernel.h:57:0: warning: "ALIGN" redefined #define ALIGN(x, a) __ALIGN_KERNEL((x), (a)) In file included from arch/arm/mach-sunxi/headsmp.S:13:0: include/linux/linkage.h:79:0: note: this is the location of the previous definition #define ALIGN __ALIGN /usr/lib/gcc-cross/arm-linux-gnueabi/7/include/stdarg.h: Assembler messages: >> /usr/lib/gcc-cross/arm-linux-gnueabi/7/include/stdarg.h:40: Error: bad >> instruction `typedef __builtin_va_list __gnuc_va_list' >> /usr/lib/gcc-cross/arm-linux-gnueabi/7/include/stdarg.h:99: Error: bad >> instruction `typedef __gnuc_va_list va_list' >> include/linux/stddef.h:10: Error: bad instruction `enum {' >> include/linux/stddef.h:11: Error: junk at end of line, first unrecognized >> character is `,' include/linux/stddef.h:13: Error: junk at end of line, first unrecognized character is `}' >> include/linux/bitops.h:29: Error: bad instruction `extern unsigned int >> __sw_hweight8(unsigned int w)' >> include/linux/bitops.h:30: Error: bad instruction `extern unsigned int >> __sw_hweight16(unsigned int w)' >> include/linux/bitops.h:31: Error: bad instruction `extern unsigned int >> __sw_hweight32(unsigned int w)' >> include/linux/bitops.h:32: Error: bad instruction `extern unsigned long >> __sw_hweight64(__u64 w)' >> arch/arm/include/asm/irqflags.h:25: Error: bad instruction `static inline >> unsigned long arch_local_irq_save(void)' >> arch/arm/include/asm/irqflags.h:26: Error: junk at end of line, first >> unrecognized character is `{' >> arch/arm/include/asm/irqflags.h:27: Error: bad instruction `unsigned long >> flags' >> arch/arm/include/asm/irqflags.h:29: Error: bad instruction `asm volatile(' arch/arm/include/asm/irqflags.h:30: Error: bad instruction ` mrs %0, ""cpsr""@ arch_local_irq_save\n"' >> arch/arm/include/asm/irqflags.h:31: Error: bad instruction ` cpsid i"' >> arch/arm/include/asm/irqflags.h:32: Error: junk at end of line, first >> unrecognized character is `:' >> arch/arm/include/asm/irqflags.h:33: Error: bad instruction `return flags' arch/arm/include/asm/irqflags.h:34: Error: junk at end of line, first unrecognized character is `}' >> arch/arm/include/asm/irqflags.h:37: Error: bad instruction `static inline >> void arch_local_irq_enable(void)' arch/arm/include/asm/irqflags.h:38: Error: junk at end of line, first unrecognized character is `{' arch/arm/include/asm/irqflags.h:39: Error: bad instruction `asm volatile(' >> arch/arm/include/asm/irqflags.h:40: Error: bad instruction ` cpsie i >> @ arch_local_irq_enable"' arch/arm/include/asm/irqflags.h:41: Error: junk at end of line, first unrecognized character is `:' arch/arm/include/asm/irqflags.h:42: Error: junk at end of line, first unrecognized character is `:' arch/arm/include/asm/irqflags.h:43: Error: junk at end of line, first unrecognized character is `:' arch/arm/include/asm/irqflags.h:44: Error: junk at end of line, first unrecognized character is `}' >> arch/arm/include/asm/irqflags.h:47: Error: bad instruction `static inline >> void arch_local_irq_disable(void)' arch/arm/include/asm/irqflags.h:48: Error: junk at end of line, first unrecognized character is `{' arch/arm/include/asm/irqflags.h:49: Error: bad instruction `asm volatile(' >> arch/arm/include/asm/irqflags.h:50: Error: bad instruction ` cpsid i >> @ arch_local_irq_disable"' arch/arm/include/asm/irqflags.h:51: Error: junk at end of line, first unrecognized character is `:' arch/arm/include/asm/irqflags.h:52: Error: junk at end of line, first unrecognized character is `:' arch/arm/include/asm/irqflags.h:53: Error: junk at end of line, first unrecognized character is `:' arch/arm/include/asm/irqflags.h:54: Error: junk at end of line, first unrecognized character is `}' --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Descri
[RFC PATCH renesas] mmc: tmio: tmio_mmc_prepare_hs400_tuning() can be static
Fixes: 485c8281e412 ("mmc: tmio: add eMMC HS400 mode support") Signed-off-by: Fengguang Wu --- tmio_mmc_core.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/mmc/host/tmio_mmc_core.c b/drivers/mmc/host/tmio_mmc_core.c index 4a83320..cd7afa9 100644 --- a/drivers/mmc/host/tmio_mmc_core.c +++ b/drivers/mmc/host/tmio_mmc_core.c @@ -1100,7 +1100,7 @@ static int tmio_multi_io_quirk(struct mmc_card *card, return blk_size; } -int tmio_mmc_prepare_hs400_tuning(struct mmc_host *mmc, struct mmc_ios *ios) +static int tmio_mmc_prepare_hs400_tuning(struct mmc_host *mmc, struct mmc_ios *ios) { struct tmio_mmc_host *host = mmc_priv(mmc); @@ -1110,8 +1110,8 @@ int tmio_mmc_prepare_hs400_tuning(struct mmc_host *mmc, struct mmc_ios *ios) return 0; } -void tmio_mmc_prepare_hs400_tuning_downgrade(struct mmc_host *mmc, -struct mmc_ios *ios) +static void tmio_mmc_prepare_hs400_tuning_downgrade(struct mmc_host *mmc, + struct mmc_ios *ios) { struct tmio_mmc_host *host = mmc_priv(mmc); @@ -1119,8 +1119,8 @@ void tmio_mmc_prepare_hs400_tuning_downgrade(struct mmc_host *mmc, host->prepare_hs400_tuning_downgrade(host, ios); } -void tmio_mmc_complete_hs400_tuning(struct mmc_host *mmc, - struct mmc_ios *ios) +static void tmio_mmc_complete_hs400_tuning(struct mmc_host *mmc, + struct mmc_ios *ios) { struct tmio_mmc_host *host = mmc_priv(mmc);
[renesas:topic/hs400-mmc-v4 3/4] drivers/mmc/host/tmio_mmc_core.c:1103:5: sparse: symbol 'tmio_mmc_prepare_hs400_tuning' was not declared. Should it be static?
tree: https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git topic/hs400-mmc-v4 head: bad50f922dfffd9bc1a54e1512852e45d25b4ac7 commit: 485c8281e412190ab902c62868cfebf7dc783189 [3/4] mmc: tmio: add eMMC HS400 mode support reproduce: # apt-get install sparse git checkout 485c8281e412190ab902c62868cfebf7dc783189 make ARCH=x86_64 allmodconfig make C=1 CF=-D__CHECK_ENDIAN__ sparse warnings: (new ones prefixed by >>) >> drivers/mmc/host/tmio_mmc_core.c:1103:5: sparse: symbol >> 'tmio_mmc_prepare_hs400_tuning' was not declared. Should it be static? >> drivers/mmc/host/tmio_mmc_core.c:1113:6: sparse: symbol >> 'tmio_mmc_prepare_hs400_tuning_downgrade' was not declared. Should it be >> static? >> drivers/mmc/host/tmio_mmc_core.c:1122:6: sparse: symbol >> 'tmio_mmc_complete_hs400_tuning' was not declared. Should it be static? Please review and possibly fold the followup patch. --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Re: [PATCH] drm: rcar-du: of: Include header to define prototypes
Hi Kieran, I love your patch! Yet something to improve: [auto build test ERROR on drm/drm-next] [also build test ERROR on v4.17-rc2 next-20180424] [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/Kieran-Bingham/drm-rcar-du-of-Include-header-to-define-prototypes/20180425-062015 base: git://people.freedesktop.org/~airlied/linux.git drm-next config: arm64-defconfig (attached as .config) compiler: aarch64-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree make.cross ARCH=arm64 All errors (new ones prefixed by >>): >> drivers/gpu//drm/rcar-du/rcar_du_of.c:320:13: error: redefinition of >> 'rcar_du_of_init' void __init rcar_du_of_init(const struct of_device_id *of_ids) ^~~ In file included from drivers/gpu//drm/rcar-du/rcar_du_of.c:21:0: drivers/gpu//drm/rcar-du/rcar_du_of.h:17:20: note: previous definition of 'rcar_du_of_init' was here static inline void rcar_du_of_init(const struct of_device_id *of_ids) { } ^~~ vim +/rcar_du_of_init +320 drivers/gpu//drm/rcar-du/rcar_du_of.c 81c0e3dd Laurent Pinchart 2018-01-10 319 81c0e3dd Laurent Pinchart 2018-01-10 @320 void __init rcar_du_of_init(const struct of_device_id *of_ids) :: The code at line 320 was first introduced by commit :: 81c0e3dd82927064a2f56a31a0974a0d110fcdb0 drm: rcar-du: Fix legacy DT to create LVDS encoder nodes :: TO: Laurent Pinchart :: CC: Laurent Pinchart --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
Re: [PATCH v7 01/11] ARM: sunxi: smp: Move assembly code into a file
Hi Mylène, Thank you for the patch! Yet something to improve: [auto build test ERROR on arm-soc/for-next] [also build test ERROR on v4.17-rc2 next-20180426] [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/Myl-ne-Josserand/Sunxi-Add-SMP-support-on-A83T/20180423-051823 base: https://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc.git for-next config: arm-allmodconfig (attached as .config) compiler: arm-linux-gnueabi-gcc (Debian 7.2.0-11) 7.2.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree make.cross ARCH=arm All errors (new ones prefixed by >>): /tmp/ccQKy2ZB.s: Assembler messages: >> /tmp/ccQKy2ZB.s:73: Error: selected processor does not support `isb' in ARM >> mode >> /tmp/ccQKy2ZB.s:74: Error: selected processor does not support `dsb' in ARM >> mode --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
Re: [PATCH 22/24] drm/bridge: remove the .of_node member
Hi Peter, I love your patch! Yet something to improve: [auto build test ERROR on v4.17-rc2] [also build test ERROR on next-20180426] [cannot apply to drm/drm-next robclark/msm-next drm-exynos/exynos-drm/for-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/Peter-Rosin/device-link-bridge-supplier-drm-device/20180428-135229 config: arm-allmodconfig (attached as .config) compiler: arm-linux-gnueabi-gcc (Debian 7.2.0-11) 7.2.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree make.cross ARCH=arm All errors (new ones prefixed by >>): drivers/gpu//drm/rockchip/rockchip_lvds.c: In function 'rockchip_lvds_bind': >> drivers/gpu//drm/rockchip/rockchip_lvds.c:381:24: error: 'struct drm_bridge' >> has no member named 'of_node' remote = lvds->bridge->of_node; ^~ vim +381 drivers/gpu//drm/rockchip/rockchip_lvds.c 34cc0aa25 Sandy Huang 2017-09-02 340 34cc0aa25 Sandy Huang 2017-09-02 341 static int rockchip_lvds_bind(struct device *dev, struct device *master, 34cc0aa25 Sandy Huang 2017-09-02 342 void *data) 34cc0aa25 Sandy Huang 2017-09-02 343 { 34cc0aa25 Sandy Huang 2017-09-02 344 struct rockchip_lvds *lvds = dev_get_drvdata(dev); 34cc0aa25 Sandy Huang 2017-09-02 345 struct drm_device *drm_dev = data; 34cc0aa25 Sandy Huang 2017-09-02 346 struct drm_encoder *encoder; 34cc0aa25 Sandy Huang 2017-09-02 347 struct drm_connector *connector; 34cc0aa25 Sandy Huang 2017-09-02 348 struct device_node *remote = NULL; 34cc0aa25 Sandy Huang 2017-09-02 349 struct device_node *port, *endpoint; 6bf2e0324 Sean Paul 2017-09-20 350 int ret = 0, child_count = 0; 34cc0aa25 Sandy Huang 2017-09-02 351 const char *name; 34cc0aa25 Sandy Huang 2017-09-02 352 u32 endpoint_id; 34cc0aa25 Sandy Huang 2017-09-02 353 34cc0aa25 Sandy Huang 2017-09-02 354 lvds->drm_dev = drm_dev; 34cc0aa25 Sandy Huang 2017-09-02 355 port = of_graph_get_port_by_id(dev->of_node, 1); 34cc0aa25 Sandy Huang 2017-09-02 356 if (!port) { 34cc0aa25 Sandy Huang 2017-09-02 357 DRM_DEV_ERROR(dev, 34cc0aa25 Sandy Huang 2017-09-02 358 "can't found port point, please init lvds panel port!\n"); 34cc0aa25 Sandy Huang 2017-09-02 359 return -EINVAL; 34cc0aa25 Sandy Huang 2017-09-02 360 } 34cc0aa25 Sandy Huang 2017-09-02 361 for_each_child_of_node(port, endpoint) { 6bf2e0324 Sean Paul 2017-09-20 362 child_count++; 34cc0aa25 Sandy Huang 2017-09-02 363 of_property_read_u32(endpoint, "reg", &endpoint_id); 34cc0aa25 Sandy Huang 2017-09-02 364 ret = drm_of_find_panel_or_bridge(dev->of_node, 1, endpoint_id, 34cc0aa25 Sandy Huang 2017-09-02 365 &lvds->panel, &lvds->bridge); 34cc0aa25 Sandy Huang 2017-09-02 366 if (!ret) 34cc0aa25 Sandy Huang 2017-09-02 367 break; 34cc0aa25 Sandy Huang 2017-09-02 368 } 6bf2e0324 Sean Paul 2017-09-20 369 if (!child_count) { 6bf2e0324 Sean Paul 2017-09-20 370 DRM_DEV_ERROR(dev, "lvds port does not have any children\n"); 6bf2e0324 Sean Paul 2017-09-20 371 ret = -EINVAL; 6bf2e0324 Sean Paul 2017-09-20 372 goto err_put_port; 6bf2e0324 Sean Paul 2017-09-20 373 } else if (ret) { 34cc0aa25 Sandy Huang 2017-09-02 374 DRM_DEV_ERROR(dev, "failed to find panel and bridge node\n"); 34cc0aa25 Sandy Huang 2017-09-02 375 ret = -EPROBE_DEFER; 34cc0aa25 Sandy Huang 2017-09-02 376 goto err_put_port; 34cc0aa25 Sandy Huang 2017-09-02 377 } 34cc0aa25 Sandy Huang 2017-09-02 378 if (lvds->panel) 34cc0aa25 Sandy Huang 2017-09-02 379 remote = lvds->panel->dev->of_node; 34cc0aa25 Sandy Huang 2017-09-02 380 else 34cc0aa25 Sandy Huang 2017-09-02 @381 remote = lvds->bridge->of_node; 34cc0aa25 Sandy Huang 2017-09-02 382 if (of_property_read_string(dev->of_node, "rockchip,output", &name)) 34cc0aa25 Sandy Huang 2017-09-02 383 /* default set it as output rgb */ 34cc0aa25 Sandy Huang 2017-09-02 384 lvds->output = DISPLAY_OUTPUT_RGB; 34cc0aa25 Sandy Huang 2017-09-02 385 else 34cc0aa25 Sandy Huang 2017-09-02 386 lvds->output = lvds_name_to_output(name); 34cc0aa25 Sandy Huang 2017-09-02 387 34cc0aa25 Sandy Huang 2017-09-02 388 if (lvds->output < 0) { 34cc0aa25 Sandy Huang 2017-09-02 389 DRM_DEV_ERROR(dev, "invalid output type [%s]\n", name); 34cc0aa25 Sandy Huang 2017-09-02 390 ret = lvds->output; 34cc0aa25 Sandy Huang 2017-09-02 391 goto err_put_remote; 34cc0aa25 Sandy Huang 2017-09-02 392 } 34cc0aa25 Sandy Huang 2017-09-02 393 34cc0aa25 Sandy Huan
Re: [PATCH net-next 2/2] drivers: net: Remove device_node checks with of_mdiobus_register()
Hi Florian, I love your patch! Yet something to improve: [auto build test ERROR on net-next/master] url: https://github.com/0day-ci/linux/commits/Florian-Fainelli/of-mdio-Fall-back-to-mdiobus_register-with-np-is-NULL/20180516-203317 config: arm-omap2plus_defconfig (attached as .config) compiler: arm-linux-gnueabi-gcc (Debian 7.2.0-11) 7.2.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree make.cross ARCH=arm All error/warnings (new ones prefixed by >>): drivers/net//ethernet/ti/davinci_mdio.c: In function 'davinci_mdio_probe': >> drivers/net//ethernet/ti/davinci_mdio.c:457:12: error: invalid storage class >> for function 'davinci_mdio_remove' static int davinci_mdio_remove(struct platform_device *pdev) ^~~ >> drivers/net//ethernet/ti/davinci_mdio.c:457:1: warning: ISO C90 forbids >> mixed declarations and code [-Wdeclaration-after-statement] static int davinci_mdio_remove(struct platform_device *pdev) ^~ >> drivers/net//ethernet/ti/davinci_mdio.c:471:12: error: invalid storage class >> for function 'davinci_mdio_runtime_suspend' static int davinci_mdio_runtime_suspend(struct device *dev) ^~~~ >> drivers/net//ethernet/ti/davinci_mdio.c:485:12: error: invalid storage class >> for function 'davinci_mdio_runtime_resume' static int davinci_mdio_runtime_resume(struct device *dev) ^~~ >> drivers/net//ethernet/ti/davinci_mdio.c:495:12: error: invalid storage class >> for function 'davinci_mdio_suspend' static int davinci_mdio_suspend(struct device *dev) ^~~~ >> drivers/net//ethernet/ti/davinci_mdio.c:512:12: error: invalid storage class >> for function 'davinci_mdio_resume' static int davinci_mdio_resume(struct device *dev) ^~~ In file included from include/linux/device.h:23:0, from include/linux/platform_device.h:14, from drivers/net//ethernet/ti/davinci_mdio.c:29: >> drivers/net//ethernet/ti/davinci_mdio.c:527:21: error: initializer element >> is not constant SET_RUNTIME_PM_OPS(davinci_mdio_runtime_suspend, ^ include/linux/pm.h:354:21: note: in definition of macro 'SET_RUNTIME_PM_OPS' .runtime_suspend = suspend_fn, \ ^~ drivers/net//ethernet/ti/davinci_mdio.c:527:21: note: (near initialization for 'davinci_mdio_pm_ops.runtime_suspend') SET_RUNTIME_PM_OPS(davinci_mdio_runtime_suspend, ^ include/linux/pm.h:354:21: note: in definition of macro 'SET_RUNTIME_PM_OPS' .runtime_suspend = suspend_fn, \ ^~ drivers/net//ethernet/ti/davinci_mdio.c:528:7: error: initializer element is not constant davinci_mdio_runtime_resume, NULL) ^ include/linux/pm.h:355:20: note: in definition of macro 'SET_RUNTIME_PM_OPS' .runtime_resume = resume_fn, \ ^ drivers/net//ethernet/ti/davinci_mdio.c:528:7: note: (near initialization for 'davinci_mdio_pm_ops.runtime_resume') davinci_mdio_runtime_resume, NULL) ^ include/linux/pm.h:355:20: note: in definition of macro 'SET_RUNTIME_PM_OPS' .runtime_resume = resume_fn, \ ^ drivers/net//ethernet/ti/davinci_mdio.c:529:31: error: initializer element is not constant SET_LATE_SYSTEM_SLEEP_PM_OPS(davinci_mdio_suspend, davinci_mdio_resume) ^ include/linux/pm.h:330:18: note: in definition of macro 'SET_LATE_SYSTEM_SLEEP_PM_OPS' .suspend_late = suspend_fn, \ ^~ drivers/net//ethernet/ti/davinci_mdio.c:529:31: note: (near initialization for 'davinci_mdio_pm_ops.suspend_late') SET_LATE_SYSTEM_SLEEP_PM_OPS(davinci_mdio_suspend, davinci_mdio_resume) ^ include/linux/pm.h:330:18: note: in definition of macro 'SET_LATE_SYSTEM_SLEEP_PM_OPS' .suspend_late = suspend_fn, \ ^~ drivers/net//ethernet/ti/davinci_mdio.c:529:53: error: initializer element is not constant SET_LATE_SYSTEM_SLEEP_PM_OPS(davinci_mdio_suspend, davinci_mdio_resume) ^ include/linux/pm.h:331:18: note: in definition of macro 'SET_LATE_SYSTEM_SLEEP_PM_OPS' .resume_early = resume_fn, \ ^ drivers/net//ethernet/ti/davinci_mdio.c:529:53: note: (near initialization for 'davinci_mdio_pm_ops.resume_early') SET_LATE_SYSTEM_SLEEP_PM_OPS(davinci_mdio_suspend, davinci_mdio_resume) ^ include/linux/pm.h:331:18: note: in definition of macro 'SET_LATE
Re: [PATCH v2 2/3] arm64: dts: renesas: draak: Describe CVBS input
Hi Jacopo, I love your patch! Yet something to improve: [auto build test ERROR on linuxtv-media/master] [cannot apply to renesas/next v4.17-rc5] [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/Jacopo-Mondi/arm64-dts-Draak-Enable-video-inputs-and-VIN4/20180517-102013 base: git://linuxtv.org/media_tree.git master config: arm64-defconfig (attached as .config) compiler: aarch64-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree make.cross ARCH=arm64 All errors (new ones prefixed by >>): >> Error: arch/arm64/boot/dts/renesas/r8a77995-draak.dts:266.1-6 Label or path >> vin4 not found >> FATAL ERROR: Syntax error parsing input tree --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
Re: [PATCH v3 2/3] arm64: dts: renesas: draak: Describe CVBS input
Hi Jacopo, I love your patch! Yet something to improve: [auto build test ERROR on linuxtv-media/master] [cannot apply to renesas/next v4.17-rc6] [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/Jacopo-Mondi/arm64-dts-Draak-Enable-video-inputs-and-VIN4/20180521-052159 base: git://linuxtv.org/media_tree.git master config: arm64-defconfig (attached as .config) compiler: aarch64-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree make.cross ARCH=arm64 All errors (new ones prefixed by >>): >> Error: arch/arm64/boot/dts/renesas/r8a77995-draak.dts:272.1-6 Label or path >> vin4 not found >> FATAL ERROR: Syntax error parsing input tree --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
[renesas:topic/rcar-gen3-z-clk-v3 2/6] rcar-gen3-cpg.c:undefined reference to `__ffsdi2'
tree: https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git topic/rcar-gen3-z-clk-v3 head: 4b41ea6e92cdc7fce15ba99b02c40938a134cff7 commit: fda8dbe29dd1f04b61c443147a106962cf5d3f14 [2/6] clk: renesas: rcar-gen3: Add Z2 clock divider support config: i386-allmodconfig (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: git checkout fda8dbe29dd1f04b61c443147a106962cf5d3f14 # save the attached .config to linux build tree make ARCH=i386 All errors (new ones prefixed by >>): drivers/clk/renesas/rcar-gen3-cpg.o: In function `cpg_z_clk_set_rate': >> rcar-gen3-cpg.c:(.text+0x289): undefined reference to `__ffsdi2' --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
Re: [PATCH 1/2] drm/rcar-du: Use common error handling code in rcar_du_encoders_init()
Hi Markus, [auto build test ERROR on drm/drm-next] [also build test ERROR on v4.14-rc6 next-20171018] [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/SF-Markus-Elfring/R-Car-Display-Unit-Fine-tuning-for-some-function-implementations/20171026-160928 base: git://people.freedesktop.org/~airlied/linux.git drm-next config: arm64-defconfig (attached as .config) compiler: aarch64-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree make.cross ARCH=arm64 All error/warnings (new ones prefixed by >>): drivers/gpu/drm/rcar-du/rcar_du_kms.c: In function 'rcar_du_encoders_init': >> drivers/gpu/drm/rcar-du/rcar_du_kms.c:415:9: error: 'ret' undeclared (first >> use in this function) return ret; ^~~ drivers/gpu/drm/rcar-du/rcar_du_kms.c:415:9: note: each undeclared identifier is reported only once for each function it appears in >> drivers/gpu/drm/rcar-du/rcar_du_kms.c:416:1: warning: control reaches end of >> non-void function [-Wreturn-type] } ^ vim +/ret +415 drivers/gpu/drm/rcar-du/rcar_du_kms.c 362 363 static int rcar_du_encoders_init(struct rcar_du_device *rcdu) 364 { 365 struct device_node *np = rcdu->dev->of_node; 366 struct device_node *ep_node; 367 unsigned int num_encoders = 0; 368 369 /* 370 * Iterate over the endpoints and create one encoder for each output 371 * pipeline. 372 */ 373 for_each_endpoint_of_node(np, ep_node) { 374 enum rcar_du_output output; 375 struct of_endpoint ep; 376 unsigned int i; 377 int ret; 378 379 ret = of_graph_parse_endpoint(ep_node, &ep); 380 if (ret < 0) 381 goto put_node; 382 383 /* Find the output route corresponding to the port number. */ 384 for (i = 0; i < RCAR_DU_OUTPUT_MAX; ++i) { 385 if (rcdu->info->routes[i].possible_crtcs && 386 rcdu->info->routes[i].port == ep.port) { 387 output = i; 388 break; 389 } 390 } 391 392 if (i == RCAR_DU_OUTPUT_MAX) { 393 dev_warn(rcdu->dev, 394 "port %u references unexisting output, skipping\n", 395 ep.port); 396 continue; 397 } 398 399 /* Process the output pipeline. */ 400 ret = rcar_du_encoders_init_one(rcdu, output, &ep); 401 if (ret < 0) { 402 if (ret == -EPROBE_DEFER) 403 goto put_node; 404 405 continue; 406 } 407 408 num_encoders++; 409 } 410 411 return num_encoders; 412 413 put_node: 414 of_node_put(ep_node); > 415 return ret; > 416 } 417 --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
[renesas-drivers:topic/phy-reset-v3 1/4] drivers/of/of_mdio.c:65:10: warning: 'return' with a value, in function returning void
tree: https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git topic/phy-reset-v3 head: a1d46e588cf5f3554d849614ae91db6f30933ea5 commit: 155bdea9cfe35268946786014dc01998acb7edbd [1/4] phylib: Add device reset GPIO support config: x86_64-randconfig-x019-201744 (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: git checkout 155bdea9cfe35268946786014dc01998acb7edbd # save the attached .config to linux build tree make ARCH=x86_64 All warnings (new ones prefixed by >>): drivers/of/of_mdio.c: In function 'of_mdiobus_register_phy': >> drivers/of/of_mdio.c:65:10: warning: 'return' with a value, in function >> returning void return PTR_ERR(gpiod); ^~ drivers/of/of_mdio.c:47:13: note: declared here static void of_mdiobus_register_phy(struct mii_bus *mdio, ^~~ drivers/of/of_mdio.c: In function 'of_mdiobus_register_device': drivers/of/of_mdio.c:130:10: warning: 'return' with a value, in function returning void return PTR_ERR(gpiod); ^~ drivers/of/of_mdio.c:108:13: note: declared here static void of_mdiobus_register_device(struct mii_bus *mdio, ^~ >> drivers/of/of_mdio.c:130:10: warning: ignoring return value of 'PTR_ERR', >> declared with attribute warn_unused_result [-Wunused-result] return PTR_ERR(gpiod); ^~ drivers/of/of_mdio.c: In function 'of_mdiobus_register_phy': drivers/of/of_mdio.c:65:10: warning: ignoring return value of 'PTR_ERR', declared with attribute warn_unused_result [-Wunused-result] return PTR_ERR(gpiod); ^~ vim +/return +65 drivers/of/of_mdio.c 46 47 static void of_mdiobus_register_phy(struct mii_bus *mdio, 48 struct device_node *child, u32 addr) 49 { 50 struct gpio_desc *gpiod; 51 struct phy_device *phy; 52 bool is_c45; 53 int rc; 54 u32 phy_id; 55 56 is_c45 = of_device_is_compatible(child, 57 "ethernet-phy-ieee802.3-c45"); 58 59 /* Deassert the optional reset signal */ 60 gpiod = fwnode_get_named_gpiod(&child->fwnode, "reset-gpios", 0, 61 GPIOD_OUT_LOW, "PHY reset"); 62 if (PTR_ERR(gpiod) == -ENOENT) 63 gpiod = NULL; 64 else if (IS_ERR(gpiod)) > 65 return PTR_ERR(gpiod); 66 67 if (!is_c45 && !of_get_phy_id(child, &phy_id)) 68 phy = phy_device_create(mdio, addr, phy_id, 0, NULL); 69 else 70 phy = get_phy_device(mdio, addr, is_c45); 71 72 /* Assert the reset signal again */ 73 gpiod_set_value(gpiod, 1); 74 75 if (IS_ERR(phy)) 76 return; 77 78 rc = irq_of_parse_and_map(child, 0); 79 if (rc > 0) { 80 phy->irq = rc; 81 mdio->irq[addr] = rc; 82 } else { 83 phy->irq = mdio->irq[addr]; 84 } 85 86 if (of_property_read_bool(child, "broken-turn-around")) 87 mdio->phy_ignore_ta_mask |= 1 << addr; 88 89 /* Associate the OF node with the device structure so it 90 * can be looked up later */ 91 of_node_get(child); 92 phy->mdio.dev.of_node = child; 93 phy->mdio.reset = gpiod; 94 95 /* All data is now stored in the phy struct; 96 * register it */ 97 rc = phy_device_register(phy); 98 if (rc) { 99 phy_device_free(phy); 100 of_node_put(child); 101 return; 102 } 103 104 dev_dbg(&mdio->dev, "registered phy %s at address %i\n", 105 child->name, addr); 106 } 107 108 static void of_mdiobus_register_device(struct mii_bus *mdio, 109 struct device_node *child, u32 addr) 110 { 111 struct mdio_device *mdiodev; 112 struct gpio_desc *gpiod; 113 int rc; 114 115 mdiodev = mdio_device_create(mdio, addr); 116 if (IS_ERR(mdiodev)) 117 return; 118 119 /* Associate the OF node with the device structure so it 120 * can be looked up later. 121 */ 122 of_node_get(child); 123 mdiodev->dev.of_node = child; 124 125 gpiod = fwnode_get_named_gpiod(&child->fwnode, "reset-gpios", 0, 126 GPIOD_ASIS, "PHY res
[renesas-drivers:topic/phy-reset-v3 1/4] drivers//of/of_mdio.c:60:10: error: implicit declaration of function 'fwnode_get_named_gpiod'
tree: https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git topic/phy-reset-v3 head: a1d46e588cf5f3554d849614ae91db6f30933ea5 commit: 155bdea9cfe35268946786014dc01998acb7edbd [1/4] phylib: Add device reset GPIO support config: powerpc-mpc8315_rdb_defconfig (attached as .config) compiler: powerpc-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout 155bdea9cfe35268946786014dc01998acb7edbd # save the attached .config to linux build tree make.cross ARCH=powerpc All errors (new ones prefixed by >>): drivers//of/of_mdio.c: In function 'of_mdiobus_register_phy': >> drivers//of/of_mdio.c:60:10: error: implicit declaration of function >> 'fwnode_get_named_gpiod' [-Werror=implicit-function-declaration] gpiod = fwnode_get_named_gpiod(&child->fwnode, "reset-gpios", 0, ^~ >> drivers//of/of_mdio.c:61:12: error: 'GPIOD_OUT_LOW' undeclared (first use in >> this function) GPIOD_OUT_LOW, "PHY reset"); ^ drivers//of/of_mdio.c:61:12: note: each undeclared identifier is reported only once for each function it appears in drivers//of/of_mdio.c:65:10: warning: 'return' with a value, in function returning void return PTR_ERR(gpiod); ^~ drivers//of/of_mdio.c:47:13: note: declared here static void of_mdiobus_register_phy(struct mii_bus *mdio, ^~~ >> drivers//of/of_mdio.c:73:2: error: implicit declaration of function >> 'gpiod_set_value' [-Werror=implicit-function-declaration] gpiod_set_value(gpiod, 1); ^~~ drivers//of/of_mdio.c: In function 'of_mdiobus_register_device': >> drivers//of/of_mdio.c:126:12: error: 'GPIOD_ASIS' undeclared (first use in >> this function) GPIOD_ASIS, "PHY reset"); ^~ drivers//of/of_mdio.c:130:10: warning: 'return' with a value, in function returning void return PTR_ERR(gpiod); ^~ drivers//of/of_mdio.c:108:13: note: declared here static void of_mdiobus_register_device(struct mii_bus *mdio, ^~ drivers//of/of_mdio.c:130:10: warning: ignoring return value of 'PTR_ERR', declared with attribute warn_unused_result [-Wunused-result] return PTR_ERR(gpiod); ^~ drivers//of/of_mdio.c: In function 'of_mdiobus_register_phy': drivers//of/of_mdio.c:65:10: warning: ignoring return value of 'PTR_ERR', declared with attribute warn_unused_result [-Wunused-result] return PTR_ERR(gpiod); ^~ cc1: some warnings being treated as errors vim +/fwnode_get_named_gpiod +60 drivers//of/of_mdio.c 46 > 47 static void of_mdiobus_register_phy(struct mii_bus *mdio, 48 struct device_node *child, u32 addr) 49 { 50 struct gpio_desc *gpiod; 51 struct phy_device *phy; 52 bool is_c45; 53 int rc; 54 u32 phy_id; 55 56 is_c45 = of_device_is_compatible(child, 57 "ethernet-phy-ieee802.3-c45"); 58 59 /* Deassert the optional reset signal */ > 60 gpiod = fwnode_get_named_gpiod(&child->fwnode, "reset-gpios", 0, > 61 GPIOD_OUT_LOW, "PHY reset"); 62 if (PTR_ERR(gpiod) == -ENOENT) 63 gpiod = NULL; 64 else if (IS_ERR(gpiod)) 65 return PTR_ERR(gpiod); 66 67 if (!is_c45 && !of_get_phy_id(child, &phy_id)) 68 phy = phy_device_create(mdio, addr, phy_id, 0, NULL); 69 else 70 phy = get_phy_device(mdio, addr, is_c45); 71 72 /* Assert the reset signal again */ > 73 gpiod_set_value(gpiod, 1); 74 75 if (IS_ERR(phy)) 76 return; 77 78 rc = irq_of_parse_and_map(child, 0); 79 if (rc > 0) { 80 phy->irq = rc; 81 mdio->irq[addr] = rc; 82 } else { 83 phy->irq = mdio->irq[addr]; 84 } 85 86 if (of_property_read_bool(child, "broken-turn-around")) 87 mdio->phy_ignore_ta_mask |= 1 << addr; 88 89 /* Associate the OF node with the device structure so it 90 * can be looked up later */ 91 of_node_get(child); 92 phy->mdio.dev.of_node = child; 93 phy->mdio.reset = gpiod; 94 95 /* All data is now stored in the phy struct; 96 * register it */ 97 rc = phy_device_re
[renesas-drivers:master 11/47] drivers/gpu/drm/i915/i915_gem.c:3093:16: error: unused variable 'flags'
tree: https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git master head: cdf382160c46b29ce99532ed4378ddc044a5a1c9 commit: e3aba27754ed0dbfd3390be1e783a99b220a4e23 [11/47] Merge remote-tracking branch 'drm/drm-next' into renesas-drivers config: i386-randconfig-s0-201744 (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: git checkout e3aba27754ed0dbfd3390be1e783a99b220a4e23 # save the attached .config to linux build tree make ARCH=i386 All errors (new ones prefixed by >>): drivers/gpu/drm/i915/i915_gem.c: In function 'nop_submit_request': >> drivers/gpu/drm/i915/i915_gem.c:3093:16: error: unused variable 'flags' >> [-Werror=unused-variable] unsigned long flags; ^ cc1: all warnings being treated as errors vim +/flags +3093 drivers/gpu/drm/i915/i915_gem.c d80270931 Chris Wilson 2017-02-08 3090 821ed7df6 Chris Wilson 2016-09-09 3091 static void nop_submit_request(struct drm_i915_gem_request *request) 821ed7df6 Chris Wilson 2016-09-09 3092 { b85577b72 Chris Wilson 2017-10-06 @3093unsigned long flags; b85577b72 Chris Wilson 2017-10-06 3094 bf2eac3be Chris Wilson 2017-07-21 3095 GEM_BUG_ON(!i915_terminally_wedged(&request->i915->gpu_error)); 3cd9442f6 Chris Wilson 2017-01-10 3096 dma_fence_set_error(&request->fence, -EIO); b85577b72 Chris Wilson 2017-10-06 3097 af7a8ffad Daniel Vetter 2017-10-11 3098 i915_gem_request_submit(request); af7a8ffad Daniel Vetter 2017-10-11 3099 } af7a8ffad Daniel Vetter 2017-10-11 3100 :: The code at line 3093 was first introduced by commit :: b85577b72837ee8d9213e93d2c8b67ef78a47803 drm/i915: Order two completing nop_submit_request :: TO: Chris Wilson :: CC: Rodrigo Vivi --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
[renesas-drivers:master 11/47] drivers/gpu/drm/amd/include/amd_shared.h:34:2: error: redeclaration of enumerator 'CHIP_TAHITI'
tree: https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git master head: cdf382160c46b29ce99532ed4378ddc044a5a1c9 commit: e3aba27754ed0dbfd3390be1e783a99b220a4e23 [11/47] Merge remote-tracking branch 'drm/drm-next' into renesas-drivers config: x86_64-randconfig-i0-201744 (attached as .config) compiler: gcc-4.9 (Debian 4.9.4-2) 4.9.4 reproduce: git checkout e3aba27754ed0dbfd3390be1e783a99b220a4e23 # save the attached .config to linux build tree make ARCH=x86_64 All errors (new ones prefixed by >>): In file included from drivers/gpu/drm/amd/amdkfd/kfd_priv.h:36:0, from drivers/gpu/drm/amd/amdkfd/kfd_module.c:27: >> drivers/gpu/drm/amd/include/amd_shared.h:33:6: error: nested redefinition of >> 'enum amd_asic_type' enum amd_asic_type { ^ >> drivers/gpu/drm/amd/include/amd_shared.h:33:6: error: redeclaration of 'enum >> amd_asic_type' In file included from drivers/gpu/drm/amd/include/amd_shared.h:26:0, from drivers/gpu/drm/amd/amdkfd/kfd_priv.h:36, from drivers/gpu/drm/amd/amdkfd/kfd_module.c:27: include/drm/amd_asic_type.h:28:6: note: originally defined here enum amd_asic_type { ^ In file included from drivers/gpu/drm/amd/amdkfd/kfd_priv.h:36:0, from drivers/gpu/drm/amd/amdkfd/kfd_module.c:27: >> drivers/gpu/drm/amd/include/amd_shared.h:34:2: error: redeclaration of >> enumerator 'CHIP_TAHITI' CHIP_TAHITI = 0, ^ In file included from drivers/gpu/drm/amd/include/amd_shared.h:26:0, from drivers/gpu/drm/amd/amdkfd/kfd_priv.h:36, from drivers/gpu/drm/amd/amdkfd/kfd_module.c:27: include/drm/amd_asic_type.h:29:2: note: previous definition of 'CHIP_TAHITI' was here CHIP_TAHITI = 0, ^ In file included from drivers/gpu/drm/amd/amdkfd/kfd_priv.h:36:0, from drivers/gpu/drm/amd/amdkfd/kfd_module.c:27: >> drivers/gpu/drm/amd/include/amd_shared.h:35:2: error: redeclaration of >> enumerator 'CHIP_PITCAIRN' CHIP_PITCAIRN, ^ In file included from drivers/gpu/drm/amd/include/amd_shared.h:26:0, from drivers/gpu/drm/amd/amdkfd/kfd_priv.h:36, from drivers/gpu/drm/amd/amdkfd/kfd_module.c:27: include/drm/amd_asic_type.h:30:2: note: previous definition of 'CHIP_PITCAIRN' was here CHIP_PITCAIRN, ^ In file included from drivers/gpu/drm/amd/amdkfd/kfd_priv.h:36:0, from drivers/gpu/drm/amd/amdkfd/kfd_module.c:27: >> drivers/gpu/drm/amd/include/amd_shared.h:36:2: error: redeclaration of >> enumerator 'CHIP_VERDE' CHIP_VERDE, ^ In file included from drivers/gpu/drm/amd/include/amd_shared.h:26:0, from drivers/gpu/drm/amd/amdkfd/kfd_priv.h:36, from drivers/gpu/drm/amd/amdkfd/kfd_module.c:27: include/drm/amd_asic_type.h:31:2: note: previous definition of 'CHIP_VERDE' was here CHIP_VERDE, ^ In file included from drivers/gpu/drm/amd/amdkfd/kfd_priv.h:36:0, from drivers/gpu/drm/amd/amdkfd/kfd_module.c:27: >> drivers/gpu/drm/amd/include/amd_shared.h:37:2: error: redeclaration of >> enumerator 'CHIP_OLAND' CHIP_OLAND, ^ In file included from drivers/gpu/drm/amd/include/amd_shared.h:26:0, from drivers/gpu/drm/amd/amdkfd/kfd_priv.h:36, from drivers/gpu/drm/amd/amdkfd/kfd_module.c:27: include/drm/amd_asic_type.h:32:2: note: previous definition of 'CHIP_OLAND' was here CHIP_OLAND, ^ In file included from drivers/gpu/drm/amd/amdkfd/kfd_priv.h:36:0, from drivers/gpu/drm/amd/amdkfd/kfd_module.c:27: >> drivers/gpu/drm/amd/include/amd_shared.h:38:2: error: redeclaration of >> enumerator 'CHIP_HAINAN' CHIP_HAINAN, ^ In file included from drivers/gpu/drm/amd/include/amd_shared.h:26:0, from drivers/gpu/drm/amd/amdkfd/kfd_priv.h:36, from drivers/gpu/drm/amd/amdkfd/kfd_module.c:27: include/drm/amd_asic_type.h:33:2: note: previous definition of 'CHIP_HAINAN' was here CHIP_HAINAN, ^ In file included from drivers/gpu/drm/amd/amdkfd/kfd_priv.h:36:0, from drivers/gpu/drm/amd/amdkfd/kfd_module.c:27: >> drivers/gpu/drm/amd/include/amd_shared.h:39:2: error: redeclaration of >> enumerator 'CHIP_BONAIRE' CHIP_BONAIRE, ^ In file included from drivers/gpu/drm/amd/include/amd_shared.h:26:0, from drivers/gpu/drm/amd/amdkfd/kfd_priv.h:36, from drivers/gpu/drm/amd/amdkfd/kfd_module.c:27: include/drm/amd_asic_type.h:34:2: note: previous definition of 'CHIP_BONAIRE' was here CHIP_BONAIRE, ^ In file included from drivers/gpu/drm/amd/amdkfd/kfd_priv.h:36:0, from drivers/gpu/drm/amd/amdkfd/kfd_module.c:27: >> drivers/gpu/drm/amd/include/amd_shared.h:40:2: error: redeclaration
[renesas-drivers:topic/renesas-overlays 14/88] drivers//of/unittest.c:1970:2: error: implicit declaration of function 'of_overlay_create_indirect'
tree: https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git topic/renesas-overlays head: 1b3280e42a0063f04f3ab7c9f8bbe4b5c65c51d9 commit: 71f8b1178fc334bfb92d8f2c6296a6c83c276b18 [14/88] of: unittest: Add indirect overlay target test config: xtensa-allmodconfig (attached as .config) compiler: xtensa-linux-gcc (GCC) 4.9.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout 71f8b1178fc334bfb92d8f2c6296a6c83c276b18 # save the attached .config to linux build tree make.cross ARCH=xtensa All errors (new ones prefixed by >>): drivers//of/unittest.c: In function 'of_unittest_overlay_16': >> drivers//of/unittest.c:1970:2: error: implicit declaration of function >> 'of_overlay_create_indirect' [-Werror=implicit-function-declaration] ret = of_overlay_create_indirect(np, "unittest16"); ^ cc1: some warnings being treated as errors vim +/of_overlay_create_indirect +1970 drivers//of/unittest.c 1941 1942 static void of_unittest_overlay_16(void) 1943 { 1944 int ret; 1945 int overlay_nr = 16; 1946 int unittest_nr = 16; 1947 enum overlay_type ovtype = PDEV_OVERLAY; 1948 int before = 0; 1949 int after = 1; 1950 struct device_node *np = NULL; 1951 int id = -1; 1952 1953 /* unittest device must not be in before state */ 1954 if (of_unittest_device_exists(unittest_nr, ovtype) != before) { 1955 unittest(0, "overlay @\"%s\" with device @\"%s\" %s\n", 1956 overlay_path(overlay_nr), 1957 unittest_path(unittest_nr, ovtype), 1958 !before ? "enabled" : "disabled"); 1959 return; 1960 } 1961 1962 np = of_find_node_by_path(overlay_path(overlay_nr)); 1963 if (np == NULL) { 1964 unittest(0, "could not find overlay node @\"%s\"\n", 1965 overlay_path(overlay_nr)); 1966 ret = -EINVAL; 1967 goto out; 1968 } 1969 > 1970 ret = of_overlay_create_indirect(np, "unittest16"); 1971 if (ret < 0) { 1972 unittest(0, "could not create overlay from \"%s\"\n", 1973 overlay_path(overlay_nr)); 1974 goto out; 1975 } 1976 id = ret; 1977 of_unittest_track_overlay(id); 1978 1979 ret = 0; 1980 1981 out: 1982 of_node_put(np); 1983 1984 if (ret) 1985 return; 1986 1987 /* unittest device must be to set to after state */ 1988 if (of_unittest_device_exists(unittest_nr, ovtype) != after) { 1989 unittest(0, "overlay @\"%s\" failed to create @\"%s\" %s\n", 1990 overlay_path(overlay_nr), 1991 unittest_path(unittest_nr, ovtype), 1992 !after ? "enabled" : "disabled"); 1993 return; 1994 } 1995 1996 unittest(1, "overlay test %d passed\n", 16); 1997 } 1998 --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
[renesas-drivers:topic/renesas-overlays 14/88] drivers//of/unittest.c:1970:8: error: implicit declaration of function 'of_overlay_create_indirect'; did you mean 'of_overlay_apply_indirect'?
tree: https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git topic/renesas-overlays head: 1b3280e42a0063f04f3ab7c9f8bbe4b5c65c51d9 commit: 71f8b1178fc334bfb92d8f2c6296a6c83c276b18 [14/88] of: unittest: Add indirect overlay target test config: i386-randconfig-x076-201748 (attached as .config) compiler: gcc-7 (Debian 7.2.0-12) 7.2.1 20171025 reproduce: git checkout 71f8b1178fc334bfb92d8f2c6296a6c83c276b18 # save the attached .config to linux build tree make ARCH=i386 All errors (new ones prefixed by >>): drivers//of/unittest.c: In function 'of_unittest_overlay_16': >> drivers//of/unittest.c:1970:8: error: implicit declaration of function >> 'of_overlay_create_indirect'; did you mean 'of_overlay_apply_indirect'? >> [-Werror=implicit-function-declaration] ret = of_overlay_create_indirect(np, "unittest16"); ^~ of_overlay_apply_indirect cc1: some warnings being treated as errors vim +1970 drivers//of/unittest.c 1941 1942 static void of_unittest_overlay_16(void) 1943 { 1944 int ret; 1945 int overlay_nr = 16; 1946 int unittest_nr = 16; 1947 enum overlay_type ovtype = PDEV_OVERLAY; 1948 int before = 0; 1949 int after = 1; 1950 struct device_node *np = NULL; 1951 int id = -1; 1952 1953 /* unittest device must not be in before state */ 1954 if (of_unittest_device_exists(unittest_nr, ovtype) != before) { 1955 unittest(0, "overlay @\"%s\" with device @\"%s\" %s\n", 1956 overlay_path(overlay_nr), 1957 unittest_path(unittest_nr, ovtype), 1958 !before ? "enabled" : "disabled"); 1959 return; 1960 } 1961 1962 np = of_find_node_by_path(overlay_path(overlay_nr)); 1963 if (np == NULL) { 1964 unittest(0, "could not find overlay node @\"%s\"\n", 1965 overlay_path(overlay_nr)); 1966 ret = -EINVAL; 1967 goto out; 1968 } 1969 > 1970 ret = of_overlay_create_indirect(np, "unittest16"); 1971 if (ret < 0) { 1972 unittest(0, "could not create overlay from \"%s\"\n", 1973 overlay_path(overlay_nr)); 1974 goto out; 1975 } 1976 id = ret; 1977 of_unittest_track_overlay(id); 1978 1979 ret = 0; 1980 1981 out: 1982 of_node_put(np); 1983 1984 if (ret) 1985 return; 1986 1987 /* unittest device must be to set to after state */ 1988 if (of_unittest_device_exists(unittest_nr, ovtype) != after) { 1989 unittest(0, "overlay @\"%s\" failed to create @\"%s\" %s\n", 1990 overlay_path(overlay_nr), 1991 unittest_path(unittest_nr, ovtype), 1992 !after ? "enabled" : "disabled"); 1993 return; 1994 } 1995 1996 unittest(1, "overlay test %d passed\n", 16); 1997 } 1998 --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
[renesas-drivers:topic/renesas-overlays 17/88] drivers/of/unittest.c:2037:2: error: implicit declaration of function 'of_overlay_create_target_root'
tree: https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git topic/renesas-overlays head: 1b3280e42a0063f04f3ab7c9f8bbe4b5c65c51d9 commit: a9f6ad767d6992a45c4d7ff331f6e796efe78d4d [17/88] of: unittest: Unit-tests for target root overlays. config: xtensa-allmodconfig (attached as .config) compiler: xtensa-linux-gcc (GCC) 4.9.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout a9f6ad767d6992a45c4d7ff331f6e796efe78d4d # save the attached .config to linux build tree make.cross ARCH=xtensa All errors (new ones prefixed by >>): drivers/of/unittest.c: In function 'of_unittest_overlay_16': drivers/of/unittest.c:1970:2: error: implicit declaration of function 'of_overlay_create_indirect' [-Werror=implicit-function-declaration] ret = of_overlay_create_indirect(np, "unittest16"); ^ drivers/of/unittest.c: In function 'of_unittest_overlay_17': >> drivers/of/unittest.c:2037:2: error: implicit declaration of function >> 'of_overlay_create_target_root' [-Werror=implicit-function-declaration] ret = of_overlay_create_target_root(np, target_root); ^ cc1: some warnings being treated as errors vim +/of_overlay_create_target_root +2037 drivers/of/unittest.c 1941 1942 static void of_unittest_overlay_16(void) 1943 { 1944 int ret; 1945 int overlay_nr = 16; 1946 int unittest_nr = 16; 1947 enum overlay_type ovtype = PDEV_OVERLAY; 1948 int before = 0; 1949 int after = 1; 1950 struct device_node *np = NULL; 1951 int id = -1; 1952 1953 /* unittest device must not be in before state */ 1954 if (of_unittest_device_exists(unittest_nr, ovtype) != before) { 1955 unittest(0, "overlay @\"%s\" with device @\"%s\" %s\n", 1956 overlay_path(overlay_nr), 1957 unittest_path(unittest_nr, ovtype), 1958 !before ? "enabled" : "disabled"); 1959 return; 1960 } 1961 1962 np = of_find_node_by_path(overlay_path(overlay_nr)); 1963 if (np == NULL) { 1964 unittest(0, "could not find overlay node @\"%s\"\n", 1965 overlay_path(overlay_nr)); 1966 ret = -EINVAL; 1967 goto out; 1968 } 1969 > 1970 ret = of_overlay_create_indirect(np, "unittest16"); 1971 if (ret < 0) { 1972 unittest(0, "could not create overlay from \"%s\"\n", 1973 overlay_path(overlay_nr)); 1974 goto out; 1975 } 1976 id = ret; 1977 of_unittest_track_overlay(id); 1978 1979 ret = 0; 1980 1981 out: 1982 of_node_put(np); 1983 1984 if (ret) 1985 return; 1986 1987 /* unittest device must be to set to after state */ 1988 if (of_unittest_device_exists(unittest_nr, ovtype) != after) { 1989 unittest(0, "overlay @\"%s\" failed to create @\"%s\" %s\n", 1990 overlay_path(overlay_nr), 1991 unittest_path(unittest_nr, ovtype), 1992 !after ? "enabled" : "disabled"); 1993 return; 1994 } 1995 1996 unittest(1, "overlay test %d passed\n", 16); 1997 } 1998 1999 static void of_unittest_overlay_17(void) 2000 { 2001 int ret; 2002 int overlay_nr = 17; 2003 int unittest_nr = 17; 2004 enum overlay_type ovtype = PDEV_OVERLAY; 2005 int before = 0; 2006 int after = 1; 2007 const char *root_path; 2008 struct device_node *np = NULL, *target_root = NULL; 2009 int id = -1; 2010 2011 /* unittest device must not be in before state */ 2012 if (of_unittest_device_exists(unittest_nr, ovtype) != before) { 2013 unittest(0, "overlay @\"%s\" with device @\"%s\" %s\n", 2014 overlay_path(overlay_nr), 2015 unittest_path(unittest_nr, ovtype), 2016 !before ? "enabled" : "disabled"); 2017 return; 2018 } 2019 2020 np = of_find_node_by_path(overlay_path(overlay_nr)); 2021 if (np == NULL) { 2022 unittest(0, "could not find overlay node @\"%s\"\n", 2023 overlay_path(overlay_nr)); 2024 ret = -EINVAL; 2025 goto out; 2026 } 2027 2028 root_pat
[renesas-drivers:topic/renesas-overlays 17/88] drivers/of/unittest.c:2037:8: error: implicit declaration of function 'of_overlay_create_target_root'; did you mean 'of_overlay_apply_target_root'?
tree: https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git topic/renesas-overlays head: 1b3280e42a0063f04f3ab7c9f8bbe4b5c65c51d9 commit: a9f6ad767d6992a45c4d7ff331f6e796efe78d4d [17/88] of: unittest: Unit-tests for target root overlays. config: i386-randconfig-x076-201748 (attached as .config) compiler: gcc-7 (Debian 7.2.0-12) 7.2.1 20171025 reproduce: git checkout a9f6ad767d6992a45c4d7ff331f6e796efe78d4d # save the attached .config to linux build tree make ARCH=i386 All errors (new ones prefixed by >>): drivers/of/unittest.c: In function 'of_unittest_overlay_16': drivers/of/unittest.c:1970:8: error: implicit declaration of function 'of_overlay_create_indirect'; did you mean 'of_overlay_apply_indirect'? [-Werror=implicit-function-declaration] ret = of_overlay_create_indirect(np, "unittest16"); ^~ of_overlay_apply_indirect drivers/of/unittest.c: In function 'of_unittest_overlay_17': >> drivers/of/unittest.c:2037:8: error: implicit declaration of function >> 'of_overlay_create_target_root'; did you mean >> 'of_overlay_apply_target_root'? [-Werror=implicit-function-declaration] ret = of_overlay_create_target_root(np, target_root); ^ of_overlay_apply_target_root cc1: some warnings being treated as errors vim +2037 drivers/of/unittest.c 1941 1942 static void of_unittest_overlay_16(void) 1943 { 1944 int ret; 1945 int overlay_nr = 16; 1946 int unittest_nr = 16; 1947 enum overlay_type ovtype = PDEV_OVERLAY; 1948 int before = 0; 1949 int after = 1; 1950 struct device_node *np = NULL; 1951 int id = -1; 1952 1953 /* unittest device must not be in before state */ 1954 if (of_unittest_device_exists(unittest_nr, ovtype) != before) { 1955 unittest(0, "overlay @\"%s\" with device @\"%s\" %s\n", 1956 overlay_path(overlay_nr), 1957 unittest_path(unittest_nr, ovtype), 1958 !before ? "enabled" : "disabled"); 1959 return; 1960 } 1961 1962 np = of_find_node_by_path(overlay_path(overlay_nr)); 1963 if (np == NULL) { 1964 unittest(0, "could not find overlay node @\"%s\"\n", 1965 overlay_path(overlay_nr)); 1966 ret = -EINVAL; 1967 goto out; 1968 } 1969 > 1970 ret = of_overlay_create_indirect(np, "unittest16"); 1971 if (ret < 0) { 1972 unittest(0, "could not create overlay from \"%s\"\n", 1973 overlay_path(overlay_nr)); 1974 goto out; 1975 } 1976 id = ret; 1977 of_unittest_track_overlay(id); 1978 1979 ret = 0; 1980 1981 out: 1982 of_node_put(np); 1983 1984 if (ret) 1985 return; 1986 1987 /* unittest device must be to set to after state */ 1988 if (of_unittest_device_exists(unittest_nr, ovtype) != after) { 1989 unittest(0, "overlay @\"%s\" failed to create @\"%s\" %s\n", 1990 overlay_path(overlay_nr), 1991 unittest_path(unittest_nr, ovtype), 1992 !after ? "enabled" : "disabled"); 1993 return; 1994 } 1995 1996 unittest(1, "overlay test %d passed\n", 16); 1997 } 1998 1999 static void of_unittest_overlay_17(void) 2000 { 2001 int ret; 2002 int overlay_nr = 17; 2003 int unittest_nr = 17; 2004 enum overlay_type ovtype = PDEV_OVERLAY; 2005 int before = 0; 2006 int after = 1; 2007 const char *root_path; 2008 struct device_node *np = NULL, *target_root = NULL; 2009 int id = -1; 2010 2011 /* unittest device must not be in before state */ 2012 if (of_unittest_device_exists(unittest_nr, ovtype) != before) { 2013 unittest(0, "overlay @\"%s\" with device @\"%s\" %s\n", 2014 overlay_path(overlay_nr), 2015 unittest_path(unittest_nr, ovtype), 2016 !before ? "enabled" : "disabled"); 2017 return; 2018 } 2019 2020 np = of_find_node_by_path(overlay_path(overlay_nr)); 2021 if (np == NULL) { 2022 unittest(0, "could not find overlay node @\"%s\"\n", 2023 overlay_path(overlay_nr)); 2024 ret = -EINVAL; 2025
[renesas-drivers:topic/phy-reset-v4 1/4] include/linux/err.h:31:9: warning: 'gpiod' may be used uninitialized in this function
tree: https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git topic/phy-reset-v4 head: 8999caba1f624814c0e3e2a6fabfdab70ae44e9e commit: 8274c902dc09564722a4ef7e1364bb3f3f2f9f79 [1/4] phylib: Add device reset GPIO support config: i386-randconfig-x076-201749 (attached as .config) compiler: gcc-7 (Debian 7.2.0-12) 7.2.1 20171025 reproduce: git checkout 8274c902dc09564722a4ef7e1364bb3f3f2f9f79 # save the attached .config to linux build tree make ARCH=i386 Note: it may well be a FALSE warning. FWIW you are at least aware of it now. http://gcc.gnu.org/wiki/Better_Uninitialized_Warnings All warnings (new ones prefixed by >>): In file included from arch/x86/include/asm/processor.h:32:0, from arch/x86/include/asm/cpufeature.h:5, from arch/x86/include/asm/thread_info.h:53, from include/linux/thread_info.h:38, from arch/x86/include/asm/preempt.h:7, from include/linux/preempt.h:81, from include/linux/spinlock.h:51, from include/linux/mmzone.h:8, from include/linux/gfp.h:6, from include/linux/slab.h:15, from drivers/net/phy/mdio_bus.c:20: drivers/net/phy/mdio_bus.c: In function 'mdiobus_register_device': >> include/linux/err.h:31:9: warning: 'gpiod' may be used uninitialized in this >> function [-Wmaybe-uninitialized] return (long) ptr; ^~ drivers/net/phy/mdio_bus.c:52:20: note: 'gpiod' was declared here struct gpio_desc *gpiod; ^ -- In file included from arch/x86/include/asm/processor.h:32:0, from arch/x86/include/asm/cpufeature.h:5, from arch/x86/include/asm/thread_info.h:53, from include/linux/thread_info.h:38, from arch/x86/include/asm/preempt.h:7, from include/linux/preempt.h:81, from include/linux/spinlock.h:51, from include/linux/mmzone.h:8, from include/linux/gfp.h:6, from include/linux/slab.h:15, from drivers/net//phy/mdio_bus.c:20: drivers/net//phy/mdio_bus.c: In function 'mdiobus_register_device': >> include/linux/err.h:31:9: warning: 'gpiod' may be used uninitialized in this >> function [-Wmaybe-uninitialized] return (long) ptr; ^~ drivers/net//phy/mdio_bus.c:52:20: note: 'gpiod' was declared here struct gpio_desc *gpiod; ^ vim +/gpiod +31 include/linux/err.h ^1da177e Linus Torvalds 2005-04-16 28 e7152b97 Dan Carpenter 2013-07-03 29 static inline long __must_check PTR_ERR(__force const void *ptr) ^1da177e Linus Torvalds 2005-04-16 30 { ^1da177e Linus Torvalds 2005-04-16 @31 return (long) ptr; ^1da177e Linus Torvalds 2005-04-16 32 } ^1da177e Linus Torvalds 2005-04-16 33 :: The code at line 31 was first introduced by commit :: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2 :: TO: Linus Torvalds :: CC: Linus Torvalds --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
[renesas-drivers:topic/renesas-overlays 8/91] drivers//of/configfs.c:48:2: error: implicit declaration of function 'of_fdt_unflatten_tree'; did you mean 'of_pdt_build_devicetree'?
tree: https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git topic/renesas-overlays head: 775b0f62546cf5d5791c43d3ee5239f5394014fb commit: cd57c0972233bd19244b37aeb075adb26ff6d4df [8/91] OF: DT-Overlay configfs interface (v7) config: sparc64-allmodconfig (attached as .config) compiler: sparc64-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout cd57c0972233bd19244b37aeb075adb26ff6d4df # save the attached .config to linux build tree make.cross ARCH=sparc64 All errors (new ones prefixed by >>): drivers//of/configfs.c: In function 'create_overlay': >> drivers//of/configfs.c:48:2: error: implicit declaration of function >> 'of_fdt_unflatten_tree'; did you mean 'of_pdt_build_devicetree'? >> [-Werror=implicit-function-declaration] of_fdt_unflatten_tree(blob, NULL, &overlay->overlay); ^ of_pdt_build_devicetree cc1: some warnings being treated as errors vim +48 drivers//of/configfs.c 42 43 static int create_overlay(struct cfs_overlay_item *overlay, void *blob) 44 { 45 int err; 46 47 /* unflatten the tree */ > 48 of_fdt_unflatten_tree(blob, NULL, &overlay->overlay); 49 if (overlay->overlay == NULL) { 50 pr_err("%s: failed to unflatten tree\n", __func__); 51 err = -EINVAL; 52 goto out_err; 53 } 54 pr_debug("%s: unflattened OK\n", __func__); 55 56 /* mark it as detached */ 57 of_node_set_flag(overlay->overlay, OF_DETACHED); 58 59 /* perform resolution */ 60 err = of_resolve_phandles(overlay->overlay); 61 if (err != 0) { 62 pr_err("%s: Failed to resolve tree\n", __func__); 63 goto out_err; 64 } 65 pr_debug("%s: resolved OK\n", __func__); 66 67 err = of_overlay_apply(overlay->overlay, &overlay->ov_id); 68 if (err < 0) { 69 pr_err("%s: Failed to create overlay (err=%d)\n", 70 __func__, err); 71 goto out_err; 72 } 73 74 out_err: 75 return err; 76 } 77 --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
[RFC PATCH renesas-drivers] of: overlay: overlay_changeset_release() can be static
Fixes: 11de0d24be47 ("of: overlay: kobjectify overlay objects") Signed-off-by: Fengguang Wu --- overlay.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/of/overlay.c b/drivers/of/overlay.c index ef7e8a4..7f0255e 100644 --- a/drivers/of/overlay.c +++ b/drivers/of/overlay.c @@ -654,7 +654,7 @@ static inline struct overlay_changeset *kobj_to_ovcs(struct kobject *kobj) return container_of(kobj, struct overlay_changeset, kobj); } -void overlay_changeset_release(struct kobject *kobj) +static void overlay_changeset_release(struct kobject *kobj) { struct overlay_changeset *ovcs = kobj_to_ovcs(kobj);
[renesas-drivers:topic/renesas-overlays 10/92] drivers/of/overlay.c:657:6: sparse: symbol 'overlay_changeset_release' was not declared. Should it be static?
tree: https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git topic/renesas-overlays head: 47d433a558bb60587eb9f86a4d010ef74e03fa0d commit: 11de0d24be4742a41feceb95d9145b08843dc70a [10/92] of: overlay: kobjectify overlay objects reproduce: # apt-get install sparse git checkout 11de0d24be4742a41feceb95d9145b08843dc70a make ARCH=x86_64 allmodconfig make C=1 CF=-D__CHECK_ENDIAN__ sparse warnings: (new ones prefixed by >>) Please review and possibly fold the followup patch. --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
[renesas-drivers:topic/renesas-overlays 23/92] drivers/of/dynamic.c:1141:13: sparse: incorrect type in assignment (different base types)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git topic/renesas-overlays head: 47d433a558bb60587eb9f86a4d010ef74e03fa0d commit: e068b1eab7180587d15bbc55abdc5851b7f216dc [23/92] of: changesets: Introduce changeset helper methods reproduce: # apt-get install sparse git checkout e068b1eab7180587d15bbc55abdc5851b7f216dc make ARCH=x86_64 allmodconfig make C=1 CF=-D__CHECK_ENDIAN__ sparse warnings: (new ones prefixed by >>) vim +1141 drivers/of/dynamic.c 1124 1125 /** 1126 * of_changeset_add_property_u32 - Create a new u32 property 1127 * 1128 * @ocs:changeset pointer 1129 * @np: device node pointer 1130 * @name: name of the property 1131 * @val:value in host endian format 1132 * 1133 * Adds a u32 property to the changeset. 1134 * 1135 * Returns zero on success, a negative error value otherwise. 1136 */ 1137 int of_changeset_add_property_u32(struct of_changeset *ocs, 1138 struct device_node *np, const char *name, u32 val) 1139 { 1140 /* in place */ > 1141 val = cpu_to_be32(val); 1142 return of_changeset_add_property_copy(ocs, np, name, &val, sizeof(val)); 1143 } 1144 --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
[renesas-drivers:topic/renesas-overlays 30/92] drivers/of/base.c:1571:1: sparse: symbol 'dead_aliases_lookup' was not declared. Should it be static?
tree: https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git topic/renesas-overlays head: 47d433a558bb60587eb9f86a4d010ef74e03fa0d commit: 19e0da502da117244914b018be929c1ba0761d14 [30/92] [RFC] of: Add of_alias_destroy() reproduce: # apt-get install sparse git checkout 19e0da502da117244914b018be929c1ba0761d14 make ARCH=x86_64 allmodconfig make C=1 CF=-D__CHECK_ENDIAN__ sparse warnings: (new ones prefixed by >>) Please review and possibly fold the followup patch. --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
[RFC PATCH renesas-drivers] [RFC] of: dead_aliases_lookup can be static
Fixes: 19e0da502da1 ("[RFC] of: Add of_alias_destroy()") Signed-off-by: Fengguang Wu --- base.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/of/base.c b/drivers/of/base.c index 5d3a0ad..1f3f84c 100644 --- a/drivers/of/base.c +++ b/drivers/of/base.c @@ -1568,7 +1568,7 @@ void of_alias_create(struct property *pp, } #ifdef CONFIG_OF_DYNAMIC -LIST_HEAD(dead_aliases_lookup); +static LIST_HEAD(dead_aliases_lookup); void of_alias_destroy(const char *name) {
[renesas-drivers:topic/renesas-overlays 23/108] drivers/of/dynamic.c:1076 of_changeset_add_property_stringf() error: potential null dereference 'str'. (kvasprintf returns null)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git topic/renesas-overlays head: c991b7bbdc862ab5c1a7edf88d04105fa081e2fc commit: e068b1eab7180587d15bbc55abdc5851b7f216dc [23/108] of: changesets: Introduce changeset helper methods smatch warnings: show-warning-context "warning-lines" files vim +/str +1076 drivers/of/dynamic.c 1050 1051 /** 1052 * of_changeset_add_property_stringf - Create a new formatted string property 1053 * 1054 * @ocs:changeset pointer 1055 * @np: device node pointer 1056 * @name: name of the property 1057 * @fmt:format of string property 1058 * ... arguments of the format string 1059 * 1060 * Adds a string property to the changeset by making copies of the name 1061 * and the formatted value. 1062 * 1063 * Returns zero on success, a negative error value otherwise. 1064 */ 1065 int of_changeset_add_property_stringf(struct of_changeset *ocs, 1066 struct device_node *np, const char *name, const char *fmt, ...) 1067 { 1068 va_list vargs; 1069 char *str; 1070 int ret; 1071 1072 va_start(vargs, fmt); 1073 str = kvasprintf(GFP_KERNEL, fmt, vargs); 1074 va_end(vargs); 1075 > 1076 ret = of_changeset_add_property_string(ocs, np, name, str); 1077 1078 kfree(str); 1079 return ret; 1080 } 1081 --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Re: [PATCH v2 2/3] phy: core: Drop unused runtime PM APIs
Hi Ulf, I love your patch! Yet something to improve: [auto build test ERROR on phy/next] [also build test ERROR on v4.15-rc4 next-20171222] [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/Ulf-Hansson/phy-core-Re-work-runtime-PM-deployment-and-fix-an-issue/20171223-170432 base: https://git.kernel.org/pub/scm/linux/kernel/git/kishon/linux-phy.git next config: i386-randconfig-a0-201751 (attached as .config) compiler: gcc-4.9 (Debian 4.9.4-2) 4.9.4 reproduce: # save the attached .config to linux build tree make ARCH=i386 All errors (new ones prefixed by >>): drivers//ata/ahci.c: In function 'ahci_init_one': >> drivers//ata/ahci.c:1761:2: error: implicit declaration of function >> 'pm_runtime_put_noidle' [-Werror=implicit-function-declaration] pm_runtime_put_noidle(&pdev->dev); ^ drivers//ata/ahci.c: In function 'ahci_remove_one': >> drivers//ata/ahci.c:1767:2: error: implicit declaration of function >> 'pm_runtime_get_noresume' [-Werror=implicit-function-declaration] pm_runtime_get_noresume(&pdev->dev); ^ cc1: some warnings being treated as errors -- drivers//ata/libahci.c: In function 'ahci_rpm_get_port': >> drivers//ata/libahci.c:239:2: error: implicit declaration of function >> 'pm_runtime_get_sync' [-Werror=implicit-function-declaration] return pm_runtime_get_sync(ap->dev); ^ drivers//ata/libahci.c: In function 'ahci_rpm_put_port': >> drivers//ata/libahci.c:251:2: error: implicit declaration of function >> 'pm_runtime_put' [-Werror=implicit-function-declaration] pm_runtime_put(ap->dev); ^ cc1: some warnings being treated as errors -- drivers//ata/ahci_ceva.c: In function 'ceva_ahci_resume': >> drivers//ata/ahci_ceva.c:326:2: error: implicit declaration of function >> 'pm_runtime_disable' [-Werror=implicit-function-declaration] pm_runtime_disable(dev); ^ >> drivers//ata/ahci_ceva.c:327:2: error: implicit declaration of function >> 'pm_runtime_set_active' [-Werror=implicit-function-declaration] pm_runtime_set_active(dev); ^ >> drivers//ata/ahci_ceva.c:328:2: error: implicit declaration of function >> 'pm_runtime_enable' [-Werror=implicit-function-declaration] pm_runtime_enable(dev); ^ cc1: some warnings being treated as errors -- drivers//ata/ahci_qoriq.c: In function 'ahci_qoriq_resume': >> drivers//ata/ahci_qoriq.c:306:2: error: implicit declaration of function >> 'pm_runtime_disable' [-Werror=implicit-function-declaration] pm_runtime_disable(dev); ^ >> drivers//ata/ahci_qoriq.c:307:2: error: implicit declaration of function >> 'pm_runtime_set_active' [-Werror=implicit-function-declaration] pm_runtime_set_active(dev); ^ >> drivers//ata/ahci_qoriq.c:308:2: error: implicit declaration of function >> 'pm_runtime_enable' [-Werror=implicit-function-declaration] pm_runtime_enable(dev); ^ cc1: some warnings being treated as errors vim +/pm_runtime_put_noidle +1761 drivers//ata/ahci.c d243bed32f drivers/ata/ahci.c Tirumalesh Chalamarla 2016-02-16 1642 4447d35156 drivers/ata/ahci.c Tejun Heo 2007-04-17 1643 /* save initial config */ 394d6e535f drivers/ata/ahci.c Anton Vorontsov 2010-03-03 1644 ahci_pci_save_initial_config(pdev, hpriv); ^1da177e4c drivers/scsi/ahci.c Linus Torvalds 2005-04-16 1645 4447d35156 drivers/ata/ahci.c Tejun Heo 2007-04-17 1646 /* prepare host */ 453d3131ec drivers/ata/ahci.c Robert Hancock 2010-01-26 1647 if (hpriv->cap & HOST_CAP_NCQ) { 453d3131ec drivers/ata/ahci.c Robert Hancock 2010-01-26 1648 pi.flags |= ATA_FLAG_NCQ; 83f2b9630c drivers/ata/ahci.c Tejun Heo 2010-03-30 1649 /* 83f2b9630c drivers/ata/ahci.c Tejun Heo 2010-03-30 1650 * Auto-activate optimization is supposed to be 83f2b9630c drivers/ata/ahci.c Tejun Heo 2010-03-30 1651 * supported on all AHCI controllers indicating NCQ 83f2b9630c drivers/ata/ahci.c Tejun Heo 2010-03-30 1652 * capability, but it seems to be broken on some 83f2b9630c drivers/ata/ahci.c Tejun Heo 2010-03-30 1653 * chipsets including NVIDIAs. 83f2b9630c drivers/ata/ahci.c Tejun Heo 2010-03-30 1654 */ 83f2b9630c drivers/ata/ahci.c Tejun Heo 2010-03-30 1655 if (!(hpriv->flags & AHCI_HFLAG_NO_FPDMA_AA)) 453d3131ec drivers/ata/ahci.c Robert Hancock 2010-01-26 1656 pi.flags |= ATA_FLAG_FPDMA_AA; 40fb59e75a drivers/ata/ahci.c Marc Carino 2013-08-24 1657 40fb59e75a drivers/ata/ahci.c Marc Carino 2013-08-24 1658 /* 40fb59e75a drivers/ata/ahci.c Marc Carino
Re: [PATCH v2 2/3] phy: core: Drop unused runtime PM APIs
Hi Ulf, I love your patch! Yet something to improve: [auto build test ERROR on phy/next] [also build test ERROR on v4.15-rc4 next-20171222] [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/Ulf-Hansson/phy-core-Re-work-runtime-PM-deployment-and-fix-an-issue/20171223-170432 base: https://git.kernel.org/pub/scm/linux/kernel/git/kishon/linux-phy.git next config: x86_64-acpi-redef (attached as .config) compiler: gcc-7 (Debian 7.2.0-12) 7.2.1 20171025 reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All errors (new ones prefixed by >>): drivers//ata/libahci.c: In function 'ahci_rpm_get_port': >> drivers//ata/libahci.c:239:9: error: implicit declaration of function >> 'pm_runtime_get_sync'; did you mean 'ktime_get_ns'? >> [-Werror=implicit-function-declaration] return pm_runtime_get_sync(ap->dev); ^~~ ktime_get_ns drivers//ata/libahci.c: In function 'ahci_rpm_put_port': >> drivers//ata/libahci.c:251:2: error: implicit declaration of function >> 'pm_runtime_put'; did you mean 'of_node_put'? >> [-Werror=implicit-function-declaration] pm_runtime_put(ap->dev); ^~ of_node_put cc1: some warnings being treated as errors vim +251 drivers//ata/libahci.c 365cfa1e Anton Vorontsov 2010-03-28 228 bb03c640 Mika Westerberg 2016-02-18 229 /** bb03c640 Mika Westerberg 2016-02-18 230 *ahci_rpm_get_port - Make sure the port is powered on bb03c640 Mika Westerberg 2016-02-18 231 *@ap: Port to power on bb03c640 Mika Westerberg 2016-02-18 232 * bb03c640 Mika Westerberg 2016-02-18 233 *Whenever there is need to access the AHCI host registers outside of bb03c640 Mika Westerberg 2016-02-18 234 *normal execution paths, call this function to make sure the host is bb03c640 Mika Westerberg 2016-02-18 235 *actually powered on. bb03c640 Mika Westerberg 2016-02-18 236 */ bb03c640 Mika Westerberg 2016-02-18 237 static int ahci_rpm_get_port(struct ata_port *ap) bb03c640 Mika Westerberg 2016-02-18 238 { bb03c640 Mika Westerberg 2016-02-18 @239return pm_runtime_get_sync(ap->dev); bb03c640 Mika Westerberg 2016-02-18 240 } bb03c640 Mika Westerberg 2016-02-18 241 bb03c640 Mika Westerberg 2016-02-18 242 /** bb03c640 Mika Westerberg 2016-02-18 243 *ahci_rpm_put_port - Undoes ahci_rpm_get_port() bb03c640 Mika Westerberg 2016-02-18 244 *@ap: Port to power down bb03c640 Mika Westerberg 2016-02-18 245 * bb03c640 Mika Westerberg 2016-02-18 246 *Undoes ahci_rpm_get_port() and possibly powers down the AHCI host bb03c640 Mika Westerberg 2016-02-18 247 *if it has no more active users. bb03c640 Mika Westerberg 2016-02-18 248 */ bb03c640 Mika Westerberg 2016-02-18 249 static void ahci_rpm_put_port(struct ata_port *ap) bb03c640 Mika Westerberg 2016-02-18 250 { bb03c640 Mika Westerberg 2016-02-18 @251pm_runtime_put(ap->dev); bb03c640 Mika Westerberg 2016-02-18 252 } bb03c640 Mika Westerberg 2016-02-18 253 :: The code at line 251 was first introduced by commit :: bb03c640697155639b2e15e2aaa4c10f60bf0d5e ahci: Add functions to manage runtime PM of AHCI ports :: TO: Mika Westerberg :: CC: Tejun Heo --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
Re: [PATCH v2 5/9] arch: sh: migor: Use new renesas-ceu camera driver
Hi Jacopo, Thank you for the patch! Yet something to improve: [auto build test ERROR on linuxtv-media/master] [also build test ERROR on v4.15-rc5 next-20171222] [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/Jacopo-Mondi/Renesas-Capture-Engine-Unit-CEU-V4L2-driver/20171230-212202 base: git://linuxtv.org/media_tree.git master config: sh-migor_defconfig (attached as .config) compiler: sh4-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree make.cross ARCH=sh Note: the linux-review/Jacopo-Mondi/Renesas-Capture-Engine-Unit-CEU-V4L2-driver/20171230-212202 HEAD 71df4d9132d9f8a1821abcec32c12adba1892c50 builds fine. It only hurts bisectibility. All errors (new ones prefixed by >>): >> arch/sh/boards/mach-migor/setup.c:403:3: error: 'struct ov772x_camera_info' >> has no member named 'xclk_rate' .xclk_rate = 1000, ^ vim +403 arch/sh/boards/mach-migor/setup.c 401 402 static struct ov772x_camera_info ov7725_info = { > 403 .xclk_rate = 1000, 404 }; 405 --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
Re: [PATCH 01/33] clk_ops: change round_rate() to return unsigned long
Hi Bryan, I love your patch! Perhaps something to improve: [auto build test WARNING on tegra/for-next] [also build test WARNING on v4.15-rc6] [cannot apply to clk/clk-next next-20171222] [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/Bryan-O-Donoghue/change-clk_ops-round_rate-to-scale-past-LONG_MAX/20180101-212907 base: https://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git for-next config: i386-randconfig-b0-01011934 (attached as .config) compiler: gcc-4.9 (Debian 4.9.4-2) 4.9.4 reproduce: # save the attached .config to linux build tree make ARCH=i386 All warnings (new ones prefixed by >>): >> drivers/clk/clk-versaclock5.c:321:2: warning: initialization from >> incompatible pointer type .round_rate = vc5_dbl_round_rate, ^ drivers/clk/clk-versaclock5.c:321:2: warning: (near initialization for 'vc5_dbl_ops.round_rate') vim +321 drivers/clk/clk-versaclock5.c 8c1ebe97 Marek Vasut 2017-07-09 318 8c1ebe97 Marek Vasut 2017-07-09 319 static const struct clk_ops vc5_dbl_ops = { 8c1ebe97 Marek Vasut 2017-07-09 320.recalc_rate= vc5_dbl_recalc_rate, 8c1ebe97 Marek Vasut 2017-07-09 @321.round_rate = vc5_dbl_round_rate, 8c1ebe97 Marek Vasut 2017-07-09 322.set_rate = vc5_dbl_set_rate, 8c1ebe97 Marek Vasut 2017-07-09 323 }; 8c1ebe97 Marek Vasut 2017-07-09 324 :: The code at line 321 was first introduced by commit :: 8c1ebe9762670159ca982167131af63c94ff1571 clk: vc5: Add support for the input frequency doubler :: TO: Marek Vasut :: CC: Stephen Boyd --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
Re: [PATCH 01/33] clk_ops: change round_rate() to return unsigned long
Hi Bryan, I love your patch! Yet something to improve: [auto build test ERROR on tegra/for-next] [also build test ERROR on v4.15-rc6] [cannot apply to clk/clk-next next-20171222] [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/Bryan-O-Donoghue/change-clk_ops-round_rate-to-scale-past-LONG_MAX/20180101-212907 base: https://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git for-next config: x86_64-randconfig-x016-201800 (attached as .config) compiler: gcc-7 (Debian 7.2.0-12) 7.2.1 20171025 reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All errors (new ones prefixed by >>): >> drivers//clk/clk-versaclock5.c:321:16: error: initialization from >> incompatible pointer type [-Werror=incompatible-pointer-types] .round_rate = vc5_dbl_round_rate, ^~ drivers//clk/clk-versaclock5.c:321:16: note: (near initialization for 'vc5_dbl_ops.round_rate') cc1: some warnings being treated as errors vim +321 drivers//clk/clk-versaclock5.c 8c1ebe97 Marek Vasut 2017-07-09 318 8c1ebe97 Marek Vasut 2017-07-09 319 static const struct clk_ops vc5_dbl_ops = { 8c1ebe97 Marek Vasut 2017-07-09 320.recalc_rate= vc5_dbl_recalc_rate, 8c1ebe97 Marek Vasut 2017-07-09 @321.round_rate = vc5_dbl_round_rate, 8c1ebe97 Marek Vasut 2017-07-09 322.set_rate = vc5_dbl_set_rate, 8c1ebe97 Marek Vasut 2017-07-09 323 }; 8c1ebe97 Marek Vasut 2017-07-09 324 :: The code at line 321 was first introduced by commit :: 8c1ebe9762670159ca982167131af63c94ff1571 clk: vc5: Add support for the input frequency doubler :: TO: Marek Vasut :: CC: Stephen Boyd --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
Re: [PATCH 01/33] clk_ops: change round_rate() to return unsigned long
Hi Bryan, I love your patch! Perhaps something to improve: [auto build test WARNING on tegra/for-next] [also build test WARNING on v4.15-rc6] [cannot apply to clk/clk-next next-20171222] [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/Bryan-O-Donoghue/change-clk_ops-round_rate-to-scale-past-LONG_MAX/20180101-212907 base: https://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git for-next reproduce: # apt-get install sparse make ARCH=x86_64 allmodconfig make C=1 CF=-D__CHECK_ENDIAN__ sparse warnings: (new ones prefixed by >>) vim +321 drivers/clk/clk-versaclock5.c 8c1ebe97 Marek Vasut 2017-07-09 318 8c1ebe97 Marek Vasut 2017-07-09 319 static const struct clk_ops vc5_dbl_ops = { 8c1ebe97 Marek Vasut 2017-07-09 320.recalc_rate= vc5_dbl_recalc_rate, 8c1ebe97 Marek Vasut 2017-07-09 @321.round_rate = vc5_dbl_round_rate, 8c1ebe97 Marek Vasut 2017-07-09 322.set_rate = vc5_dbl_set_rate, 8c1ebe97 Marek Vasut 2017-07-09 323 }; 8c1ebe97 Marek Vasut 2017-07-09 324 :: The code at line 321 was first introduced by commit :: 8c1ebe9762670159ca982167131af63c94ff1571 clk: vc5: Add support for the input frequency doubler :: TO: Marek Vasut :: CC: Stephen Boyd --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Re: [PATCH v6 3/9] v4l: platform: Add Renesas CEU driver
Hi Jacopo, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on linus/master] [also build test WARNING on v4.15-rc8] [cannot apply to linuxtv-media/master next-20180119] [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/Jacopo-Mondi/Renesas-Capture-Engine-Unit-CEU-V4L2-driver/20180120-053007 config: ia64-allmodconfig (attached as .config) compiler: ia64-linux-gcc (GCC) 7.2.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree make.cross ARCH=ia64 Note: it may well be a FALSE warning. FWIW you are at least aware of it now. http://gcc.gnu.org/wiki/Better_Uninitialized_Warnings All warnings (new ones prefixed by >>): drivers/media/platform/renesas-ceu.c: In function 'ceu_start_streaming': >> drivers/media/platform/renesas-ceu.c:287:2: warning: 'cdwdr' may be used >> uninitialized in this function [-Wmaybe-uninitialized] iowrite32(data, priv->base + reg_offs); ^~ drivers/media/platform/renesas-ceu.c:335:27: note: 'cdwdr' was declared here u32 camcr, cdocr, cfzsr, cdwdr, capwr; ^ >> drivers/media/platform/renesas-ceu.c:287:2: warning: 'cfzsr' may be used >> uninitialized in this function [-Wmaybe-uninitialized] iowrite32(data, priv->base + reg_offs); ^~ drivers/media/platform/renesas-ceu.c:335:20: note: 'cfzsr' was declared here u32 camcr, cdocr, cfzsr, cdwdr, capwr; ^ >> drivers/media/platform/renesas-ceu.c:415:8: warning: 'camcr' may be used >> uninitialized in this function [-Wmaybe-uninitialized] camcr |= mbus_flags & V4L2_MBUS_HSYNC_ACTIVE_LOW ? 1 << 0 : 0; ~~^~~ drivers/media/platform/renesas-ceu.c:335:6: note: 'camcr' was declared here u32 camcr, cdocr, cfzsr, cdwdr, capwr; ^ drivers/media/platform/renesas-ceu.c: In function 'ceu_probe': >> drivers/media/platform/renesas-ceu.c:1621:9: warning: 'ret' may be used >> uninitialized in this function [-Wmaybe-uninitialized] return ret; ^~~ vim +/cdwdr +287 drivers/media/platform/renesas-ceu.c 284 285 static void ceu_write(struct ceu_device *priv, unsigned int reg_offs, u32 data) 286 { > 287 iowrite32(data, priv->base + reg_offs); 288 } 289 290 static u32 ceu_read(struct ceu_device *priv, unsigned int reg_offs) 291 { 292 return ioread32(priv->base + reg_offs); 293 } 294 295 /* 296 * ceu_soft_reset() - Software reset the CEU interface. 297 * @ceu_device: CEU device. 298 * 299 * Returns 0 for success, -EIO for error. 300 */ 301 static int ceu_soft_reset(struct ceu_device *ceudev) 302 { 303 unsigned int i; 304 305 ceu_write(ceudev, CEU_CAPSR, CEU_CAPSR_CPKIL); 306 307 for (i = 0; i < 100; i++) { 308 if (!(ceu_read(ceudev, CEU_CSTSR) & CEU_CSTRST_CPTON)) 309 break; 310 udelay(1); 311 } 312 313 if (i == 100) { 314 dev_err(ceudev->dev, "soft reset time out\n"); 315 return -EIO; 316 } 317 318 for (i = 0; i < 100; i++) { 319 if (!(ceu_read(ceudev, CEU_CAPSR) & CEU_CAPSR_CPKIL)) 320 return 0; 321 udelay(1); 322 } 323 324 /* If we get here, CEU has not reset properly. */ 325 return -EIO; 326 } 327 328 /* --- CEU Capture Operations --- */ 329 330 /* 331 * ceu_hw_config() - Configure CEU interface registers. 332 */ 333 static int ceu_hw_config(struct ceu_device *ceudev) 334 { > 335 u32 camcr, cdocr, cfzsr, cdwdr, capwr; 336 struct v4l2_pix_format_mplane *pix = &ceudev->v4l2_pix; 337 struct ceu_subdev *ceu_sd = ceudev->sd; 338 struct ceu_mbus_fmt *mbus_fmt = &ceu_sd->mbus_fmt; 339 unsigned int mbus_flags = ceu_sd->mbus_flags; 340 341 /* Start configuring CEU registers */ 342 ceu_write(ceudev, CEU_CAIFR, 0); 343 ceu_write(ceudev, CEU_CFWCR, 0); 344 ceu_write(ceudev, CEU_CRCNTR, 0); 345 ceu_write(ceudev, CEU_CRCMPR, 0); 346 347 /* Set the frame capture period for both image capture and data sync. */ 348 capwr = (pix->height << 16) | pix->width * mbus_fmt->bpp / 8; 349 350 /* 351 * Swap input data endianness by default. 352 * In data fetch mode bytes are rec
Re: [PATCH v6 3/9] v4l: platform: Add Renesas CEU driver
Hi Jacopo, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on linus/master] [also build test WARNING on v4.15-rc8] [cannot apply to linuxtv-media/master next-20180119] [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/Jacopo-Mondi/Renesas-Capture-Engine-Unit-CEU-V4L2-driver/20180120-053007 config: mn10300-allmodconfig (attached as .config) compiler: am33_2.0-linux-gcc (GCC) 7.2.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree make.cross ARCH=mn10300 Note: it may well be a FALSE warning. FWIW you are at least aware of it now. http://gcc.gnu.org/wiki/Better_Uninitialized_Warnings All warnings (new ones prefixed by >>): In file included from include/linux/scatterlist.h:9:0, from include/linux/dma-mapping.h:11, from drivers/media/platform/renesas-ceu.c:16: drivers/media/platform/renesas-ceu.c: In function 'ceu_start_streaming': >> arch/mn10300/include/asm/io.h:63:25: warning: 'cdwdr' may be used >> uninitialized in this function [-Wmaybe-uninitialized] *(volatile u32 *) addr = b; ~~~^~~ drivers/media/platform/renesas-ceu.c:335:27: note: 'cdwdr' was declared here u32 camcr, cdocr, cfzsr, cdwdr, capwr; ^ In file included from include/linux/scatterlist.h:9:0, from include/linux/dma-mapping.h:11, from drivers/media/platform/renesas-ceu.c:16: >> arch/mn10300/include/asm/io.h:63:25: warning: 'cfzsr' may be used >> uninitialized in this function [-Wmaybe-uninitialized] *(volatile u32 *) addr = b; ~~~^~~ drivers/media/platform/renesas-ceu.c:335:20: note: 'cfzsr' was declared here u32 camcr, cdocr, cfzsr, cdwdr, capwr; ^ drivers/media/platform/renesas-ceu.c:415:8: warning: 'camcr' may be used uninitialized in this function [-Wmaybe-uninitialized] camcr |= mbus_flags & V4L2_MBUS_HSYNC_ACTIVE_LOW ? 1 << 0 : 0; ~~^~~ drivers/media/platform/renesas-ceu.c:335:6: note: 'camcr' was declared here u32 camcr, cdocr, cfzsr, cdwdr, capwr; ^ drivers/media/platform/renesas-ceu.c: In function 'ceu_probe': drivers/media/platform/renesas-ceu.c:1621:9: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized] return ret; ^~~ -- In file included from include/linux/scatterlist.h:9:0, from include/linux/dma-mapping.h:11, from drivers/media//platform/renesas-ceu.c:16: drivers/media//platform/renesas-ceu.c: In function 'ceu_start_streaming': >> arch/mn10300/include/asm/io.h:63:25: warning: 'cdwdr' may be used >> uninitialized in this function [-Wmaybe-uninitialized] *(volatile u32 *) addr = b; ~~~^~~ drivers/media//platform/renesas-ceu.c:335:27: note: 'cdwdr' was declared here u32 camcr, cdocr, cfzsr, cdwdr, capwr; ^ In file included from include/linux/scatterlist.h:9:0, from include/linux/dma-mapping.h:11, from drivers/media//platform/renesas-ceu.c:16: >> arch/mn10300/include/asm/io.h:63:25: warning: 'cfzsr' may be used >> uninitialized in this function [-Wmaybe-uninitialized] *(volatile u32 *) addr = b; ~~~^~~ drivers/media//platform/renesas-ceu.c:335:20: note: 'cfzsr' was declared here u32 camcr, cdocr, cfzsr, cdwdr, capwr; ^ drivers/media//platform/renesas-ceu.c:415:8: warning: 'camcr' may be used uninitialized in this function [-Wmaybe-uninitialized] camcr |= mbus_flags & V4L2_MBUS_HSYNC_ACTIVE_LOW ? 1 << 0 : 0; ~~^~~ drivers/media//platform/renesas-ceu.c:335:6: note: 'camcr' was declared here u32 camcr, cdocr, cfzsr, cdwdr, capwr; ^ drivers/media//platform/renesas-ceu.c: In function 'ceu_probe': drivers/media//platform/renesas-ceu.c:1621:9: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized] return ret; ^~~ vim +/cdwdr +63 arch/mn10300/include/asm/io.h b920de1b include/asm-mn10300/io.h David Howells 2008-02-08 60 b920de1b include/asm-mn10300/io.h David Howells 2008-02-08 61 static inline void writel(u32 b, volatile void __iomem *addr) b920de1b include/asm-mn10300/io.h David Howells 2008-02-08 62 { b920de1b include/asm-mn10300/io.h David Howells 2008-02-08 @63 *(volatile u32 *) addr = b; b920de1b include/asm-mn10300/io.h David Howells 2008-02-08 64 } b920de1b include/asm-mn10300/io.h Da
Re: [PATCH v2 3/5] [RFT] ARM: dts: wheat: Fix ADV7513 address usage
Hi Kieran, I love your patch! Yet something to improve: [auto build test ERROR on linuxtv-media/master] [also build test ERROR on v4.16-rc1 next-20180213] [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/Kieran-Bingham/dt-bindings-media-adv7604-Add-support-for-i2c_new_secondary_device/20180214-032943 base: git://linuxtv.org/media_tree.git master config: arm-allyesconfig (attached as .config) compiler: arm-linux-gnueabi-gcc (Debian 7.2.0-11) 7.2.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree make.cross ARCH=arm All errors (new ones prefixed by >>): >> Error: arch/arm/boot/dts/r8a7792-wheat.dts:251.24-25 syntax error FATAL ERROR: Unable to parse input tree --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
[renesas:topic/sdhi-refactor-v2+sdhi-cmd23 5/7] ERROR: "renesas_sdhi_get_dma_ops" [drivers/mmc/host/renesas_sdhi_core.ko] undefined!
tree: https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git topic/sdhi-refactor-v2+sdhi-cmd23 head: 799c8fd6d9386e2ea6880a89c9de3fbb7a7994f7 commit: d683af706a3513d05245107b6b42d8b4da1f59c2 [5/7] mmc: renesas-sdhi: rename sh_mobile_sdhi.c => renesas_sdhi_core.c config: arm64-allmodconfig (attached as .config) compiler: aarch64-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705 reproduce: wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout d683af706a3513d05245107b6b42d8b4da1f59c2 # save the attached .config to linux build tree make.cross ARCH=arm64 Note: the renesas/topic/sdhi-refactor-v2+sdhi-cmd23 HEAD 799c8fd6d9386e2ea6880a89c9de3fbb7a7994f7 builds fine. It only hurts bisectibility. All errors (new ones prefixed by >>): >> ERROR: "renesas_sdhi_get_dma_ops" [drivers/mmc/host/renesas_sdhi_core.ko] >> undefined! --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
[renesas-drivers:master 20/49] drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c:552:6: error: passing argument 2 of 'cfg80211_roamed' from incompatible pointer type
tree: https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git master head: f450c3063cab84ac09ee89bca35eaf1356257864 commit: 3b5d5fb32a22ad019ba0e9012bd7e70020f639b6 [20/49] Merge remote-tracking branch 'staging/staging-next' into renesas-drivers config: ia64-allmodconfig (attached as .config) compiler: ia64-linux-gcc (GCC) 6.2.0 reproduce: wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout 3b5d5fb32a22ad019ba0e9012bd7e70020f639b6 # save the attached .config to linux build tree make.cross ARCH=ia64 All errors (new ones prefixed by >>): drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c: In function 'rtw_cfg80211_indicate_connect': >> drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c:552:6: error: passing >> argument 2 of 'cfg80211_roamed' from incompatible pointer type >> [-Werror=incompatible-pointer-types] , notify_channel ^~ In file included from drivers/staging/rtl8723bs/include/osdep_service_linux.h:50:0, from drivers/staging/rtl8723bs/include/osdep_service.h:23, from drivers/staging/rtl8723bs/include/drv_types.h:29, from drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c:17: include/net/cfg80211.h:5435:6: note: expected 'struct cfg80211_roam_info *' but argument is of type 'struct ieee80211_channel *' void cfg80211_roamed(struct net_device *dev, struct cfg80211_roam_info *info, ^~~ drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c:553:6: warning: passing argument 3 of 'cfg80211_roamed' makes integer from pointer without a cast [-Wint-conversion] , cur_network->network.MacAddress ^~~ In file included from drivers/staging/rtl8723bs/include/osdep_service_linux.h:50:0, from drivers/staging/rtl8723bs/include/osdep_service.h:23, from drivers/staging/rtl8723bs/include/drv_types.h:29, from drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c:17: include/net/cfg80211.h:5435:6: note: expected 'gfp_t {aka unsigned int}' but argument is of type 'unsigned char *' void cfg80211_roamed(struct net_device *dev, struct cfg80211_roam_info *info, ^~~ >> drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c:551:3: error: too many >> arguments to function 'cfg80211_roamed' cfg80211_roamed(padapter->pnetdev ^~~ In file included from drivers/staging/rtl8723bs/include/osdep_service_linux.h:50:0, from drivers/staging/rtl8723bs/include/osdep_service.h:23, from drivers/staging/rtl8723bs/include/drv_types.h:29, from drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c:17: include/net/cfg80211.h:5435:6: note: declared here void cfg80211_roamed(struct net_device *dev, struct cfg80211_roam_info *info, ^~~ drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c: In function 'rtw_cfg80211_preinit_wiphy': >> drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c:3409:18: error: >> 'WIPHY_FLAG_SUPPORTS_SCHED_SCAN' undeclared (first use in this function) wiphy->flags |= WIPHY_FLAG_SUPPORTS_SCHED_SCAN; ^~ drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c:3409:18: note: each undeclared identifier is reported only once for each function it appears in drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c: At top level: >> drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c:3426:25: error: >> initialization from incompatible pointer type >> [-Werror=incompatible-pointer-types] .change_virtual_intf = cfg80211_rtw_change_iface, ^ drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c:3426:25: note: (near initialization for 'rtw_cfg80211_ops.change_virtual_intf') drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c:3445:22: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types] .add_virtual_intf = cfg80211_rtw_add_virtual_intf, ^ drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c:3445:22: note: (near initialization for 'rtw_cfg80211_ops.add_virtual_intf') cc1: some warnings being treated as errors vim +/cfg80211_roamed +552 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 554c0a3a Hans de Goede 2017-03-29 545 554c0a3a Hans de Goede 2017-03-29 546 freq = rtw_ieee80211_channel_to_frequency(channel, NL80211_BAND_2GHZ); 554c0a3a Hans de Goede 2017-03-29 547 554c0a3a Hans de Goede 2017-03-29 548 notify_channel = ieee80211_get_channel(wiphy, freq); 554c0a3a Hans de Goede 2017-03-29 549 554c0a3a Hans de Goede 2017-03-29 550 DBG_871X(FUNC_ADPT_FMT" call cfg80211_roamed\n", FUNC_A
[renesas-drivers:master 101/531] drivers/media//platform/vsp1/vsp1_video.c:951:30: warning: missing braces around initializer
tree: https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git master head: 1e9588d83e43b54a15094cd0fa125f8a5645d6ea commit: 5debeb08338b520f52577ca6cf9be815a54c07ea [101/531] v4l: vsp1: Provide a writeback video device config: xtensa-allmodconfig (attached as .config) compiler: xtensa-linux-gcc (GCC) 4.9.0 reproduce: wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout 5debeb08338b520f52577ca6cf9be815a54c07ea # save the attached .config to linux build tree make.cross ARCH=xtensa All warnings (new ones prefixed by >>): drivers/media//platform/vsp1/vsp1_video.c: In function 'vsp1_video_wb_process_buffer': >> drivers/media//platform/vsp1/vsp1_video.c:951:30: warning: missing braces >> around initializer [-Wmissing-braces] video->rwpf->mem = (struct vsp1_rwpf_memory) { 0 }; ^ drivers/media//platform/vsp1/vsp1_video.c:951:30: warning: (near initialization for '(anonymous).addr') [-Wmissing-braces] drivers/media//platform/vsp1/vsp1_video.c: In function 'vsp1_video_wb_stop_streaming': drivers/media//platform/vsp1/vsp1_video.c:1013:22: warning: missing braces around initializer [-Wmissing-braces] rwpf->mem = (struct vsp1_rwpf_memory) { 0 }; ^ drivers/media//platform/vsp1/vsp1_video.c:1013:22: warning: (near initialization for '(anonymous).addr') [-Wmissing-braces] vim +951 drivers/media//platform/vsp1/vsp1_video.c 935 } 936 937 buf = list_first_entry_or_null(&video->wbqueue, struct vsp1_vb2_buffer, 938 queue); 939 940 if (buf) { 941 video->rwpf->mem = buf->mem; 942 943 /* 944 * Store this buffer as pending. It will commence at the next 945 * frame start interrupt 946 */ 947 video->pending = buf; 948 list_del(&buf->queue); 949 } else { 950 /* Disable writeback with no buffer */ > 951 video->rwpf->mem = (struct vsp1_rwpf_memory) { 0 }; 952 } 953 954 spin_unlock_irqrestore(&video->irqlock, flags); 955 } 956 957 static void vsp1_video_wb_frame_end(struct vsp1_pipeline *pipe) 958 { 959 struct vsp1_video *video = pipe->output->video; --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
[renesas:topic/sdhi-refactor-v2+sdhi-cmd23 6/7] ERROR: "renesas_sdhi_remove" [drivers/mmc/host/renesas_sdhi_sys_dmac.ko] undefined!
tree: https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git topic/sdhi-refactor-v2+sdhi-cmd23 head: 799c8fd6d9386e2ea6880a89c9de3fbb7a7994f7 commit: 2156a07053f52c85fba8b715116b0241d5fca25b [6/7] mmc: renesas-sdhi: make renesas_sdhi_sys_dmac main module file config: arm-allmodconfig (attached as .config) compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705 reproduce: wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout 2156a07053f52c85fba8b715116b0241d5fca25b # save the attached .config to linux build tree make.cross ARCH=arm All errors (new ones prefixed by >>): >> ERROR: "renesas_sdhi_remove" [drivers/mmc/host/renesas_sdhi_sys_dmac.ko] >> undefined! >> ERROR: "renesas_sdhi_probe" [drivers/mmc/host/renesas_sdhi_sys_dmac.ko] >> undefined! --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
[renesas-drivers:test/rcar2-cpg-mssr-v2 22/51] (.text+0x1916e): multiple definition of `clk_get'
tree: https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git test/rcar2-cpg-mssr-v2 head: e073b349f98d3db06a54d26904561ab78c02767b commit: 8cc60e1ad7c6850d1a0be02a3d1606cecb298602 [22/51] [TEST] m68k: Enable COMMON_CLK config: m68k-m5475evb_defconfig (attached as .config) compiler: m68k-linux-gcc (GCC) 4.9.0 reproduce: wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout 8cc60e1ad7c6850d1a0be02a3d1606cecb298602 # save the attached .config to linux build tree make.cross ARCH=m68k All errors (new ones prefixed by >>): drivers/built-in.o: In function `clk_get': >> (.text+0x1916e): multiple definition of `clk_get' arch/m68k/coldfire/built-in.o:(.text+0x7e): first defined here drivers/built-in.o: In function `clk_get_rate': >> (.text+0x1ab4e): multiple definition of `clk_get_rate' arch/m68k/coldfire/built-in.o:(.text+0x74): first defined here drivers/built-in.o: In function `clk_put': >> (.text+0x191b0): multiple definition of `clk_put' arch/m68k/coldfire/built-in.o:(.text+0xf4): first defined here drivers/built-in.o: In function `clk_disable': >> (.text+0x19d10): multiple definition of `clk_disable' arch/m68k/coldfire/built-in.o:(.text+0x3a): first defined here drivers/built-in.o: In function `clk_enable': >> (.text+0x19de0): multiple definition of `clk_enable' arch/m68k/coldfire/built-in.o:(.text+0x0): first defined here --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
Re: [PATCH v6 7/7] media: platform: rcar_drif: Add DRIF support
Hi Ramesh, [auto build test ERROR on linuxtv-media/master] [also build test ERROR on v4.12-rc3 next-20170531] [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/Ramesh-Shanmugasundaram/Add-V4L2-SDR-DRIF-MAX2175-driver/20170531-231937 base: git://linuxtv.org/media_tree.git master config: arm64-allmodconfig (attached as .config) compiler: aarch64-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705 reproduce: wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree make.cross ARCH=arm64 All errors (new ones prefixed by >>): drivers/media//platform/rcar_drif.c: In function 'rcar_drif_notify_bound': >> drivers/media//platform/rcar_drif.c:1110:23: error: 'union ' has >> no member named 'fwnode' if (sdr->ep.asd.match.fwnode.fwnode != ^ drivers/media//platform/rcar_drif.c: In function 'rcar_drif_parse_subdevs': drivers/media//platform/rcar_drif.c:1232:19: error: 'union ' has no member named 'fwnode' sdr->ep.asd.match.fwnode.fwnode = fwnode; ^ >> drivers/media//platform/rcar_drif.c:1233:27: error: >> 'V4L2_ASYNC_MATCH_FWNODE' undeclared (first use in this function) sdr->ep.asd.match_type = V4L2_ASYNC_MATCH_FWNODE; ^~~ drivers/media//platform/rcar_drif.c:1233:27: note: each undeclared identifier is reported only once for each function it appears in vim +/V4L2_ASYNC_MATCH_FWNODE +1233 drivers/media//platform/rcar_drif.c 1104 struct v4l2_subdev *subdev, 1105 struct v4l2_async_subdev *asd) 1106 { 1107 struct rcar_drif_sdr *sdr = 1108 container_of(notifier, struct rcar_drif_sdr, notifier); 1109 > 1110 if (sdr->ep.asd.match.fwnode.fwnode != of_fwnode_handle(subdev->dev->of_node)) { 1112 rdrif_err(sdr, "subdev %s cannot bind\n", subdev->name); 1113 return -EINVAL; 1114 } 1115 1116 v4l2_set_subdev_hostdata(subdev, sdr); 1117 sdr->ep.subdev = subdev; 1118 rdrif_dbg(sdr, "bound asd %s\n", subdev->name); 1119 1120 return 0; 1121 } 1122 1123 /* Sub-device unbind callback */ 1124 static void rcar_drif_notify_unbind(struct v4l2_async_notifier *notifier, 1125 struct v4l2_subdev *subdev, 1126 struct v4l2_async_subdev *asd) 1127 { 1128 struct rcar_drif_sdr *sdr = 1129 container_of(notifier, struct rcar_drif_sdr, notifier); 1130 1131 if (sdr->ep.subdev != subdev) { 1132 rdrif_err(sdr, "subdev %s is not bound\n", subdev->name); 1133 return; 1134 } 1135 1136 /* Free ctrl handler if initialized */ 1137 v4l2_ctrl_handler_free(&sdr->ctrl_hdl); 1138 sdr->v4l2_dev.ctrl_handler = NULL; 1139 sdr->ep.subdev = NULL; 1140 1141 rcar_drif_sdr_unregister(sdr); 1142 rdrif_dbg(sdr, "unbind asd %s\n", subdev->name); 1143 } 1144 1145 /* Sub-device registered notification callback */ 1146 static int rcar_drif_notify_complete(struct v4l2_async_notifier *notifier) 1147 { 1148 struct rcar_drif_sdr *sdr = 1149 container_of(notifier, struct rcar_drif_sdr, notifier); 1150 int ret; 1151 1152 /* 1153 * The subdev tested at this point uses 4 controls. Using 10 as a worst 1154 * case scenario hint. When less controls are needed there will be some 1155 * unused memory and when more controls are needed the framework uses 1156 * hash to manage controls within this number. 1157 */ 1158 ret = v4l2_ctrl_handler_init(&sdr->ctrl_hdl, 10); 1159 if (ret) 1160 return -ENOMEM; 1161 1162 sdr->v4l2_dev.ctrl_handler = &sdr->ctrl_hdl; 1163 ret = v4l2_device_register_subdev_nodes(&sdr->v4l2_dev); 1164 if (ret) { 1165 rdrif_err(sdr, "failed: register subdev nodes ret %d\n", ret); 1166 goto error; 1167 } 1168 1169 ret = v4l2_ctrl_add_handler(&sdr->ctrl_hdl, 1170 sdr->ep.subdev->ctrl_handler, NULL); 1171 if (ret) { 1172 rdrif_err(sdr, "failed: ctrl add hdlr ret %d\n", ret); 1173 goto error; 1174 } 1175 1176 ret = rcar_drif_sdr_register(sdr); 1177 if (ret) 1178 goto error; 1179 1180 re
Re: [PATCH v2] net: phy: Make phy_ethtool_ksettings_get return void
Hi Yuval, [auto build test ERROR on net-next/master] [also build test ERROR on next-20170609] [cannot apply to v4.12-rc5] [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/Yuval-Shaia/net-phy-Make-phy_ethtool_ksettings_get-return-void/20170613-005407 config: ia64-allmodconfig (attached as .config) compiler: ia64-linux-gcc (GCC) 6.2.0 reproduce: wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree make.cross ARCH=ia64 All errors (new ones prefixed by >>): drivers/net/ethernet/apm/xgene/xgene_enet_ethtool.c: In function 'xgene_get_link_ksettings': >> drivers/net/ethernet/apm/xgene/xgene_enet_ethtool.c:134:10: error: void >> value not ignored as it ought to be return phy_ethtool_ksettings_get(phydev, cmd); ^~ drivers/net/ethernet/apm/xgene/xgene_enet_ethtool.c:140:11: error: void value not ignored as it ought to be return phy_ethtool_ksettings_get(phydev, cmd); ^~ -- drivers/net/ethernet/apm/xgene-v2/ethtool.c: In function 'xge_get_link_ksettings': >> drivers/net/ethernet/apm/xgene-v2/ethtool.c:160:9: error: void value not >> ignored as it ought to be return phy_ethtool_ksettings_get(phydev, cmd); ^~ drivers/net/ethernet/apm/xgene-v2/ethtool.c:161:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ vim +134 drivers/net/ethernet/apm/xgene/xgene_enet_ethtool.c e6ad7673 Iyappan Subramanian 2014-08-07 118strcpy(info->version, XGENE_DRV_VERSION); e6ad7673 Iyappan Subramanian 2014-08-07 119snprintf(info->fw_version, ETHTOOL_FWVERS_LEN, "N/A"); e6ad7673 Iyappan Subramanian 2014-08-07 120sprintf(info->bus_info, "%s", pdev->name); e6ad7673 Iyappan Subramanian 2014-08-07 121 } e6ad7673 Iyappan Subramanian 2014-08-07 122 36a19b29 Philippe Reynes 2016-09-11 123 static int xgene_get_link_ksettings(struct net_device *ndev, 36a19b29 Philippe Reynes 2016-09-11 124 struct ethtool_link_ksettings *cmd) e6ad7673 Iyappan Subramanian 2014-08-07 125 { e6ad7673 Iyappan Subramanian 2014-08-07 126struct xgene_enet_pdata *pdata = netdev_priv(ndev); 971d3a44 Philippe Reynes 2016-09-11 127struct phy_device *phydev = ndev->phydev; 36a19b29 Philippe Reynes 2016-09-11 128u32 supported; e6ad7673 Iyappan Subramanian 2014-08-07 129 326dde3e Iyappan Subramanian 2017-05-18 130if (phy_interface_mode_is_rgmii(pdata->phy_mode)) { e6ad7673 Iyappan Subramanian 2014-08-07 131if (phydev == NULL) e6ad7673 Iyappan Subramanian 2014-08-07 132return -ENODEV; e6ad7673 Iyappan Subramanian 2014-08-07 133 36a19b29 Philippe Reynes 2016-09-11 @134return phy_ethtool_ksettings_get(phydev, cmd); 5e6a024b Iyappan Subramanian 2014-10-13 135} else if (pdata->phy_mode == PHY_INTERFACE_MODE_SGMII) { 52d1fd99 Iyappan Subramanian 2016-07-25 136if (pdata->mdio_driver) { 52d1fd99 Iyappan Subramanian 2016-07-25 137if (!phydev) 52d1fd99 Iyappan Subramanian 2016-07-25 138return -ENODEV; 52d1fd99 Iyappan Subramanian 2016-07-25 139 36a19b29 Philippe Reynes 2016-09-11 140return phy_ethtool_ksettings_get(phydev, cmd); 52d1fd99 Iyappan Subramanian 2016-07-25 141} 52d1fd99 Iyappan Subramanian 2016-07-25 142 :: The code at line 134 was first introduced by commit :: 36a19b299536746f5c01d7716dac962f831e4d38 net: ethernet: apm: xgene: use new api ethtool_{get|set}_link_ksettings :: TO: Philippe Reynes :: CC: David S. Miller --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
[renesas:drivers-for-v4.13 3/3] drivers/soc/renesas/rcar-sysc.c:209:19: error: 'GENPD_FLAG_ALWAYS_ON' undeclared
tree: https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git drivers-for-v4.13 head: 895c7e91d84c0f0e207ad909482ed70b5f3c806f commit: 895c7e91d84c0f0e207ad909482ed70b5f3c806f [3/3] soc: renesas: rcar-sysc: Use GENPD_FLAG_ALWAYS_ON config: ia64-allmodconfig (attached as .config) compiler: ia64-linux-gcc (GCC) 6.2.0 reproduce: wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout 895c7e91d84c0f0e207ad909482ed70b5f3c806f # save the attached .config to linux build tree make.cross ARCH=ia64 All errors (new ones prefixed by >>): drivers/soc/renesas/rcar-sysc.c: In function 'rcar_sysc_pd_setup': >> drivers/soc/renesas/rcar-sysc.c:209:19: error: 'GENPD_FLAG_ALWAYS_ON' >> undeclared (first use in this function) genpd->flags |= GENPD_FLAG_ALWAYS_ON; ^~~~ drivers/soc/renesas/rcar-sysc.c:209:19: note: each undeclared identifier is reported only once for each function it appears in vim +/GENPD_FLAG_ALWAYS_ON +209 drivers/soc/renesas/rcar-sysc.c 203 if (pd->flags & PD_CPU) { 204 /* 205 * This domain contains a CPU core and therefore it should 206 * only be turned off if the CPU is not in use. 207 */ 208 pr_debug("PM domain %s contains %s\n", name, "CPU"); > 209 genpd->flags |= GENPD_FLAG_ALWAYS_ON; 210 } else if (pd->flags & PD_SCU) { 211 /* 212 * This domain contains an SCU and cache-controller, and --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip