#20271: The AR71xx kernel fails to compile (gpio_count)
-------------------------+------------------------
 Reporter:  anonymous    |      Owner:  developers
     Type:  defect       |     Status:  new
 Priority:  normal       |  Milestone:
Component:  kernel       |    Version:  Trunk
 Keywords:  gpio, ath79  |
-------------------------+------------------------
 This is what I get when I try to build the current trunk sources with
 default configuration:

 {{{
 net/sched/Kconfig:44: warning: menuconfig statement without prompt
 arch/mips/ath79/gpio.c: In function 'ath79_gpio_output_select':
 arch/mips/ath79/gpio.c:241:5: error: 'gpio_count' may be used
 uninitialized in this function [-Werror=maybe-uninitialized]
   if (gpio >= gpio_count)
      ^
 cc1: all warnings being treated as errors
 make[7]: *** [arch/mips/ath79/gpio.o] Error 1
 make[6]: *** [arch/mips/ath79] Error 2
 make[5]: *** [arch/mips] Error 2
 make[4]: *** [/root/openwrt/build_dir/target-mips_34kc_musl-1.1.10/linux-
 ar71xx_generic/linux-4.1.3/.image] Error 2
 make[3]: *** [install] Error 2
 }}}

 I think this might be caused by the patches in #46459 (or the update to
 4.1.x without a proper revision of these patches).

--
Ticket URL: <https://dev.openwrt.org/ticket/20271>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to