Closed GustavoARSilva closed 2 years ago
This issue is now closed. The sparse warning is not silenced as struct_size() make use of the sizeof operator on the flexible structure to calculate the size of the "header" part; this is the total sum of the size of all members in the struct, except the flexible array.
Use this issue just as a reference to audit the size calculation for the mentioned structures AND, as this issue is closed, don't include a link to this issue in the commit logs.
Consider all these sparse warnings as False Positives.
UPDATE (20220517): "This issue is now closed. The sparse warning is not silenced as struct_size() make use of the sizeof operator on the flexible structure to calculate the size of the "header" part; this is the total sum of the size of all members in the struct, except the flexible array.
Use this issue just as a reference to audit the size calculation for the mentioned structures AND, as this issue is closed, don't include a link to this issue in the commit logs.
Consider all these sparse warnings as False Positives."
Audit (the size calculation part) the following sparse warnings and use struct_size() and flex_array_size() when possible.
These warnings were reported by sparse in next-20220110
CC-me if you send a patch for any of these: Gustavo A. R. Silva \gustavoars@kernel.org\
See: Linus on struct_size() and flexible arrays
fs/notify/inotify/inotify_fsnotify.c:69:25: warning: using sizeof on a flexible structure fs/verity/hash_algs.c:91:41: warning: using sizeof on a flexible structure ./include/crypto/hash.h:624:31: warning: using sizeof on a flexible structure arch/x86/kvm/../../../virt/kvm/binary_stats.c:67:40: warning: using sizeof on a flexible structure arch/x86/events/rapl.c:685:16: warning: using sizeof on a flexible structure kernel/gcov/fs.c:119:25: warning: using sizeof on a flexible structure kernel/gcov/fs.c:544:24: warning: using sizeof on a flexible structure kernel/gcov/gcc_4_7.c:295:19: warning: using sizeof on a flexible structure arch/x86/hyperv/mmu.c:211:30: warning: using sizeof on a flexible structure arch/x86/hyperv/mmu.c:140:33: warning: using sizeof on a flexible structure ./include/crypto/skcipher.h:502:23: warning: using sizeof on a flexible structure fs/verity/enable.c:205:28: warning: using sizeof on a flexible structure fs/verity/enable.c:362:28: warning: using sizeof on a flexible structure ./include/crypto/skcipher.h:502:23: warning: using sizeof on a flexible structure kernel/livepatch/shadow.c:123:37: warning: using sizeof on a flexible structure arch/x86/platform/uv/uv_time.c:150:45: warning: using sizeof on a flexible structure fs/verity/measure.c:47:9: warning: using sizeof on a flexible structure fs/verity/measure.c:51:38: warning: using sizeof on a flexible structure kernel/printk/printk_ringbuffer.c:383:17: warning: using sizeof on a flexible structure fs/notify/inotify/inotify_user.c:651:26: warning: using sizeof on a flexible structure arch/x86/events/core.c:2334:24: warning: using sizeof on a flexible structure arch/x86/kvm/../../../virt/kvm/irqchip.c:187:23: warning: using sizeof on a flexible structure fs/crypto/hkdf.c:120:9: warning: using sizeof on a flexible structure fs/crypto/hkdf.c:120:9: warning: using sizeof on a flexible structure ./include/crypto/hash.h:1002:26: warning: using sizeof on a flexible structure fs/verity/open.c:138:52: warning: using sizeof on a flexible structure fs/verity/open.c:225:25: warning: using sizeof on a flexible structure fs/verity/open.c:254:55: warning: using sizeof on a flexible structure fs/verity/signature.c:57:21: warning: using sizeof on a flexible structure fs/verity/signature.c:65:41: warning: using sizeof on a flexible structure fs/notify/fanotify/fanotify.c:623:16: warning: using sizeof on a flexible structure kernel/irq/devres.c:224:32: warning: using sizeof on a flexible structure fs/notify/fanotify/fanotify_user.c:135:16: warning: using sizeof on a flexible structure fs/notify/fanotify/fanotify_user.c:422:13: warning: using sizeof on a flexible structure fs/notify/fanotify/fanotify_user.c:432:40: warning: using sizeof on a flexible structure fs/notify/fanotify/fanotify_user.c:435:16: warning: using sizeof on a flexible structure fs/notify/fanotify/fanotify_user.c:436:16: warning: using sizeof on a flexible structure fs/notify/fanotify/fanotify_user.c:1152:42: warning: using sizeof on a flexible structure fs/notify/fanotify/fanotify_user.c:1740:37: warning: using sizeof on a flexible structure kernel/events/callchain.c:27:17: warning: using sizeof on a flexible structure arch/x86/kernel/cpu/sgx/ioctl.c:473:9: warning: using sizeof on a flexible structure arch/x86/kernel/cpu/sgx/ioctl.c:473:9: warning: using sizeof on a flexible structure kernel/cgroup/cgroup-v1.c:1190:24: warning: using sizeof on a flexible structure kernel/power/energy_model.c:207:30: warning: using sizeof on a flexible structure kernel/power/energy_model.c:213:30: warning: using sizeof on a flexible structure fs/crypto/keyring.c:508:29: warning: using sizeof on a flexible structure fs/crypto/keyring.c:509:29: warning: using sizeof on a flexible structure fs/crypto/keyring.c:595:39: warning: using sizeof on a flexible structure fs/crypto/keyring.c:639:40: warning: using sizeof on a flexible structure arch/x86/events/intel/lbr.c:1780:24: warning: using sizeof on a flexible structure kernel/irq/generic-chip.c:247:22: warning: using sizeof on a flexible structure kernel/irq/generic-chip.c:308:17: warning: using sizeof on a flexible structure kernel/irq/generic-chip.c:309:18: warning: using sizeof on a flexible structure arch/x86/events/intel/lbr.c:1716:16: warning: using sizeof on a flexible structure kernel/events/ring_buffer.c:914:16: warning: using sizeof on a flexible structure ./include/crypto/skcipher.h:502:23: warning: using sizeof on a flexible structure ./include/linux/kvm_host.h:1774:54: warning: array of flexible structures ./include/linux/kvm_host.h:1776:56: warning: array of flexible structures arch/x86/kvm/../../../virt/kvm/kvm_main.c:1108:17: warning: using sizeof on a flexible structure arch/x86/kvm/../../../virt/kvm/kvm_main.c:1108:17: warning: using sizeof on a flexible structure arch/x86/kvm/../../../virt/kvm/kvm_main.c:5138:27: warning: using sizeof on a flexible structure arch/x86/kvm/../../../virt/kvm/kvm_main.c:5153:9: warning: using sizeof on a flexible structure arch/x86/kvm/../../../virt/kvm/kvm_main.c:5186:27: warning: using sizeof on a flexible structure arch/x86/kvm/../../../virt/kvm/kvm_main.c:5189:17: warning: using sizeof on a flexible structure arch/x86/kernel/cpu/mce/dev-mcelog.c:350:26: warning: using sizeof on a flexible structure kernel/irq/irqdomain.c:153:31: warning: using sizeof on a flexible structure kernel/cgroup/cgroup.c:5350:24: warning: using sizeof on a flexible structure kernel/bpf/core.c:879:16: warning: using sizeof on a flexible structure kernel/bpf/core.c:879:16: warning: using sizeof on a flexible structure kernel/bpf/core.c:894:16: warning: using sizeof on a flexible structure kernel/bpf/core.c:894:16: warning: using sizeof on a flexible structure kernel/bpf/core.c:894:16: warning: using sizeof on a flexible structure kernel/bpf/core.c:894:16: warning: using sizeof on a flexible structure kernel/bpf/core.c:894:16: warning: using sizeof on a flexible structure kernel/bpf/core.c:894:16: warning: using sizeof on a flexible structure kernel/bpf/core.c:894:16: warning: using sizeof on a flexible structure kernel/bpf/core.c:894:16: warning: using sizeof on a flexible structure kernel/bpf/core.c:894:16: warning: using sizeof on a flexible structure kernel/bpf/core.c:894:16: warning: using sizeof on a flexible structure kernel/bpf/core.c:894:16: warning: using sizeof on a flexible structure kernel/bpf/core.c:894:16: warning: using sizeof on a flexible structure kernel/bpf/core.c:1987:32: warning: using sizeof on a flexible structure fs/proc/inode.c:107:35: warning: using sizeof on a flexible structure fs/proc/inode.c:107:35: warning: using sizeof on a flexible structure fs/proc/inode.c:107:35: warning: using sizeof on a flexible structure fs/proc/inode.c:107:35: warning: using sizeof on a flexible structure fs/proc/inode.c:109:17: warning: using sizeof on a flexible structure fs/proc/inode.c:109:17: warning: using sizeof on a flexible structure fs/proc/inode.c:109:17: warning: using sizeof on a flexible structure fs/proc/inode.c:109:17: warning: using sizeof on a flexible structure fs/proc/inode.c:109:17: warning: using sizeof on a flexible structure fs/proc/inode.c:110:9: warning: using sizeof on a flexible structure fs/proc/inode.c:110:9: warning: using sizeof on a flexible structure fs/proc/inode.c:110:9: warning: using sizeof on a flexible structure fs/proc/inode.c:110:9: warning: using sizeof on a flexible structure fs/proc/inode.c:110:9: warning: using sizeof on a flexible structure crypto/asymmetric_keys/asymmetric_type.c:155:23: warning: using sizeof on a flexible structure crypto/asymmetric_keys/asymmetric_type.c:247:28: warning: using sizeof on a flexible structure security/keys/encrypted-keys/encrypted.c:644:28: warning: using sizeof on a flexible structure ./include/crypto/skcipher.h:502:23: warning: using sizeof on a flexible structure kernel/trace/ring_buffer.c:5787:22: warning: using sizeof on a flexible structure kernel/trace/ring_buffer.c:5993:52: warning: using sizeof on a flexible structure arch/x86/events/intel/uncore.c:341:16: warning: using sizeof on a flexible structure arch/x86/events/intel/uncore.c:998:38: warning: using sizeof on a flexible structure kernel/locking/lockdep.c:538:9: warning: using sizeof on a flexible structure kernel/locking/lockdep.c:542:17: warning: using sizeof on a flexible structure kernel/locking/lockdep.c:563:35: warning: using sizeof on a flexible structure security/keys/trusted-keys/trusted_tee.c:70:9: warning: using sizeof on a flexible structure security/keys/trusted-keys/trusted_tee.c:131:9: warning: using sizeof on a flexible structure security/keys/trusted-keys/trusted_tee.c:192:9: warning: using sizeof on a flexible structure security/keys/trusted-keys/trusted_tee.c:239:9: warning: using sizeof on a flexible structure crypto/asymmetric_keys/x509_public_key.c:66:50: warning: using sizeof on a flexible structure fs/crypto/inline_crypt.c:139:27: warning: using sizeof on a flexible structure ./include/crypto/akcipher.h:198:23: warning: using sizeof on a flexible structure ./include/crypto/akcipher.h:198:23: warning: using sizeof on a flexible structure fs/iomap/buffered-io.c:53:23: warning: using sizeof on a flexible structure kernel/bpf/hashtab.c:451:12: warning: using sizeof on a flexible structure kernel/bpf/hashtab.c:501:27: warning: using sizeof on a flexible structure security/keys/trusted-keys/trusted_tpm1.c:43:16: warning: using sizeof on a flexible structure kernel/bpf/lpm_trie.c:282:23: warning: using sizeof on a flexible structure kernel/bpf/lpm_trie.c:557:32: warning: using sizeof on a flexible structure crypto/asymmetric_keys/verify_pefile.c:42:9: warning: using sizeof on a flexible structure crypto/asymmetric_keys/verify_pefile.c:42:9: warning: using sizeof on a flexible structure crypto/asymmetric_keys/verify_pefile.c:45:18: warning: using sizeof on a flexible structure crypto/asymmetric_keys/verify_pefile.c:336:50: warning: using sizeof on a flexible structure ipc/sem.c:514:32: warning: using sizeof on a flexible structure ipc/sem.c:517:24: warning: using sizeof on a flexible structure kernel/rcu/tree.c:3511:62: warning: using sizeof on a flexible structure crypto/asymmetric_keys/pkcs7_verify.c:47:50: warning: using sizeof on a flexible structure kernel/fork.c:1104:9: warning: using sizeof on a flexible structure kernel/fork.c:1448:9: warning: using sizeof on a flexible structure kernel/fork.c:2906:19: warning: using sizeof on a flexible structure security/selinux/selinuxfs.c:699:19: warning: using sizeof on a flexible structure security/selinux/selinuxfs.c:948:33: warning: using sizeof on a flexible structure security/selinux/selinuxfs.c:1047:19: warning: using sizeof on a flexible structure security/selinux/selinuxfs.c:1112:19: warning: using sizeof on a flexible structure security/selinux/selinuxfs.c:1172:39: warning: using sizeof on a flexible structure security/selinux/selinuxfs.c:1238:19: warning: using sizeof on a flexible structure kernel/bpf/bloom_filter.c:144:36: warning: using sizeof on a flexible structure security/apparmor/lib.c:139:23: warning: using sizeof on a flexible structure security/apparmor/apparmorfs.c:845:9: warning: using sizeof on a flexible structure security/apparmor/apparmorfs.c:861:20: warning: using sizeof on a flexible structure security/apparmor/apparmorfs.c:945:44: warning: using sizeof on a flexible structure security/apparmor/apparmorfs.c:950:44: warning: using sizeof on a flexible structure security/apparmor/apparmorfs.c:956:44: warning: using sizeof on a flexible structure security/apparmor/apparmorfs.c:961:43: warning: using sizeof on a flexible structure fs/proc/generic.c:430:29: warning: using sizeof on a flexible structure fs/proc/generic.c:430:29: warning: using sizeof on a flexible structure fs/proc/generic.c:430:29: warning: using sizeof on a flexible structure fs/proc/generic.c:430:29: warning: using sizeof on a flexible structure fs/proc/generic.c:430:29: warning: using sizeof on a flexible structure kernel/bpf/queue_stack_maps.c:74:22: warning: using sizeof on a flexible structure kernel/bpf/queue_stack_maps.c:80:9: warning: using sizeof on a flexible structure kernel/bpf/local_storage.c:166:41: warning: using sizeof on a flexible structure kernel/bpf/local_storage.c:286:32: warning: using sizeof on a flexible structure kernel/bpf/local_storage.c:286:32: warning: using sizeof on a flexible structure kernel/bpf/local_storage.c:286:32: warning: using sizeof on a flexible structure kernel/bpf/local_storage.c:286:32: warning: using sizeof on a flexible structure kernel/bpf/local_storage.c:286:32: warning: using sizeof on a flexible structure kernel/bpf/local_storage.c:286:32: warning: using sizeof on a flexible structure kernel/bpf/local_storage.c:286:32: warning: using sizeof on a flexible structure kernel/bpf/local_storage.c:286:32: warning: using sizeof on a flexible structure kernel/bpf/local_storage.c:286:32: warning: using sizeof on a flexible structure kernel/bpf/local_storage.c:286:32: warning: using sizeof on a flexible structure kernel/bpf/local_storage.c:286:32: warning: using sizeof on a flexible structure kernel/bpf/local_storage.c:286:32: warning: using sizeof on a flexible structure kernel/bpf/local_storage.c:480:24: warning: using sizeof on a flexible structure crypto/api.c:391:20: warning: using sizeof on a flexible structure crypto/api.c:487:27: warning: using sizeof on a flexible structure security/apparmor/match.c:83:21: warning: using sizeof on a flexible structure security/apparmor/match.c:94:17: warning: using sizeof on a flexible structure security/apparmor/match.c:321:20: warning: using sizeof on a flexible structure security/apparmor/include/match.h:122:16: warning: using sizeof on a flexible structure security/apparmor/include/match.h:122:16: warning: using sizeof on a flexible structure security/apparmor/include/match.h:122:16: warning: using sizeof on a flexible structure arch/x86/kvm/lapic.c:214:24: warning: using sizeof on a flexible structure security/integrity/ima/ima_init.c:58:9: warning: using sizeof on a flexible structure security/landlock/ruleset.c:87:28: warning: using sizeof on a flexible structure ./include/net/sctp/structs.h:335:41: warning: array of flexible structures fs/pstore/ram_core.c:155:59: warning: using sizeof on a flexible structure fs/pstore/ram_core.c:243:57: warning: using sizeof on a flexible structure fs/pstore/ram_core.c:497:35: warning: using sizeof on a flexible structure fs/pstore/ram_core.c:599:9: warning: using sizeof on a flexible structure fs/pstore/ram_core.c:599:9: warning: using sizeof on a flexible structure ./include/crypto/akcipher.h:198:23: warning: using sizeof on a flexible structure ./include/crypto/akcipher.h:198:23: warning: using sizeof on a flexible structure kernel/trace/trace.c:1009:17: warning: using sizeof on a flexible structure kernel/trace/trace.c:2660:17: warning: using sizeof on a flexible structure kernel/trace/trace.c:2770:51: warning: using sizeof on a flexible structure kernel/trace/trace.c:3358:16: warning: using sizeof on a flexible structure kernel/trace/trace.c:3418:16: warning: using sizeof on a flexible structure kernel/trace/trace.c:7082:16: warning: using sizeof on a flexible structure kernel/trace/trace.c:7160:16: warning: using sizeof on a flexible structure kernel/sched/fair.c:2440:37: warning: using sizeof on a flexible structure kernel/sched/topology.c:920:27: warning: using sizeof on a flexible structure kernel/sched/topology.c:2046:43: warning: using sizeof on a flexible structure kernel/sched/topology.c:2060:43: warning: using sizeof on a flexible structure kernel/sched/topology.c:2069:44: warning: using sizeof on a flexible structure kernel/sched/topology.c:1347:25: warning: using sizeof on a flexible structure fs/pstore/zone.c:232:45: warning: using sizeof on a flexible structure fs/pstore/zone.c:237:24: warning: using sizeof on a flexible structure fs/pstore/zone.c:243:44: warning: using sizeof on a flexible structure fs/pstore/zone.c:363:68: warning: using sizeof on a flexible structure fs/pstore/zone.c:365:49: warning: using sizeof on a flexible structure fs/pstore/zone.c:384:28: warning: using sizeof on a flexible structure fs/pstore/zone.c:384:43: warning: using sizeof on a flexible structure fs/pstore/zone.c:389:15: warning: using sizeof on a flexible structure fs/pstore/zone.c:389:30: warning: using sizeof on a flexible structure fs/pstore/zone.c:501:15: warning: using sizeof on a flexible structure fs/pstore/zone.c:532:46: warning: using sizeof on a flexible structure fs/pstore/zone.c:537:9: warning: using sizeof on a flexible structure fs/pstore/zone.c:538:32: warning: using sizeof on a flexible structure fs/pstore/zone.c:541:27: warning: using sizeof on a flexible structure fs/pstore/zone.c:970:17: warning: using sizeof on a flexible structure fs/pstore/zone.c:989:25: warning: using sizeof on a flexible structure fs/pstore/zone.c:1179:36: warning: using sizeof on a flexible structure fs/pstore/zone.c:1188:9: warning: using sizeof on a flexible structure fs/pstore/zone.c:1370:25: warning: using sizeof on a flexible structure fs/pstore/zone.c:672:39: warning: using sizeof on a flexible structure fs/pstore/zone.c:762:43: warning: using sizeof on a flexible structure fs/pstore/zone.c:773:24: warning: using sizeof on a flexible structure security/integrity/ima/ima_crypto.c:462:9: warning: using sizeof on a flexible structure security/integrity/ima/ima_crypto.c:462:9: warning: using sizeof on a flexible structure security/integrity/ima/ima_crypto.c:586:9: warning: using sizeof on a flexible structure security/integrity/ima/ima_crypto.c:586:9: warning: using sizeof on a flexible structure security/integrity/ima/ima_crypto.c:723:9: warning: using sizeof on a flexible structure security/integrity/ima/ima_crypto.c:723:9: warning: using sizeof on a flexible structure security/integrity/ima/ima_crypto.c:805:9: warning: using sizeof on a flexible structure security/integrity/ima/ima_crypto.c:805:9: warning: using sizeof on a flexible structure ./include/crypto/hash.h:604:23: warning: using sizeof on a flexible structure kernel/bpf/bpf_local_storage.c:576:32: warning: using sizeof on a flexible structure kernel/bpf/bpf_local_storage.c:576:32: warning: using sizeof on a flexible structure kernel/bpf/bpf_local_storage.c:576:32: warning: using sizeof on a flexible structure kernel/bpf/bpf_local_storage.c:576:32: warning: using sizeof on a flexible structure kernel/bpf/bpf_local_storage.c:576:32: warning: using sizeof on a flexible structure kernel/bpf/bpf_local_storage.c:576:32: warning: using sizeof on a flexible structure kernel/bpf/bpf_local_storage.c:576:32: warning: using sizeof on a flexible structure kernel/bpf/bpf_local_storage.c:576:32: warning: using sizeof on a flexible structure kernel/bpf/bpf_local_storage.c:576:32: warning: using sizeof on a flexible structure kernel/bpf/bpf_local_storage.c:576:32: warning: using sizeof on a flexible structure kernel/bpf/bpf_local_storage.c:576:32: warning: using sizeof on a flexible structure kernel/bpf/bpf_local_storage.c:576:32: warning: using sizeof on a flexible structure kernel/bpf/bpf_local_storage.c:611:17: warning: using sizeof on a flexible structure kernel/events/core.c:8180:9: warning: using sizeof on a flexible structure kernel/events/core.c:8205:41: warning: using sizeof on a flexible structure sound/core/oss/pcm_plugin.c:161:26: warning: using sizeof on a flexible structure security/integrity/ima/ima_api.c:50:26: warning: using sizeof on a flexible structure security/integrity/ima/ima_api.c:259:18: warning: using sizeof on a flexible structure security/apparmor/policy.c:263:27: warning: using sizeof on a flexible structure security/integrity/evm/evm_crypto.c:121:24: warning: using sizeof on a flexible structure security/integrity/evm/evm_main.c:214:34: warning: using sizeof on a flexible structure security/integrity/evm/evm_main.c:234:34: warning: using sizeof on a flexible structure security/integrity/evm/evm_main.c:852:30: warning: using sizeof on a flexible structure security/integrity/evm/evm_main.c:862:32: warning: using sizeof on a flexible structure security/integrity/ima/ima_template.c:354:26: warning: using sizeof on a flexible structure security/integrity/ima/ima_template_lib.c:319:9: warning: using sizeof on a flexible structure security/integrity/ima/ima_template_lib.c:340:33: warning: using sizeof on a flexible structure fs/dlm/dir.c:105:33: warning: using sizeof on a flexible structure security/integrity/ima/ima_policy.c:317:28: warning: using sizeof on a flexible structure crypto/geniv.c:89:38: warning: using sizeof on a flexible structure crypto/geniv.c:140:39: warning: using sizeof on a flexible structure arch/x86/kvm/hyperv.c:1774:29: warning: using sizeof on a flexible structure arch/x86/kvm/hyperv.c:1801:29: warning: using sizeof on a flexible structure arch/x86/kvm/hyperv.c:1911:21: warning: using sizeof on a flexible structure block/bio.c:522:23: warning: using sizeof on a flexible structure block/bio.c:110:32: warning: using sizeof on a flexible structure sound/core/oss/rate.c:326:36: warning: using sizeof on a flexible structure crypto/ahash.c:206:24: warning: using sizeof on a flexible structure security/integrity/ima/ima_modsig.c:68:23: warning: using sizeof on a flexible structure drivers/irqchip/irq-imx-intmux.c:215:41: warning: using sizeof on a flexible structure fs/dlm/lockspace.c:477:22: warning: using sizeof on a flexible structure security/integrity/ima/ima_appraise.c:188:55: warning: using sizeof on a flexible structure crypto/skcipher.c:249:23: warning: using sizeof on a flexible structure crypto/skcipher.c:249:37: warning: using sizeof on a flexible structure crypto/skcipher.c:250:22: warning: using sizeof on a flexible structure crypto/skcipher.c:301:21: warning: using sizeof on a flexible structure block/partitions/ldm.c:1258:22: warning: using sizeof on a flexible structure drivers/phy/cadence/phy-cadence-torrent.c:2427:34: warning: using sizeof on a flexible structure block/blk-map.c:29:23: warning: using sizeof on a flexible structure security/selinux/ss/sidtab.c:573:25: warning: using sizeof on a flexible structure block/blk-core.c:1314:9: warning: using sizeof on a flexible structure block/blk-core.c:1325:25: warning: using sizeof on a flexible structure block/blk-core.c:1328:25: warning: using sizeof on a flexible structure drivers/gpio/gpiolib.c:4139:25: warning: using sizeof on a flexible structure drivers/gpio/gpiolib.c:4163:41: warning: using sizeof on a flexible structure drivers/gpio/gpiolib.c:4164:41: warning: using sizeof on a flexible structure drivers/gpio/gpiolib.c:4171:25: warning: using sizeof on a flexible structure fs/dlm/lock.c:3902:41: warning: using sizeof on a flexible structure fs/dlm/lock.c:3584:22: warning: using sizeof on a flexible structure fs/dlm/lock.c:4084:34: warning: using sizeof on a flexible structure fs/dlm/lock.c:5106:17: warning: using sizeof on a flexible structure fs/dlm/lock.c:5154:27: warning: using sizeof on a flexible structure fs/dlm/lock.c:5228:25: warning: using sizeof on a flexible structure fs/dlm/lock.c:5239:25: warning: using sizeof on a flexible structure fs/dlm/lock.c:5623:55: warning: using sizeof on a flexible structure fs/dlm/lock.c:5624:26: warning: using sizeof on a flexible structure fs/dlm/lock.c:6306:37: warning: using sizeof on a flexible structure security/keys/user_defined.c:67:28: warning: using sizeof on a flexible structure arch/x86/kvm/x86.c:230:47: warning: array of flexible structures ./include/linux/kvm_host.h:1774:54: warning: array of flexible structures arch/x86/kvm/x86.c:249:21: warning: using sizeof on a flexible structure arch/x86/kvm/x86.c:256:49: warning: array of flexible structures ./include/linux/kvm_host.h:1776:56: warning: array of flexible structures arch/x86/kvm/x86.c:288:21: warning: using sizeof on a flexible structure crypto/shash.c:224:9: warning: using sizeof on a flexible structure crypto/shash.c:224:9: warning: using sizeof on a flexible structure crypto/shash.c:411:24: warning: using sizeof on a flexible structure crypto/shash.c:445:13: warning: using sizeof on a flexible structure crypto/shash.c:529:29: warning: using sizeof on a flexible structure ./include/crypto/hash.h:1002:26: warning: using sizeof on a flexible structure drivers/phy/qualcomm/phy-qcom-edp.c:574:39: warning: using sizeof on a flexible structure drivers/gpio/gpiolib-cdev.c:1337:22: warning: using sizeof on a flexible structure kernel/trace/trace_syscalls.c:322:16: warning: using sizeof on a flexible structure kernel/trace/trace_syscalls.c:615:60: warning: using sizeof on a flexible structure sound/core/control.c:237:25: warning: using sizeof on a flexible structure net/netlink/policy.c:50:33: warning: using sizeof on a flexible structure net/netlink/policy.c:104:25: warning: using sizeof on a flexible structure block/blk-ia-ranges.c:283:29: warning: using sizeof on a flexible structure fs/dlm/member.c:274:22: warning: using sizeof on a flexible structure fs/dlm/member.c:274:44: warning: using sizeof on a flexible structure net/802/garp.c:187:24: warning: using sizeof on a flexible structure net/802/garp.c:309:15: warning: using sizeof on a flexible structure net/802/garp.c:446:33: warning: using sizeof on a flexible structure net/802/garp.c:449:23: warning: using sizeof on a flexible structure net/802/garp.c:455:16: warning: using sizeof on a flexible structure security/apparmor/label.c:428:23: warning: using sizeof on a flexible structure net/802/mrp.c:276:24: warning: using sizeof on a flexible structure net/802/mrp.c:393:38: warning: using sizeof on a flexible structure net/802/mrp.c:395:35: warning: using sizeof on a flexible structure net/802/mrp.c:538:13: warning: using sizeof on a flexible structure net/802/mrp.c:563:13: warning: using sizeof on a flexible structure net/802/mrp.c:689:61: warning: using sizeof on a flexible structure net/802/mrp.c:693:20: warning: using sizeof on a flexible structure net/802/mrp.c:707:13: warning: using sizeof on a flexible structure ./include/net/mrp.h:41:9: warning: using sizeof on a flexible structure fs/dlm/rcom.c:55:22: warning: using sizeof on a flexible structure fs/dlm/rcom.c:75:22: warning: using sizeof on a flexible structure fs/dlm/rcom.c:340:45: warning: using sizeof on a flexible structure fs/dlm/rcom.c:341:18: warning: using sizeof on a flexible structure fs/dlm/rcom.c:341:40: warning: using sizeof on a flexible structure fs/dlm/rcom.c:379:47: warning: using sizeof on a flexible structure fs/dlm/rcom.c:411:9: warning: using sizeof on a flexible structure fs/dlm/rcom.c:444:26: warning: using sizeof on a flexible structure fs/dlm/rcom.c:472:29: warning: using sizeof on a flexible structure fs/dlm/rcom.c:479:9: warning: using sizeof on a flexible structure fs/dlm/rcom.c:495:22: warning: using sizeof on a flexible structure fs/dlm/rcom.c:570:25: warning: using sizeof on a flexible structure fs/dlm/rcom.c:570:51: warning: using sizeof on a flexible structure fs/dlm/requestqueue.c:35:46: warning: using sizeof on a flexible structure fs/dlm/requestqueue.c:37:21: warning: using sizeof on a flexible structure net/sched/sch_generic.c:930:29: warning: using sizeof on a flexible structure net/sched/sch_frag.c:69:9: warning: using sizeof on a flexible structure crypto/rsa-pkcs1pad.c:669:29: warning: using sizeof on a flexible structure ./include/crypto/kpp.h:178:23: warning: using sizeof on a flexible structure kernel/workqueue.c:3974:23: warning: using sizeof on a flexible structure kernel/workqueue.c:4325:22: warning: using sizeof on a flexible structure ./include/net/sctp/structs.h:335:41: warning: array of flexible structures drivers/pwm/pwm-cros-ec.c:70:9: warning: using sizeof on a flexible structure drivers/pwm/pwm-cros-ec.c:98:9: warning: using sizeof on a flexible structure security/integrity/digsig_asymmetric.c:91:23: warning: using sizeof on a flexible structure security/integrity/digsig_asymmetric.c:94:19: warning: using sizeof on a flexible structure net/netlink/af_netlink.c:2055:29: warning: using sizeof on a flexible structure net/netlink/af_netlink.c:2120:31: warning: using sizeof on a flexible structure net/netlink/af_netlink.c:2795:29: warning: using sizeof on a flexible structure ./include/crypto/internal/acompress.h:41:23: warning: using sizeof on a flexible structure kernel/trace/trace_eprobe.c:200:22: warning: using sizeof on a flexible structure ./include/net/sctp/structs.h:335:41: warning: array of flexible structures fs/dlm/midcomms.c:571:30: warning: using sizeof on a flexible structure fs/dlm/midcomms.c:630:38: warning: using sizeof on a flexible structure fs/dlm/midcomms.c:681:19: warning: using sizeof on a flexible structure fs/dlm/midcomms.c:683:16: warning: using sizeof on a flexible structure fs/dlm/midcomms.c:699:27: warning: using sizeof on a flexible structure fs/dlm/midcomms.c:707:27: warning: using sizeof on a flexible structure fs/dlm/midcomms.c:779:38: warning: using sizeof on a flexible structure fs/dlm/midcomms.c:787:38: warning: using sizeof on a flexible structure fs/dlm/midcomms.c:863:30: warning: using sizeof on a flexible structure fs/dlm/midcomms.c:1025:35: warning: using sizeof on a flexible structure fs/dlm/midcomms.c:1049:50: warning: using sizeof on a flexible structure fs/dlm/midcomms.c:1060:17: warning: using sizeof on a flexible structure kernel/params.c:50:21: warning: using sizeof on a flexible structure kernel/params.c:638:34: warning: using sizeof on a flexible structure kernel/params.c:652:27: warning: using sizeof on a flexible structure crypto/hmac.c:51:9: warning: using sizeof on a flexible structure crypto/hmac.c:51:9: warning: using sizeof on a flexible structure crypto/hmac.c:152:28: warning: using sizeof on a flexible structure ./include/net/sctp/structs.h:335:41: warning: array of flexible structures net/sched/sch_api.c:523:24: warning: using sizeof on a flexible structure kernel/bpf/stackmap.c:47:25: warning: using sizeof on a flexible structure kernel/bpf/stackmap.c:102:64: warning: using sizeof on a flexible structure kernel/bpf/stackmap.c:103:43: warning: using sizeof on a flexible structure security/apparmor/crypto.c:30:9: warning: using sizeof on a flexible structure security/apparmor/crypto.c:30:9: warning: using sizeof on a flexible structure security/apparmor/crypto.c:64:9: warning: using sizeof on a flexible structure security/apparmor/crypto.c:64:9: warning: using sizeof on a flexible structure kernel/trace/trace_events_synth.c:470:44: warning: using sizeof on a flexible structure kernel/trace/trace_events_synth.c:1585:22: warning: using sizeof on a flexible structure kernel/trace/trace_events_synth.c:1585:22: warning: using sizeof on a flexible structure kernel/trace/trace_events_synth.c:1585:22: warning: using sizeof on a flexible structure net/ethtool/ioctl.c:845:9: warning: using sizeof on a flexible structure net/ethtool/ioctl.c:857:47: warning: using sizeof on a flexible structure net/ethtool/ioctl.c:857:47: warning: using sizeof on a flexible structure net/ethtool/ioctl.c:857:47: warning: using sizeof on a flexible structure net/ethtool/ioctl.c:857:47: warning: using sizeof on a flexible structure net/ethtool/ioctl.c:857:47: warning: using sizeof on a flexible structure net/ethtool/ioctl.c:857:47: warning: using sizeof on a flexible structure net/ethtool/ioctl.c:898:9: warning: using sizeof on a flexible structure net/ethtool/ioctl.c:915:45: warning: using sizeof on a flexible structure net/ethtool/ioctl.c:915:45: warning: using sizeof on a flexible structure net/ethtool/ioctl.c:915:45: warning: using sizeof on a flexible structure net/ethtool/ioctl.c:915:45: warning: using sizeof on a flexible structure net/ethtool/ioctl.c:915:45: warning: using sizeof on a flexible structure net/ethtool/ioctl.c:915:45: warning: using sizeof on a flexible structure net/ethtool/ioctl.c:2492:21: warning: using sizeof on a flexible structure net/ethtool/ioctl.c:2526:21: warning: using sizeof on a flexible structure net/ethtool/ioctl.c:2578:54: warning: using sizeof on a flexible structure net/ethtool/ioctl.c:3108:24: warning: using sizeof on a flexible structure security/integrity/platform_certs/efi_parser.c:52:28: warning: using sizeof on a flexible structure security/integrity/platform_certs/efi_parser.c:55:17: warning: using sizeof on a flexible structure security/integrity/platform_certs/efi_parser.c:64:34: warning: using sizeof on a flexible structure security/integrity/platform_certs/efi_parser.c:72:29: warning: using sizeof on a flexible structure security/integrity/platform_certs/efi_parser.c:73:29: warning: using sizeof on a flexible structure security/integrity/platform_certs/efi_parser.c:74:29: warning: using sizeof on a flexible structure security/integrity/platform_certs/efi_parser.c:89:25: warning: using sizeof on a flexible structure security/integrity/platform_certs/efi_parser.c:90:25: warning: using sizeof on a flexible structure security/integrity/platform_certs/efi_parser.c:91:25: warning: using sizeof on a flexible structure security/integrity/platform_certs/efi_parser.c:99:41: warning: using sizeof on a flexible structure net/core/skbuff.c:6334:39: warning: using sizeof on a flexible structure net/core/skbuff.c:6334:39: warning: using sizeof on a flexible structure net/core/skbuff.c:6334:39: warning: using sizeof on a flexible structure net/core/skbuff.c:6376:26: warning: using sizeof on a flexible structure net/core/skbuff.c:6376:26: warning: using sizeof on a flexible structure net/core/skbuff.c:6376:26: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_core.c:345:34: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_core.c:353:21: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_core.c:357:26: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_core.c:387:26: warning: using sizeof on a flexible structure net/core/skbuff.c:4318:16: warning: using sizeof on a flexible structure net/core/skbuff.c:4318:16: warning: using sizeof on a flexible structure net/core/skbuff.c:4318:16: warning: using sizeof on a flexible structure sound/usb/misc/ua101.c:1085:39: warning: using sizeof on a flexible structure arch/x86/crypto/ghash-clmulni-intel_glue.c:182:17: warning: using sizeof on a flexible structure arch/x86/crypto/ghash-clmulni-intel_glue.c:200:17: warning: using sizeof on a flexible structure arch/x86/crypto/ghash-clmulni-intel_glue.c:241:17: warning: using sizeof on a flexible structure arch/x86/crypto/ghash-clmulni-intel_glue.c:277:34: warning: using sizeof on a flexible structure fs/ext4/dir.c:473:15: warning: using sizeof on a flexible structure crypto/kdf_sp800108.c:21:9: warning: using sizeof on a flexible structure crypto/kdf_sp800108.c:21:9: warning: using sizeof on a flexible structure ./include/crypto/hash.h:1002:26: warning: using sizeof on a flexible structure net/netfilter/core.c:53:24: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_bitmap_gen.h:87:16: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_bitmap_ip.c:321:28: warning: using sizeof on a flexible structure net/ipv6/netfilter/ip6_tables.c:916:43: warning: using sizeof on a flexible structure net/ipv6/netfilter/ip6_tables.c:1251:20: warning: using sizeof on a flexible structure net/ipv6/netfilter/ip6_tables.c:1252:46: warning: using sizeof on a flexible structure net/ipv6/netfilter/ip6_tables.c:1315:34: warning: using sizeof on a flexible structure net/ipv6/netfilter/ip6_tables.c:1319:30: warning: using sizeof on a flexible structure net/ipv6/netfilter/ip6_tables.c:1320:30: warning: using sizeof on a flexible structure net/ipv6/netfilter/ip6_tables.c:1331:43: warning: using sizeof on a flexible structure net/ipv6/netfilter/ip6_tables.c:1386:46: warning: using sizeof on a flexible structure net/ipv6/netfilter/ip6_tables.c:1229:41: warning: array of flexible structures net/ipv6/netfilter/ip6_tables.c:1465:9: warning: using sizeof on a flexible structure net/ipv6/netfilter/ip6_tables.c:1507:42: warning: using sizeof on a flexible structure net/ipv6/netfilter/ip6_tables.c:1523:58: warning: using sizeof on a flexible structure net/ipv6/netfilter/ip6_tables.c:1550:44: warning: array of flexible structures net/ipv6/netfilter/ip6_tables.c:1590:20: warning: using sizeof on a flexible structure net/ipv6/netfilter/ip6_tables.c:1593:40: warning: using sizeof on a flexible structure net/ipv6/netfilter/ip6_tables.c:1596:21: warning: using sizeof on a flexible structure kernel/trace/trace_kprobe.c:265:22: warning: using sizeof on a flexible structure block/blk-iocost.c:2920:29: warning: using sizeof on a flexible structure block/bio-integrity.c:60:31: warning: using sizeof on a flexible structure block/bio-integrity.c:70:9: warning: using sizeof on a flexible structure block/bio-integrity.c:461:38: warning: using sizeof on a flexible structure crypto/seqiv.c:69:17: warning: using sizeof on a flexible structure crypto/seqiv.c:156:38: warning: using sizeof on a flexible structure kernel/bpf/reuseport_array.c:160:36: warning: using sizeof on a flexible structure net/unix/af_unix.c:249:24: warning: using sizeof on a flexible structure net/unix/af_unix.c:1089:24: warning: using sizeof on a flexible structure drivers/dma/sh/usb-dmac.c:269:24: warning: using sizeof on a flexible structure sound/usb/usx2y/usbusx2yaudio.c:678:30: warning: using sizeof on a flexible structure kernel/bpf/bpf_struct_ops.c:585:23: warning: using sizeof on a flexible structure kernel/bpf/bpf_struct_ops.c:589:29: warning: using sizeof on a flexible structure net/xfrm/xfrm_output.c:622:9: warning: using sizeof on a flexible structure net/xfrm/xfrm_output.c:711:17: warning: using sizeof on a flexible structure crypto/echainiv.c:45:17: warning: using sizeof on a flexible structure crypto/echainiv.c:133:38: warning: using sizeof on a flexible structure sound/usb/caiaq/device.c:397:28: warning: using sizeof on a flexible structure net/ipv4/netfilter/nft_reject_ipv4.c:43:27: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_bitmap_gen.h:87:16: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_bitmap_ipmac.c:359:28: warning: using sizeof on a flexible structure net/ipv4/netfilter/nft_dup_ipv4.c:74:27: warning: using sizeof on a flexible structure net/core/sysctl_net_core.c:138:23: warning: using sizeof on a flexible structure sound/core/vmaster.c:259:24: warning: using sizeof on a flexible structure sound/core/vmaster.c:365:17: warning: using sizeof on a flexible structure net/ipv4/netfilter/nft_fib_ipv4.c:150:27: warning: using sizeof on a flexible structure net/ipv4/netfilter/nft_fib_ipv4.c:159:27: warning: using sizeof on a flexible structure crypto/cmac.c:267:17: warning: using sizeof on a flexible structure crypto/cmac.c:267:17: warning: using sizeof on a flexible structure crypto/cmac.c:267:17: warning: using sizeof on a flexible structure crypto/cmac.c:272:17: warning: using sizeof on a flexible structure crypto/cmac.c:272:17: warning: using sizeof on a flexible structure crypto/cmac.c:272:17: warning: using sizeof on a flexible structure net/ipv4/netfilter/ip_tables.c:900:42: warning: using sizeof on a flexible structure net/ipv4/netfilter/ip_tables.c:1235:20: warning: using sizeof on a flexible structure net/ipv4/netfilter/ip_tables.c:1236:45: warning: using sizeof on a flexible structure net/ipv4/netfilter/ip_tables.c:1299:34: warning: using sizeof on a flexible structure net/ipv4/netfilter/ip_tables.c:1303:30: warning: using sizeof on a flexible structure net/ipv4/netfilter/ip_tables.c:1304:30: warning: using sizeof on a flexible structure net/ipv4/netfilter/ip_tables.c:1315:42: warning: using sizeof on a flexible structure net/ipv4/netfilter/ip_tables.c:1370:45: warning: using sizeof on a flexible structure net/ipv4/netfilter/ip_tables.c:1213:40: warning: array of flexible structures net/ipv4/netfilter/ip_tables.c:1456:9: warning: using sizeof on a flexible structure net/ipv4/netfilter/ip_tables.c:1498:42: warning: using sizeof on a flexible structure net/ipv4/netfilter/ip_tables.c:1514:58: warning: using sizeof on a flexible structure net/ipv4/netfilter/ip_tables.c:1541:43: warning: array of flexible structures net/ipv4/netfilter/ip_tables.c:1581:20: warning: using sizeof on a flexible structure net/ipv4/netfilter/ip_tables.c:1584:40: warning: using sizeof on a flexible structure net/ipv4/netfilter/ip_tables.c:1587:21: warning: using sizeof on a flexible structure drivers/acpi/apei/erst.c:978:26: warning: using sizeof on a flexible structure drivers/acpi/apei/erst.c:1003:35: warning: using sizeof on a flexible structure drivers/acpi/apei/erst.c:1015:9: warning: using sizeof on a flexible structure drivers/acpi/apei/erst.c:1037:39: warning: using sizeof on a flexible structure drivers/acpi/apei/erst.c:1043:58: warning: using sizeof on a flexible structure drivers/acpi/apei/erst.c:1046:9: warning: using sizeof on a flexible structure drivers/acpi/apei/erst.c:1055:34: warning: using sizeof on a flexible structure drivers/acpi/apei/erst.c:1061:39: warning: using sizeof on a flexible structure drivers/acpi/apei/erst.c:1169:39: warning: using sizeof on a flexible structure drivers/acpi/apei/erst.c:1171:37: warning: using sizeof on a flexible structure drivers/pinctrl/samsung/pinctrl-exynos.c:612:40: warning: using sizeof on a flexible structure crypto/xcbc.c:227:30: warning: using sizeof on a flexible structure crypto/xcbc.c:227:30: warning: using sizeof on a flexible structure crypto/xcbc.c:227:30: warning: using sizeof on a flexible structure crypto/xcbc.c:233:38: warning: using sizeof on a flexible structure crypto/xcbc.c:233:38: warning: using sizeof on a flexible structure crypto/xcbc.c:233:38: warning: using sizeof on a flexible structure sound/firewire/fireworks/fireworks_proc.c:137:16: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_bitmap_gen.h:87:16: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_bitmap_port.c:269:28: warning: using sizeof on a flexible structure lib/math/prime_numbers.c:128:23: warning: using sizeof on a flexible structure sound/usb/6fire/comm.c:144:43: warning: using sizeof on a flexible structure drivers/acpi/apei/ghes.c:601:15: warning: using sizeof on a flexible structure drivers/acpi/apei/ghes.c:612:15: warning: using sizeof on a flexible structure drivers/xen/xenbus/xenbus_comms.c:262:32: warning: using sizeof on a flexible structure drivers/soc/fsl/qe/qe.c:483:21: warning: using sizeof on a flexible structure net/netfilter/ipvs/ip_vs_xmit.c:1245:9: warning: using sizeof on a flexible structure net/netfilter/ipvs/ip_vs_xmit.c:1393:9: warning: using sizeof on a flexible structure drivers/xen/xen-pciback/pci_stub.c:371:28: warning: using sizeof on a flexible structure sound/usb/6fire/midi.c:154:43: warning: using sizeof on a flexible structure kernel/trace/trace_probe.c:1022:23: warning: using sizeof on a flexible structure drivers/pinctrl/samsung/pinctrl-s3c64xx.c:484:34: warning: using sizeof on a flexible structure drivers/pinctrl/samsung/pinctrl-s3c64xx.c:741:33: warning: using sizeof on a flexible structure drivers/reset/core.c:1172:26: warning: using sizeof on a flexible structure drivers/clk/bcm/clk-bcm63xx-gate.c:500:39: warning: using sizeof on a flexible structure drivers/phy/samsung/phy-samsung-usb2.c:162:33: warning: using sizeof on a flexible structure drivers/gpio/gpio-74x164.c:121:40: warning: using sizeof on a flexible structure kernel/trace/trace_uprobe.c:1492:17: warning: using sizeof on a flexible structure kernel/trace/trace_uprobe.c:1527:17: warning: using sizeof on a flexible structure kernel/trace/trace_uprobe.c:341:22: warning: using sizeof on a flexible structure kernel/trace/trace_uprobe.c:964:17: warning: using sizeof on a flexible structure kernel/trace/trace_uprobe.c:973:24: warning: using sizeof on a flexible structure kernel/trace/trace_uprobe.c:976:24: warning: using sizeof on a flexible structure kernel/trace/trace_uprobe.c:1032:24: warning: using sizeof on a flexible structure kernel/trace/trace_uprobe.c:1037:24: warning: using sizeof on a flexible structure kernel/trace/trace_uprobe.c:1186:24: warning: using sizeof on a flexible structure kernel/trace/trace_uprobe.c:1189:24: warning: using sizeof on a flexible structure kernel/trace/trace_uprobe.c:1356:17: warning: using sizeof on a flexible structure kernel/trace/trace_uprobe.c:1375:24: warning: using sizeof on a flexible structure kernel/trace/trace_uprobe.c:1378:24: warning: using sizeof on a flexible structure drivers/xen/xenbus/xenbus_dev_frontend.c:198:22: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:137:24: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:141:51: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:386:29: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:536:41: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:541:39: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:559:33: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:883:29: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:891:25: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:947:29: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:954:17: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:958:25: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:1100:51: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:1104:55: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:1120:33: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:709:53: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:718:49: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:727:62: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:736:41: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:740:49: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:386:29: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:536:41: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:541:39: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:559:33: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:883:29: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:891:25: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:947:29: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:954:17: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:958:25: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:1100:51: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:1104:55: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:1120:33: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:709:53: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:718:49: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:727:62: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:736:41: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:740:49: warning: using sizeof on a flexible structure net/core/neighbour.c:766:21: warning: using sizeof on a flexible structure drivers/clk/imgtec/clk-boston.c:61:27: warning: using sizeof on a flexible structure drivers/tty/hvc/hvc_console.c:925:22: warning: using sizeof on a flexible structure drivers/tty/hvc/hvc_console.c:925:22: warning: using sizeof on a flexible structure drivers/tty/hvc/hvc_console.c:925:22: warning: using sizeof on a flexible structure drivers/tty/hvc/hvc_console.c:934:36: warning: using sizeof on a flexible structure drivers/tty/hvc/hvc_console.c:934:36: warning: using sizeof on a flexible structure drivers/tty/hvc/hvc_console.c:934:36: warning: using sizeof on a flexible structure sound/usb/6fire/pcm.h:54:31: warning: array of flexible structures sound/usb/6fire/pcm.h:55:32: warning: array of flexible structures fs/ext4/inline.c:49:24: warning: using sizeof on a flexible structure fs/ext4/inline.c:58:47: warning: using sizeof on a flexible structure fs/ext4/inline.c:76:17: warning: using sizeof on a flexible structure net/core/dev.c:1239:37: warning: using sizeof on a flexible structure net/core/dev.c:2431:25: warning: using sizeof on a flexible structure net/core/dev.c:2452:35: warning: using sizeof on a flexible structure net/core/dev.c:2454:40: warning: using sizeof on a flexible structure net/core/dev.c:2516:27: warning: using sizeof on a flexible structure net/core/dev.c:2519:27: warning: using sizeof on a flexible structure drivers/pci/probe.c:607:26: warning: using sizeof on a flexible structure drivers/acpi/nfit/core.c:715:38: warning: using sizeof on a flexible structure drivers/acpi/nfit/core.c:744:41: warning: using sizeof on a flexible structure drivers/acpi/nfit/core.c:815:38: warning: using sizeof on a flexible structure drivers/acpi/nfit/core.c:842:38: warning: using sizeof on a flexible structure drivers/acpi/nfit/core.c:881:38: warning: using sizeof on a flexible structure drivers/acpi/nfit/core.c:921:40: warning: using sizeof on a flexible structure sound/usb/hiface/pcm.c:55:32: warning: array of flexible structures drivers/dma/ti/edma.c:1101:25: warning: using sizeof on a flexible structure drivers/dma/ti/edma.c:1218:25: warning: using sizeof on a flexible structure drivers/dma/ti/edma.c:1325:25: warning: using sizeof on a flexible structure drivers/dma/ti/edma.c:1421:25: warning: using sizeof on a flexible structure mm/percpu.c:1363:22: warning: using sizeof on a flexible structure mm/percpu.c:2443:21: warning: using sizeof on a flexible structure mm/percpu.c:2443:21: warning: using sizeof on a flexible structure mm/percpu.c:2443:21: warning: using sizeof on a flexible structure mm/percpu.c:2708:34: warning: using sizeof on a flexible structure mm/percpu-internal.h:157:9: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:137:24: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:141:51: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:386:29: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:536:41: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:541:39: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:559:33: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:883:29: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:891:25: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:947:29: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:954:17: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:958:25: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:1100:51: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:1104:55: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:1120:33: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:709:53: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:718:49: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:727:62: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:736:41: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:740:49: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:386:29: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:536:41: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:541:39: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:559:33: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:883:29: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:891:25: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:947:29: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:954:17: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:958:25: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:1100:51: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:1104:55: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:1120:33: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:709:53: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:718:49: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:727:62: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:736:41: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:740:49: warning: using sizeof on a flexible structure drivers/acpi/nfit/intel.c:83:55: warning: using sizeof on a flexible structure drivers/acpi/nfit/intel.c:138:55: warning: using sizeof on a flexible structure drivers/acpi/nfit/intel.c:176:55: warning: using sizeof on a flexible structure drivers/acpi/nfit/intel.c:218:55: warning: using sizeof on a flexible structure drivers/acpi/nfit/intel.c:259:55: warning: using sizeof on a flexible structure drivers/acpi/nfit/intel.c:304:55: warning: using sizeof on a flexible structure drivers/acpi/nfit/intel.c:344:55: warning: using sizeof on a flexible structure drivers/acpi/nfit/intel.c:387:55: warning: using sizeof on a flexible structure drivers/acpi/nfit/intel.c:453:66: warning: using sizeof on a flexible structure drivers/acpi/nfit/intel.c:584:66: warning: using sizeof on a flexible structure drivers/acpi/nfit/intel.c:628:55: warning: using sizeof on a flexible structure drivers/acpi/nfit/intel.c:764:55: warning: using sizeof on a flexible structure net/ipv6/netfilter/nft_dup_ipv6.c:72:27: warning: using sizeof on a flexible structure fs/squashfs/dir.c:61:48: warning: using sizeof on a flexible structure fs/squashfs/dir.c:109:24: warning: using sizeof on a flexible structure fs/squashfs/dir.c:171:50: warning: using sizeof on a flexible structure fs/squashfs/dir.c:186:35: warning: using sizeof on a flexible structure net/ipv6/netfilter/nft_reject_ipv6.c:44:27: warning: using sizeof on a flexible structure drivers/video/fbdev/mmp/core.c:159:24: warning: using sizeof on a flexible structure drivers/dma/ti/omap-dma.c:1000:21: warning: using sizeof on a flexible structure drivers/dma/ti/omap-dma.c:1177:21: warning: using sizeof on a flexible structure drivers/dma/ti/omap-dma.c:1245:21: warning: using sizeof on a flexible structure drivers/dma/ti/omap-dma.c:1300:21: warning: using sizeof on a flexible structure drivers/soc/mediatek/mtk-pm-domains.c:588:36: warning: using sizeof on a flexible structure ./include/net/sctp/structs.h:335:41: warning: array of flexible structures drivers/pci/pci.c:1754:38: warning: array of flexible structures drivers/pci/pci.c:1774:16: warning: using sizeof on a flexible structure drivers/pci/pci.c:1774:33: warning: using sizeof on a flexible structure drivers/pci/pci.c:1777:25: warning: using sizeof on a flexible structure drivers/pci/pci.c:1788:30: warning: using sizeof on a flexible structure drivers/pci/pci.c:1826:24: warning: using sizeof on a flexible structure drivers/pci/pci.c:3389:30: warning: using sizeof on a flexible structure net/xfrm/xfrm_interface.c:369:17: warning: using sizeof on a flexible structure fs/ext4/ioctl.c:875:40: warning: using sizeof on a flexible structure fs/ext4/ioctl.c:920:38: warning: using sizeof on a flexible structure fs/ext4/ioctl.c:1159:14: warning: using sizeof on a flexible structure fs/ext4/ioctl.c:1490:14: warning: using sizeof on a flexible structure fs/ext4/ioctl.c:1550:14: warning: using sizeof on a flexible structure fs/ext4/ioctl.c:1632:14: warning: using sizeof on a flexible structure fs/ext4/ioctl.c:1638:14: warning: using sizeof on a flexible structure fs/ext4/ioctl.c:1640:14: warning: using sizeof on a flexible structure drivers/clk/bcm/clk-iproc-asiu.c:200:34: warning: using sizeof on a flexible structure drivers/pinctrl/uniphier/pinctrl-uniphier-core.c:752:36: warning: using sizeof on a flexible structure drivers/clk/bcm/clk-iproc-pll.c:747:28: warning: using sizeof on a flexible structure sound/usb/card.c:247:42: warning: using sizeof on a flexible structure sound/usb/card.c:261:34: warning: using sizeof on a flexible structure sound/usb/card.c:276:35: warning: using sizeof on a flexible structure net/ipv6/netfilter/nft_fib_ipv6.c:209:27: warning: using sizeof on a flexible structure net/ipv6/netfilter/nft_fib_ipv6.c:218:27: warning: using sizeof on a flexible structure fs/ext2/xattr.c:1054:24: warning: using sizeof on a flexible structure fs/ext2/xattr.c:155:16: warning: using sizeof on a flexible structure fs/ext2/xattr.c:250:25: warning: using sizeof on a flexible structure fs/ext2/xattr.c:328:25: warning: using sizeof on a flexible structure fs/ext2/xattr.c:335:22: warning: using sizeof on a flexible structure fs/ext2/xattr.c:484:32: warning: using sizeof on a flexible structure fs/ext2/xattr.c:511:25: warning: using sizeof on a flexible structure fs/ext2/xattr.c:514:20: warning: using sizeof on a flexible structure fs/ext2/xattr.c:566:31: warning: using sizeof on a flexible structure fs/ext2/xattr.c:603:40: warning: using sizeof on a flexible structure fs/ext2/xattr.c:610:39: warning: using sizeof on a flexible structure fs/ext2/xattr.c:920:26: warning: using sizeof on a flexible structure fs/ext2/xattr.c:921:26: warning: using sizeof on a flexible structure net/core/sock_reuseport.c:92:29: warning: using sizeof on a flexible structure ./include/net/sctp/structs.h:335:41: warning: array of flexible structures drivers/gpio/gpio-aggregator.c:45:43: warning: using sizeof on a flexible structure drivers/gpio/gpio-aggregator.c:120:24: warning: using sizeof on a flexible structure drivers/gpio/gpio-aggregator.c:126:33: warning: using sizeof on a flexible structure drivers/gpio/gpio-aggregator.c:405:33: warning: using sizeof on a flexible structure ./include/crypto/skcipher.h:502:23: warning: using sizeof on a flexible structure drivers/clk/bcm/clk-bcm2835.c:2248:31: warning: using sizeof on a flexible structure net/ipv4/netfilter/arp_tables.c:744:43: warning: using sizeof on a flexible structure net/ipv4/netfilter/arp_tables.c:1082:34: warning: using sizeof on a flexible structure net/ipv4/netfilter/arp_tables.c:1086:30: warning: using sizeof on a flexible structure net/ipv4/netfilter/arp_tables.c:1087:30: warning: using sizeof on a flexible structure net/ipv4/netfilter/arp_tables.c:1098:43: warning: using sizeof on a flexible structure net/ipv4/netfilter/arp_tables.c:1140:46: warning: using sizeof on a flexible structure net/ipv4/netfilter/arp_tables.c:1058:48: warning: array of flexible structures net/ipv4/netfilter/arp_tables.c:1216:9: warning: using sizeof on a flexible structure net/ipv4/netfilter/arp_tables.c:1257:42: warning: using sizeof on a flexible structure net/ipv4/netfilter/arp_tables.c:1273:58: warning: using sizeof on a flexible structure net/ipv4/netfilter/arp_tables.c:1315:20: warning: using sizeof on a flexible structure net/ipv4/netfilter/arp_tables.c:1316:46: warning: using sizeof on a flexible structure net/ipv4/netfilter/arp_tables.c:1362:44: warning: array of flexible structures net/ipv4/netfilter/arp_tables.c:1373:20: warning: using sizeof on a flexible structure net/ipv4/netfilter/arp_tables.c:1375:40: warning: using sizeof on a flexible structure net/ipv4/netfilter/arp_tables.c:1377:21: warning: using sizeof on a flexible structure drivers/clk/bcm/clk-bcm2835-aux.c:34:32: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:137:24: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:141:51: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:386:29: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:536:41: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:541:39: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:559:33: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:883:29: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:891:25: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:947:29: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:954:17: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:958:25: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:1100:51: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:1104:55: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:1120:33: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:709:53: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:718:49: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:727:62: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:736:41: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:740:49: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:386:29: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:536:41: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:541:39: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:559:33: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:883:29: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:891:25: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:947:29: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:954:17: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:958:25: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:1100:51: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:1104:55: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:1120:33: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:709:53: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:718:49: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:727:62: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:736:41: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:740:49: warning: using sizeof on a flexible structure drivers/regulator/cros-ec-regulator.c:31:23: warning: using sizeof on a flexible structure drivers/tty/serial/serial_core.c:2554:39: warning: using sizeof on a flexible structure drivers/tty/ipwireless/tty.c:440:27: warning: using sizeof on a flexible structure net/wireless/radiotap.c:103:26: warning: using sizeof on a flexible structure drivers/tty/vt/vt.c:1128:33: warning: using sizeof on a flexible structure drivers/tty/vt/vt.c:3521:52: warning: using sizeof on a flexible structure crypto/cts.c:301:19: warning: using sizeof on a flexible structure crypto/cts.c:301:19: warning: using sizeof on a flexible structure crypto/cts.c:301:19: warning: using sizeof on a flexible structure fs/ext4/mballoc.c:2881:17: warning: using sizeof on a flexible structure mm/list_lru.c:366:31: warning: using sizeof on a flexible structure mm/list_lru.c:400:24: warning: using sizeof on a flexible structure net/ipv6/netfilter/ip6t_mh.c:41:50: warning: using sizeof on a flexible structure sound/firewire/motu/motu-hwdep.c:73:29: warning: using sizeof on a flexible structure sound/firewire/motu/motu-hwdep.c:85:37: warning: using sizeof on a flexible structure sound/firewire/motu/motu-hwdep.c:86:47: warning: using sizeof on a flexible structure drivers/tty/tty_buffer.c:178:21: warning: using sizeof on a flexible structure drivers/tty/tty_buffer.c:319:28: warning: using sizeof on a flexible structure drivers/tty/tty_buffer.c:319:28: warning: using sizeof on a flexible structure drivers/tty/tty_buffer.c:319:28: warning: using sizeof on a flexible structure drivers/tty/tty_buffer.c:319:28: warning: using sizeof on a flexible structure drivers/tty/tty_buffer.c:319:28: warning: using sizeof on a flexible structure drivers/tty/tty_buffer.c:319:28: warning: using sizeof on a flexible structure drivers/tty/tty_buffer.c:358:28: warning: using sizeof on a flexible structure drivers/tty/tty_buffer.c:358:28: warning: using sizeof on a flexible structure drivers/tty/tty_buffer.c:358:28: warning: using sizeof on a flexible structure drivers/tty/tty_buffer.c:358:28: warning: using sizeof on a flexible structure drivers/tty/tty_buffer.c:358:28: warning: using sizeof on a flexible structure drivers/tty/tty_buffer.c:358:28: warning: using sizeof on a flexible structure fs/squashfs/squashfs_fs.h:393:46: warning: array of flexible structures fs/squashfs/inode.c:136:57: warning: using sizeof on a flexible structure fs/squashfs/inode.c:179:57: warning: using sizeof on a flexible structure fs/squashfs/inode.c:247:33: warning: using sizeof on a flexible structure fs/squashfs/inode.c:275:33: warning: using sizeof on a flexible structure drivers/tty/tty_port.c:73:9: warning: using sizeof on a flexible structure net/wireless/core.c:447:22: warning: using sizeof on a flexible structure kernel/groups.c:18:23: warning: using sizeof on a flexible structure net/ipv4/route.c:1213:9: warning: using sizeof on a flexible structure crypto/lrw.c:279:42: warning: using sizeof on a flexible structure fs/squashfs/namei.c:76:25: warning: using sizeof on a flexible structure fs/squashfs/namei.c:88:56: warning: using sizeof on a flexible structure fs/squashfs/namei.c:142:24: warning: using sizeof on a flexible structure fs/squashfs/namei.c:179:50: warning: using sizeof on a flexible structure fs/squashfs/namei.c:194:35: warning: using sizeof on a flexible structure drivers/clk/bcm/clk-bcm2711-dvp.c:38:34: warning: using sizeof on a flexible structure sound/usb/mixer.c:759:37: warning: using sizeof on a flexible structure net/core/flow_offload.c:15:24: warning: using sizeof on a flexible structure net/core/flow_offload.c:36:29: warning: using sizeof on a flexible structure net/core/flow_offload.c:204:26: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:137:24: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:141:51: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:386:29: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:536:41: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:541:39: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:559:33: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:883:29: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:891:25: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:947:29: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:954:17: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:958:25: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:1100:51: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:1104:55: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:1120:33: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:709:53: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:718:49: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:727:62: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:736:41: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:740:49: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:386:29: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:536:41: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:541:39: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:559:33: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:883:29: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:891:25: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:947:29: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:954:17: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:958:25: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:1100:51: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:1104:55: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:1120:33: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:709:53: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:718:49: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:727:62: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:736:41: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:740:49: warning: using sizeof on a flexible structure crypto/xts.c:318:42: warning: using sizeof on a flexible structure drivers/clk/bcm/clk-raspberrypi.c:330:38: warning: using sizeof on a flexible structure drivers/tty/serial/kgdb_nmi.c:239:24: warning: using sizeof on a flexible structure net/wireless/reg.c:452:24: warning: using sizeof on a flexible structure net/wireless/reg.c:457:9: warning: using sizeof on a flexible structure net/wireless/reg.c:853:20: warning: using sizeof on a flexible structure net/wireless/reg.c:969:26: warning: using sizeof on a flexible structure net/wireless/reg.c:1557:22: warning: using sizeof on a flexible structure net/netfilter/nfnetlink_acct.c:115:26: warning: using sizeof on a flexible structure net/sched/act_tunnel_key.c:118:19: warning: using sizeof on a flexible structure net/sched/act_tunnel_key.c:591:24: warning: using sizeof on a flexible structure net/sched/act_tunnel_key.c:592:24: warning: using sizeof on a flexible structure net/wireless/scan.c:760:27: warning: using sizeof on a flexible structure net/wireless/scan.c:904:27: warning: using sizeof on a flexible structure net/wireless/scan.c:1227:9: warning: using sizeof on a flexible structure net/wireless/scan.c:1227:9: warning: using sizeof on a flexible structure net/wireless/scan.c:1720:31: warning: using sizeof on a flexible structure net/wireless/scan.c:1731:17: warning: using sizeof on a flexible structure net/wireless/scan.c:1806:44: warning: using sizeof on a flexible structure net/wireless/scan.c:1974:23: warning: using sizeof on a flexible structure net/wireless/scan.c:2134:9: warning: using sizeof on a flexible structure net/wireless/scan.c:2134:9: warning: using sizeof on a flexible structure net/wireless/scan.c:2137:17: warning: using sizeof on a flexible structure net/wireless/scan.c:2137:17: warning: using sizeof on a flexible structure net/wireless/scan.c:2308:27: warning: using sizeof on a flexible structure net/wireless/scan.c:2436:23: warning: using sizeof on a flexible structure net/wireless/scan.c:2755:24: warning: using sizeof on a flexible structure ./include/linux/ieee80211.h:2431:23: warning: using sizeof on a flexible structure crypto/ctr.c:235:27: warning: using sizeof on a flexible structure drivers/clk/mstar/clk-msc313-mpll.c:107:44: warning: using sizeof on a flexible structure drivers/clk/ingenic/tcu.c:369:31: warning: using sizeof on a flexible structure net/sched/act_ct.c:733:17: warning: using sizeof on a flexible structure fs/squashfs/xattr.c:51:57: warning: using sizeof on a flexible structure fs/squashfs/xattr.c:89:49: warning: using sizeof on a flexible structure fs/squashfs/xattr.c:128:57: warning: using sizeof on a flexible structure fs/squashfs/xattr.c:153:58: warning: using sizeof on a flexible structure fs/squashfs/xattr.c:167:57: warning: using sizeof on a flexible structure fs/squashfs/xattr.c:187:57: warning: using sizeof on a flexible structure net/wireless/mlme.c:548:24: warning: using sizeof on a flexible structure crypto/adiantum.c:141:24: warning: using sizeof on a flexible structure crypto/adiantum.c:430:23: warning: using sizeof on a flexible structure crypto/adiantum.c:430:23: warning: using sizeof on a flexible structure crypto/adiantum.c:430:23: warning: using sizeof on a flexible structure crypto/adiantum.c:430:23: warning: using sizeof on a flexible structure crypto/adiantum.c:430:23: warning: using sizeof on a flexible structure crypto/adiantum.c:430:23: warning: using sizeof on a flexible structure crypto/adiantum.c:430:23: warning: using sizeof on a flexible structure crypto/adiantum.c:430:23: warning: using sizeof on a flexible structure crypto/adiantum.c:430:23: warning: using sizeof on a flexible structure crypto/adiantum.c:430:23: warning: using sizeof on a flexible structure crypto/adiantum.c:430:23: warning: using sizeof on a flexible structure crypto/adiantum.c:430:23: warning: using sizeof on a flexible structure net/ipv4/ip_fragment.c:535:25: warning: using sizeof on a flexible structure sound/usb/mixer_scarlett_gen2.c:1064:28: warning: using sizeof on a flexible structure sound/usb/mixer_scarlett_gen2.c:1065:29: warning: using sizeof on a flexible structure crypto/gcm.c:966:9: warning: using sizeof on a flexible structure crypto/gcm.c:116:24: warning: using sizeof on a flexible structure crypto/gcm.c:547:17: warning: using sizeof on a flexible structure crypto/gcm.c:547:17: warning: using sizeof on a flexible structure crypto/gcm.c:547:17: warning: using sizeof on a flexible structure crypto/gcm.c:547:17: warning: using sizeof on a flexible structure crypto/gcm.c:547:17: warning: using sizeof on a flexible structure crypto/gcm.c:547:17: warning: using sizeof on a flexible structure crypto/gcm.c:547:17: warning: using sizeof on a flexible structure crypto/gcm.c:547:17: warning: using sizeof on a flexible structure crypto/gcm.c:547:17: warning: using sizeof on a flexible structure crypto/gcm.c:547:17: warning: using sizeof on a flexible structure crypto/gcm.c:547:17: warning: using sizeof on a flexible structure crypto/gcm.c:547:17: warning: using sizeof on a flexible structure crypto/gcm.c:807:17: warning: using sizeof on a flexible structure crypto/gcm.c:1014:17: warning: using sizeof on a flexible structure net/ipv4/ip_input.c:509:9: warning: using sizeof on a flexible structure drivers/tty/serial/8250/8250_exar.c:628:43: warning: using sizeof on a flexible structure net/core/net-sysfs.c:850:23: warning: using sizeof on a flexible structure net/core/net-sysfs.c:850:23: warning: using sizeof on a flexible structure net/core/net-sysfs.c:850:23: warning: using sizeof on a flexible structure net/core/net-sysfs.c:850:23: warning: using sizeof on a flexible structure net/core/net-sysfs.c:850:23: warning: using sizeof on a flexible structure net/core/net-sysfs.c:850:23: warning: using sizeof on a flexible structure net/core/net-sysfs.c:946:33: warning: using sizeof on a flexible structure drivers/tty/serial/8250/8250_pci.c:3695:24: warning: using sizeof on a flexible structure crypto/ccm.c:686:17: warning: using sizeof on a flexible structure drivers/dma/dmaengine.c:1466:24: warning: using sizeof on a flexible structure drivers/dma/dmaengine.c:1494:9: warning: using sizeof on a flexible structure crypto/chacha20poly1305.c:528:17: warning: using sizeof on a flexible structure crypto/chacha20poly1305.c:528:17: warning: using sizeof on a flexible structure crypto/chacha20poly1305.c:528:17: warning: using sizeof on a flexible structure crypto/chacha20poly1305.c:528:17: warning: using sizeof on a flexible structure crypto/chacha20poly1305.c:528:17: warning: using sizeof on a flexible structure crypto/chacha20poly1305.c:528:17: warning: using sizeof on a flexible structure crypto/chacha20poly1305.c:528:17: warning: using sizeof on a flexible structure crypto/chacha20poly1305.c:528:17: warning: using sizeof on a flexible structure crypto/chacha20poly1305.c:528:17: warning: using sizeof on a flexible structure crypto/chacha20poly1305.c:528:17: warning: using sizeof on a flexible structure crypto/chacha20poly1305.c:528:17: warning: using sizeof on a flexible structure crypto/chacha20poly1305.c:528:17: warning: using sizeof on a flexible structure crypto/chacha20poly1305.c:615:38: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:137:24: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:141:51: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:386:29: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:536:41: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:541:39: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:559:33: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:883:29: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:891:25: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:947:29: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:954:17: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:958:25: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:1100:51: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:1104:55: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:1120:33: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:709:53: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:718:49: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:727:62: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:736:41: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:740:49: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:386:29: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:536:41: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:541:39: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:559:33: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:883:29: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:891:25: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:947:29: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:954:17: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:958:25: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:1100:51: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:1104:55: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:1120:33: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:709:53: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:718:49: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:727:62: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:736:41: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:740:49: warning: using sizeof on a flexible structure net/mpls/mpls_iptunnel.c:191:38: warning: using sizeof on a flexible structure net/netfilter/nf_conntrack_core.c:2634:16: warning: using sizeof on a flexible structure net/switchdev/switchdev.c:88:26: warning: using sizeof on a flexible structure net/wireless/sme.c:80:27: warning: using sizeof on a flexible structure drivers/iommu/arm/arm-smmu/qcom_iommu.c:773:40: warning: using sizeof on a flexible structure lib/pldmfw/pldmfw.c:131:41: warning: using sizeof on a flexible structure lib/pldmfw/pldmfw.c:151:49: warning: using sizeof on a flexible structure lib/pldmfw/pldmfw.c:178:41: warning: using sizeof on a flexible structure lib/pldmfw/pldmfw.c:272:49: warning: using sizeof on a flexible structure lib/pldmfw/pldmfw.c:339:41: warning: using sizeof on a flexible structure lib/pldmfw/pldmfw.c:418:41: warning: using sizeof on a flexible structure lib/pldmfw/pldmfw.c:453:49: warning: using sizeof on a flexible structure net/mpls/internal.h:157:38: warning: array of flexible structures net/mpls/af_mpls.c:512:22: warning: using sizeof on a flexible structure net/mpls/af_mpls.c:512:22: warning: using sizeof on a flexible structure net/mpls/af_mpls.c:512:22: warning: using sizeof on a flexible structure net/mpls/af_mpls.c:516:16: warning: using sizeof on a flexible structure net/mpls/af_mpls.c:527:29: warning: using sizeof on a flexible structure net/mpls/af_mpls.c:527:29: warning: using sizeof on a flexible structure net/mpls/af_mpls.c:527:29: warning: using sizeof on a flexible structure net/mpls/af_mpls.c:1526:47: warning: using sizeof on a flexible structure drivers/soc/renesas/rcar-sysc.c:407:30: warning: using sizeof on a flexible structure crypto/pcrypt.c:192:38: warning: using sizeof on a flexible structure crypto/pcrypt.c:193:38: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:137:24: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:141:51: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:386:29: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:536:41: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:541:39: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:559:33: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:883:29: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:891:25: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:947:29: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:954:17: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:958:25: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:1100:51: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:1104:55: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:1120:33: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:709:53: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:718:49: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:727:62: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:736:41: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:740:49: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:386:29: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:536:41: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:541:39: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:559:33: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:883:29: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:891:25: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:947:29: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:954:17: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:958:25: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:1100:51: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:1104:55: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:1120:33: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:709:53: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:718:49: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:727:62: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:736:41: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:740:49: warning: using sizeof on a flexible structure drivers/tty/serial/max310x.c:1265:31: warning: using sizeof on a flexible structure drivers/soc/renesas/rcar-gen4-sysc.c:341:30: warning: using sizeof on a flexible structure fs/ext4/xattr.c:3107:24: warning: using sizeof on a flexible structure fs/ext4/xattr.c:192:49: warning: using sizeof on a flexible structure fs/ext4/xattr.c:225:25: warning: using sizeof on a flexible structure fs/ext4/xattr.c:294:24: warning: using sizeof on a flexible structure fs/ext4/xattr.c:666:47: warning: using sizeof on a flexible structure fs/ext4/xattr.c:829:30: warning: using sizeof on a flexible structure fs/ext4/xattr.c:847:30: warning: using sizeof on a flexible structure fs/ext4/xattr.c:968:55: warning: using sizeof on a flexible structure fs/ext4/xattr.c:1063:22: warning: using sizeof on a flexible structure fs/ext4/xattr.c:1087:22: warning: using sizeof on a flexible structure fs/ext4/xattr.c:1145:22: warning: using sizeof on a flexible structure fs/ext4/xattr.c:1322:35: warning: using sizeof on a flexible structure fs/ext4/xattr.c:1315:45: warning: using sizeof on a flexible structure fs/ext4/xattr.c:1594:24: warning: using sizeof on a flexible structure fs/ext4/xattr.c:1613:33: warning: using sizeof on a flexible structure fs/ext4/xattr.c:1615:28: warning: using sizeof on a flexible structure fs/ext4/xattr.c:1710:32: warning: using sizeof on a flexible structure fs/ext4/xattr.c:1716:31: warning: using sizeof on a flexible structure fs/ext4/xattr.c:1724:31: warning: using sizeof on a flexible structure fs/ext4/xattr.c:2364:25: warning: using sizeof on a flexible structure fs/ext4/xattr.c:2509:45: warning: using sizeof on a flexible structure fs/ext4/xattr.c:2631:38: warning: using sizeof on a flexible structure fs/ext4/xattr.c:2625:53: warning: using sizeof on a flexible structure fs/ext4/xattr.c:2652:30: warning: using sizeof on a flexible structure fs/ext4/xattr.c:2894:38: warning: using sizeof on a flexible structure fs/ext4/xattr.c:3005:26: warning: using sizeof on a flexible structure fs/ext4/xattr.c:3006:26: warning: using sizeof on a flexible structure net/sched/sch_atm.c:281:24: warning: using sizeof on a flexible structure net/sched/sch_atm.c:685:27: warning: using sizeof on a flexible structure net/ipv4/ip_options.c:49:9: warning: using sizeof on a flexible structure net/ipv4/ip_options.c:97:9: warning: using sizeof on a flexible structure net/ipv4/ip_options.c:530:23: warning: using sizeof on a flexible structure drivers/iommu/intel/dmar.c:146:16: warning: using sizeof on a flexible structure kernel/module.c:1543:19: warning: using sizeof on a flexible structure kernel/module.c:1543:19: warning: using sizeof on a flexible structure kernel/module.c:1543:19: warning: using sizeof on a flexible structure kernel/module.c:1651:31: warning: using sizeof on a flexible structure drivers/xen/sys-hypervisor.c:368:27: warning: using sizeof on a flexible structure drivers/soc/qcom/rpmh.c:349:23: warning: using sizeof on a flexible structure drivers/soc/qcom/rpmh.c:356:24: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:137:24: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:141:51: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:386:29: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:536:41: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:541:39: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:559:33: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:883:29: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:891:25: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:947:29: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:954:17: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:958:25: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:1100:51: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:1104:55: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:1120:33: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:709:53: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:718:49: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:727:62: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:736:41: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:740:49: warning: using sizeof on a flexible structure net/netfilter/nf_conntrack_extend.c:58:26: warning: using sizeof on a flexible structure ./include/net/mld.h:32:43: warning: array of flexible structures net/ipv6/mcast_snoop.c:68:16: warning: using sizeof on a flexible structure net/ipv6/mcast_snoop.c:86:37: warning: using sizeof on a flexible structure net/ipv6/mcast_snoop.c:89:51: warning: using sizeof on a flexible structure crypto/cryptd.c:263:9: warning: using sizeof on a flexible structure crypto/cryptd.c:291:9: warning: using sizeof on a flexible structure crypto/cryptd.c:439:34: warning: using sizeof on a flexible structure ./include/crypto/skcipher.h:524:31: warning: using sizeof on a flexible structure ./include/crypto/skcipher.h:524:31: warning: using sizeof on a flexible structure drivers/soc/qcom/smd-rpm.c:110:23: warning: using sizeof on a flexible structure drivers/soc/qcom/smem.c:909:41: warning: using sizeof on a flexible structure drivers/dma/ioat/dca.c:279:34: warning: using sizeof on a flexible structure net/sched/sch_netem.c:788:22: warning: using sizeof on a flexible structure net/ipv4/ip_output.c:259:9: warning: using sizeof on a flexible structure net/ipv4/ip_output.c:1243:45: warning: using sizeof on a flexible structure net/ipv4/ip_output.c:1248:17: warning: using sizeof on a flexible structure drivers/iommu/iommu.c:2890:26: warning: using sizeof on a flexible structure drivers/iommu/iommu.c:2924:43: warning: using sizeof on a flexible structure sound/pci/hda/hda_codec.c:111:21: warning: using sizeof on a flexible structure drivers/char/tpm/eventlog/tpm1.c:86:28: warning: using sizeof on a flexible structure drivers/char/tpm/eventlog/tpm1.c:95:33: warning: using sizeof on a flexible structure drivers/char/tpm/eventlog/tpm1.c:102:26: warning: using sizeof on a flexible structure drivers/char/tpm/eventlog/tpm1.c:121:14: warning: using sizeof on a flexible structure drivers/char/tpm/eventlog/tpm1.c:124:18: warning: using sizeof on a flexible structure drivers/char/tpm/eventlog/tpm1.c:133:19: warning: using sizeof on a flexible structure drivers/char/tpm/eventlog/tpm1.c:230:9: warning: using sizeof on a flexible structure drivers/char/tpm/eventlog/tpm1.c:239:26: warning: using sizeof on a flexible structure drivers/char/tpm/eventlog/tpm1.c:245:19: warning: using sizeof on a flexible structure drivers/char/tpm/eventlog/tpm1.c:244:19: warning: using sizeof on a flexible structure drivers/char/tpm/eventlog/tpm1.c:258:35: warning: using sizeof on a flexible structure net/wireless/nl80211.c:258:9: warning: using sizeof on a flexible structure net/wireless/nl80211.c:258:9: warning: using sizeof on a flexible structure net/wireless/nl80211.c:277:9: warning: using sizeof on a flexible structure net/wireless/nl80211.c:277:9: warning: using sizeof on a flexible structure net/wireless/nl80211.c:831:24: warning: using sizeof on a flexible structure net/wireless/nl80211.c:4582:23: warning: using sizeof on a flexible structure net/wireless/nl80211.c:5115:25: warning: using sizeof on a flexible structure net/wireless/nl80211.c:5398:36: warning: using sizeof on a flexible structure net/wireless/nl80211.c:8182:22: warning: using sizeof on a flexible structure net/wireless/nl80211.c:8519:27: warning: using sizeof on a flexible structure net/wireless/nl80211.c:8967:27: warning: using sizeof on a flexible structure net/wireless/nl80211.c:12006:38: warning: using sizeof on a flexible structure net/wireless/nl80211.c:12296:21: warning: using sizeof on a flexible structure net/wireless/nl80211.c:12520:39: warning: using sizeof on a flexible structure net/wireless/nl80211.c:12546:16: warning: using sizeof on a flexible structure net/wireless/nl80211.c:12586:36: warning: using sizeof on a flexible structure net/wireless/nl80211.c:12594:38: warning: using sizeof on a flexible structure net/wireless/nl80211.c:12598:38: warning: using sizeof on a flexible structure net/wireless/nl80211.c:12605:17: warning: using sizeof on a flexible structure net/wireless/nl80211.c:15011:30: warning: using sizeof on a flexible structure net/wireless/nl80211.c:15347:28: warning: using sizeof on a flexible structure lib/reed_solomon/reed_solomon.c:237:22: warning: using sizeof on a flexible structure arch/x86/kernel/crash.c:201:24: warning: using sizeof on a flexible structure arch/x86/kernel/crash.c:327:24: warning: using sizeof on a flexible structure ./include/sound/intel-nhlt.h:83:34: warning: array of flexible structures ./include/sound/intel-nhlt.h:63:39: warning: array of flexible structures ./include/sound/intel-nhlt.h:83:34: warning: array of flexible structures drivers/soc/qcom/wcnss_ctrl.c:208:23: warning: using sizeof on a flexible structure drivers/soc/qcom/wcnss_ctrl.c:226:24: warning: using sizeof on a flexible structure drivers/soc/qcom/wcnss_ctrl.c:236:40: warning: using sizeof on a flexible structure drivers/regulator/da9062-regulator.c:945:47: warning: using sizeof on a flexible structure drivers/regulator/da9063-regulator.c:858:47: warning: using sizeof on a flexible structure drivers/clk/imx/clk-imx8mm.c:306:31: warning: using sizeof on a flexible structure drivers/clk/imx/clk-imx8mn.c:302:31: warning: using sizeof on a flexible structure net/wireless/pmsr.c:293:23: warning: using sizeof on a flexible structure drivers/soc/qcom/apr.c:174:24: warning: using sizeof on a flexible structure drivers/soc/qcom/apr.c:278:24: warning: using sizeof on a flexible structure drivers/soc/qcom/apr.c:283:29: warning: using sizeof on a flexible structure drivers/char/tpm/eventlog/tpm2.c:54:16: warning: using sizeof on a flexible structure drivers/char/tpm/eventlog/tpm2.c:100:30: warning: using sizeof on a flexible structure drivers/char/tpm/eventlog/tpm2.c:138:24: warning: using sizeof on a flexible structure sound/usb/validate.c:30:30: warning: using sizeof on a flexible structure sound/usb/validate.c:31:31: warning: using sizeof on a flexible structure sound/usb/validate.c:41:26: warning: using sizeof on a flexible structure sound/usb/validate.c:43:15: warning: using sizeof on a flexible structure sound/usb/validate.c:76:26: warning: using sizeof on a flexible structure sound/usb/validate.c:78:15: warning: using sizeof on a flexible structure sound/usb/validate.c:173:26: warning: using sizeof on a flexible structure sound/usb/validate.c:175:15: warning: using sizeof on a flexible structure sound/usb/validate.c:207:26: warning: using sizeof on a flexible structure sound/usb/validate.c:210:30: warning: using sizeof on a flexible structure sound/usb/validate.c:218:26: warning: using sizeof on a flexible structure sound/usb/validate.c:221:30: warning: using sizeof on a flexible structure sound/usb/validate.c:229:30: warning: using sizeof on a flexible structure sound/usb/validate.c:230:31: warning: using sizeof on a flexible structure drivers/dma/ep93xx_dma.c:1327:24: warning: using sizeof on a flexible structure drivers/tty/pty.c:381:28: warning: using sizeof on a flexible structure drivers/tty/pty.c:382:28: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:137:24: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:141:51: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:386:29: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:536:41: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:541:39: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:559:33: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:883:29: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:891:25: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:947:29: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:954:17: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:958:25: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:1100:51: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:1104:55: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:1120:33: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:709:53: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:718:49: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:727:62: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:736:41: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:740:49: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:386:29: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:536:41: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:541:39: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:559:33: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:883:29: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:891:25: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:947:29: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:954:17: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:958:25: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:1100:51: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:1104:55: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:1120:33: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:709:53: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:718:49: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:727:62: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:736:41: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:740:49: warning: using sizeof on a flexible structure drivers/clk/ralink/clk-mt7621.c:366:28: warning: using sizeof on a flexible structure drivers/clk/ralink/clk-mt7621.c:429:38: warning: using sizeof on a flexible structure drivers/clk/imx/clk-imx8mp.c:424:31: warning: using sizeof on a flexible structure net/xdp/xsk_queue.c:19:24: warning: using sizeof on a flexible structure net/xdp/xsk_queue.c:20:16: warning: using sizeof on a flexible structure net/ipv4/ip_sockglue.c:89:30: warning: using sizeof on a flexible structure net/ipv4/ip_sockglue.c:1550:38: warning: using sizeof on a flexible structure net/ipv4/ip_sockglue.c:1558:25: warning: using sizeof on a flexible structure drivers/xen/privcmd-buf.c:143:28: warning: using sizeof on a flexible structure drivers/clk/samsung/clk.c:63:23: warning: using sizeof on a flexible structure drivers/dma/stm32-dmamux.c:197:49: warning: using sizeof on a flexible structure drivers/dma/stm32-dma.c:888:24: warning: using sizeof on a flexible structure drivers/dma/stm32-dma.c:991:24: warning: using sizeof on a flexible structure drivers/dma/stm32-dma.c:1026:24: warning: using sizeof on a flexible structure drivers/char/tpm/eventlog/acpi.c:51:19: warning: using sizeof on a flexible structure drivers/char/tpm/eventlog/acpi.c:53:16: warning: using sizeof on a flexible structure drivers/char/tpm/eventlog/acpi.c:56:19: warning: using sizeof on a flexible structure sound/usb/midi.c:1776:39: warning: using sizeof on a flexible structure sound/usb/midi.c:1960:39: warning: using sizeof on a flexible structure sound/usb/midi.c:1964:38: warning: using sizeof on a flexible structure drivers/clk/imx/clk-imx8mq.c:291:31: warning: using sizeof on a flexible structure drivers/char/tpm/eventlog/efi.c:36:41: warning: using sizeof on a flexible structure drivers/char/tpm/eventlog/efi.c:50:41: warning: using sizeof on a flexible structure drivers/char/tpm/eventlog/efi.c:75:30: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:137:24: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:141:51: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:386:29: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:536:41: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:541:39: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:559:33: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:883:29: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:891:25: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:947:29: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:954:17: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:958:25: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:1100:51: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:1104:55: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:1120:33: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:709:53: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:718:49: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:727:62: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:736:41: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:740:49: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:386:29: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:536:41: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:541:39: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:559:33: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:883:29: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:891:25: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:947:29: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:954:17: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:958:25: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:1100:51: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:1104:55: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:1120:33: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:709:53: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:718:49: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:727:62: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:736:41: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:740:49: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:137:24: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:141:51: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:386:29: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:536:41: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:541:39: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:559:33: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:883:29: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:891:25: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:947:29: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:954:17: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:958:25: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:1100:51: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:1104:55: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:1120:33: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:709:53: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:718:49: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:727:62: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:736:41: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:740:49: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:386:29: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:536:41: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:541:39: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:559:33: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:883:29: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:891:25: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:947:29: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:954:17: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:958:25: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:1100:51: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:1104:55: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:1120:33: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:709:53: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:718:49: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:727:62: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:736:41: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:740:49: warning: using sizeof on a flexible structure fs/isofs/rock.c:151:23: warning: using sizeof on a flexible structure fs/isofs/rock.c:163:23: warning: using sizeof on a flexible structure fs/isofs/rock.c:166:23: warning: using sizeof on a flexible structure fs/isofs/rock.c:175:23: warning: using sizeof on a flexible structure kernel/kexec_file.c:739:50: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:137:24: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:141:51: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:386:29: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:536:41: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:541:39: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:559:33: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:883:29: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:891:25: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:947:29: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:954:17: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:958:25: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:1100:51: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:1104:55: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:1120:33: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:709:53: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:718:49: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:727:62: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:736:41: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:740:49: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:386:29: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:536:41: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:541:39: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:559:33: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:883:29: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:891:25: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:947:29: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:954:17: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:958:25: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:1100:51: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:1104:55: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:1120:33: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:709:53: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:718:49: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:727:62: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:736:41: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:740:49: warning: using sizeof on a flexible structure net/xdp/xskmap.c:75:16: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:137:24: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:141:51: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:386:29: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:536:41: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:541:39: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:559:33: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:883:29: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:891:25: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:947:29: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:954:17: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:958:25: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:1100:51: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:1104:55: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:1120:33: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:709:53: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:718:49: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:727:62: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:736:41: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:740:49: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:386:29: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:536:41: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:541:39: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:559:33: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:883:29: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:891:25: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:947:29: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:954:17: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:958:25: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:1100:51: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:1104:55: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:1120:33: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:709:53: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:718:49: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:727:62: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:736:41: warning: using sizeof on a flexible structure net/netfilter/ipset/ip_set_hash_gen.h:740:49: warning: using sizeof on a flexible structure drivers/clk/imx/clk-imx8ulp.c:152:38: warning: using sizeof on a flexible structure drivers/clk/imx/clk-imx8ulp.c:236:38: warning: using sizeof on a flexible structure drivers/clk/imx/clk-imx8ulp.c:319:38: warning: using sizeof on a flexible structure drivers/clk/imx/clk-imx8ulp.c:402:38: warning: using sizeof on a flexible structure drivers/clk/imx/clk-imx8ulp.c:457:38: warning: using sizeof on a flexible structure drivers/tty/serial/8250/8250_pericom.c:105:44: warning: using sizeof on a flexible structure drivers/dma/stm32-mdma.c:314:24: warning: using sizeof on a flexible structure drivers/dma/stm32-mdma.c:1542:31: warning: using sizeof on a flexible structure sound/virtio/virtio_pcm_msg.c:149:31: warning: using sizeof on a flexible structure drivers/char/pcmcia/synclink_cs.c:522:24: warning: using sizeof on a flexible structure crypto/authenc.c:181:9: warning: using sizeof on a flexible structure crypto/authenc.c:337:17: warning: using sizeof on a flexible structure crypto/authenc.c:339:17: warning: using sizeof on a flexible structure crypto/authenc.c:339:17: warning: using sizeof on a flexible structure crypto/authenc.c:339:17: warning: using sizeof on a flexible structure crypto/authenc.c:339:17: warning: using sizeof on a flexible structure crypto/authenc.c:339:17: warning: using sizeof on a flexible structure crypto/authenc.c:339:17: warning: using sizeof on a flexible structure crypto/authenc.c:339:17: warning: using sizeof on a flexible structure crypto/authenc.c:339:17: warning: using sizeof on a flexible structure crypto/authenc.c:339:17: warning: using sizeof on a flexible structure crypto/authenc.c:339:17: warning: using sizeof on a flexible structure crypto/authenc.c:339:17: warning: using sizeof on a flexible structure crypto/authenc.c:339:17: warning: using sizeof on a flexible structure ./include/sound/intel-nhlt.h:83:34: warning: array of flexible structures crypto/authencesn.c:171:9: warning: using sizeof on a flexible structure crypto/authencesn.c:355:17: warning: using sizeof on a flexible structure crypto/authencesn.c:357:17: warning: using sizeof on a flexible structure crypto/authencesn.c:357:17: warning: using sizeof on a flexible structure crypto/authencesn.c:357:17: warning: using sizeof on a flexible structure crypto/authencesn.c:357:17: warning: using sizeof on a flexible structure crypto/authencesn.c:357:17: warning: using sizeof on a flexible structure crypto/authencesn.c:357:17: warning: using sizeof on a flexible structure crypto/authencesn.c:357:17: warning: using sizeof on a flexible structure crypto/authencesn.c:357:17: warning: using sizeof on a flexible structure crypto/authencesn.c:357:17: warning: using sizeof on a flexible structure crypto/authencesn.c:357:17: warning: using sizeof on a flexible structure crypto/authencesn.c:357:17: warning: using sizeof on a flexible structure crypto/authencesn.c:357:17: warning: using sizeof on a flexible structure ./include/sound/intel-nhlt.h:83:34: warning: array of flexible structures ./include/sound/intel-nhlt.h:63:39: warning: array of flexible structures fs/nfs/filelayout/filelayoutdev.c:139:26: warning: using sizeof on a flexible structure drivers/tty/n_hdlc.c:408:39: warning: using sizeof on a flexible structure drivers/pci/quirks.c:5279:33: warning: using sizeof on a flexible structure drivers/tty/n_hdlc.c:707:31: warning: using sizeof on a flexible structure fs/hfs/bnode.c:264:16: warning: using sizeof on a flexible structure net/ipv6/ip6_fib.c:151:21: warning: using sizeof on a flexible structure fs/nfsd/nfsctl.c:400:15: warning: using sizeof on a flexible structure fs/nfsd/nfsctl.c:453:31: warning: using sizeof on a flexible structure fs/nfsd/nfsctl.c:530:16: warning: using sizeof on a flexible structure fs/nfsd/nfsctl.c:918:31: warning: using sizeof on a flexible structure fs/nfsd/nfsctl.c:956:31: warning: using sizeof on a flexible structure fs/nfsd/nfsctl.c:1144:31: warning: using sizeof on a flexible structure fs/nfsd/nfsctl.c:638:21: warning: using sizeof on a flexible structure fs/nfsd/nfsctl.c:717:51: warning: using sizeof on a flexible structure fs/nfsd/nfsctl.c:744:51: warning: using sizeof on a flexible structure fs/nfsd/nfsctl.c:989:31: warning: using sizeof on a flexible structure fs/nfsd/nfsctl.c:1070:31: warning: using sizeof on a flexible structure net/xdp/xsk_buff_pool.c:53:25: warning: using sizeof on a flexible structure drivers/char/hpet.c:838:25: warning: using sizeof on a flexible structure kernel/auditfilter.c:455:34: warning: using sizeof on a flexible structure kernel/auditfilter.c:640:24: warning: using sizeof on a flexible structure kernel/auditfilter.c:643:9: warning: using sizeof on a flexible structure kernel/auditfilter.c:1095:48: warning: using sizeof on a flexible structure sound/soc/intel/skylake/skl-messages.c:704:31: warning: using sizeof on a flexible structure drivers/block/rnbd/rnbd-clt.c:353:22: warning: using sizeof on a flexible structure drivers/block/rnbd/rnbd-clt.c:1239:35: warning: using sizeof on a flexible structure drivers/tty/moxa.c:1128:51: warning: using sizeof on a flexible structure drivers/tty/mxser.c:294:32: warning: array of flexible structures drivers/tty/mxser.c:1834:40: warning: using sizeof on a flexible structure drivers/tty/mxser.c:1834:40: warning: using sizeof on a flexible structure drivers/tty/nozomi.c:348:25: warning: array of flexible structures kernel/audit.c:1378:32: warning: using sizeof on a flexible structure kernel/audit.c:1447:36: warning: using sizeof on a flexible structure kernel/audit.c:1460:44: warning: using sizeof on a flexible structure drivers/misc/eeprom/at24.c:679:34: warning: using sizeof on a flexible structure drivers/clk/sifive/sifive-prci.c:582:32: warning: using sizeof on a flexible structure drivers/tty/n_gsm.c:648:37: warning: using sizeof on a flexible structure drivers/tty/n_gsm.c:1674:41: warning: using sizeof on a flexible structure drivers/pci/controller/pci-hyperv.c:2756:41: warning: using sizeof on a flexible structure drivers/pci/controller/pci-hyperv.c:2770:41: warning: using sizeof on a flexible structure drivers/pci/controller/pci-hyperv.c:1244:9: warning: using sizeof on a flexible structure drivers/pci/controller/pci-hyperv.c:1324:9: warning: using sizeof on a flexible structure drivers/pci/controller/pci-hyperv.c:1403:9: warning: using sizeof on a flexible structure drivers/pci/controller/pci-hyperv.c:1715:9: warning: using sizeof on a flexible structure drivers/pci/controller/pci-hyperv.c:2260:9: warning: using sizeof on a flexible structure drivers/pci/controller/pci-hyperv.c:2529:22: warning: using sizeof on a flexible structure drivers/pci/controller/pci-hyperv.c:2564:22: warning: using sizeof on a flexible structure drivers/pci/controller/pci-hyperv.c:2638:9: warning: using sizeof on a flexible structure drivers/pci/controller/pci-hyperv.c:2861:23: warning: using sizeof on a flexible structure drivers/pci/controller/pci-hyperv.c:3587:9: warning: using sizeof on a flexible structure drivers/pci/controller/pci-hyperv.c:3081:23: warning: using sizeof on a flexible structure drivers/pci/controller/pci-hyperv.c:3178:23: warning: using sizeof on a flexible structure drivers/pci/controller/pci-hyperv.c:3189:17: warning: using sizeof on a flexible structure net/ipv6/route.c:4129:19: warning: using sizeof on a flexible structure net/ipv6/route.c:934:19: warning: using sizeof on a flexible structure ./include/sound/intel-nhlt.h:83:34: warning: array of flexible structures net/ipv6/route.c:6467:9: warning: using sizeof on a flexible structure drivers/char/virtio_console.c:424:23: warning: using sizeof on a flexible structure crypto/drbg.c:1691:25: warning: using sizeof on a flexible structure ./include/crypto/skcipher.h:502:23: warning: using sizeof on a flexible structure net/ipv6/ndisc.c:552:36: warning: using sizeof on a flexible structure net/ipv6/ndisc.c:556:28: warning: using sizeof on a flexible structure net/ipv6/ndisc.c:626:36: warning: using sizeof on a flexible structure net/ipv6/ndisc.c:630:28: warning: using sizeof on a flexible structure net/ipv6/ndisc.c:686:36: warning: using sizeof on a flexible structure net/ipv6/ndisc.c:690:28: warning: using sizeof on a flexible structure net/ipv6/ndisc.c:788:24: warning: using sizeof on a flexible structure net/ipv6/ndisc.c:968:24: warning: using sizeof on a flexible structure net/ipv6/ndisc.c:1071:45: warning: using sizeof on a flexible structure net/ipv6/ndisc.c:1078:24: warning: using sizeof on a flexible structure net/ipv6/ndisc.c:1673:18: warning: using sizeof on a flexible structure net/ipv6/ndisc.c:1673:18: warning: using sizeof on a flexible structure net/ipv6/ndisc.c:1673:18: warning: using sizeof on a flexible structure net/ipv6/ndisc.c:1673:18: warning: using sizeof on a flexible structure net/ipv6/ndisc.c:1673:18: warning: using sizeof on a flexible structure net/ipv6/ndisc.c:1673:18: warning: using sizeof on a flexible structure net/ipv6/ndisc.c:1679:37: warning: using sizeof on a flexible structure net/ipv6/ndisc.c:1683:29: warning: using sizeof on a flexible structure net/tls/tls_sw.c:335:20: warning: using sizeof on a flexible structure net/tls/tls_sw.c:1455:21: warning: using sizeof on a flexible structure fs/nfs/flexfilelayout/flexfilelayout.c:399:23: warning: using sizeof on a flexible structure ./include/crypto/aead.h:423:23: warning: using sizeof on a flexible structure ./include/crypto/aead.h:423:23: warning: using sizeof on a flexible structure ./include/crypto/hash.h:604:23: warning: using sizeof on a flexible structure ./include/crypto/skcipher.h:502:23: warning: using sizeof on a flexible structure ./include/crypto/skcipher.h:502:23: warning: using sizeof on a flexible structure drivers/clk/samsung/clk-exynos5433.c:5549:29: warning: using sizeof on a flexible structure fs/ecryptfs/keystore.c:751:32: warning: using sizeof on a flexible structure fs/ecryptfs/keystore.c:1899:17: warning: using sizeof on a flexible structure ./include/crypto/skcipher.h:502:23: warning: using sizeof on a flexible structure fs/nfsd/vfs.c:1950:18: warning: using sizeof on a flexible structure fs/nfsd/vfs.c:1950:18: warning: using sizeof on a flexible structure fs/nfsd/vfs.c:1950:18: warning: using sizeof on a flexible structure fs/nfsd/vfs.c:2016:34: warning: using sizeof on a flexible structure fs/nfsd/vfs.c:2016:34: warning: using sizeof on a flexible structure fs/nfsd/vfs.c:2016:34: warning: using sizeof on a flexible structure net/core/lwtunnel.c:68:23: warning: using sizeof on a flexible structure fs/ecryptfs/messaging.c:235:21: warning: using sizeof on a flexible structure fs/ecryptfs/miscdev.c:152:24: warning: using sizeof on a flexible structure fs/ecryptfs/miscdev.c:162:30: warning: using sizeof on a flexible structure fs/ecryptfs/miscdev.c:328:14: warning: using sizeof on a flexible structure fs/ecryptfs/miscdev.c:329:17: warning: using sizeof on a flexible structure fs/ecryptfs/miscdev.c:368:56: warning: using sizeof on a flexible structure fs/ecryptfs/miscdev.c:369:17: warning: using sizeof on a flexible structure fs/ecryptfs/miscdev.c:407:32: warning: using sizeof on a flexible structure fs/ecryptfs/miscdev.c:408:25: warning: using sizeof on a flexible structure drivers/dma/dma-axi-dmac.c:480:24: warning: using sizeof on a flexible structure drivers/nfc/fdp/fdp.c:93:34: warning: using sizeof on a flexible structure kernel/audit_tree.c:97:24: warning: using sizeof on a flexible structure kernel/audit_tree.c:193:25: warning: using sizeof on a flexible structure drivers/tty/goldfish.c:250:33: warning: using sizeof on a flexible structure drivers/clk/socfpga/clk-s10.c:401:38: warning: using sizeof on a flexible structure drivers/misc/cb710/core.c:217:41: warning: using sizeof on a flexible structure drivers/tty/synclink_gt.c:3491:24: warning: using sizeof on a flexible structure drivers/tty/serial/sc16is7xx.c:1202:31: warning: using sizeof on a flexible structure drivers/tty/rpmsg_tty.c:122:25: warning: using sizeof on a flexible structure crypto/algif_hash.c:424:28: warning: using sizeof on a flexible structure drivers/dma/bcm-sba-raid.c:1500:36: warning: using sizeof on a flexible structure drivers/dma/dma-jz4780.c:870:35: warning: using sizeof on a flexible structure drivers/clk/socfpga/clk-agilex.c:472:38: warning: using sizeof on a flexible structure drivers/clk/socfpga/clk-agilex.c:512:38: warning: using sizeof on a flexible structure kernel/kprobes.c:2131:32: warning: using sizeof on a flexible structure net/tls/tls_device_fallback.c:130:33: warning: using sizeof on a flexible structure crypto/af_alg.c:160:9: warning: using sizeof on a flexible structure crypto/af_alg.c:162:24: warning: using sizeof on a flexible structure crypto/af_alg.c:170:34: warning: using sizeof on a flexible structure crypto/af_alg.c:508:32: warning: using sizeof on a flexible structure crypto/af_alg.c:510:36: warning: using sizeof on a flexible structure crypto/af_alg.c:510:36: warning: using sizeof on a flexible structure crypto/af_alg.c:515:40: warning: using sizeof on a flexible structure crypto/af_alg.c:519:38: warning: using sizeof on a flexible structure crypto/af_alg.c:648:39: warning: using sizeof on a flexible structure crypto/af_alg.c:648:39: warning: using sizeof on a flexible structure crypto/af_alg.c:961:44: warning: using sizeof on a flexible structure drivers/misc/ti-st/st_kim.c:258:35: warning: using sizeof on a flexible structure drivers/misc/ti-st/st_kim.c:264:31: warning: using sizeof on a flexible structure drivers/misc/ti-st/st_kim.c:266:32: warning: using sizeof on a flexible structure drivers/misc/ti-st/st_kim.c:309:16: warning: using sizeof on a flexible structure drivers/misc/ti-st/st_kim.c:310:16: warning: using sizeof on a flexible structure drivers/misc/ti-st/st_kim.c:409:28: warning: using sizeof on a flexible structure drivers/misc/ti-st/st_kim.c:412:27: warning: using sizeof on a flexible structure net/tls/tls_device.c:1035:31: warning: using sizeof on a flexible structure net/tls/tls_device.c:1222:27: warning: using sizeof on a flexible structure drivers/nfc/pn533/usb.c:322:16: warning: using sizeof on a flexible structure drivers/nfc/pn533/usb.c:336:26: warning: using sizeof on a flexible structure drivers/nfc/pn533/usb.c:340:26: warning: using sizeof on a flexible structure drivers/nfc/pn533/usb.c:453:26: warning: using sizeof on a flexible structure drivers/block/drbd/drbd_worker.c:289:9: warning: using sizeof on a flexible structure drivers/block/drbd/drbd_worker.c:289:9: warning: using sizeof on a flexible structure drivers/block/drbd/drbd_worker.c:318:9: warning: using sizeof on a flexible structure drivers/block/drbd/drbd_worker.c:318:9: warning: using sizeof on a flexible structure drivers/block/drbd/drbd_worker.c:490:22: warning: using sizeof on a flexible structure drivers/nfc/pn533/uart.c:183:41: warning: using sizeof on a flexible structure drivers/nfc/pn533/uart.c:193:41: warning: using sizeof on a flexible structure drivers/nfc/pn533/i2c.c:98:19: warning: using sizeof on a flexible structure ./include/crypto/aead.h:423:23: warning: using sizeof on a flexible structure ./include/crypto/aead.h:423:23: warning: using sizeof on a flexible structure drivers/dma/sa11x0-dma.c:556:23: warning: using sizeof on a flexible structure drivers/dma/sa11x0-dma.c:626:23: warning: using sizeof on a flexible structure ./include/net/sctp/structs.h:335:41: warning: array of flexible structures net/packet/af_packet.c:1761:34: warning: using sizeof on a flexible structure net/netfilter/nf_conntrack_proto_sctp.c:301:49: warning: using sizeof on a flexible structure net/netfilter/nf_conntrack_proto_sctp.c:486:49: warning: using sizeof on a flexible structure fs/hfsplus/bnode.c:414:16: warning: using sizeof on a flexible structure drivers/nfc/pn533/pn533.c:287:43: warning: using sizeof on a flexible structure drivers/nfc/pn533/pn533.c:300:43: warning: using sizeof on a flexible structure drivers/nfc/pn533/pn533.c:369:26: warning: using sizeof on a flexible structure drivers/nfc/pn533/pn533.c:374:26: warning: using sizeof on a flexible structure drivers/nfc/pn533/pn533.c:679:31: warning: using sizeof on a flexible structure drivers/nfc/pn533/pn533.c:756:31: warning: using sizeof on a flexible structure drivers/nfc/pn533/pn533.c:863:31: warning: using sizeof on a flexible structure drivers/nfc/pn533/pn533.c:338:24: warning: using sizeof on a flexible structure drivers/nfc/pn533/pn533.c:342:16: warning: using sizeof on a flexible structure ./include/crypto/hash.h:604:23: warning: using sizeof on a flexible structure drivers/pinctrl/pinctrl-mcp23s08_spi.c:170:34: warning: using sizeof on a flexible structure crypto/algif_aead.c:78:9: warning: using sizeof on a flexible structure mm/madvise.c:75:29: warning: using sizeof on a flexible structure drivers/block/drbd/drbd_receiver.c:3898:35: warning: using sizeof on a flexible structure drivers/block/drbd/drbd_receiver.c:3897:35: warning: using sizeof on a flexible structure drivers/block/drbd/drbd_receiver.c:3910:31: warning: using sizeof on a flexible structure drivers/block/drbd/drbd_receiver.c:4801:66: warning: using sizeof on a flexible structure drivers/block/drbd/drbd_receiver.c:4890:41: warning: using sizeof on a flexible structure drivers/block/drbd/drbd_receiver.c:5070:36: warning: using sizeof on a flexible structure drivers/block/drbd/drbd_receiver.c:5072:36: warning: using sizeof on a flexible structure drivers/block/drbd/drbd_receiver.c:5083:36: warning: using sizeof on a flexible structure net/wireless/lib80211_crypt_tkip.c:477:9: warning: using sizeof on a flexible structure net/wireless/lib80211_crypt_tkip.c:477:9: warning: using sizeof on a flexible structure ./include/crypto/hash.h:1002:26: warning: using sizeof on a flexible structure drivers/dma/fsl-edma.c:292:15: warning: using sizeof on a flexible structure sound/pci/hda/patch_ca0132.c:3136:16: warning: using sizeof on a flexible structure drivers/dma/hisi_dma.c:526:38: warning: using sizeof on a flexible structure kernel/tracepoint.c:109:40: warning: using sizeof on a flexible structure kernel/tracepoint.c:109:40: warning: using sizeof on a flexible structure ./include/crypto/aead.h:423:23: warning: using sizeof on a flexible structure net/netfilter/nfnetlink_cttimeout.c:145:27: warning: using sizeof on a flexible structure drivers/dma/mcf-edma.c:195:15: warning: using sizeof on a flexible structure drivers/dma/fsl-edma-common.c:434:28: warning: using sizeof on a flexible structure drivers/pci/controller/pcie-brcmstb.c:432:29: warning: using sizeof on a flexible structure drivers/clk/samsung/clk-s5pv210-audss.c:77:33: warning: using sizeof on a flexible structure drivers/block/drbd/drbd_main.c:943:23: warning: using sizeof on a flexible structure drivers/block/drbd/drbd_main.c:1211:65: warning: using sizeof on a flexible structure drivers/block/drbd/drbd_main.c:1218:59: warning: using sizeof on a flexible structure drivers/block/drbd/drbd_main.c:1221:46: warning: using sizeof on a flexible structure drivers/char/tpm/xen-tpmfront.c:131:16: warning: using sizeof on a flexible structure drivers/dma-buf/dma-resv.c:70:24: warning: using sizeof on a flexible structure net/sched/sch_taprio.c:1140:29: warning: using sizeof on a flexible structure net/sched/cls_u32.c:356:27: warning: using sizeof on a flexible structure net/sched/cls_u32.c:938:30: warning: using sizeof on a flexible structure drivers/nvme/target/core.c:1651:9: warning: using sizeof on a flexible structure drivers/clk/uniphier/clk-uniphier-core.c:67:37: warning: using sizeof on a flexible structure drivers/clk/samsung/clk-exynos-audss.c:146:33: warning: using sizeof on a flexible structure drivers/nvme/host/core.c:3688:23: warning: using sizeof on a flexible structure net/ipv4/tcp_output.c:1397:9: warning: using sizeof on a flexible structure net/ipv4/tcp_output.c:1397:9: warning: using sizeof on a flexible structure net/ipv4/tcp_output.c:1397:9: warning: using sizeof on a flexible structure net/ipv4/tcp_output.c:1397:9: warning: using sizeof on a flexible structure net/ipv4/tcp_output.c:1397:9: warning: using sizeof on a flexible structure net/ipv4/tcp_output.c:1397:9: warning: using sizeof on a flexible structure net/bridge/netfilter/nft_meta_bridge.c:97:27: warning: using sizeof on a flexible structure net/bridge/netfilter/nft_meta_bridge.c:124:27: warning: using sizeof on a flexible structure drivers/dax/kmem.c:82:24: warning: using sizeof on a flexible structure drivers/clk/samsung/clk-exynos-clkout.c:112:31: warning: using sizeof on a flexible structure crypto/essiv.c:97:9: warning: using sizeof on a flexible structure crypto/essiv.c:97:9: warning: using sizeof on a flexible structure crypto/essiv.c:304:42: warning: using sizeof on a flexible structure crypto/essiv.c:326:9: warning: using sizeof on a flexible structure crypto/essiv.c:326:9: warning: using sizeof on a flexible structure crypto/essiv.c:333:23: warning: using sizeof on a flexible structure net/ipv4/tcp_input.c:6779:37: warning: using sizeof on a flexible structure net/bridge/netfilter/nft_reject_bridge.c:183:27: warning: using sizeof on a flexible structure drivers/dma-buf/udmabuf.c:315:55: warning: using sizeof on a flexible structure drivers/dma-buf/udmabuf.c:320:50: warning: using sizeof on a flexible structure drivers/dma-buf/udmabuf.c:338:14: warning: using sizeof on a flexible structure drivers/video/fbdev/ssd1307fb.c:118:25: warning: using sizeof on a flexible structure drivers/video/fbdev/ssd1307fb.c:132:16: warning: using sizeof on a flexible structure drivers/nfc/st21nfca/dep.c:149:36: warning: using sizeof on a flexible structure drivers/nfc/st21nfca/dep.c:154:22: warning: using sizeof on a flexible structure drivers/nfc/st21nfca/dep.c:157:9: warning: using sizeof on a flexible structure drivers/nfc/st21nfca/dep.c:207:31: warning: using sizeof on a flexible structure drivers/nfc/st21nfca/dep.c:214:29: warning: using sizeof on a flexible structure drivers/nfc/st21nfca/dep.c:463:44: warning: using sizeof on a flexible structure drivers/nfc/st21nfca/dep.c:507:23: warning: using sizeof on a flexible structure drivers/nfc/st21nfca/dep.c:513:22: warning: using sizeof on a flexible structure drivers/nfc/st21nfca/dep.c:516:9: warning: using sizeof on a flexible structure drivers/nfc/st21nfca/dep.c:538:27: warning: using sizeof on a flexible structure drivers/scsi/libfc/fc_encode.h:140:45: warning: using sizeof on a flexible structure drivers/scsi/libfc/fc_encode.h:150:45: warning: using sizeof on a flexible structure drivers/nvme/target/admin-cmd.c:267:16: warning: using sizeof on a flexible structure drivers/nvme/target/admin-cmd.c:281:24: warning: using sizeof on a flexible structure net/bridge/netfilter/nf_conntrack_bridge.c:160:34: warning: using sizeof on a flexible structure net/core/devlink.c:6190:24: warning: using sizeof on a flexible structure net/core/devlink.c:6238:24: warning: using sizeof on a flexible structure net/core/devlink.c:6351:24: warning: using sizeof on a flexible structure net/core/devlink.c:9033:27: warning: using sizeof on a flexible structure drivers/base/platform.c:362:16: warning: using sizeof on a flexible structure drivers/base/platform.c:576:22: warning: using sizeof on a flexible structure drivers/scsi/libfc/fc_lport.c:1365:25: warning: using sizeof on a flexible structure drivers/scsi/libfc/fc_lport.c:1373:25: warning: using sizeof on a flexible structure fs/cifs/misc.c:410:36: warning: using sizeof on a flexible structure fs/cifs/misc.c:414:35: warning: using sizeof on a flexible structure fs/cifs/misc.c:1095:16: warning: using sizeof on a flexible structure net/ipv6/mcast.c:2613:28: warning: using sizeof on a flexible structure net/ipv6/mcast.c:450:43: warning: using sizeof on a flexible structure net/ipv6/mcast.c:461:36: warning: using sizeof on a flexible structure net/ipv6/mcast.c:530:43: warning: using sizeof on a flexible structure net/ipv6/mcast.c:549:50: warning: using sizeof on a flexible structure net/ipv6/mcast.c:566:28: warning: using sizeof on a flexible structure net/ipv6/mcast.c:1449:35: warning: using sizeof on a flexible structure ./include/net/mld.h:32:43: warning: array of flexible structures net/ipv6/mcast.c:1776:22: warning: using sizeof on a flexible structure net/ipv6/mcast.c:1847:16: warning: using sizeof on a flexible structure net/ipv6/mcast.c:1861:28: warning: using sizeof on a flexible structure net/ipv6/mcast.c:1946:27: warning: using sizeof on a flexible structure net/ipv6/mcast.c:1991:53: warning: using sizeof on a flexible structure fs/nfsd/nfs4xdr.c:123:22: warning: using sizeof on a flexible structure net/core/bpf_sk_storage.c:533:24: warning: using sizeof on a flexible structure net/core/bpf_sk_storage.c:577:9: warning: using sizeof on a flexible structure net/core/bpf_sk_storage.c:577:9: warning: using sizeof on a flexible structure net/core/bpf_sk_storage.c:577:9: warning: using sizeof on a flexible structure net/core/bpf_sk_storage.c:577:9: warning: using sizeof on a flexible structure net/core/bpf_sk_storage.c:577:9: warning: using sizeof on a flexible structure net/core/bpf_sk_storage.c:577:9: warning: using sizeof on a flexible structure net/core/bpf_sk_storage.c:577:9: warning: using sizeof on a flexible structure net/core/bpf_sk_storage.c:577:9: warning: using sizeof on a flexible structure net/core/bpf_sk_storage.c:577:9: warning: using sizeof on a flexible structure net/core/bpf_sk_storage.c:577:9: warning: using sizeof on a flexible structure net/core/bpf_sk_storage.c:577:9: warning: using sizeof on a flexible structure net/core/bpf_sk_storage.c:577:9: warning: using sizeof on a flexible structure net/core/sock_map.c:1087:27: warning: using sizeof on a flexible structure drivers/dma/milbeaut-hdmac.c:470:34: warning: using sizeof on a flexible structure net/bridge/netfilter/ebtables.c:1123:41: warning: using sizeof on a flexible structure net/bridge/netfilter/ebtables.c:1132:29: warning: using sizeof on a flexible structure net/bridge/netfilter/ebtables.c:1203:27: warning: using sizeof on a flexible structure net/bridge/netfilter/ebtables.c:1621:9: warning: using sizeof on a flexible structure net/bridge/netfilter/ebtables.c:1624:25: warning: using sizeof on a flexible structure net/bridge/netfilter/ebtables.c:1860:9: warning: using sizeof on a flexible structure net/bridge/netfilter/ebtables.c:2047:33: warning: using sizeof on a flexible structure net/bridge/netfilter/ebtables.c:2056:47: warning: using sizeof on a flexible structure net/bridge/netfilter/ebtables.c:2059:30: warning: using sizeof on a flexible structure net/bridge/netfilter/ebtables.c:2080:24: warning: using sizeof on a flexible structure net/bridge/netfilter/ebtables.c:2235:41: warning: using sizeof on a flexible structure net/bridge/netfilter/ebtables.c:2270:27: warning: using sizeof on a flexible structure mm/swapfile.c:2792:22: warning: using sizeof on a flexible structure fs/ksmbd/oplock.c:1341:17: warning: using sizeof on a flexible structure fs/ksmbd/oplock.c:1361:17: warning: using sizeof on a flexible structure fs/ksmbd/oplock.c:1503:9: warning: using sizeof on a flexible structure fs/ksmbd/oplock.c:1527:9: warning: using sizeof on a flexible structure fs/ksmbd/oplock.c:1553:9: warning: using sizeof on a flexible structure fs/ksmbd/oplock.c:1575:9: warning: using sizeof on a flexible structure fs/ksmbd/oplock.c:1604:9: warning: using sizeof on a flexible structure drivers/spi/spi.c:872:24: warning: using sizeof on a flexible structure drivers/spi/spi.c:3201:31: warning: using sizeof on a flexible structure drivers/base/devres.c:100:13: warning: using sizeof on a flexible structure drivers/base/devres.c:100:13: warning: using sizeof on a flexible structure drivers/nvme/target/discovery.c:200:21: warning: using sizeof on a flexible structure drivers/iommu/virtio-iommu.c:234:23: warning: using sizeof on a flexible structure drivers/iommu/virtio-iommu.c:527:21: warning: using sizeof on a flexible structure drivers/clk/visconti/clkc.c:194:33: warning: using sizeof on a flexible structure drivers/clk/visconti/pll.c:328:23: warning: using sizeof on a flexible structure drivers/dma/milbeaut-xdmac.c:321:34: warning: using sizeof on a flexible structure kernel/watch_queue.c:306:46: warning: using sizeof on a flexible structure kernel/watch_queue.c:332:27: warning: using sizeof on a flexible structure drivers/gpu/drm/xlnx/zynqmp_disp.c:155:42: warning: array of flexible structures drivers/misc/sgi-gru/grumain.c:319:18: warning: using sizeof on a flexible structure drivers/misc/sgi-gru/grumain.c:325:9: warning: using sizeof on a flexible structure drivers/nvme/target/zns.c:150:27: warning: using sizeof on a flexible structure drivers/nvme/target/zns.c:247:24: warning: using sizeof on a flexible structure drivers/nvme/target/zns.c:250:27: warning: using sizeof on a flexible structure drivers/nvme/target/zns.c:266:35: warning: using sizeof on a flexible structure drivers/block/virtio_blk.c:823:17: warning: using sizeof on a flexible structure drivers/nvme/host/multipath.c:597:21: warning: using sizeof on a flexible structure drivers/nvme/host/multipath.c:612:27: warning: using sizeof on a flexible structure drivers/nvme/host/multipath.c:889:35: warning: using sizeof on a flexible structure drivers/nfc/st-nci/se.c:531:25: warning: using sizeof on a flexible structure drivers/nfc/st-nci/se.c:543:34: warning: using sizeof on a flexible structure drivers/clk/xilinx/xlnx_vcu.c:530:34: warning: using sizeof on a flexible structure drivers/dma/nbpfaxi.c:1313:34: warning: using sizeof on a flexible structure drivers/nvme/host/zns.c:128:36: warning: using sizeof on a flexible structure drivers/nvme/host/zns.c:134:19: warning: using sizeof on a flexible structure net/bridge/br_device.c:72:34: warning: using sizeof on a flexible structure crypto/simd.c:132:20: warning: using sizeof on a flexible structure crypto/simd.c:379:20: warning: using sizeof on a flexible structure drivers/gpu/drm/gud/gud_pipe.c:506:15: warning: using sizeof on a flexible structure drivers/gpu/drm/gud/gud_pipe.c:548:23: warning: using sizeof on a flexible structure ./include/net/sctp/structs.h:335:41: warning: array of flexible structures net/ipv4/tcp_ipv4.c:1935:9: warning: using sizeof on a flexible structure net/ipv4/tcp_ipv4.c:1945:9: warning: using sizeof on a flexible structure ./include/net/tcp.h:2128:32: warning: using sizeof on a flexible structure fs/ksmbd/crypto_ctx.c:91:25: warning: using sizeof on a flexible structure fs/nfsd/nfs4acl.c:466:17: warning: using sizeof on a flexible structure fs/nfsd/nfs4acl.c:830:16: warning: using sizeof on a flexible structure net/sched/em_canid.c:136:22: warning: using sizeof on a flexible structure net/sched/em_canid.c:178:22: warning: using sizeof on a flexible structure net/bridge/br_input.c:125:34: warning: using sizeof on a flexible structure drivers/clk/renesas/clk-mstp.c:191:25: warning: using sizeof on a flexible structure drivers/clk/renesas/renesas-cpg-mssr.c:578:32: warning: using sizeof on a flexible structure drivers/clk/renesas/renesas-cpg-mssr.c:972:24: warning: using sizeof on a flexible structure drivers/clk/renesas/clk-div6.c:254:25: warning: using sizeof on a flexible structure drivers/dma/sprd-dma.c:1127:29: warning: using sizeof on a flexible structure fs/nfsd/nfs4state.c:1736:9: warning: using sizeof on a flexible structure fs/nfsd/nfs4state.c:1740:23: warning: using sizeof on a flexible structure drivers/regulator/mc13783-regulator.c:409:29: warning: using sizeof on a flexible structure fs/nfsd/nfs4state.c:1672:23: warning: using sizeof on a flexible structure drivers/clk/x86/clk-lgm.c:429:33: warning: using sizeof on a flexible structure fs/hpfs/namei.c:48:9: warning: using sizeof on a flexible structure fs/hpfs/namei.c:151:9: warning: using sizeof on a flexible structure fs/hpfs/namei.c:239:9: warning: using sizeof on a flexible structure fs/hpfs/namei.c:317:9: warning: using sizeof on a flexible structure crypto/sm2.c:268:9: warning: using sizeof on a flexible structure crypto/sm2.c:268:9: warning: using sizeof on a flexible structure drivers/acpi/acpica/nsxfname.c:263:21: warning: using sizeof on a flexible structure drivers/acpi/acpica/nsxfname.c:311:30: warning: using sizeof on a flexible structure drivers/scsi/libsas/sas_ata.c:554:28: warning: using sizeof on a flexible structure drivers/nvme/target/loop.c:358:40: warning: using sizeof on a flexible structure drivers/nvme/target/loop.c:535:34: warning: using sizeof on a flexible structure drivers/nvme/target/loop.c:590:24: warning: using sizeof on a flexible structure drivers/message/fusion/mptsas.c:1021:28: warning: using sizeof on a flexible structure drivers/message/fusion/mptsas.c:1041:28: warning: using sizeof on a flexible structure drivers/message/fusion/mptsas.c:5114:28: warning: using sizeof on a flexible structure drivers/regulator/mc13892-regulator.c:547:29: warning: using sizeof on a flexible structure net/sched/cls_flower.c:1087:26: warning: using sizeof on a flexible structure net/sched/cls_flower.c:1088:41: warning: using sizeof on a flexible structure net/sched/cls_flower.c:1099:24: warning: using sizeof on a flexible structure net/sched/cls_flower.c:1140:28: warning: using sizeof on a flexible structure net/sched/cls_flower.c:1160:16: warning: using sizeof on a flexible structure net/sched/cls_flower.c:2699:28: warning: using sizeof on a flexible structure net/sched/em_ipt.c:160:22: warning: using sizeof on a flexible structure net/sched/em_ipt.c:175:23: warning: using sizeof on a flexible structure drivers/message/fusion/mptlan.c:1159:26: warning: using sizeof on a flexible structure net/bridge/br_arp_nd_proxy.c:237:56: warning: using sizeof on a flexible structure net/bridge/br_arp_nd_proxy.c:268:17: warning: using sizeof on a flexible structure net/bridge/br_arp_nd_proxy.c:284:61: warning: using sizeof on a flexible structure net/bridge/br_arp_nd_proxy.c:319:46: warning: using sizeof on a flexible structure net/bridge/br_arp_nd_proxy.c:322:9: warning: using sizeof on a flexible structure net/bridge/br_arp_nd_proxy.c:334:49: warning: using sizeof on a flexible structure net/bridge/br_arp_nd_proxy.c:336:66: warning: using sizeof on a flexible structure net/bridge/br_arp_nd_proxy.c:338:29: warning: using sizeof on a flexible structure net/core/drop_monitor.c:307:30: warning: using sizeof on a flexible structure net/core/drop_monitor.c:842:38: warning: using sizeof on a flexible structure drivers/nvme/target/fc.c:800:25: warning: using sizeof on a flexible structure drivers/block/xen-blkfront.c:1901:28: warning: using sizeof on a flexible structure drivers/auxdisplay/charlcd.c:602:24: warning: using sizeof on a flexible structure drivers/scsi/fcoe/fcoe.c:2795:29: warning: using sizeof on a flexible structure drivers/dma/tegra20-apb-dma.c:1448:16: warning: using sizeof on a flexible structure ./include/crypto/hash.h:604:23: warning: using sizeof on a flexible structure fs/cifs/ioctl.c:219:38: warning: using sizeof on a flexible structure fs/cifs/ioctl.c:273:27: warning: using sizeof on a flexible structure fs/cifs/ioctl.c:283:36: warning: using sizeof on a flexible structure fs/cifs/ioctl.c:457:22: warning: using sizeof on a flexible structure drivers/firewire/core-cdev.c:873:21: warning: using sizeof on a flexible structure drivers/misc/sgi-gru/grukdump.c:118:9: warning: using sizeof on a flexible structure drivers/misc/sgi-gru/grukdump.c:128:17: warning: using sizeof on a flexible structure drivers/misc/sgi-gru/grukdump.c:137:17: warning: using sizeof on a flexible structure drivers/misc/sgi-gru/grukdump.c:169:38: warning: using sizeof on a flexible structure fs/nfsd/nfs4layouts.c:63:23: warning: using sizeof on a flexible structure drivers/dma/tegra210-adma.c:850:29: warning: using sizeof on a flexible structure drivers/block/rbd.c:960:27: warning: using sizeof on a flexible structure drivers/block/rbd.c:4807:24: warning: using sizeof on a flexible structure drivers/block/rbd.c:6077:38: warning: using sizeof on a flexible structure drivers/nvme/host/fc.c:2907:17: warning: using sizeof on a flexible structure drivers/nvme/host/fc.c:3540:17: warning: using sizeof on a flexible structure fs/nfsd/blocklayout.c:149:23: warning: using sizeof on a flexible structure fs/nfsd/blocklayout.c:257:23: warning: using sizeof on a flexible structure sound/soc/codecs/cros_ec_codec.c:81:23: warning: using sizeof on a flexible structure drivers/firewire/core-topology.c:104:24: warning: using sizeof on a flexible structure drivers/firewire/core-transaction.c:780:27: warning: using sizeof on a flexible structure drivers/dma/timb_dma.c:107:53: warning: using sizeof on a flexible structure drivers/dma/timb_dma.c:130:53: warning: using sizeof on a flexible structure drivers/dma/timb_dma.c:638:23: warning: using sizeof on a flexible structure ./include/crypto/hash.h:604:23: warning: using sizeof on a flexible structure fs/cifs/smb1ops.c:457:25: warning: using sizeof on a flexible structure fs/cifs/smb1ops.c:457:25: warning: using sizeof on a flexible structure fs/cifs/smb1ops.c:457:25: warning: using sizeof on a flexible structure fs/cifs/smb1ops.c:457:25: warning: using sizeof on a flexible structure fs/cifs/smb1ops.c:457:25: warning: using sizeof on a flexible structure fs/cifs/smb1ops.c:457:25: warning: using sizeof on a flexible structure fs/cifs/smb1ops.c:466:25: warning: using sizeof on a flexible structure fs/cifs/smb1ops.c:466:25: warning: using sizeof on a flexible structure fs/cifs/smb1ops.c:466:25: warning: using sizeof on a flexible structure fs/cifs/smb1ops.c:466:25: warning: using sizeof on a flexible structure fs/cifs/smb1ops.c:466:25: warning: using sizeof on a flexible structure fs/cifs/smb1ops.c:466:25: warning: using sizeof on a flexible structure fs/cifs/smb1ops.c:470:17: warning: using sizeof on a flexible structure fs/cifs/smb1ops.c:470:17: warning: using sizeof on a flexible structure fs/cifs/smb1ops.c:470:17: warning: using sizeof on a flexible structure fs/cifs/smb1ops.c:470:17: warning: using sizeof on a flexible structure fs/cifs/smb1ops.c:470:17: warning: using sizeof on a flexible structure fs/cifs/smb1ops.c:470:17: warning: using sizeof on a flexible structure net/bridge/br_multicast.c:970:32: warning: using sizeof on a flexible structure ./include/net/mld.h:32:43: warning: array of flexible structures net/bridge/br_multicast.c:2741:36: warning: using sizeof on a flexible structure net/bridge/br_multicast.c:2746:43: warning: using sizeof on a flexible structure net/bridge/br_multicast.c:2764:28: warning: using sizeof on a flexible structure net/bridge/br_multicast.c:3355:50: warning: using sizeof on a flexible structure drivers/auxdisplay/img-ascii-lcd.c:239:33: warning: using sizeof on a flexible structure fs/ksmbd/transport_ipc.c:84:24: warning: using sizeof on a flexible structure fs/ksmbd/transport_ipc.c:99:24: warning: using sizeof on a flexible structure fs/ksmbd/transport_ipc.c:228:30: warning: using sizeof on a flexible structure fs/ksmbd/transport_ipc.c:658:29: warning: using sizeof on a flexible structure fs/ksmbd/transport_ipc.c:680:29: warning: using sizeof on a flexible structure fs/ksmbd/transport_ipc.c:703:29: warning: using sizeof on a flexible structure fs/ksmbd/transport_ipc.c:727:29: warning: using sizeof on a flexible structure fs/ksmbd/transport_ipc.c:751:29: warning: using sizeof on a flexible structure fs/ksmbd/transport_ipc.c:776:29: warning: using sizeof on a flexible structure drivers/misc/mei/hdcp/mei_hdcp.c:561:20: warning: using sizeof on a flexible structure drivers/dma/uniphier-mdmac.c:395:34: warning: using sizeof on a flexible structure drivers/dma/uniphier-xdmac.c:295:22: warning: using sizeof on a flexible structure drivers/dma/uniphier-xdmac.c:351:22: warning: using sizeof on a flexible structure drivers/dma/uniphier-xdmac.c:495:34: warning: using sizeof on a flexible structure sound/soc/qcom/qdsp6/q6core.c:105:45: warning: using sizeof on a flexible structure sound/soc/qcom/qdsp6/q6core.c:122:45: warning: using sizeof on a flexible structure fs/ksmbd/smbacl.c:344:17: warning: using sizeof on a flexible structure fs/ksmbd/smb2ops.c:33:30: warning: using sizeof on a flexible structure fs/ksmbd/smb2ops.c:34:32: warning: using sizeof on a flexible structure fs/ksmbd/smb2ops.c:35:29: warning: using sizeof on a flexible structure fs/ksmbd/smb2ops.c:36:32: warning: using sizeof on a flexible structure fs/ksmbd/smb2ops.c:37:30: warning: using sizeof on a flexible structure fs/ksmbd/smb2ops.c:58:30: warning: using sizeof on a flexible structure fs/ksmbd/smb2ops.c:59:32: warning: using sizeof on a flexible structure fs/ksmbd/smb2ops.c:60:35: warning: using sizeof on a flexible structure fs/ksmbd/smb2ops.c:61:29: warning: using sizeof on a flexible structure fs/ksmbd/smb2ops.c:62:32: warning: using sizeof on a flexible structure fs/ksmbd/smb2ops.c:63:30: warning: using sizeof on a flexible structure fs/ksmbd/smb2ops.c:84:30: warning: using sizeof on a flexible structure fs/ksmbd/smb2ops.c:85:32: warning: using sizeof on a flexible structure fs/ksmbd/smb2ops.c:86:35: warning: using sizeof on a flexible structure fs/ksmbd/smb2ops.c:87:29: warning: using sizeof on a flexible structure fs/ksmbd/smb2ops.c:88:32: warning: using sizeof on a flexible structure fs/ksmbd/smb2ops.c:89:30: warning: using sizeof on a flexible structure fs/ksmbd/smb2ops.c:110:30: warning: using sizeof on a flexible structure fs/ksmbd/smb2ops.c:111:32: warning: using sizeof on a flexible structure fs/ksmbd/smb2ops.c:112:35: warning: using sizeof on a flexible structure fs/ksmbd/smb2ops.c:113:29: warning: using sizeof on a flexible structure fs/ksmbd/smb2ops.c:114:32: warning: using sizeof on a flexible structure fs/ksmbd/smb2ops.c:115:30: warning: using sizeof on a flexible structure drivers/spi/spi-axi-spi-engine.c:428:21: warning: using sizeof on a flexible structure fs/cifs/smb2ops.c:1226:32: warning: using sizeof on a flexible structure fs/cifs/smb2ops.c:1350:15: warning: using sizeof on a flexible structure fs/cifs/smb2ops.c:1595:28: warning: using sizeof on a flexible structure fs/cifs/smb2ops.c:2890:24: warning: using sizeof on a flexible structure fs/cifs/smb2ops.c:3007:20: warning: using sizeof on a flexible structure fs/cifs/smb2ops.c:3014:13: warning: using sizeof on a flexible structure fs/cifs/smb2ops.c:3176:47: warning: using sizeof on a flexible structure fs/cifs/smb2ops.c:3177:31: warning: using sizeof on a flexible structure fs/cifs/smb2ops.c:3196:31: warning: using sizeof on a flexible structure fs/cifs/smb2ops.c:3202:13: warning: using sizeof on a flexible structure fs/cifs/smb2ops.c:4299:23: warning: using sizeof on a flexible structure fs/cifs/smb2ops.c:4325:23: warning: using sizeof on a flexible structure fs/cifs/smb2ops.c:5819:30: warning: using sizeof on a flexible structure fs/cifs/smb2ops.c:5840:30: warning: using sizeof on a flexible structure fs/cifs/smb2ops.c:5861:30: warning: using sizeof on a flexible structure fs/cifs/smb2ops.c:5882:30: warning: using sizeof on a flexible structure fs/cifs/smb2ops.c:5903:30: warning: using sizeof on a flexible structure fs/cifs/smb2ops.c:5924:30: warning: using sizeof on a flexible structure fs/cifs/smb2ops.c:5945:30: warning: using sizeof on a flexible structure ./include/crypto/aead.h:423:23: warning: using sizeof on a flexible structure drivers/usb/core/hcd.c:2562:23: warning: using sizeof on a flexible structure drivers/net/wireless/ath/carl9170/usb.c:730:51: warning: using sizeof on a flexible structure drivers/net/wireless/ath/carl9170/usb.c:732:34: warning: using sizeof on a flexible structure net/netfilter/nf_tables_core.c:224:41: warning: using sizeof on a flexible structure net/netfilter/nf_tables_core.c:265:44: warning: using sizeof on a flexible structure net/ipv4/raw.c:582:25: warning: using sizeof on a flexible structure drivers/misc/mei/hbm.c:134:9: warning: using sizeof on a flexible structure drivers/misc/mei/hbm.c:99:44: warning: using sizeof on a flexible structure drivers/misc/mei/hbm.c:134:9: warning: using sizeof on a flexible structure drivers/misc/mei/hbm.c:99:44: warning: using sizeof on a flexible structure drivers/misc/mei/hbm.c:134:9: warning: using sizeof on a flexible structure drivers/misc/mei/hbm.c:99:44: warning: using sizeof on a flexible structure drivers/misc/mei/hbm.c:134:9: warning: using sizeof on a flexible structure drivers/misc/mei/hbm.c:99:44: warning: using sizeof on a flexible structure drivers/misc/mei/hbm.c:134:9: warning: using sizeof on a flexible structure drivers/misc/mei/hbm.c:99:44: warning: using sizeof on a flexible structure drivers/misc/mei/hbm.c:134:9: warning: using sizeof on a flexible structure drivers/misc/mei/hbm.c:99:44: warning: using sizeof on a flexible structure drivers/misc/mei/hbm.c:134:9: warning: using sizeof on a flexible structure drivers/misc/mei/hbm.c:99:44: warning: using sizeof on a flexible structure drivers/misc/mei/hbm.c:134:9: warning: using sizeof on a flexible structure drivers/misc/mei/hbm.c:99:44: warning: using sizeof on a flexible structure drivers/misc/mei/hbm.c:134:9: warning: using sizeof on a flexible structure drivers/misc/mei/hbm.c:99:44: warning: using sizeof on a flexible structure drivers/misc/mei/hbm.c:134:9: warning: using sizeof on a flexible structure drivers/misc/mei/hbm.c:99:44: warning: using sizeof on a flexible structure drivers/misc/mei/hbm.c:134:9: warning: using sizeof on a flexible structure drivers/misc/mei/hbm.c:99:44: warning: using sizeof on a flexible structure drivers/misc/mei/hbm.c:134:9: warning: using sizeof on a flexible structure drivers/misc/mei/hbm.c:99:44: warning: using sizeof on a flexible structure fs/jffs2/dir.c:384:49: warning: using sizeof on a flexible structure fs/jffs2/dir.c:528:49: warning: using sizeof on a flexible structure fs/jffs2/dir.c:702:49: warning: using sizeof on a flexible structure drivers/misc/mei/hbm.c:134:9: warning: using sizeof on a flexible structure drivers/misc/mei/hbm.c:99:44: warning: using sizeof on a flexible structure drivers/misc/mei/hbm.c:134:9: warning: using sizeof on a flexible structure drivers/misc/mei/hbm.c:99:44: warning: using sizeof on a flexible structure drivers/misc/mei/hbm.c:134:9: warning: using sizeof on a flexible structure drivers/misc/mei/hbm.c:99:44: warning: using sizeof on a flexible structure drivers/nfc/mei_phy.c:101:9: warning: using sizeof on a flexible structure drivers/nfc/mei_phy.c:107:52: warning: using sizeof on a flexible structure drivers/nfc/mei_phy.c:114:29: warning: using sizeof on a flexible structure drivers/nfc/mei_phy.c:147:26: warning: using sizeof on a flexible structure drivers/nfc/mei_phy.c:150:31: warning: using sizeof on a flexible structure fs/cifs/smb2pdu.c:458:33: warning: using sizeof on a flexible structure fs/cifs/smb2pdu.c:465:33: warning: using sizeof on a flexible structure fs/cifs/smb2pdu.c:566:20: warning: using sizeof on a flexible structure fs/cifs/smb2pdu.c:781:23: warning: using sizeof on a flexible structure fs/cifs/smb2pdu.c:826:28: warning: using sizeof on a flexible structure fs/cifs/smb2pdu.c:828:45: warning: using sizeof on a flexible structure fs/cifs/smb2pdu.c:831:50: warning: using sizeof on a flexible structure fs/cifs/smb2pdu.c:2017:23: warning: using sizeof on a flexible structure fs/cifs/smb2pdu.c:2040:23: warning: using sizeof on a flexible structure fs/cifs/smb2pdu.c:2132:29: warning: using sizeof on a flexible structure fs/cifs/smb2pdu.c:2178:45: warning: using sizeof on a flexible structure fs/cifs/smb2pdu.c:2193:23: warning: using sizeof on a flexible structure fs/cifs/smb2pdu.c:2229:23: warning: using sizeof on a flexible structure fs/cifs/smb2pdu.c:2267:28: warning: using sizeof on a flexible structure fs/cifs/smb2pdu.c:2270:25: warning: using sizeof on a flexible structure fs/cifs/smb2pdu.c:2272:50: warning: using sizeof on a flexible structure fs/cifs/smb2pdu.c:2290:28: warning: using sizeof on a flexible structure fs/cifs/smb2pdu.c:2293:25: warning: using sizeof on a flexible structure fs/cifs/smb2pdu.c:2296:25: warning: using sizeof on a flexible structure fs/cifs/smb2pdu.c:2324:28: warning: using sizeof on a flexible structure fs/cifs/smb2pdu.c:2327:25: warning: using sizeof on a flexible structure fs/cifs/smb2pdu.c:2329:50: warning: using sizeof on a flexible structure fs/cifs/smb2pdu.c:2340:23: warning: using sizeof on a flexible structure fs/cifs/smb2pdu.c:2369:28: warning: using sizeof on a flexible structure fs/cifs/smb2pdu.c:2371:45: warning: using sizeof on a flexible structure fs/cifs/smb2pdu.c:2374:50: warning: using sizeof on a flexible structure fs/cifs/smb2pdu.c:2414:16: warning: using sizeof on a flexible structure fs/cifs/smb2pdu.c:2505:45: warning: using sizeof on a flexible structure fs/cifs/smb2pdu.c:2518:23: warning: using sizeof on a flexible structure fs/cifs/smb2pdu.c:2545:28: warning: using sizeof on a flexible structure fs/cifs/smb2pdu.c:2547:45: warning: using sizeof on a flexible structure fs/cifs/smb2pdu.c:2550:50: warning: using sizeof on a flexible structure fs/cifs/smb2pdu.c:2658:27: warning: using sizeof on a flexible structure fs/cifs/smb2pdu.c:2803:27: warning: using sizeof on a flexible structure fs/cifs/smb2pdu.c:5436:27: warning: using sizeof on a flexible structure fs/cifs/smb2pdu.c:5437:27: warning: using sizeof on a flexible structure drivers/usb/host/ehci-sched.c:1168:40: warning: using sizeof on a flexible structure drivers/usb/host/ehci-hcd.c:1216:33: warning: using sizeof on a flexible structure drivers/usb/host/ehci-sh.c:29:43: warning: using sizeof on a flexible structure drivers/net/wireless/ath/carl9170/fw.c:290:46: warning: using sizeof on a flexible structure drivers/input/mouse/cyapa_gen5.c:1069:19: warning: using sizeof on a flexible structure drivers/input/mouse/cyapa_gen5.c:1341:19: warning: using sizeof on a flexible structure drivers/input/mouse/cyapa_gen5.c:1342:19: warning: using sizeof on a flexible structure drivers/input/mouse/cyapa_gen5.c:1354:20: warning: using sizeof on a flexible structure drivers/input/mouse/cyapa_gen5.c:1446:19: warning: using sizeof on a flexible structure drivers/input/mouse/cyapa_gen5.c:1504:19: warning: using sizeof on a flexible structure sound/soc/qcom/qdsp6/q6adm.c:287:30: warning: using sizeof on a flexible structure drivers/firewire/nosy.c:175:20: warning: using sizeof on a flexible structure drivers/firewire/nosy.c:188:42: warning: using sizeof on a flexible structure drivers/firewire/nosy.c:209:20: warning: using sizeof on a flexible structure drivers/misc/mei/interrupt.c:108:27: warning: using sizeof on a flexible structure drivers/misc/mei/interrupt.c:375:21: warning: using sizeof on a flexible structure drivers/misc/mei/interrupt.c:375:21: warning: using sizeof on a flexible structure drivers/misc/mei/hw.h:300:42: warning: using sizeof on a flexible structure drivers/misc/mei/mei_dev.h:615:16: warning: using sizeof on a flexible structure drivers/nfc/port100.c:803:23: warning: using sizeof on a flexible structure drivers/nfc/port100.c:831:24: warning: using sizeof on a flexible structure drivers/nfc/port100.c:848:25: warning: using sizeof on a flexible structure drivers/nfc/port100.c:1355:24: warning: using sizeof on a flexible structure drivers/nfc/port100.c:1387:23: warning: using sizeof on a flexible structure drivers/nfc/port100.c:1391:9: warning: using sizeof on a flexible structure drivers/nfc/port100.c:1435:23: warning: using sizeof on a flexible structure drivers/nfc/port100.c:1438:9: warning: using sizeof on a flexible structure drivers/nfc/port100.c:1547:29: warning: using sizeof on a flexible structure drivers/nfc/port100.c:1548:29: warning: using sizeof on a flexible structure drivers/nfc/port100.c:602:16: warning: using sizeof on a flexible structure fs/ksmbd/smb2pdu.c:770:17: warning: using sizeof on a flexible structure fs/ksmbd/smb2pdu.c:826:30: warning: using sizeof on a flexible structure fs/ksmbd/smb2pdu.c:829:25: warning: using sizeof on a flexible structure fs/ksmbd/smb2pdu.c:829:25: warning: using sizeof on a flexible structure fs/ksmbd/smb2pdu.c:865:30: warning: using sizeof on a flexible structure fs/ksmbd/smb2pdu.c:894:13: warning: using sizeof on a flexible structure fs/ksmbd/smb2pdu.c:950:13: warning: using sizeof on a flexible structure fs/ksmbd/smb2pdu.c:2450:13: warning: using sizeof on a flexible structure fs/ksmbd/smb2pdu.c:2646:29: warning: using sizeof on a flexible structure fs/ksmbd/smb2pdu.c:2690:37: warning: using sizeof on a flexible structure fs/ksmbd/smb2pdu.c:3093:29: warning: using sizeof on a flexible structure fs/ksmbd/smb2pdu.c:4716:17: warning: using sizeof on a flexible structure fs/ksmbd/smb2pdu.c:4717:34: warning: using sizeof on a flexible structure fs/ksmbd/smb2pdu.c:4839:47: warning: using sizeof on a flexible structure fs/ksmbd/smb2pdu.c:7751:26: warning: using sizeof on a flexible structure drivers/misc/bcm-vk/bcm_vk.h:376:30: warning: array of flexible structures fs/ntfs3/fsntfs.c:1710:16: warning: using sizeof on a flexible structure fs/ntfs3/fsntfs.c:1710:16: warning: using sizeof on a flexible structure drivers/misc/vmw_vmci/vmci_datagram.c:227:43: warning: using sizeof on a flexible structure drivers/misc/vmw_vmci/vmci_datagram.c:371:35: warning: using sizeof on a flexible structure net/ipv4/udp.c:1140:25: warning: using sizeof on a flexible structure net/ipv4/af_inet.c:1928:9: warning: using sizeof on a flexible structure net/ipv4/igmp.c:2243:20: warning: using sizeof on a flexible structure net/ipv4/igmp.c:2392:43: warning: using sizeof on a flexible structure net/ipv4/igmp.c:2404:36: warning: using sizeof on a flexible structure net/ipv4/igmp.c:2480:43: warning: using sizeof on a flexible structure net/ipv4/igmp.c:2494:38: warning: using sizeof on a flexible structure net/ipv4/igmp.c:2508:28: warning: using sizeof on a flexible structure drivers/input/keyboard/applespi.c:1521:26: warning: using sizeof on a flexible structure drivers/usb/core/urb.c:46:17: warning: using sizeof on a flexible structure drivers/usb/core/urb.c:74:23: warning: using sizeof on a flexible structure drivers/net/wan/farsync.c:1947:51: warning: using sizeof on a flexible structure drivers/net/wan/farsync.c:1959:42: warning: using sizeof on a flexible structure drivers/misc/mei/client.c:1765:19: warning: using sizeof on a flexible structure drivers/misc/mei/client.c:1770:20: warning: using sizeof on a flexible structure drivers/misc/mei/client.c:1772:28: warning: using sizeof on a flexible structure drivers/misc/mei/client.c:1793:37: warning: using sizeof on a flexible structure drivers/misc/mei/client.c:1864:19: warning: using sizeof on a flexible structure drivers/misc/mei/client.c:1989:19: warning: using sizeof on a flexible structure sound/soc/qcom/qdsp6/q6apm.c:102:24: warning: using sizeof on a flexible structure sound/soc/qcom/qdsp6/q6apm.c:102:24: warning: using sizeof on a flexible structure sound/soc/qcom/qdsp6/q6apm.c:102:24: warning: using sizeof on a flexible structure drivers/misc/mei/mei_dev.h:615:16: warning: using sizeof on a flexible structure drivers/misc/mei/client.c:1737:47: warning: using sizeof on a flexible structure net/netfilter/nft_immediate.c:218:27: warning: using sizeof on a flexible structure fs/jffs2/malloc.c:116:23: warning: using sizeof on a flexible structure drivers/usb/core/config.c:772:33: warning: using sizeof on a flexible structure drivers/misc/bcm-vk/bcm_vk.h:376:30: warning: array of flexible structures drivers/misc/bcm-vk/bcm_vk_msg.c:703:25: warning: using sizeof on a flexible structure drivers/misc/bcm-vk/bcm_vk_msg.c:1105:25: warning: using sizeof on a flexible structure sound/soc/qcom/qdsp6/audioreach.c:213:29: warning: using sizeof on a flexible structure sound/soc/qcom/qdsp6/audioreach.c:81:45: warning: array of flexible structures sound/soc/qcom/qdsp6/audioreach.c:458:50: warning: using sizeof on a flexible structure sound/soc/qcom/qdsp6/audioreach.c:501:17: warning: using sizeof on a flexible structure sound/soc/qcom/qdsp6/audioreach.c:501:17: warning: using sizeof on a flexible structure sound/soc/qcom/qdsp6/audioreach.c:501:17: warning: using sizeof on a flexible structure sound/soc/qcom/qdsp6/audioreach.c:502:19: warning: using sizeof on a flexible structure sound/soc/qcom/qdsp6/audioreach.c:502:19: warning: using sizeof on a flexible structure sound/soc/qcom/qdsp6/audioreach.c:502:19: warning: using sizeof on a flexible structure sound/soc/qcom/qdsp6/audioreach.c:503:17: warning: using sizeof on a flexible structure sound/soc/qcom/qdsp6/audioreach.c:503:17: warning: using sizeof on a flexible structure sound/soc/qcom/qdsp6/audioreach.c:503:17: warning: using sizeof on a flexible structure sound/soc/qcom/qdsp6/audioreach.c:503:17: warning: using sizeof on a flexible structure sound/soc/qcom/qdsp6/audioreach.c:503:17: warning: using sizeof on a flexible structure sound/soc/qcom/qdsp6/audioreach.c:503:17: warning: using sizeof on a flexible structure sound/soc/qcom/qdsp6/audioreach.c:505:17: warning: using sizeof on a flexible structure sound/soc/qcom/qdsp6/audioreach.c:505:17: warning: using sizeof on a flexible structure sound/soc/qcom/qdsp6/audioreach.c:505:17: warning: using sizeof on a flexible structure sound/soc/qcom/qdsp6/audioreach.c:506:17: warning: using sizeof on a flexible structure sound/soc/qcom/qdsp6/audioreach.c:506:17: warning: using sizeof on a flexible structure sound/soc/qcom/qdsp6/audioreach.c:506:17: warning: using sizeof on a flexible structure sound/soc/qcom/qdsp6/audioreach.c:826:24: warning: using sizeof on a flexible structure sound/soc/qcom/qdsp6/audioreach.c:826:24: warning: using sizeof on a flexible structure sound/soc/qcom/qdsp6/audioreach.c:826:24: warning: using sizeof on a flexible structure sound/soc/qcom/qdsp6/audioreach.c:842:36: warning: using sizeof on a flexible structure sound/soc/qcom/qdsp6/audioreach.c:842:36: warning: using sizeof on a flexible structure sound/soc/qcom/qdsp6/audioreach.c:842:36: warning: using sizeof on a flexible structure sound/soc/qcom/qdsp6/audioreach.c:885:24: warning: using sizeof on a flexible structure sound/soc/qcom/qdsp6/audioreach.c:885:24: warning: using sizeof on a flexible structure sound/soc/qcom/qdsp6/audioreach.c:885:24: warning: using sizeof on a flexible structure net/netfilter/nft_cmp.c:192:27: warning: using sizeof on a flexible structure net/netfilter/nft_cmp.c:268:27: warning: using sizeof on a flexible structure net/ipv4/ping.c:739:25: warning: using sizeof on a flexible structure drivers/input/keyboard/cap11xx.c:347:29: warning: using sizeof on a flexible structure fs/ksmbd/transport_rdma.c:574:44: warning: using sizeof on a flexible structure fs/ksmbd/transport_rdma.c:1043:25: warning: using sizeof on a flexible structure fs/ksmbd/transport_rdma.c:1222:25: warning: using sizeof on a flexible structure fs/ksmbd/transport_rdma.c:1761:46: warning: using sizeof on a flexible structure fs/ksmbd/transport_rdma.c:1775:46: warning: using sizeof on a flexible structure net/ipv4/fib_semantics.c:1454:22: warning: using sizeof on a flexible structure drivers/misc/mei/bus-fixup.c:133:29: warning: using sizeof on a flexible structure drivers/misc/mei/bus-fixup.c:134:18: warning: using sizeof on a flexible structure drivers/misc/mei/bus-fixup.c:175:52: warning: using sizeof on a flexible structure drivers/misc/mei/bus-fixup.c:337:45: warning: using sizeof on a flexible structure drivers/misc/mei/bus-fixup.c:345:29: warning: using sizeof on a flexible structure net/ipv4/ip_tunnel_core.c:64:9: warning: using sizeof on a flexible structure net/ipv4/ip_tunnel_core.c:503:16: warning: using sizeof on a flexible structure net/ipv4/ip_tunnel_core.c:751:27: warning: using sizeof on a flexible structure net/ipv4/ip_tunnel_core.c:875:35: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath6kl/debug.c:345:20: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath6kl/debug.c:1133:19: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath6kl/debug.c:1138:13: warning: using sizeof on a flexible structure drivers/gpu/drm/bridge/sil-sii8620.c:730:26: warning: using sizeof on a flexible structure net/ipv4/fib_trie.c:2394:21: warning: using sizeof on a flexible structure net/netfilter/nf_tables_api.c:152:25: warning: using sizeof on a flexible structure net/netfilter/nf_tables_api.c:2026:17: warning: using sizeof on a flexible structure net/netfilter/nf_tables_api.c:3405:33: warning: using sizeof on a flexible structure net/netfilter/nf_tables_api.c:3409:24: warning: using sizeof on a flexible structure net/netfilter/nf_tables_api.c:4383:22: warning: using sizeof on a flexible structure net/netfilter/nf_tables_api.c:4734:27: warning: using sizeof on a flexible structure net/netfilter/nf_tables_api.c:5857:40: warning: using sizeof on a flexible structure net/netfilter/nf_tables_api.c:6481:23: warning: using sizeof on a flexible structure net/netfilter/nf_tables_api.c:8278:38: warning: using sizeof on a flexible structure net/netfilter/nf_tables_api.c:8369:30: warning: using sizeof on a flexible structure sound/soc/sof/intel/atom.c:43:47: warning: using sizeof on a flexible structure ./include/net/netfilter/nf_tables.h:656:21: warning: using sizeof on a flexible structure fs/ubifs/journal.c:483:37: warning: using sizeof on a flexible structure fs/ubifs/journal.c:556:16: warning: using sizeof on a flexible structure fs/ubifs/journal.c:557:16: warning: using sizeof on a flexible structure fs/ubifs/journal.c:573:45: warning: using sizeof on a flexible structure fs/ubifs/journal.c:678:29: warning: using sizeof on a flexible structure fs/ubifs/journal.c:728:20: warning: using sizeof on a flexible structure fs/ubifs/journal.c:767:38: warning: using sizeof on a flexible structure fs/ubifs/journal.c:781:16: warning: using sizeof on a flexible structure fs/ubifs/journal.c:846:45: warning: using sizeof on a flexible structure fs/ubifs/journal.c:861:30: warning: using sizeof on a flexible structure fs/ubifs/journal.c:919:45: warning: using sizeof on a flexible structure fs/ubifs/journal.c:1060:56: warning: using sizeof on a flexible structure fs/ubifs/journal.c:1074:17: warning: using sizeof on a flexible structure fs/ubifs/journal.c:1075:17: warning: using sizeof on a flexible structure fs/ubifs/journal.c:1226:50: warning: using sizeof on a flexible structure fs/ubifs/journal.c:1241:17: warning: using sizeof on a flexible structure fs/ubifs/journal.c:1242:17: warning: using sizeof on a flexible structure fs/ubifs/journal.c:1246:24: warning: using sizeof on a flexible structure fs/ubifs/journal.c:1455:53: warning: using sizeof on a flexible structure fs/ubifs/journal.c:1487:20: warning: using sizeof on a flexible structure fs/ubifs/journal.c:1529:35: warning: using sizeof on a flexible structure fs/ubifs/journal.c:1530:14: warning: using sizeof on a flexible structure fs/ubifs/journal.c:1538:30: warning: using sizeof on a flexible structure fs/ubifs/journal.c:1563:61: warning: using sizeof on a flexible structure fs/ubifs/journal.c:1579:36: warning: using sizeof on a flexible structure fs/ubifs/journal.c:1613:29: warning: using sizeof on a flexible structure fs/ubifs/journal.c:1620:50: warning: using sizeof on a flexible structure fs/ubifs/journal.c:1690:16: warning: using sizeof on a flexible structure fs/ubifs/journal.c:1692:36: warning: using sizeof on a flexible structure fs/ubifs/journal.c:1693:30: warning: using sizeof on a flexible structure fs/ubifs/journal.c:1721:29: warning: using sizeof on a flexible structure fs/ubifs/journal.c:1754:39: warning: using sizeof on a flexible structure fs/ubifs/journal.c:1808:16: warning: using sizeof on a flexible structure fs/ubifs/journal.c:1809:16: warning: using sizeof on a flexible structure fs/ubifs/ubifs.h:1710:24: warning: using sizeof on a flexible structure fs/ubifs/misc.h:281:46: warning: using sizeof on a flexible structure mm/hugetlb_cgroup.c:142:28: warning: using sizeof on a flexible structure drivers/input/keyboard/cros_ec_keyb.c:347:23: warning: using sizeof on a flexible structure drivers/usb/dwc2/hcd.c:3853:23: warning: using sizeof on a flexible structure drivers/usb/dwc2/hcd.c:4062:42: warning: using sizeof on a flexible structure drivers/gpu/drm/ttm/ttm_range_manager.c:74:24: warning: using sizeof on a flexible structure sound/soc/sof/intel/bdw.c:231:47: warning: using sizeof on a flexible structure fs/ubifs/dir.c:117:47: warning: using sizeof on a flexible structure fs/ubifs/dir.c:217:24: warning: using sizeof on a flexible structure fs/ubifs/dir.c:310:21: warning: using sizeof on a flexible structure fs/ubifs/dir.c:310:21: warning: using sizeof on a flexible structure fs/ubifs/dir.c:310:21: warning: using sizeof on a flexible structure fs/ubifs/dir.c:696:30: warning: using sizeof on a flexible structure fs/ubifs/dir.c:696:30: warning: using sizeof on a flexible structure fs/ubifs/dir.c:696:30: warning: using sizeof on a flexible structure fs/ubifs/dir.c:793:21: warning: using sizeof on a flexible structure fs/ubifs/dir.c:793:21: warning: using sizeof on a flexible structure fs/ubifs/dir.c:793:21: warning: using sizeof on a flexible structure fs/ubifs/dir.c:901:21: warning: using sizeof on a flexible structure fs/ubifs/dir.c:901:21: warning: using sizeof on a flexible structure fs/ubifs/dir.c:901:21: warning: using sizeof on a flexible structure fs/ubifs/dir.c:971:21: warning: using sizeof on a flexible structure fs/ubifs/dir.c:971:21: warning: using sizeof on a flexible structure fs/ubifs/dir.c:971:21: warning: using sizeof on a flexible structure fs/ubifs/dir.c:1058:21: warning: using sizeof on a flexible structure fs/ubifs/dir.c:1058:21: warning: using sizeof on a flexible structure fs/ubifs/dir.c:1058:21: warning: using sizeof on a flexible structure fs/ubifs/dir.c:1140:21: warning: using sizeof on a flexible structure fs/ubifs/dir.c:1140:21: warning: using sizeof on a flexible structure fs/ubifs/dir.c:1140:21: warning: using sizeof on a flexible structure fs/ubifs/dir.c:1308:18: warning: using sizeof on a flexible structure fs/ubifs/dir.c:1308:18: warning: using sizeof on a flexible structure fs/ubifs/dir.c:1308:18: warning: using sizeof on a flexible structure fs/ubifs/dir.c:1309:18: warning: using sizeof on a flexible structure fs/ubifs/dir.c:1309:18: warning: using sizeof on a flexible structure fs/ubifs/dir.c:1309:18: warning: using sizeof on a flexible structure fs/ubifs/file.c:68:42: warning: using sizeof on a flexible structure fs/ubifs/file.c:95:32: warning: using sizeof on a flexible structure fs/ubifs/file.c:125:22: warning: using sizeof on a flexible structure fs/ubifs/file.c:647:58: warning: using sizeof on a flexible structure fs/ubifs/sb.c:167:23: warning: using sizeof on a flexible structure fs/ubifs/sb.c:167:23: warning: using sizeof on a flexible structure fs/ubifs/sb.c:167:23: warning: using sizeof on a flexible structure fs/ubifs/sb.c:256:18: warning: using sizeof on a flexible structure fs/ubifs/sb.c:256:18: warning: using sizeof on a flexible structure fs/ubifs/sb.c:256:18: warning: using sizeof on a flexible structure fs/ubifs/sb.c:260:21: warning: using sizeof on a flexible structure fs/ubifs/sb.c:260:21: warning: using sizeof on a flexible structure fs/ubifs/sb.c:260:21: warning: using sizeof on a flexible structure fs/ubifs/sb.c:261:27: warning: using sizeof on a flexible structure fs/ubifs/sb.c:270:27: warning: using sizeof on a flexible structure fs/ubifs/sb.c:285:20: warning: using sizeof on a flexible structure fs/ubifs/sb.c:306:21: warning: using sizeof on a flexible structure fs/ubifs/sb.c:327:40: warning: using sizeof on a flexible structure fs/ubifs/misc.h:188:16: warning: using sizeof on a flexible structure fs/ubifs/misc.h:188:37: warning: using sizeof on a flexible structure fs/ubifs/misc.h:204:26: warning: using sizeof on a flexible structure fs/ubifs/ubifs.h:1659:29: warning: using sizeof on a flexible structure drivers/misc/bcm-vk/bcm_vk.h:376:30: warning: array of flexible structures drivers/scsi/aacraid/aachba.c:820:47: warning: using sizeof on a flexible structure drivers/scsi/aacraid/aachba.c:1236:17: warning: using sizeof on a flexible structure drivers/scsi/aacraid/aachba.c:1248:27: warning: using sizeof on a flexible structure drivers/scsi/aacraid/aachba.c:1364:17: warning: using sizeof on a flexible structure drivers/scsi/aacraid/aachba.c:1379:27: warning: using sizeof on a flexible structure fs/ntfs3/fslog.c:88:1: warning: using sizeof on a flexible structure fs/ntfs3/fslog.c:159:1: warning: using sizeof on a flexible structure drivers/misc/mei/hw-me.c:1615:36: warning: using sizeof on a flexible structure fs/ubifs/super.c:125:23: warning: using sizeof on a flexible structure fs/ubifs/super.c:256:33: warning: using sizeof on a flexible structure fs/ubifs/super.c:595:46: warning: using sizeof on a flexible structure fs/ubifs/super.c:596:46: warning: using sizeof on a flexible structure fs/ubifs/super.c:598:45: warning: using sizeof on a flexible structure fs/ubifs/super.c:601:46: warning: using sizeof on a flexible structure fs/ubifs/super.c:602:46: warning: using sizeof on a flexible structure fs/ubifs/super.c:604:33: warning: using sizeof on a flexible structure fs/ubifs/super.c:606:46: warning: using sizeof on a flexible structure fs/ubifs/super.c:607:46: warning: using sizeof on a flexible structure fs/ubifs/super.c:608:46: warning: using sizeof on a flexible structure fs/ubifs/super.c:609:46: warning: using sizeof on a flexible structure fs/ubifs/super.c:610:46: warning: using sizeof on a flexible structure fs/ubifs/super.c:611:46: warning: using sizeof on a flexible structure fs/ubifs/super.c:616:45: warning: using sizeof on a flexible structure fs/ubifs/super.c:616:65: warning: using sizeof on a flexible structure fs/ubifs/super.c:627:22: warning: using sizeof on a flexible structure fs/ubifs/super.c:627:22: warning: using sizeof on a flexible structure fs/ubifs/super.c:627:22: warning: using sizeof on a flexible structure fs/ubifs/super.c:628:22: warning: using sizeof on a flexible structure fs/ubifs/super.c:628:22: warning: using sizeof on a flexible structure fs/ubifs/super.c:628:22: warning: using sizeof on a flexible structure fs/ubifs/super.c:635:41: warning: using sizeof on a flexible structure fs/ubifs/super.c:638:51: warning: using sizeof on a flexible structure fs/ubifs/super.c:683:27: warning: using sizeof on a flexible structure fs/ubifs/super.c:725:29: warning: using sizeof on a flexible structure fs/ubifs/super.c:726:30: warning: using sizeof on a flexible structure fs/ubifs/super.c:727:29: warning: using sizeof on a flexible structure fs/ubifs/super.c:1317:48: warning: using sizeof on a flexible structure fs/ubifs/super.c:1589:9: warning: using sizeof on a flexible structure fs/ubifs/super.c:1589:9: warning: using sizeof on a flexible structure fs/ubifs/super.c:1589:9: warning: using sizeof on a flexible structure fs/ubifs/super.c:1593:9: warning: using sizeof on a flexible structure fs/ubifs/super.c:1595:9: warning: using sizeof on a flexible structure fs/ubifs/super.c:1595:9: warning: using sizeof on a flexible structure fs/ubifs/super.c:1595:9: warning: using sizeof on a flexible structure fs/ubifs/super.c:1777:40: warning: using sizeof on a flexible structure fs/ubifs/super.c:2373:9: warning: using sizeof on a flexible structure fs/ubifs/super.c:2374:9: warning: using sizeof on a flexible structure fs/ubifs/super.c:2375:9: warning: using sizeof on a flexible structure fs/ubifs/super.c:2376:9: warning: using sizeof on a flexible structure fs/ubifs/super.c:2382:9: warning: using sizeof on a flexible structure fs/ubifs/super.c:2384:9: warning: using sizeof on a flexible structure fs/ubifs/super.c:2385:9: warning: using sizeof on a flexible structure fs/ubifs/super.c:2386:9: warning: using sizeof on a flexible structure fs/ubifs/super.c:2387:9: warning: using sizeof on a flexible structure fs/ubifs/super.c:2388:9: warning: using sizeof on a flexible structure fs/ubifs/super.c:2389:9: warning: using sizeof on a flexible structure fs/ubifs/super.c:2392:9: warning: using sizeof on a flexible structure fs/ubifs/super.c:2392:9: warning: using sizeof on a flexible structure fs/ubifs/super.c:2393:9: warning: using sizeof on a flexible structure fs/ubifs/super.c:2393:9: warning: using sizeof on a flexible structure fs/ubifs/super.c:2394:9: warning: using sizeof on a flexible structure fs/ubifs/super.c:2394:9: warning: using sizeof on a flexible structure fs/ubifs/super.c:2395:9: warning: using sizeof on a flexible structure fs/ubifs/super.c:2397:9: warning: using sizeof on a flexible structure fs/ubifs/super.c:2397:9: warning: using sizeof on a flexible structure fs/ubifs/super.c:2398:9: warning: using sizeof on a flexible structure fs/ubifs/super.c:2398:9: warning: using sizeof on a flexible structure fs/ubifs/super.c:2399:9: warning: using sizeof on a flexible structure fs/ubifs/super.c:2399:9: warning: using sizeof on a flexible structure fs/ubifs/super.c:2400:9: warning: using sizeof on a flexible structure fs/ubifs/super.c:2400:9: warning: using sizeof on a flexible structure fs/ubifs/super.c:2405:9: warning: using sizeof on a flexible structure fs/ubifs/misc.h:188:16: warning: using sizeof on a flexible structure fs/ubifs/misc.h:188:37: warning: using sizeof on a flexible structure fs/ubifs/misc.h:281:46: warning: using sizeof on a flexible structure fs/ntfs3/fslog.c:673:21: warning: using sizeof on a flexible structure fs/ntfs3/fslog.c:1376:24: warning: using sizeof on a flexible structure fs/ntfs3/fslog.c:4358:23: warning: using sizeof on a flexible structure fs/ntfs3/fslog.c:4491:32: warning: using sizeof on a flexible structure fs/ntfs3/fslog.c:4496:45: warning: using sizeof on a flexible structure fs/ntfs3/fslog.c:5143:9: warning: using sizeof on a flexible structure fs/ntfs3/fslog.c:392:16: warning: using sizeof on a flexible structure fs/ntfs3/fslog.c:392:16: warning: using sizeof on a flexible structure net/netfilter/nft_range.c:139:27: warning: using sizeof on a flexible structure net/netfilter/nft_bitwise.c:322:27: warning: using sizeof on a flexible structure net/netfilter/nft_bitwise.c:466:27: warning: using sizeof on a flexible structure drivers/usb/host/oxu210hp-hcd.c:1176:44: warning: using sizeof on a flexible structure drivers/usb/host/oxu210hp-hcd.c:3302:17: warning: using sizeof on a flexible structure drivers/usb/host/oxu210hp-hcd.c:3333:9: warning: using sizeof on a flexible structure drivers/usb/core/devio.c:1163:55: warning: using sizeof on a flexible structure drivers/usb/core/devio.c:1241:49: warning: using sizeof on a flexible structure drivers/usb/core/devio.c:1273:44: warning: using sizeof on a flexible structure drivers/usb/core/devio.c:1283:50: warning: using sizeof on a flexible structure drivers/usb/core/devio.c:1341:44: warning: using sizeof on a flexible structure drivers/usb/core/devio.c:1771:37: warning: using sizeof on a flexible structure drivers/usb/core/devio.c:2153:42: warning: using sizeof on a flexible structure drivers/usb/core/devio.c:2696:14: warning: using sizeof on a flexible structure net/netfilter/nft_byteorder.c:172:27: warning: using sizeof on a flexible structure net/bridge/br_netfilter_hooks.c:229:9: warning: using sizeof on a flexible structure sound/soc/sof/imx/imx-common.c:31:47: warning: using sizeof on a flexible structure drivers/net/bonding/bond_main.c:4768:33: warning: using sizeof on a flexible structure drivers/net/bonding/bond_main.c:4770:30: warning: using sizeof on a flexible structure sound/soc/sof/intel/hda.c:497:47: warning: using sizeof on a flexible structure ./include/sound/intel-nhlt.h:83:34: warning: array of flexible structures ./include/net/sctp/structs.h:335:41: warning: array of flexible structures drivers/input/keyboard/goldfish_events.c:129:29: warning: using sizeof on a flexible structure drivers/net/wan/wanxl.c:601:24: warning: using sizeof on a flexible structure net/netfilter/nft_payload.c:540:27: warning: using sizeof on a flexible structure net/netfilter/nft_payload.c:550:27: warning: using sizeof on a flexible structure net/netfilter/nft_payload.c:826:27: warning: using sizeof on a flexible structure mm/memcontrol.c:4200:23: warning: using sizeof on a flexible structure mm/memcontrol.c:5135:25: warning: using sizeof on a flexible structure drivers/input/keyboard/gpio_keys_polled.c:249:34: warning: using sizeof on a flexible structure drivers/net/wireguard/messages.h:117:34: warning: using sizeof on a flexible structure net/netfilter/nft_dynset.c:121:32: warning: using sizeof on a flexible structure net/netfilter/nft_dynset.c:409:27: warning: using sizeof on a flexible structure ./include/net/netfilter/nf_tables.h:656:21: warning: using sizeof on a flexible structure drivers/input/keyboard/gpio_keys.c:816:35: warning: using sizeof on a flexible structure drivers/input/keyboard/tca6416-keypad.c:219:24: warning: using sizeof on a flexible structure net/netfilter/nft_lookup.c:258:27: warning: using sizeof on a flexible structure net/ipv4/nexthop.c:127:32: warning: using sizeof on a flexible structure net/ipv4/nexthop.c:158:16: warning: using sizeof on a flexible structure net/ipv4/nexthop.c:536:23: warning: using sizeof on a flexible structure net/ipv4/nexthop.c:552:16: warning: using sizeof on a flexible structure fs/ubifs/tnc.c:2711:24: warning: using sizeof on a flexible structure fs/jffs2/write.c:294:62: warning: using sizeof on a flexible structure fs/jffs2/write.c:301:71: warning: using sizeof on a flexible structure fs/jffs2/write.c:493:47: warning: using sizeof on a flexible structure fs/jffs2/write.c:564:57: warning: using sizeof on a flexible structure fs/jffs2/write.c:681:47: warning: using sizeof on a flexible structure drivers/misc/mei/hw-txe.c:1200:40: warning: using sizeof on a flexible structure drivers/rtc/rtc-sun6i.c:231:28: warning: using sizeof on a flexible structure net/netfilter/nft_rt.c:189:27: warning: using sizeof on a flexible structure drivers/net/wireless/ath/wil6210/main.c:480:9: warning: using sizeof on a flexible structure drivers/net/wireless/ath/wil6210/main.c:483:55: warning: using sizeof on a flexible structure net/netfilter/nft_meta.c:782:27: warning: using sizeof on a flexible structure net/netfilter/nft_meta.c:812:27: warning: using sizeof on a flexible structure ./include/net/sctp/structs.h:335:41: warning: array of flexible structures drivers/gpio/gpio-uniphier.c:365:34: warning: using sizeof on a flexible structure net/netfilter/nft_exthdr.c:78:30: warning: using sizeof on a flexible structure net/netfilter/nft_exthdr.c:95:9: warning: using sizeof on a flexible structure net/netfilter/nft_exthdr.c:522:27: warning: using sizeof on a flexible structure net/netfilter/nft_exthdr.c:530:27: warning: using sizeof on a flexible structure net/netfilter/nft_exthdr.c:538:27: warning: using sizeof on a flexible structure net/netfilter/nft_exthdr.c:546:27: warning: using sizeof on a flexible structure net/netfilter/nft_exthdr.c:554:27: warning: using sizeof on a flexible structure net/netfilter/nft_last.c:117:27: warning: using sizeof on a flexible structure net/netfilter/nft_counter.c:289:27: warning: using sizeof on a flexible structure drivers/usb/host/ohci-hcd.c:194:28: warning: using sizeof on a flexible structure drivers/usb/host/ohci-hcd.c:1187:33: warning: using sizeof on a flexible structure drivers/net/wireless/ath/wil6210/cfg80211.c:980:9: warning: using sizeof on a flexible structure drivers/net/wireless/ath/wil6210/cfg80211.c:1018:29: warning: using sizeof on a flexible structure drivers/net/wireless/ath/wil6210/fw.h:96:47: warning: array of flexible structures fs/jffs2/gc.c:878:33: warning: using sizeof on a flexible structure drivers/net/wireguard/messages.h:117:34: warning: using sizeof on a flexible structure drivers/i3c/master/mipi-i3c-hci/dma.c:226:25: warning: using sizeof on a flexible structure net/ipv4/ipmr.c:1767:9: warning: using sizeof on a flexible structure drivers/gpio/gpio-virtio.c:507:15: warning: using sizeof on a flexible structure ./include/linux/ihex.h:52:50: warning: using sizeof on a flexible structure ./include/linux/ihex.h:26:38: warning: using sizeof on a flexible structure ./include/linux/ihex.h:26:38: warning: using sizeof on a flexible structure ./include/linux/ihex.h:26:38: warning: using sizeof on a flexible structure drivers/net/wireless/ath/wil6210/wmi.c:969:19: warning: using sizeof on a flexible structure drivers/net/wireless/ath/wil6210/wmi.c:973:20: warning: using sizeof on a flexible structure drivers/net/wireless/ath/wil6210/wmi.c:975:17: warning: using sizeof on a flexible structure drivers/net/wireless/ath/wil6210/wmi.c:989:9: warning: using sizeof on a flexible structure drivers/net/wireless/ath/wil6210/wmi.c:1481:27: warning: using sizeof on a flexible structure drivers/net/wireless/ath/wil6210/wmi.c:1567:19: warning: using sizeof on a flexible structure drivers/net/wireless/ath/wil6210/wmi.c:1772:9: warning: using sizeof on a flexible structure drivers/net/wireless/ath/wil6210/wmi.c:2505:19: warning: using sizeof on a flexible structure drivers/net/wireless/ath/wil6210/wmi.c:2548:15: warning: using sizeof on a flexible structure drivers/net/wireless/ath/wil6210/wmi.c:2763:9: warning: using sizeof on a flexible structure drivers/net/wireless/ath/wil6210/wmi.c:2769:39: warning: using sizeof on a flexible structure drivers/net/wireless/ath/wil6210/wmi.c:2775:39: warning: using sizeof on a flexible structure drivers/net/wireless/ath/wil6210/wmi.c:3637:17: warning: using sizeof on a flexible structure drivers/net/wireless/ath/wil6210/wmi.c:3689:17: warning: using sizeof on a flexible structure drivers/net/wireless/ath/wil6210/wmi.c:4040:23: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/debug.c:506:40: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/debug.c:511:9: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath6kl/init.c:995:22: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath6kl/init.c:1002:24: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath6kl/init.c:1003:25: warning: using sizeof on a flexible structure drivers/net/wireguard/messages.h:117:34: warning: using sizeof on a flexible structure fs/ntfs3/xattr.c:291:15: warning: using sizeof on a flexible structure fs/ntfs3/xattr.c:291:15: warning: using sizeof on a flexible structure fs/ntfs3/xattr.c:291:15: warning: using sizeof on a flexible structure fs/ntfs3/xattr.c:26:27: warning: using sizeof on a flexible structure fs/ntfs3/xattr.c:26:27: warning: using sizeof on a flexible structure fs/ntfs3/xattr.c:26:27: warning: using sizeof on a flexible structure fs/ntfs3/xattr.c:26:27: warning: using sizeof on a flexible structure fs/ntfs3/xattr.c:26:27: warning: using sizeof on a flexible structure fs/ntfs3/xattr.c:26:27: warning: using sizeof on a flexible structure fs/ntfs3/xattr.c:34:16: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/core.c:1252:26: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/core.c:1258:28: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/core.c:1259:24: warning: using sizeof on a flexible structure fs/ntfs3/xattr.c:34:16: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/core.c:1337:22: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/core.c:1342:24: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/core.c:1950:22: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/core.c:1956:24: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/core.c:1957:25: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath6kl/cfg80211.c:3125:47: warning: using sizeof on a flexible structure drivers/net/wireguard/device.c:271:32: warning: using sizeof on a flexible structure drivers/net/wireguard/device.c:271:32: warning: using sizeof on a flexible structure drivers/net/wireguard/device.c:271:32: warning: using sizeof on a flexible structure ./include/net/tcp.h:2128:32: warning: using sizeof on a flexible structure fs/ubifs/replay.c:486:49: warning: using sizeof on a flexible structure fs/ubifs/replay.c:567:9: warning: using sizeof on a flexible structure fs/ubifs/replay.c:567:9: warning: using sizeof on a flexible structure fs/ubifs/commit.c:570:14: warning: using sizeof on a flexible structure fs/ubifs/commit.c:571:14: warning: using sizeof on a flexible structure fs/ubifs/misc.h:188:16: warning: using sizeof on a flexible structure fs/ubifs/misc.h:188:37: warning: using sizeof on a flexible structure fs/ubifs/misc.h:204:26: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath6kl/main.c:441:21: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath6kl/main.c:446:30: warning: using sizeof on a flexible structure drivers/net/wireless/ath/wil6210/txrx.c:323:24: warning: using sizeof on a flexible structure drivers/net/wireguard/messages.h:117:34: warning: using sizeof on a flexible structure drivers/net/wireguard/messages.h:117:34: warning: using sizeof on a flexible structure drivers/net/wireguard/messages.h:117:34: warning: using sizeof on a flexible structure drivers/net/wireguard/messages.h:117:34: warning: using sizeof on a flexible structure drivers/net/wireguard/send.c:193:13: warning: using sizeof on a flexible structure drivers/net/wireguard/send.c:193:13: warning: using sizeof on a flexible structure drivers/net/wireguard/send.c:193:13: warning: using sizeof on a flexible structure drivers/net/wireguard/send.c:205:55: warning: using sizeof on a flexible structure drivers/net/wireguard/send.c:213:35: warning: using sizeof on a flexible structure drivers/net/wireguard/send.c:226:33: warning: using sizeof on a flexible structure drivers/net/wireguard/send.c:226:33: warning: using sizeof on a flexible structure drivers/net/wireguard/send.c:226:33: warning: using sizeof on a flexible structure drivers/net/wireguard/send.c:230:34: warning: using sizeof on a flexible structure drivers/net/wireguard/send.c:230:34: warning: using sizeof on a flexible structure drivers/net/wireguard/send.c:230:34: warning: using sizeof on a flexible structure drivers/net/wireguard/send.c:250:44: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/htt_tx.c:1140:16: warning: using sizeof on a flexible structure drivers/usb/class/cdc-acm.c:1313:23: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/mac.c:9485:33: warning: using sizeof on a flexible structure fs/ubifs/gc.c:394:50: warning: using sizeof on a flexible structure fs/ubifs/ubifs.h:1710:24: warning: using sizeof on a flexible structure drivers/mfd/omap-usb-tll.c:240:33: warning: using sizeof on a flexible structure drivers/i2c/muxes/i2c-demux-pinctrl.c:221:41: warning: using sizeof on a flexible structure net/netfilter/nft_set_bitmap.c:251:16: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/htt_rx.c:1721:35: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/htt_rx.c:396:31: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/htt_rx.c:396:31: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/htt_rx.c:396:31: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/htt_rx.c:396:31: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/htt_rx.c:396:31: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/htt_rx.c:396:31: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/htt_rx.c:418:42: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/htt_rx.c:492:43: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/htt_rx.c:494:23: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/htt_rx.c:495:24: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/htt_rx.c:496:23: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/htt_rx.c:496:23: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/htt_rx.c:496:23: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/htt_rx.c:496:23: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/htt_rx.c:496:23: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/htt_rx.c:496:23: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/htt_rx.c:568:43: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/htt_rx.c:570:23: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/htt_rx.c:571:24: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/htt_rx.c:572:23: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/htt_rx.c:572:23: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/htt_rx.c:572:23: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/htt_rx.c:572:23: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/htt_rx.c:572:23: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/htt_rx.c:572:23: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/htt_rx.c:672:59: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/htt_rx.c:674:39: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/htt_rx.c:675:40: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/htt_rx.c:733:59: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/htt_rx.c:735:39: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/htt_rx.c:736:40: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/htt_rx.c:1217:37: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/htt_rx.c:1369:36: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/htt_rx.c:1502:36: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/htt_rx.c:1546:36: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/htt_rx.c:1596:36: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/htt_rx.c:1650:36: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/htt_rx.c:1690:36: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/htt_rx.c:1856:37: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/htt_rx.c:1885:36: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/htt_rx.c:2090:37: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/htt_rx.c:2123:37: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/htt_rx.c:2814:29: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/htt_rx.c:3046:44: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/htt_rx.c:3053:36: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/htt_rx.c:3098:31: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/htt_rx.c:3099:32: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/htt_rx.c:3387:35: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/htt_rx.c:3426:35: warning: using sizeof on a flexible structure net/netfilter/nft_set_hash.c:628:16: warning: using sizeof on a flexible structure net/netfilter/nft_set_hash.c:668:23: warning: using sizeof on a flexible structure net/netfilter/nft_set_hash.c:670:41: warning: using sizeof on a flexible structure net/netfilter/nft_set_hash.c:686:23: warning: using sizeof on a flexible structure net/netfilter/nft_set_hash.c:688:41: warning: using sizeof on a flexible structure drivers/i3c/master/i3c-master-cdns.c:512:24: warning: using sizeof on a flexible structure drivers/input/rmi4/rmi_driver.c:841:22: warning: using sizeof on a flexible structure fs/overlayfs/namei.c:90:22: warning: using sizeof on a flexible structure fs/overlayfs/namei.c:530:33: warning: using sizeof on a flexible structure drivers/net/wireguard/messages.h:117:34: warning: using sizeof on a flexible structure fs/ubifs/orphan.c:1022:27: warning: using sizeof on a flexible structure fs/ubifs/orphan.c:278:32: warning: using sizeof on a flexible structure fs/ubifs/orphan.c:280:20: warning: using sizeof on a flexible structure fs/ubifs/orphan.c:281:33: warning: using sizeof on a flexible structure fs/ubifs/orphan.c:298:32: warning: using sizeof on a flexible structure fs/ubifs/orphan.c:351:19: warning: using sizeof on a flexible structure fs/ubifs/orphan.c:364:22: warning: using sizeof on a flexible structure fs/ubifs/orphan.c:367:15: warning: using sizeof on a flexible structure fs/ubifs/orphan.c:641:23: warning: using sizeof on a flexible structure fs/ubifs/orphan.c:692:50: warning: using sizeof on a flexible structure fs/ubifs/orphan.c:964:50: warning: using sizeof on a flexible structure drivers/net/wireguard/messages.h:117:34: warning: using sizeof on a flexible structure fs/ubifs/budget.c:644:19: warning: using sizeof on a flexible structure drivers/i3c/master/dw-i3c-master.c:362:24: warning: using sizeof on a flexible structure drivers/net/wireguard/receive.c:41:24: warning: using sizeof on a flexible structure drivers/net/wireguard/receive.c:276:19: warning: using sizeof on a flexible structure drivers/net/wireguard/receive.c:365:39: warning: using sizeof on a flexible structure drivers/net/wireguard/receive.c:419:31: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:42:32: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:81:27: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:82:25: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:91:24: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:92:24: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:339:27: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:346:27: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:358:24: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:361:25: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:1709:40: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:1730:40: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:1754:40: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:1785:40: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:1835:36: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:1851:62: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:1852:16: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:1853:16: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:1854:16: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:1866:16: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:1873:16: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:1881:16: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:1982:16: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:1983:15: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:1984:15: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:1985:15: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:1986:15: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:2013:16: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:2023:16: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:2035:16: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:2045:16: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:2053:16: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:2075:40: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:2131:40: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:2155:40: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:2187:16: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:2188:16: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:2189:16: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:2218:16: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:2227:16: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:2238:16: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:2252:40: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:2275:40: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:2298:40: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:2320:40: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:2354:15: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:2354:30: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:2355:15: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:2363:20: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:2376:16: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:2377:16: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:2385:16: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:2414:22: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:2432:32: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:2433:15: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:2434:15: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:2448:16: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:2456:16: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:2476:22: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:2489:15: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:2521:15: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:2522:15: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:2537:16: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:2563:40: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:2587:40: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:2610:40: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:2636:40: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:2676:16: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:2677:16: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:2678:16: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:2679:16: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:2707:16: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:2716:16: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:2725:16: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:2738:16: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:2753:40: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:2777:40: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:2804:40: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:2834:40: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:2835:16: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:2836:16: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:2849:16: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:2867:26: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:2871:16: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:2885:40: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:2912:40: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:2951:16: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:2952:21: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:2966:16: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:2985:40: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:3010:40: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:3092:34: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:3129:16: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:3136:16: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:3155:40: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:3192:15: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:3192:45: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:3206:16: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:3215:16: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi-tlv.c:3231:15: warning: using sizeof on a flexible structure net/netfilter/nft_set_rbtree.c:604:42: warning: using sizeof on a flexible structure net/ipv4/cipso_ipv4.c:1719:30: warning: using sizeof on a flexible structure net/ipv4/cipso_ipv4.c:1731:9: warning: using sizeof on a flexible structure net/ipv4/cipso_ipv4.c:1867:23: warning: using sizeof on a flexible structure net/ipv4/cipso_ipv4.c:1944:23: warning: using sizeof on a flexible structure net/ipv4/cipso_ipv4.c:2208:17: warning: using sizeof on a flexible structure lib/rhashtable.c:158:16: warning: using sizeof on a flexible structure lib/rhashtable.c:184:24: warning: using sizeof on a flexible structure net/netfilter/nft_set_pipapo.h:273:45: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/bmi.c:262:39: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/bmi.c:346:40: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/bmi.c:393:39: warning: using sizeof on a flexible structure drivers/input/keyboard/mcs_touchkey.c:112:24: warning: using sizeof on a flexible structure net/netfilter/nft_set_pipapo.h:273:45: warning: using sizeof on a flexible structure net/netfilter/nft_set_pipapo.c:1276:23: warning: using sizeof on a flexible structure net/netfilter/nft_set_pipapo.c:2061:21: warning: using sizeof on a flexible structure fs/ubifs/misc.h:204:26: warning: using sizeof on a flexible structure fs/ubifs/ubifs.h:1659:29: warning: using sizeof on a flexible structure fs/ubifs/misc.h:188:16: warning: using sizeof on a flexible structure fs/ubifs/misc.h:188:37: warning: using sizeof on a flexible structure fs/ubifs/ubifs.h:1659:29: warning: using sizeof on a flexible structure drivers/net/wireguard/messages.h:117:34: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi.c:2298:28: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi.c:2302:28: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi.c:2347:20: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi.c:3037:28: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi.c:3091:28: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi.c:3151:28: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi.c:3228:28: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi.c:3317:28: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi.c:3700:24: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi.c:3703:23: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi.c:3746:24: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi.c:3749:23: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi.c:3790:24: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi.c:3793:23: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi.c:4335:24: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi.c:4341:35: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi.c:4353:24: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi.c:4375:24: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi.c:4377:39: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi.c:4388:24: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi.c:4420:24: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi.c:4422:39: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi.c:4433:24: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi.c:5455:24: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi.c:5459:23: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi.c:5497:24: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi.c:5501:23: warning: using sizeof on a flexible structure drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils_fw2x.c:385:28: warning: using sizeof on a flexible structure drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils_fw2x.c:390:29: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi.c:6908:24: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi.c:6913:24: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi.c:6918:24: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi.c:6923:24: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi.c:6979:24: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi.c:6996:24: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi.c:7009:24: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi.c:7019:24: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi.c:7337:40: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/wmi.c:7586:40: warning: using sizeof on a flexible structure drivers/net/wireless/ath/wil6210/fw_inc.c:127:20: warning: using sizeof on a flexible structure drivers/net/wireless/ath/wil6210/fw.h:96:47: warning: array of flexible structures drivers/net/wireless/ath/wil6210/fw_inc.c:208:20: warning: using sizeof on a flexible structure drivers/net/wireless/ath/wil6210/fw_inc.c:218:30: warning: using sizeof on a flexible structure drivers/net/wireless/ath/wil6210/fw_inc.c:220:27: warning: using sizeof on a flexible structure drivers/net/wireless/ath/wil6210/fw_inc.c:275:27: warning: using sizeof on a flexible structure drivers/net/wireless/ath/wil6210/fw_inc.c:277:20: warning: using sizeof on a flexible structure drivers/net/wireless/ath/wil6210/fw_inc.c:428:20: warning: using sizeof on a flexible structure drivers/net/wireless/ath/wil6210/fw_inc.c:433:21: warning: using sizeof on a flexible structure drivers/net/wireless/ath/wil6210/fw_inc.c:434:17: warning: using sizeof on a flexible structure drivers/net/wireless/ath/wil6210/fw_inc.c:439:21: warning: using sizeof on a flexible structure drivers/net/wireless/ath/wil6210/fw_inc.c:492:20: warning: using sizeof on a flexible structure drivers/net/wireless/ath/wil6210/fw_inc.c:497:21: warning: using sizeof on a flexible structure drivers/net/wireless/ath/wil6210/fw_inc.c:498:17: warning: using sizeof on a flexible structure drivers/net/wireless/ath/wil6210/fw_inc.c:503:21: warning: using sizeof on a flexible structure drivers/net/wireless/ath/wil6210/fw_inc.c:741:30: warning: using sizeof on a flexible structure drivers/i2c/busses/i2c-i801.c:1405:31: warning: using sizeof on a flexible structure drivers/net/wireless/atmel/at76c50x-usb.c:724:48: warning: using sizeof on a flexible structure drivers/net/wireless/atmel/at76c50x-usb.c:735:9: warning: using sizeof on a flexible structure drivers/net/wireless/atmel/at76c50x-usb.c:742:31: warning: using sizeof on a flexible structure drivers/i3c/master/svc-i3c-master.c:1050:24: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/hw.c:1016:22: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/hw.c:1038:25: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/hw.c:1041:28: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath10k/hw.c:1050:25: warning: using sizeof on a flexible structure net/netfilter/nft_compat.c:777:21: warning: using sizeof on a flexible structure net/netfilter/nft_compat.c:779:29: warning: using sizeof on a flexible structure net/netfilter/nft_compat.c:859:21: warning: using sizeof on a flexible structure fs/ubifs/lpt.c:664:19: warning: using sizeof on a flexible structure fs/ubifs/misc.h:188:16: warning: using sizeof on a flexible structure fs/ubifs/misc.h:188:37: warning: using sizeof on a flexible structure net/ipv6/seg6_iptunnel.c:525:52: warning: using sizeof on a flexible structure fs/ubifs/lprops.c:479:32: warning: using sizeof on a flexible structure fs/ubifs/lprops.c:480:30: warning: using sizeof on a flexible structure drivers/net/wireless/ath/wcn36xx/smd.c:1096:17: warning: using sizeof on a flexible structure drivers/net/wireless/ath/wcn36xx/smd.c:1102:9: warning: using sizeof on a flexible structure drivers/net/wireless/ath/wcn36xx/smd.c:1102:9: warning: using sizeof on a flexible structure drivers/net/wireless/ath/wcn36xx/smd.c:2845:19: warning: using sizeof on a flexible structure drivers/net/wireless/ath/wcn36xx/smd.c:3350:35: warning: using sizeof on a flexible structure fs/overlayfs/copy_up.c:376:22: warning: using sizeof on a flexible structure drivers/scsi/aic94xx/aic94xx_sds.c:481:38: warning: array of flexible structures drivers/scsi/aic94xx/aic94xx_sds.c:521:17: warning: array of flexible structures drivers/scsi/aic94xx/aic94xx_sds.c:506:40: warning: array of flexible structures drivers/scsi/aic94xx/aic94xx_sds.c:522:17: warning: array of flexible structures drivers/net/wireguard/messages.h:117:34: warning: using sizeof on a flexible structure drivers/acpi/acpica/utids.c:265:25: warning: using sizeof on a flexible structure net/netfilter/nft_connlimit.c:243:27: warning: using sizeof on a flexible structure fs/udf/balloc.c:133:18: warning: using sizeof on a flexible structure fs/udf/balloc.c:192:40: warning: using sizeof on a flexible structure fs/udf/balloc.c:240:25: warning: using sizeof on a flexible structure fs/udf/balloc.c:242:41: warning: using sizeof on a flexible structure fs/udf/balloc.c:281:49: warning: using sizeof on a flexible structure fs/udf/balloc.c:326:18: warning: using sizeof on a flexible structure fs/udf/balloc.c:389:38: warning: using sizeof on a flexible structure fs/udf/balloc.c:522:23: warning: using sizeof on a flexible structure fs/udf/balloc.c:590:23: warning: using sizeof on a flexible structure drivers/rtc/rtc-cros-ec.c:41:9: warning: using sizeof on a flexible structure drivers/rtc/rtc-cros-ec.c:68:9: warning: using sizeof on a flexible structure fs/cifs/smbdirect.c:911:25: warning: using sizeof on a flexible structure fs/cifs/smbdirect.c:1463:25: warning: using sizeof on a flexible structure fs/cifs/smbdirect.c:1464:33: warning: using sizeof on a flexible structure fs/cifs/smbdirect.c:1479:25: warning: using sizeof on a flexible structure fs/cifs/smbdirect.c:1995:39: warning: using sizeof on a flexible structure fs/ubifs/ioctl.c:192:14: warning: using sizeof on a flexible structure fs/ubifs/ioctl.c:225:14: warning: using sizeof on a flexible structure net/netfilter/nft_numgen.c:178:27: warning: using sizeof on a flexible structure net/netfilter/nft_numgen.c:187:27: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath11k/core.c:603:26: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath11k/core.c:609:28: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath11k/core.c:610:24: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath11k/core.c:721:22: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath11k/core.c:726:24: warning: using sizeof on a flexible structure fs/udf/dir.c:166:50: warning: using sizeof on a flexible structure fs/udf/udfdecl.h:53:24: warning: using sizeof on a flexible structure fs/udf/udfdecl.h:55:24: warning: using sizeof on a flexible structure fs/udf/udfdecl.h:57:24: warning: using sizeof on a flexible structure drivers/input/input-mt.c:49:22: warning: using sizeof on a flexible structure drivers/i2c/muxes/i2c-mux-pinctrl.c:96:30: warning: using sizeof on a flexible structure drivers/usb/host/xhci.c:1633:28: warning: using sizeof on a flexible structure drivers/usb/host/xhci.c:5380:33: warning: using sizeof on a flexible structure drivers/net/wireguard/messages.h:117:34: warning: using sizeof on a flexible structure fs/udf/udfdecl.h:53:24: warning: using sizeof on a flexible structure fs/udf/udfdecl.h:55:24: warning: using sizeof on a flexible structure fs/udf/udfdecl.h:57:24: warning: using sizeof on a flexible structure drivers/clk/clk-bm1880.c:898:38: warning: using sizeof on a flexible structure drivers/usb/serial/usb-serial.c:1064:32: warning: using sizeof on a flexible structure drivers/clk/clk-gemini.c:402:35: warning: using sizeof on a flexible structure fs/udf/ialloc.c:71:41: warning: using sizeof on a flexible structure fs/udf/ialloc.c:76:41: warning: using sizeof on a flexible structure net/netfilter/nft_ct.c:705:27: warning: using sizeof on a flexible structure net/netfilter/nft_ct.c:714:27: warning: using sizeof on a flexible structure net/netfilter/nft_ct.c:724:27: warning: using sizeof on a flexible structure net/netfilter/nft_ct.c:783:27: warning: using sizeof on a flexible structure net/netfilter/nft_ct.c:890:27: warning: using sizeof on a flexible structure drivers/clk/clk-aspeed.c:699:35: warning: using sizeof on a flexible structure drivers/misc/tifm_core.c:179:22: warning: using sizeof on a flexible structure fs/ubifs/misc.h:204:26: warning: using sizeof on a flexible structure fs/ubifs/ubifs.h:1659:29: warning: using sizeof on a flexible structure drivers/input/touchscreen/cyttsp_core.c:634:32: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath11k/hal.c:44:32: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath11k/hal.c:53:32: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath11k/hal.c:62:32: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath11k/hal.c:71:32: warning: using sizeof on a flexible structure drivers/net/wireless/ath/ath11k/hal.c:80:32: warning: using sizeof on a flexible structure net/ipv6/seg6_hmac.c:380:26: warning: using sizeof on a flexible structure drivers/net/wireguard/messages.h:117:34: warning: using sizeof on a flexible structure drivers/input/ff-core.c:321:23: warning: using sizeof on a flexible structure fs/jffs2/acl.c:29:24: warning: using sizeof on a flexible structure fs/jffs2/acl.c:32:24: warning: using sizeof on a flexible structure fs/jffs2/acl.c:42:17: warning: using sizeof on a flexible structure fs/jffs2/acl.c:66:20: warning: using sizeof on a flexible structure fs/jffs2/acl.c:74:18: warning: using sizeof on a flexible structure fs/jffs2/acl.c:136:26: warning: using sizeof on a flexible structure fs/udf/namei.c:54:17: warning: using sizeof on a flexible structure fs/udf/namei.c:60:34: warning: using sizeof on a flexible structure fs/udf/namei.c:100:23: warning: using sizeof on a flexible structure fs/udf/namei.c:105:31: warning: using sizeof on a flexible structure fs/udf/namei.c:106:20: warning: using sizeof on a flexible structure fs/udf/namei.c:108:41: warning: using sizeof on a flexible structure fs/udf/namei.c:111:41: warning: using sizeof on a flexible structure fs/udf/namei.c:114:48: warning: using sizeof on a flexible structure fs/udf/namei.c:122:25: warning: using sizeof on a flexible structure fs/udf/namei.c:123:17: warning: using sizeof on a flexible structure fs/udf/namei.c:127:17: warning: using sizeof on a flexible structure fs/udf/namei.c:235:51: warning: using sizeof on a flexible structure
See all of the warnings here: https://github.com/GustavoARSilva/linux-hardening/blob/master/allocators/sizeof-on-flexible-struct-sparse-next-20220110.report (github didn't let me copy/paste them in here :/)