Go to file
Sven Eckelmann 4216c909aa batman-adv: Fix build with kernel 5.15.38
The build failed in this kernel due to some missing implicit includes:

  build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_mt7622/batman-adv-2022.1/compat-hacks.h:64:42: warning: 'struct sk_buff' declared inside parameter list will not be visible outside of this definition or declaration
     64 | static inline int batadv_netif_rx(struct sk_buff *skb)
        |                                          ^~~~~~~
  build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_mt7622/batman-adv-2022.1/compat-hacks.h: In function 'batadv_netif_rx':
  build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_mt7622/batman-adv-2022.1/compat-hacks.h:66:13: error: implicit declaration of function 'in_interrupt' [-Werror=implicit-function-declaration]
    66 |         if (in_interrupt())
        |             ^~~~~~~~~~~~
  build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_mt7622/batman-adv-2022.1/compat-hacks.h:67:24: error: implicit declaration of function 'netif_rx' [-Werror=implicit-function-declaration]
     67 |                 return netif_rx(skb);
        |                        ^~~~~~~~
  build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_mt7622/batman-adv-2022.1/compat-hacks.h:69:24: error: implicit declaration of function 'netif_rx_ni' [-Werror=implicit-function-declaration]
     69 |                 return netif_rx_ni(skb);
        |                        ^~~~~~~~~~~
  In file included from <command-line>:
  ./include/linux/netdevice.h: At top level:
  build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_mt7622/batman-adv-2022.1/compat-hacks.h:71:18: error: conflicting types for 'batadv_netif_rx'; have 'int(struct sk_buff *)'
     71 | #define netif_rx batadv_netif_rx
        |                  ^~~~~~~~~~~~~~~
  ./include/linux/netdevice.h:4029:5: note: in expansion of macro 'netif_rx'
   4029 | int netif_rx(struct sk_buff *skb);
        |     ^~~~~~~~
  build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_mt7622/batman-adv-2022.1/compat-hacks.h:64:19: note: previous definition of 'batadv_netif_rx' with type 'int(struct sk_buff *)'
     64 | static inline int batadv_netif_rx(struct sk_buff *skb)
        |                   ^~~~~~~~~~~~~~~
  cc1: some warnings being treated as errors

Reported-by: Chen Minqiang <ptpt52@gmail.com>
Fixes: b65a8ca03a ("batman-adv: update to version 2022.1")
Signed-off-by: Sven Eckelmann <sven@narfation.org>
2022-05-12 14:29:10 +02:00
.github ci: use openwrt/gh-action-sdk@v4 2022-03-30 21:52:40 +01:00
ahcpd ahcpd: use SHA256 hash and use HTTPS everywhere 2020-01-11 15:08:26 +01:00
alfred alfred: update to version 2022.1 2022-05-06 22:09:55 +02:00
babel-pinger treewide: Basic cleanup and alignment to package guidelines (#383) 2018-07-12 16:50:47 +02:00
babeld babeld: bump to version 1.11 2022-03-30 19:51:15 +02:00
batctl batctl: update to version 2022.1 2022-05-06 22:09:55 +02:00
batman-adv batman-adv: Fix build with kernel 5.15.38 2022-05-12 14:29:10 +02:00
batmand batmand: Refresh patches with quilt 2022-02-19 09:29:33 +01:00
bird1 bird1: fix compilation with GCC 10 2020-08-11 12:36:05 -07:00
bird1-openwrt bird: Rename to bird1 and bump to v1.6.4 2018-05-16 12:34:51 +02:00
bird2 bird2: stop service early 2022-04-27 11:31:48 +03:00
bmx6 bmx6: update to 65cb0d542f16a4b4689f5ad2542c9f24215a6616 2022-02-25 21:32:55 +01:00
bmx7 bmx7: fix compilation with uClibc-ng 2020-10-05 16:01:17 -07:00
cjdns cjdns: pass for some build warnings (#738) 2021-10-19 22:09:02 +02:00
hnetd hnetd: update to latest commit 2020-12-17 06:28:05 +00:00
luci-app-bmx6 luci-app-bmx6: fixes error line in logread #578 2020-06-15 18:08:53 +02:00
luci-app-cjdns luci-app-cjdns: Add rpcd acl file (#576) 2020-06-09 23:20:43 -04:00
mcproxy mcproxy: Makefile cleanup 2022-02-26 15:36:43 +01:00
mesh11sd mesh11sd: [New Package] Release v1.0.0 2022-03-30 21:14:57 +02:00
minimalist-pcproxy minimalist-pcproxy: fix post install script 2022-03-04 12:46:18 +01:00
naywatch naywatch: fix reboot_now 2022-04-01 10:23:56 +02:00
ndppd ndppd: remove uClibc++ support 2021-03-10 08:20:24 +01:00
nodogsplash nodogsplash: fix SPDX License Identifier and reordering 2022-03-03 08:55:53 +01:00
ohybridproxy ohybridproxy: revert to default log level 2021-11-19 07:06:50 +01:00
olsrd olsrd: set lqm via ipc 2022-03-25 19:47:32 +01:00
oonf-dlep-proxy oonf-dlep-proxy: fix compilation with Ninja 2021-06-13 10:38:01 +02:00
oonf-dlep-radio oonf-dlep-radio: refactor define Package/oonf-dlep-radio 2022-02-26 10:08:40 +01:00
oonf-init-scripts fix quoting of daemon name 2016-02-12 18:59:43 +01:00
oonf-olsrd2 oonf-olsrd2: set PKG_MIRROR_HASH and refresh patch 2021-06-13 10:30:17 +02:00
opennds opennds: remove iptables-legacy CONFLICTS 2022-04-13 00:04:06 +02:00
pimbd pimbd: Makefile refactor 2022-02-26 15:35:33 +01:00
prince prince: Makefile refactoring 2022-03-03 08:48:17 +01:00
quagga quagga: reorder things in Makefile 2022-02-26 15:37:24 +01:00
vis vis: update it, refactor Makefile and refresh patch due to fuzz 2022-03-07 14:56:01 +01:00
MAINTAINERS MAINTAINERS: updated email addresses 2017-03-04 22:31:52 +01:00
README.md README: update content and use Markdown 2021-06-11 23:00:30 +02:00

README.md

OpenWrt Routing Feed

Description

This OpenWrt package feed contains community maintained routing packages.

Usage

This repository is intended to be layered on-top of an OpenWrt buildroot. If you do not have an OpenWrt buildroot installed, see the documentation at: OpenWrt Buildroot Installation on the OpenWrt support site.

This feed is enabled by default. To install all its package definitions, run:

./scripts/feeds update routing
./scripts/feeds install -a -p routing