2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-25 05:34:00 +08:00
linux-next/net/batman-adv
Sven Eckelmann 576fb6713b batman-adv: Avoid sizeof on flexible structure
The batadv_dhcp_packet is used to read in parts of the DHCP packet and
extract relevant information for the distributed arp table. But the
structure contained the flexible member "options" which is no where used in
the code.

A sizeof on this kind of type would return the size of everything except
the flexible member. But sparse will detect this kind of sizeof and warn
with

  warning: using sizeof on a flexible structure

This can be avoided by dropping the unused flexible member.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
2021-02-06 09:22:44 +01:00
..
bat_algo.c batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
bat_algo.h batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
bat_iv_ogm.c batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
bat_iv_ogm.h batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
bat_v_elp.c batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
bat_v_elp.h batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
bat_v_ogm.c batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
bat_v_ogm.h batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
bat_v.c batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
bat_v.h batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
bitarray.c batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
bitarray.h batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
bridge_loop_avoidance.c batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
bridge_loop_avoidance.h batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
distributed-arp-table.c batman-adv: Avoid sizeof on flexible structure 2021-02-06 09:22:44 +01:00
distributed-arp-table.h batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
fragmentation.c batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
fragmentation.h batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
gateway_client.c batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
gateway_client.h batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
gateway_common.c batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
gateway_common.h batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
hard-interface.c batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
hard-interface.h batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
hash.c batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
hash.h batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
Kconfig batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
log.c batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
log.h batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
main.c batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
main.h batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
Makefile batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
multicast.c batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
multicast.h batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
netlink.c batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
netlink.h batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
network-coding.c batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
network-coding.h batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
originator.c batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
originator.h batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
routing.c batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
routing.h batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
send.c batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
send.h batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
soft-interface.c batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
soft-interface.h batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
tp_meter.c batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
tp_meter.h batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
trace.c batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
trace.h batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
translation-table.c batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
translation-table.h batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
tvlv.c batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
tvlv.h batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
types.h batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00