[Tizen Software Development] adfree:
:confused:

In Z2 Source I got so many warnings... at beginning... here something from end...

drivers/net/wireless/sc2331/wlan_cfg80211.c: In function 'wlan_wiphy_new':
drivers/net/wireless/sc2331/wlan_cfg80211.c:3181:50: warning: assignment from incompatible pointer type
*(struct wlan_info_t **)wiphy_priv(wlan->wiphy) = wlan;
^
drivers/net/wireless/sc2331/wlan_cfg80211.c: At top level:
drivers/net/wireless/sc2331/wlan_cfg80211.c:667:13: warning: 'itm_find_ft_ie' defined but not used [-Wunused-function]
static bool itm_find_ft_ie(const unsigned char *ies, size_t ies_len, unsigned char *buf, size_t *ie_len)
^
drivers/net/wireless/sc2331/wlan_cfg80211.c: In function 'sort_for_max':
drivers/net/wireless/sc2331/wlan_cfg80211.c:288:1: warning: the frame size of 1080 bytes is larger than 1024 bytes [-Wframe-larger-than=]
}
^
CC [M] drivers/net/wireless/sc2331/wlan_wapi.o
In file included from drivers/net/wireless/sc2331/wlan_common.h:56:0,
from drivers/net/wireless/sc2331/wlan_wapi.h:22,
from drivers/net/wireless/sc2331/wlan_wapi.c:20:
drivers/net/wireless/sc2331/wlan_cfg80211.h:165:1: warning: parameter names (without types) in function declaration
extern void cfg80211_wmm_report(vif_id, pData, len);
^
In file included from drivers/net/wireless/sc2331/wlan_wapi.h:22:0,
from drivers/net/wireless/sc2331/wlan_wapi.c:20:
drivers/net/wireless/sc2331/wlan_common.h:79:0: warning: "ETH_ALEN" redefined
#define ETH_ALEN (6)
^
In file included from include/linux/if_ether.h:24:0,
from include/uapi/linux/ethtool.h:17,
from include/linux/ethtool.h:16,
from include/linux/netdevice.h:42,
from include/linux/inetdevice.h:8,
from drivers/net/wireless/sc2331/wlan_common.h:10,
from drivers/net/wireless/sc2331/wlan_wapi.h:22,
from drivers/net/wireless/sc2331/wlan_wapi.c:20:
include/uapi/linux/if_ether.h:31:0: note: this is the location of the previous definition
#define ETH_ALEN 6 /* Octets in one ethernet addr */
^
CC [M] drivers/net/wireless/sc2331/wlan_tcp.o
In file included from drivers/net/wireless/sc2331/wlan_common.h:56:0,
from drivers/net/wireless/sc2331/wlan_tcp.c:18:
drivers/net/wireless/sc2331/wlan_cfg80211.h:165:1: warning: parameter names (without types) in function declaration
extern void cfg80211_wmm_report(vif_id, pData, len);
^
In file included from drivers/net/wireless/sc2331/wlan_tcp.c:18:0:
drivers/net/wireless/sc2331/wlan_common.h:79:0: warning: "ETH_ALEN" redefined
#define ETH_ALEN (6)
^
In file included from include/linux/if_ether.h:24:0,
from include/uapi/linux/ethtool.h:17,
from include/linux/ethtool.h:16,
from include/linux/netdevice.h:42,
from include/linux/inetdevice.h:8,
from drivers/net/wireless/sc2331/wlan_common.h:10,
from drivers/net/wireless/sc2331/wlan_tcp.c:18:
include/uapi/linux/if_ether.h:31:0: note: this is the location of the previous definition
#define ETH_ALEN 6 /* Octets in one ethernet addr */
^
drivers/net/wireless/sc2331/wlan_tcp.c: In function 'tcp_session_updata':
drivers/net/wireless/sc2331/wlan_tcp.c:160:23: warning: unused variable 'session' [-Wunused-variable]
wlan_tcp_session_t *session;
^
drivers/net/wireless/sc2331/wlan_tcp.c: In function 'wlan_tcpack_tx':
drivers/net/wireless/sc2331/wlan_tcp.c:269:8: warning: assignment from incompatible pointer type
msg = msg_get(msg_q);
^
drivers/net/wireless/sc2331/wlan_tcp.c: In function 'wlan_rx_buf_decode':
drivers/net/wireless/sc2331/wlan_tcp.c:327:19: warning: unused variable 'event' [-Wunused-variable]
unsigned char event;
^
drivers/net/wireless/sc2331/wlan_tcp.c: In function 'wlan_tx_buf_decode':
drivers/net/wireless/sc2331/wlan_tcp.c:358:27: warning: initialization from incompatible pointer type
tx_big_hdr_t *big_hdr = buf;
^
CC [M] drivers/net/wireless/sc2331/wlan_qos.o
In file included from drivers/net/wireless/sc2331/wlan_common.h:56:0,
from drivers/net/wireless/sc2331/wlan_qos.c:17:
drivers/net/wireless/sc2331/wlan_cfg80211.h:165:1: warning: parameter names (without types) in function declaration
extern void cfg80211_wmm_report(vif_id, pData, len);
^
In file included from drivers/net/wireless/sc2331/wlan_qos.c:17:0:
drivers/net/wireless/sc2331/wlan_common.h:79:0: warning: "ETH_ALEN" redefined
#define ETH_ALEN (6)
^
In file included from include/linux/if_ether.h:24:0,
from include/uapi/linux/ethtool.h:17,
from include/linux/ethtool.h:16,
from include/linux/netdevice.h:42,
from include/linux/inetdevice.h:8,
from drivers/net/wireless/sc2331/wlan_common.h:10,
from drivers/net/wireless/sc2331/wlan_qos.c:17:
include/uapi/linux/if_ether.h:31:0: note: this is the location of the previous definition
#define ETH_ALEN 6 /* Octets in one ethernet addr */
^
drivers/net/wireless/sc2331/wlan_qos.c: In function 'qos_fq':
drivers/net/wireless/sc2331/wlan_qos.c:109:8: warning: unused variable 'j' [-Wunused-variable]
int i,j,t,k,q[4] = {0};
^
drivers/net/wireless/sc2331/wlan_qos.c: In function 'qos_sched':
drivers/net/wireless/sc2331/wlan_qos.c:159:11: warning: unused variable 'msg_q' [-Wunused-variable]
msg_q_t *msg_q = NULL;
^
drivers/net/wireless/sc2331/wlan_qos.c:158:6: warning: unused variable 'i' [-Wunused-variable]
int i, round;
^
LD [M] drivers/net/wireless/sc2331/sprdwl.o
Building modules, stage 2.
MODPOST 2 modules
CC drivers/autotst/autotst.mod.o
LD [M] drivers/autotst/autotst.ko
CC drivers/net/wireless/sc2331/sprdwl.mod.o
LD [M] drivers/net/wireless/sc2331/sprdwl.ko
INSTALL drivers/autotst/autotst.ko
INSTALL drivers/net/wireless/sc2331/sprdwl.ko
DEPMOD 3.10.65
4468+0 Datensätze ein
4468+0 Datensätze aus
4575232 bytes (4,6 MB, 4,4 MiB) copied, 0,0194595 s, 235 MB/s
System_tizen_z2_lte_20181221-.tar

Is this normal?

:confused:

Tried different wrong 64 bit Toolchains... included this:

https://github.com/ne0z/tizen_toolchain_kernel

:confused:

I can not remember I saw so many warnings in my other Source Compiling adventures...

Best Regards